Re: Deployment - Logging/Tracing
Re: Deployment - Logging/Tracing
- Subject: Re: Deployment - Logging/Tracing
- From: David Griffith <email@hidden>
- Date: Tue, 20 Apr 2004 16:47:04 +0200
Trying to launch from the command line, I am getting this error:
(Appears to be while loading a framework from the /Library/Extensions
directory, ERExtensions I think)
Anyone know how to fix it?
Dave.
[Indica:ta/webobjects/TAManager.woa] fuddus% ./TAManager
Reading MacOSClassPath.txt ...
Launching TAManager.woa ...
java -XX:NewSize=2m -Xmx64m -Xms32m -DWORootDirectory="/System"
-DWOLocalRootDirectory=""
-DWOUserDirectory="/library/webserver/documents/ta/webobjects/TAManager.woa"
-DWOEnvClassPath="" -DWOApplicationClass=Application -DWOPlatform=MacOS
-Dcom.webobjects.pid=1788 -classpath WOBootstrap.jar
com.webobjects._bootstrap.WOBootstrap
appRoot is /library/webserver/documents/ta/webobjects/TAManager.woa/Contents
Loading
/library/webserver/documents/ta/webobjects/TAManager.woa/Contents/MacOS/MacO
SClassPath.txt
Generated classpath:
/library/webserver/documents/ta/webobjects/TAManager.woa/Contents/Resources
/Java/tamanager.jar
/System/Library/Frameworks/JavaFoundation.framework/Resources/Java/javafoun
dation.jar
/System/Library/Frameworks/JavaEOControl.framework/Resources/Java/javaeocon
trol.jar
/System/Library/Frameworks/JavaEOAccess.framework/Resources/Java/javaeoacce
ss.jar
/System/Library/Frameworks/JavaWebObjects.framework/Resources/Java/javawebo
bjects.jar
/System/Library/Frameworks/JavaWOExtensions.framework/Resources/Java/JavaWO
Extensions.jar
/System/Library/Frameworks/JavaXML.framework/Resources/Java/javaxml.jar
/Library/Frameworks/FrontBasePlugIn.framework/Resources/Java/frontbaseplugi
n.jar
/System/Library/Frameworks/JavaJDBCAdaptor.framework/Resources/Java/javajdb
cadaptor.jar
/Library/Frameworks/ERJars.framework/Resources/Java/junit.jar
/Library/Frameworks/ERJars.framework/Resources/Java/log4j-1.2.8.jar
/System/Library/Frameworks/ERExtensions.framework/Resources/Java/ERExtensio
ns.jar
/Library/Frameworks/ERJavaMail.framework/Resources/Java/ERJavaMail.jar
/Library/Frameworks/ERJavaMail.framework/Resources/Java/activation-1.0.2.ja
r
/Library/Frameworks/ERJavaMail.framework/Resources/Java/jakarta-oro-2.0.6.j
ar
/Library/Frameworks/ERJavaMail.framework/Resources/Java/mail-1.3.jar
/Users/fuddus/Library/Java
/Library/Java/
/System/Library/Java/
/Network/Library/Java
/System/Library/Frameworks/JavaVM.framework/Classes/classes.jar
/System/Library/Frameworks/JavaVM.framework/Classes/ui.jar
/Library/WebObjects/Extensions/avalon-framework-4.1.2.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.4.jar
/Library/WebObjects/Extensions/logkit-1.0.1.jar
/Library/WebObjects/Extensions/saaj.jar
/Library/WebObjects/Extensions/wsdl4j.jar
/Library/WebObjects/Extensions/
[2004-04-20 15:57:38 CEST] <main> A fatal exception occurred:
er/extensions/ERXFrameworkPrincipal
[2004-04-20 15:57:38 CEST] <main> java.lang.NoClassDefFoundError:
er/extensions/ERXFrameworkPrincipal
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:502)
at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:250)
at java.net.URLClassLoader.access$100(URLClassLoader.java:54)
at java.net.URLClassLoader$1.run(URLClassLoader.java:193)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:186)
at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:140)
at
com.webobjects.foundation._NSUtilities._classWithPartialName(_NSUtilities.ja
va:285)
at
com.webobjects.foundation._NSUtilities.classWithName(_NSUtilities.java:269)
at
com.webobjects.foundation.NSBundle.initPrincipalClass(NSBundle.java:2102)
at
com.webobjects.foundation.NSBundle.InitPrincipalClasses(NSBundle.java:576)
at com.webobjects.foundation.NSBundle.<clinit>(NSBundle.java:310)
at
com.webobjects.appserver._private.WOProperties.initUserDefaultsKeys(WOProper
ties.java:180)
at
com.webobjects.appserver.WOApplication._initWOApp(WOApplication.java:5008)
at
com.webobjects.appserver.WOApplication.<init>(WOApplication.java:485)
at Application.<init>(Application.java:20)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAcces
sorImpl.java:39)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstruc
torAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
at java.lang.Class.newInstance0(Class.java:306)
at java.lang.Class.newInstance(Class.java:259)
at
com.webobjects.appserver.WOApplication.main(WOApplication.java:296)
at Application.main(Application.java:16)
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:324)
at com.webobjects._bootstrap.WOBootstrap.main(WOBootstrap.java:71)
> David,
>
> Try to edit SpawnOfWotaskd.sh in
> /System/Library/WebObjects/JavaApplications/wotaskd.woa/Contents/
> Resources
>
> replace
>
> $@ 1>/dev/null 2>&1 &
>
> with
>
> $@ 1>>/var/log/wo_out.log 2>>/var/log/wo_err.log &
>
> then relanch your app and tail /var/log/wo_out.log and
> /var/log/wo_err.log
>
> hope this helps,
> Orlando
> --
>
> On 20.04.2004, at 14:18, David Griffith wrote:
>
>> Hi all,
>>
>> I posted a similar message on the deployment list a while back and got
>> no
>> response, was wondering if someone here might be able to help.
>>
>> I am trying to start a couple of new applications on OS X 10.2.8
>> server,
>> there are a couple already running fine.
>>
>> The new ones keep dying. They won9t start at all. I have tried
>> setting the
>> output path to try and get some sort of log/trace to tell me where to
>> start
>> looking but the log files never appear. The application tries to
>> start and
>> dies over and over.
>>
>> Anyone know where I can start? Suggestions on how to debug it or even
>> find
>> some kind of helpful output would be great.
> _______________________________________________
> webobjects-dev mailing list | email@hidden
> Help/Unsubscribe/Archives:
> http://www.lists.apple.com/mailman/listinfo/webobjects-dev
> Do not post admin requests to the list. They will be ignored.
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.