Re: Somewhere a short howto for using JasperReports with WO?
Re: Somewhere a short howto for using JasperReports with WO?
- Subject: Re: Somewhere a short howto for using JasperReports with WO?
- From: Chuck Hill <email@hidden>
- Date: Tue, 13 Mar 2007 16:50:04 -0700
So, when you updated to the latest of everything, did anything end up
in /Libaray/Java/Extensions? That is the sort of error that can
happen if your have things in the Java Extensions that ought not be
there.
Chuck
On Mar 13, 2007, at 4:37 PM, David Holt wrote:
Hello Logan,
I am having difficulties getting WOCodeJasperSample to run too. I
hit the print button and get the following trace in Eclipse:
I have updated to the latest jasperreports, digester, beanutils,
logging, and collections, but nothing has had any effect. The same
error message has been returned every time. Thanks,
David
[2007-03-13 16:31:35 PDT] <WorkerThread0>
<com.webobjects.appserver._private.WOComponentRequestHandler>:
Exception occurred while handling request:
com.webobjects.foundation.NSForwardException
[java.lang.NoClassDefFoundError] org/apache/commons/digester/Digester
[2007-03-13 16:31:35 PDT] <WorkerThread0>
com.webobjects.foundation.NSForwardException for
java.lang.NoClassDefFoundError: org/apache/commons/digester/Digester
at net.sf.jasperreports.engine.JasperCompileManager.compileReport
(JasperCompileManager.java:142)
at com.wocode.jasper.WCJRUtils.compileReport(WCJRUtils.java:40)
at com.wocode.jasper.WCJRUtils.printReport(WCJRUtils.java:86)
at Main.printReport(Main.java:39)
at Main.printReport(Main.java:58)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at KeyValueCodingProtectedAccessor.methodValue
(KeyValueCodingProtectedAccessor.java:54)
at com.webobjects.foundation.NSKeyValueCoding
$_MethodBinding.valueInObject(NSKeyValueCoding.java:1160)
at com.webobjects.foundation.NSKeyValueCoding
$DefaultImplementation.valueForKey(NSKeyValueCoding.java:1268)
at com.webobjects.appserver.WOComponent.valueForKey
(WOComponent.java:1539)
at com.webobjects.foundation.NSKeyValueCoding$Utility.valueForKey
(NSKeyValueCoding.java:498)
at com.webobjects.foundation.NSKeyValueCodingAdditions
$DefaultImplementation.valueForKeyPath
(NSKeyValueCodingAdditions.java:212)
at com.webobjects.appserver.WOComponent.valueForKeyPath
(WOComponent.java:1600)
at
com.webobjects.appserver._private.WOKeyValueAssociation.valueInCompone
nt(WOKeyValueAssociation.java:46)
at com.webobjects.appserver._private.WOSubmitButton.invokeAction
(WOSubmitButton.java:70)
at
com.webobjects.appserver._private.WODynamicGroup.invokeChildrenAction(
WODynamicGroup.java:101)
at com.webobjects.appserver._private.WODynamicGroup.invokeAction
(WODynamicGroup.java:110)
at com.webobjects.appserver._private.WOForm.invokeAction
(WOForm.java:82)
at
com.webobjects.appserver._private.WODynamicGroup.invokeChildrenAction(
WODynamicGroup.java:101)
at com.webobjects.appserver._private.WODynamicGroup.invokeAction
(WODynamicGroup.java:110)
at com.webobjects.appserver.WOComponent.invokeAction
(WOComponent.java:945)
at com.webobjects.appserver.WOSession.invokeAction(WOSession.java:
1168)
at com.webobjects.appserver.WOApplication.invokeAction
(WOApplication.java:1375)
at
com.webobjects.appserver._private.WOComponentRequestHandler._dispatchW
ithPreparedPage(WOComponentRequestHandler.java:196)
at
com.webobjects.appserver._private.WOComponentRequestHandler._dispatchW
ithPreparedSession(WOComponentRequestHandler.java:287)
at
com.webobjects.appserver._private.WOComponentRequestHandler._dispatchW
ithPreparedApplication(WOComponentRequestHandler.java:322)
at
com.webobjects.appserver._private.WOComponentRequestHandler._handleReq
uest(WOComponentRequestHandler.java:358)
at
com.webobjects.appserver._private.WOComponentRequestHandler.handleRequ
est(WOComponentRequestHandler.java:432)
at com.webobjects.appserver.WOApplication.dispatchRequest
(WOApplication.java:1306)
at com.webobjects.appserver._private.WOWorkerThread.runOnce
(WOWorkerThread.java:173)
at com.webobjects.appserver._private.WOWorkerThread.run
(WOWorkerThread.java:254)
at java.lang.Thread.run(Thread.java:613)
On 7 Nov 2006, at 7:45 AM, RedBugz Software wrote:
On 11/6/06, Mike Bobkiewicz <email@hidden> wrote:
Hi,
I´m looking for a short howto on how to use JasperReports to print
from a WO WebApplication. I´ve downloaded the latest sources of
Jasper from sourceforge and from within the Report Designer
everything works fine on my OS X 10.4.7 / XCode 2.4 system. But the
demo source I´ve downloaded from wocode.com crashes when it tries to
compile the report. I´m pretty unsure if it´s because on some errors
within the project, my newer version of Jasper (installed 1.2.7,
demo
cames with 1.0.0). Somebody on the list mentioned WOJasperAccess
which I can´t find via Google.
Any advice is welcome.
What do you mean by "crashes". Is there a stack trace? Does it kill
the WebObjects application or just take you to an error screen?
Logan
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
email@hidden
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40global-village.net
This email sent to email@hidden
--
Practical WebObjects - for developers who want to increase their
overall knowledge of WebObjects or who are trying to solve specific
problems.
http://www.global-village.net/products/practical_webobjects
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden