Re: Unable to release locks held by deallocated EOEditingContext
Re: Unable to release locks held by deallocated EOEditingContext
- Subject: Re: Unable to release locks held by deallocated EOEditingContext
- From: Joe Moreno <email@hidden>
- Date: Tue, 29 Jul 2008 00:29:41 -0700
Mike & cug,
What are the gotchas when setting it to automatically lock &
unlock? Performance? It seems to be working like a charm.
I need to add this to the same Properties file ... Ditch all those
individual locking settings and just set:
er.extensions.ERXEC.safeLocking=true
Thanks for pointing that out – it's working fine when I launch my
apps in Eclipse (3.3.2 w/ WOLips 3.3.5047). But, it fails to launch
when it's deployed on Tiger Server. I'm only looking to use ERXEC.
I followed these instructions:
http://wiki.objectstyle.org/confluence/display/WONDER/Integrate+Wonder+Into+an+Existing+Application
I've pasted a couple logs, below.
It seems to have a problem when I put the three Wonder jars (ERJars,
ERExtensions and JavaWOExtensions) in the project or in /Library/Java/
Extensions. I also tried using the Wonder frameworks without any luck.
It seems, with the jars present, that it can't find some basic WO
classes.
Both dev and deploy are WO 5.3.x.
Any tips would be greatly appreciated.
- Joe
Reading MacOSClassPath.txt ...
Launching Adjix.woa ...
java -XX:NewSize=2m -Xmx64m -Xms32m -DWORootDirectory="/System" -
DWOLocalRootDirectory="" -DWOUserDirectory="/var/log/webobjects/Adjix"
-DWOEnvClassPath="" -DWOApplicationClass=com.adjix.app.Application -
DWOPlatform=MacOS -Dcom.webobjects.pid=2239 -classpath WOBootstrap.jar
com.webobjects._bootstrap.WOBootstrap
Loading /Library/WebObjects/Applications/Adjix.woa/Contents/MacOS/
MacOSClassPath.txt
Generated classpath:
/Library/WebObjects/Applications/Adjix.woa/Contents/Resources/Java/
/Library/WebObjects/Applications/Adjix.woa/Contents/Resources/Java/
adjix.jar
/Library/WebObjects/Applications/Adjix.woa/Contents/Resources/Java/
commons-codec-1.3.jar
/Library/WebObjects/Applications/Adjix.woa/Contents/Resources/Java/
commons-httpclient-3.1.jar
/Library/WebObjects/Applications/Adjix.woa/Contents/Resources/Java/
commons-logging-1.1.1.jar
/Library/Frameworks/AdjixObjectModel.framework/Resources/Java/
adjixobjectmodel.jar
/Library/Frameworks/WOExtras.framework/Resources/Java/activation.jar
/Library/Frameworks/WOExtras.framework/Resources/Java/commons-
codec-1.3.jar
/Library/Frameworks/WOExtras.framework/Resources/Java/commons-
httpclient-3.1.jar
/Library/Frameworks/WOExtras.framework/Resources/Java/commons-
logging-1.1.1.jar
/Library/Frameworks/WOExtras.framework/Resources/Java/
jets3t-0.5.0.jar
/Library/Frameworks/WOExtras.framework/Resources/Java/mail.jar
/Library/Frameworks/WOExtras.framework/Resources/Java/payflow.jar
/Library/Frameworks/WOExtras.framework/Resources/Java/woextras.jar
/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
/Library/WebObjects/Extensions/axis-ant.jar
/Library/WebObjects/Extensions/axis.jar
/Library/WebObjects/Extensions/commons-discovery.jar
/Library/WebObjects/Extensions/commons-logging.jar
/Library/WebObjects/Extensions/jaxrpc.jar
/Library/WebObjects/Extensions/log4j-1.2.8.jar
/Library/WebObjects/Extensions/saaj.jar
/Library/WebObjects/Extensions/wsdl4j.jar
/Library/WebObjects/Extensions/
java.lang.NoClassDefFoundError: com/webobjects/foundation/NSCoding
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:
124)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2395)
at java.lang.Class.getMethod0(Class.java:2642)
at java.lang.Class.getMethod(Class.java:1579)
at com.webobjects._bootstrap.WOBootstrap.main(WOBootstrap.java:86)
Nairobi:/var/log/webobjects/Adjix jmoreno$ /Library/WebObjects/
Applications/Adjix.woa/Adjix
Reading MacOSClassPath.txt ...
Launching Postings.woa ...
java -XX:NewSize=2m -Xmx64m -Xms32m -DWORootDirectory="/System" -
DWOLocalRootDirectory="" -DWOUserDirectory="/var/log/webobjects/
Postings" -DWOEnvClassPath="" -DWOApplicationClass=Application -
DWOPlatform=MacOS -Dcom.webobjects.pid=1577 -classpath WOBootstrap.jar
com.webobjects._bootstrap.WOBootstrap
Loading /Library/WebObjects/Applications/Postings.woa/Contents/MacOS/
MacOSClassPath.txt
Generated classpath:
/Library/WebObjects/Applications/Postings.woa/Contents/Resources/
Java/
/Library/WebObjects/Applications/Postings.woa/Contents/Resources/
Java/postings.jar
/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
/Library/Frameworks/ERExtensions.framework/Resources/Java/
ERExtensions.jar
/Library/Frameworks/ERJars.framework/Resources/Java/ERJars.jar
/Library/Frameworks/ERJars.framework/Resources/Java/
erxservletadaptor.jar
/Library/Frameworks/ERJars.framework/Resources/Java/erxwo54.jar
/Library/Frameworks/ERJars.framework/Resources/Java/icu4j-3_8_1.jar
/Library/Frameworks/ERJars.framework/Resources/Java/junit.jar
/Library/Frameworks/ERJars.framework/Resources/Java/log4j-1.2.14.jar
/Library/Frameworks/ERJars.framework/Resources/Java/slf4j-
api-1.5.0.jar
/Library/Frameworks/ERJars.framework/Resources/Java/slf4j-
log4j12-1.5.0.jar
/Library/Frameworks/JavaWOExtensions.framework/Resources/Java/
JavaWOExtensions.jar
/Library/Frameworks/SMSGatewayObjectModel.framework/Resources/Java/
smsgatewayobjectmodel.jar
/Library/Frameworks/SMSPalObjectModel.framework/Resources/Java/
smspalobjectmodel.jar
/Library/Frameworks/WOExtras.framework/Resources/Java/activation.jar
/Library/Frameworks/WOExtras.framework/Resources/Java/commons-
codec-1.3.jar
/Library/Frameworks/WOExtras.framework/Resources/Java/commons-
httpclient-3.1.jar
/Library/Frameworks/WOExtras.framework/Resources/Java/commons-
logging-1.1.1.jar
/Library/Frameworks/WOExtras.framework/Resources/Java/
jets3t-0.5.0.jar
/Library/Frameworks/WOExtras.framework/Resources/Java/mail.jar
/Library/Frameworks/WOExtras.framework/Resources/Java/payflow.jar
/Library/Frameworks/WOExtras.framework/Resources/Java/woextras.jar
/Library/WebObjects/Extensions/axis-ant.jar
/Library/WebObjects/Extensions/axis.jar
/Library/WebObjects/Extensions/commons-discovery.jar
/Library/WebObjects/Extensions/commons-logging.jar
/Library/WebObjects/Extensions/jaxrpc.jar
/Library/WebObjects/Extensions/log4j-1.2.8.jar
/Library/WebObjects/Extensions/saaj.jar
/Library/WebObjects/Extensions/wsdl4j.jar
/Library/WebObjects/Extensions/
java.lang.NoClassDefFoundError: com/webobjects/appserver/WOApplication
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:
124)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:
124)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:
124)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at com.webobjects._bootstrap.WOBootstrap.main(WOBootstrap.java:84)
On Jul 28, 2008, at 20:25:48, Mike Schrag wrote:
What are the gotchas when setting it to automatically lock &
unlock? Performance? It seems to be working like a charm.
I need to add this to the same Properties file ... Ditch all those
individual locking settings and just set:
er.extensions.ERXEC.safeLocking=true
ms
_______________________________________________
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
_______________________________________________
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