Re: [Wonder-disc] WebPDFReports and ERExtensions
Re: [Wonder-disc] WebPDFReports and ERExtensions
- Subject: Re: [Wonder-disc] WebPDFReports and ERExtensions
- From: "Daniele Corti" <email@hidden>
- Date: Fri, 28 Sep 2007 18:48:46 +0200
Thank you Simon! I'll talk about this with my boss monday!
2007/9/28, Simon McLean <email@hidden>:
Hi -
When we last tried WebPDFReports it had a **serious** memory leak which caused us major problems, and the developers were non-contactable.
It's not free (80 Euro), and it doesn't have all the niceties that WebPDFReports claims to have. But it does do one thing that WebPDFReports doesn't do: it works. ;-)
It's been rock solid reliable and actually produces great looking output (unlike some other java-pdf tools we tried).
Simon
On 28 Sep 2007, at 16:53, Daniele Corti wrote:
Hi all,
I've some problems with these frameworks: when I import WOPDFReport in my App, ERExtensions doesn't initialize correctly
[2007-09-28 17:46:17 CEST] <main> Loaded items: {}
[2007-09-28 17:46:17 CEST] <main> Starting up: er.extensions.ERXExtensions
[2007-09-28 17:46:17 CEST] <main> Started initialization: er.extensions.ERXExtensions
[2007-09-28 17:46:17 CEST] <main> Initialized : er.extensions.ERXExtensions
[2007-09-28 17:46:21 CEST] <main> Loaded items: { er.extensions.ERXExtensions = ERXExtensions; }
[2007-09-28 17:46:21 CEST] <main> Starting up:
er.ajax.Ajax
[2007-09-28 17:46:21 CEST] <main> Started initialization: er.ajax.Ajax
[2007-09-28 17:46:21 CEST] <main> Initialized : er.ajax.Ajax
[2007-09-28 17:46:21 CEST] <main> Loaded items: {
er.ajax.Ajax = Ajax; er.extensions.ERXExtensions = ERXExtensions; }
[2007-09-28 17:46:21 CEST] <main> Starting up: er.javamail.ERJavaMail
[2007-09-28 17:46:21 CEST] <main> Loaded items: {er.ajax.Ajax = Ajax;
er.extensions.ERXExtensions = ERXExtensions; }
[2007-09-28 17:46:21 CEST] <main> Was already inited: er.extensions.ERXExtensions
[2007-09-28 17:46:21 CEST] <main> Started initialization: er.javamail.ERJavaMail
[2007-09-28 17:46:21 CEST] <main> Initialized : er.javamail.ERJavaMail
[2007-09-28 17:46:21 CEST] <main> Loaded items: {er.javamail.ERJavaMail = ERJavaMail; er.ajax.Ajax = Ajax; er.extensions.ERXExtensions
= ERXExtensions; }
[2007-09-28 17:46:21 CEST] <main> Starting up: er.prototypes.ERPrototypes
[2007-09-28 17:46:21 CEST] <main> Loaded items: {er.javamail.ERJavaMail = ERJavaMail; er.ajax.Ajax = Ajax; er.extensions.ERXExtensions
= ERXExtensions; }
[2007-09-28 17:46:21 CEST] <main> Was already inited: er.extensions.ERXExtensions
[2007-09-28 17:46:21 CEST] <main> Started initialization: er.prototypes.ERPrototypes
[2007-09-28 17:46:21 CEST] <main> Initialized :
er.prototypes.ERPrototypes
[2007-09-28 17:46:21 CEST] <main> WOMaxIOBufferSize=8196
[2007-09-28 17:46:21 CEST] <main> WOWorkerThreadCountMin=16
[2007-09-28 17:46:21 CEST] <main> WOSocketMonitorSleepTime=50
[2007-09-28 17:46:21 CEST] <main> WODirectConnectEnabled=true
[2007-09-28 17:46:21 CEST] <main> WOIncludeCommentsInResponse=false
[2007-09-28 17:46:21 CEST] <main> WOWorkerThreadCount=8
[2007-09-28 17:46:21 CEST] <main> WOAdaptorURL=
http://127.0.0.1/cgi-bin/WebObjects
[2007-09-28 17:46:21 CEST] <main> WOIDE=WOLips
[2007-09-28 17:46:21 CEST] <main> WODebuggingEnabled=true
[2007-09-28 17:46:21 CEST] <main> WOListenQueueSize=128
[2007-09-28 17:46:21 CEST] <main> WOMissingResourceSearchEnabled=true
[2007-09-28 17:46:21 CEST] <main> WOApplicationClassName=ticket.gestweb.app.Application
[2007-09-28 17:46:21 CEST] <main> WOSessionStoreClassName=WOServerSessionStore
[2007-09-28 17:46:21 CEST] <main> WOContextClassName=WOContext
[2007-09-28 17:46:21 CEST] <main> WOCachingEnabled=false
[2007-09-28 17:46:21 CEST] <main> WOAcceptMalformedCookies=false
[2007-09-28 17:46:21 CEST] <main> NSProjectSearchPath=(..,../..)
[2007-09-28 17:46:21 CEST] <main> WOMonitorEnabled=false
[2007-09-28 17:46:21 CEST] <main> WOAllowRapidTurnaround=true
[2007-09-28 17:46:21 CEST] <main> WOGenerateWSDL=true
[2007-09-28 17:46:21 CEST] <main> WOWorkerThreadCountMax=256
[2007-09-28 17:46:21 CEST] <main> WOAllowsConcurrentRequestHandling=false
[2007-09-28 17:46:21 CEST] <main> WOAdaptor=WODefaultAdaptor
[2007-09-28 17:46:21 CEST] <main> WOSessionTimeOut=3600
[2007-09-28 17:46:21 CEST] <main> WOMaxSocketIdleTime=180000
[2007-09-28 17:46:21 CEST] <main> WODefaultUndoStackLimit=10
[2007-09-28 17:46:21 CEST] <main> WOAutoOpenClientApplication=true
[2007-09-28 17:46:21 CEST] <main> WOAutoOpenInBrowser=true
[2007-09-28 17:46:21 CEST] <main> WOApplicationBaseURL=/WebObjects
[2007-09-28 17:46:21 CEST] <main> WOMaxHeaders=200
[2007-09-28 17:46:21 CEST] <main> WOLifebeatEnabled=true
[2007-09-28 17:46:21 CEST] <main> WOAllowsCacheControlHeader=true
[2007-09-28 17:46:21 CEST] <main> WOSMTPHost=smtp
[2007-09-28 17:46:21 CEST] <main> WOFrameworksBaseURL=/WebObjects/Frameworks
[2007-09-28 17:46:21 CEST] <main> WOStatisticsStoreSessionMax=50
[2007-09-28 17:46:21 CEST] <main> WOAdditionalAdaptors=()
[2007-09-28 17:46:21 CEST] <main> WOLifebeatDestinationPort=1085
[2007-09-28 17:46:21 CEST] <main> WOPort=-1
[2007-09-28 17:46:21 CEST] <main> WOLifebeatInterval=30
[2007-09-28 17:46:21 CEST] <main> WOSocketCacheSize=100
[2007-09-28 17:46:21 CEST] <main> WOUserDirectory=/Users/daniele/Documents/workspace/GWTicket/build/GWTicket.woa
[2007-09-28 17:46:21 CEST] <main> WODisplayExceptionPages=true
[2007-09-28 17:46:21 CEST] <main> ------------------------
[2007-09-28 17:46:21 CEST] <main> Created adaptor of class WODefaultAdaptor on port 63061 and address UncleWife.local/10.0.0.148 with WOWorkerThread minimum of 16 and maximum of 256
[2007-09-28 17:46:21 CEST] <main> NSBundle is unable to find "
ExtensionsForResources.plist" in the main bundle. Ignoring optional configuration file.
[2007-09-28 17:46:21 CEST] <main> *** The application has found the following opened, development-mode ProjectBuilderWO projects: (<
com.webobjects.appserver._private.WOProjectBundle: projectName='GWTicket'; bundlePath='/Users/daniele/Documents/workspace/GWTicket/build/GWTicket.woa'; projectPath='/Users/daniele/Documents/workspace/GWTicket'>)
[2007-09-28 17:46:22 CEST] <main> Application project found: Will locate resources in '/Users/daniele/Documents/workspace/GWTicket' rather than '/Users/daniele/Documents/workspace/GWTicket/build/GWTicket.woa' .
[2007-09-28 17:46:22 CEST] <main> Application project found: Will locate resources in '/Users/daniele/Documents/workspace/GWTicket' rather than '/Users/daniele/Documents/workspace/GWTicket/build/GWTicket.woa' .
[2007-09-28 17:46:22 CEST] <main> Creating LifebeatThread now with: GWTicket 63061 UncleWife.local/10.0.0.148 1085 30000
[2007-09-28 17:46:22 CEST] <main> A fatal exception occurred: ERXExtensions have not been initialized. Please report the classpath and the rest of the bundles to the Wonder mailing list:
Remaining[WOPDFReports]
/Library/Frameworks/Ajax.framework/Resources/Java/Ajax.jar:/Library/Frameworks/Ajax.framework/Resources/Java/jsonrpc.jar:/Library/Frameworks/ERExtensions.framework/Resources/Java/ERExtensions.jar:/Library/Frameworks/ERJars.framework/Resources/Java/ERJars.jar:/Library/Frameworks/ERJars.framework/Resources/Java/icu4j_2_8.jar:/Library/Frameworks/ERJars.framework/Resources/Java/icu4jdocs_2_8.jar:/Library/Frameworks/ERJars.framework/Resources/Java/junit.jar:/Library/Frameworks/ERJars.framework/Resources/Java/log4j-
1.2.14.jar:/Library/Frameworks/ERJavaMail.framework/Resources/Java/activation-1.0.2.jar:/Library/Frameworks/ERJavaMail.framework/Resources/Java/ERJavaMail.jar:/Library/Frameworks/ERJavaMail.framework/Resources/Java/jakarta-oro-2.0.6.jar:/Library/Frameworks/ERJavaMail.framework/Resources/Java/mailapi.jar:/Library/Frameworks/ERJavaMail.framework/Resources/Java/smtp.jar:/Library/Frameworks/ERPrototypes.framework/Resources/Java/ERPrototypes.jar:/Library/Frameworks/ExcelGenerator.framework/Resources/Java/commons-logging-1.0.1.jar:/Library/Frameworks/ExcelGenerator.framework/Resources/Java/ExcelGenerator.jar:/Library/Frameworks/ExcelGenerator.framework/Resources/Java/poi-2.0-final-20040302.jar:/Library/Frameworks/FrontBasePlugIn.framework/Resources/Java/FrontBasePlugIn.jar:/Library/Frameworks/JavaWOExtensions.framework/Resources/Java/JavaWOExtensions.jar:/Library/Frameworks/Validity.framework/Resources/Java/GammaCore.jar:/Library/Frameworks/Validity.framework/Resources/Java/mail.jar:/Library/Frameworks/Validity.framework/Resources/Java/Validity.jar:/Library/Frameworks/WOOgnl.framework/Resources/Java/ognl-2.6.7.jar:/Library/Frameworks/WOOgnl.framework/Resources/Java/WOOgnl.jar:/Library/Frameworks/WOPDFReports.framework/Resources/Java/WOPDFReports.jar:/Users/daniele/Documents/workspace/GWTicket/build/GWTicket.woa/Contents/Resources/Java:/System/Library/Frameworks/JavaEOAccess.framework/Resources/Java/javaeoaccess.jar:/System/Library/Frameworks/JavaEOControl.framework/Resources/Java/javaeocontrol.jar:/System/Library/Frameworks/JavaFoundation.framework/Resources/Java/javafoundation.jar:/System/Library/Frameworks/JavaJDBCAdaptor.framework/Resources/Java/javajdbcadaptor.jar:/System/Library/Frameworks/JavaWebObjects.framework/Resources/Java/javawebobjects.jar:/System/Library/Frameworks/JavaXML.framework/Resources/Java/javaxml.jar
[2007-09-28 17:46:22 CEST] <main> java.lang.RuntimeException: ERXExtensions have not been initialized. Please report the classpath and the rest of the bundles to the Wonder mailing list:
Remaining[WOPDFReports]
/Library/Frameworks/Ajax.framework/Resources/Java/Ajax.jar:/Library/Frameworks/Ajax.framework/Resources/Java/jsonrpc.jar:/Library/Frameworks/ERExtensions.framework/Resources/Java/ERExtensions.jar:/Library/Frameworks/ERJars.framework/Resources/Java/ERJars.jar:/Library/Frameworks/ERJars.framework/Resources/Java/icu4j_2_8.jar:/Library/Frameworks/ERJars.framework/Resources/Java/icu4jdocs_2_8.jar:/Library/Frameworks/ERJars.framework/Resources/Java/junit.jar:/Library/Frameworks/ERJars.framework/Resources/Java/log4j-
1.2.14.jar:/Library/Frameworks/ERJavaMail.framework/Resources/Java/activation-1.0.2.jar:/Library/Frameworks/ERJavaMail.framework/Resources/Java/ERJavaMail.jar:/Library/Frameworks/ERJavaMail.framework/Resources/Java/jakarta-oro-2.0.6.jar:/Library/Frameworks/ERJavaMail.framework/Resources/Java/mailapi.jar:/Library/Frameworks/ERJavaMail.framework/Resources/Java/smtp.jar:/Library/Frameworks/ERPrototypes.framework/Resources/Java/ERPrototypes.jar:/Library/Frameworks/ExcelGenerator.framework/Resources/Java/commons-logging-1.0.1.jar:/Library/Frameworks/ExcelGenerator.framework/Resources/Java/ExcelGenerator.jar:/Library/Frameworks/ExcelGenerator.framework/Resources/Java/poi-2.0-final-20040302.jar:/Library/Frameworks/FrontBasePlugIn.framework/Resources/Java/FrontBasePlugIn.jar:/Library/Frameworks/JavaWOExtensions.framework/Resources/Java/JavaWOExtensions.jar:/Library/Frameworks/Validity.framework/Resources/Java/GammaCore.jar:/Library/Frameworks/Validity.framework/Resources/Java/mail.jar:/Library/Frameworks/Validity.framework/Resources/Java/Validity.jar:/Library/Frameworks/WOOgnl.framework/Resources/Java/ognl-2.6.7.jar:/Library/Frameworks/WOOgnl.framework/Resources/Java/WOOgnl.jar:/Library/Frameworks/WOPDFReports.framework/Resources/Java/WOPDFReports.jar:/Users/daniele/Documents/workspace/GWTicket/build/GWTicket.woa/Contents/Resources/Java:/System/Library/Frameworks/JavaEOAccess.framework/Resources/Java/javaeoaccess.jar:/System/Library/Frameworks/JavaEOControl.framework/Resources/Java/javaeocontrol.jar:/System/Library/Frameworks/JavaFoundation.framework/Resources/Java/javafoundation.jar:/System/Library/Frameworks/JavaJDBCAdaptor.framework/Resources/Java/javajdbcadaptor.jar:/System/Library/Frameworks/JavaWebObjects.framework/Resources/Java/javawebobjects.jar:/System/Library/Frameworks/JavaXML.framework/Resources/Java/javaxml.jar
at er.extensions.ERXApplication.<init>(ERXApplication.java:473)
at ticket.gestweb.app.Application.<init>(Application.java:13)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at
java.lang.reflect.Constructor.newInstance(Constructor.java:274)
at java.lang.Class.newInstance0(Class.java:308)
at java.lang.Class.newInstance(Class.java:261)
at com.webobjects.appserver.WOApplication.main
(WOApplication.java:323)
at er.extensions.ERXApplication.main(ERXApplication.java:334)
at ticket.gestweb.app.Application.main(Application.java:10)
Is there someone that has successfully used this framework before? If i remove the WOPDFReport framework everything works fine?
--
Daniele Corti
AIM: S0CR4TE5
Messenger: email@hidden
--
Computers are like air conditioners -- they stop working properly if you open
WINDOWS
--
What about the four lusers of the apocalypse? I nominate:
"advertising", "can't log in", "power switch" and "what backup?"
--Alistair Young
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
Wonder-disc mailing list
--
Daniele Corti
AIM: S0CR4TE5
Messenger:
email@hidden--
Computers are like air conditioners -- they stop working properly if you open
WINDOWS
--
What about the four lusers of the apocalypse? I nominate:
"advertising", "can't log in", "power switch" and "what backup?"
--Alistair Young
_______________________________________________
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