From: Amiel M. <bos...@gm...> - 2010-08-30 06:39:53
|
Hi List, I have MacOS X 10.6.4 and I'm trying to make wotaskd launch at startup. I followed the steps at http://wiki.objectstyle.org/confluence/display/WOL/Using+WOLips+With+Multiple+Versions+of+WebObjectsand created the launch scripts from http://wiki.objectstyle.org/confluence/display/WO/WO+5.4+Getting+Started. But when I execute launchctl load /Library/LaunchDaemons/com.apple.webobjects.wotaskd.plist I see this stacktrace from the system.log Aug 30 14:25:25 AmielMac com.apple.webobjects.wotaskd[784]: Reading MacOSClassPath.txt ... Aug 30 14:25:25 AmielMac com.apple.webobjects.wotaskd[784]: Launching wotaskd.woa ... Aug 30 14:25:25 AmielMac com.apple.webobjects.wotaskd[784]: java -XX:NewSize=2m -Xmx64m -Xms32m -DWORootDirectory="/System" -DWOLocalRootDirectory="" -DWOUserDirectory="/" -DWOEnvClassPath="" -DWOApplicationClass=com.webobjects.monitor.wotaskd.Application -DWOPlatform=M acOS -Dcom.webobjects.pid=784 -classpath WOBootstrap.jar com.webobjects._bootstrap.WOBootstrap -WOPort 1085 -WOHost localhost Aug 30 14:25:25 AmielMac com.apple.webobjects.wotaskd[784]: Loading /Developer/WebObjects/Versions/WebObjects543/Library/WebObjects/JavaApplications/wotaskd.woa/Contents/MacOS/MacOSClassPath.txt Aug 30 14:25:25 AmielMac com.apple.webobjects.wotaskd[784]: Generated classpath: Aug 30 14:25:25 AmielMac com.apple.webobjects.wotaskd[784]: /Developer/WebObjects/Versions/WebObjects543/Library/WebObjects/JavaApplications/wotaskd.woa/Contents/Resources/Java/ Aug 30 14:25:25 AmielMac com.apple.webobjects.wotaskd[784]: /Developer/WebObjects/Versions/WebObjects543/Library/WebObjects/JavaApplications/wotaskd.woa/Contents/Resources/Java/src.jar Aug 30 14:25:25 AmielMac com.apple.webobjects.wotaskd[784]: /Developer/WebObjects/Versions/WebObjects543/Library/WebObjects/JavaApplications/wotaskd.woa/Contents/Resources/Java/wotaskd.jar Aug 30 14:25:25 AmielMac com.apple.webobjects.wotaskd[784]: /Library/Frameworks/ERExtensions.framework/Resources/Java/ERExtensions.jar Aug 30 14:25:25 AmielMac com.apple.webobjects.wotaskd[784]: /Library/Frameworks/ERJars.framework/Resources/Java/ERJars.jar Aug 30 14:25:25 AmielMac com.apple.webobjects.wotaskd[784]: /Library/Frameworks/ERJars.framework/Resources/Java/erxservletadaptor.jar Aug 30 14:25:25 AmielMac com.apple.webobjects.wotaskd[784]: /Library/Frameworks/ERJars.framework/Resources/Java/erxwo54.jar Aug 30 14:25:25 AmielMac com.apple.webobjects.wotaskd[784]: /Library/Frameworks/ERJars.framework/Resources/Java/icu4j-3_8_1.jar Aug 30 14:25:25 AmielMac com.apple.webobjects.wotaskd[784]: /Library/Frameworks/ERJars.framework/Resources/Java/junit-4.8.jar Aug 30 14:25:25 AmielMac com.apple.webobjects.wotaskd[784]: /Library/Frameworks/ERJars.framework/Resources/Java/log4j-1.2.14.jar Aug 30 14:25:25 AmielMac com.apple.webobjects.wotaskd[784]: /Library/Frameworks/ERJars.framework/Resources/Java/ognl-2.6.7.jar Aug 30 14:25:25 AmielMac com.apple.webobjects.wotaskd[784]: /Library/Frameworks/ERJars.framework/Resources/Java/slf4j-api-1.5.0.jar Aug 30 14:25:25 AmielMac com.apple.webobjects.wotaskd[784]: /Library/Frameworks/ERJars.framework/Resources/Java/slf4j-log4j12-1.5.0.jar Aug 30 14:25:25 AmielMac com.apple.webobjects.wotaskd[784]: /Library/Frameworks/JavaMonitorFramework.framework/Resources/Java/JavaMonitorFramework.jar Aug 30 14:25:25 AmielMac com.apple.webobjects.wotaskd[784]: /Library/Frameworks/JavaWOExtensions.framework/Resources/Java/JavaWOExtensions.jar Aug 30 14:25:25 AmielMac com.apple.webobjects.wotaskd[784]: /System/Library/Frameworks/JavaEOAccess.framework/Resources/Java/javaeoaccess.jar Aug 30 14:25:25 AmielMac com.apple.webobjects.wotaskd[784]: /System/Library/Frameworks/JavaEOControl.framework/Resources/Java/javaeocontrol.jar Aug 30 14:25:25 AmielMac com.apple.webobjects.wotaskd[784]: /System/Library/Frameworks/JavaFoundation.framework/Resources/Java/javafoundation.jar Aug 30 14:25:25 AmielMac com.apple.webobjects.wotaskd[784]: /System/Library/Frameworks/JavaJDBCAdaptor.framework/Resources/Java/javajdbcadaptor.jar Aug 30 14:25:25 AmielMac com.apple.webobjects.wotaskd[784]: /System/Library/Frameworks/JavaWOJSPServlet.framework/Resources/Java/javawojspservlet.jar Aug 30 14:25:25 AmielMac com.apple.webobjects.wotaskd[784]: /System/Library/Frameworks/JavaWebObjects.framework/Resources/Java/javawebobjects.jar Aug 30 14:25:25 AmielMac com.apple.webobjects.wotaskd[784]: /System/Library/Frameworks/JavaXML.framework/Resources/Java/javaxml.jar Aug 30 14:25:25 AmielMac com.apple.webobjects.wotaskd[784]: java.lang.NoClassDefFoundError: er/extensions/appserver/ERXApplication Aug 30 14:25:25 AmielMac com.apple.webobjects.wotaskd[784]: at java.lang.ClassLoader.defineClass1(Native Method) Aug 30 14:25:25 AmielMac com.apple.webobjects.wotaskd[784]: at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632) Aug 30 14:25:25 AmielMac com.apple.webobjects.wotaskd[784]: at java.lang.ClassLoader.defineClass(ClassLoader.java:616) Aug 30 14:25:25 AmielMac com.apple.webobjects.wotaskd[784]: at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141) Aug 30 14:25:25 AmielMac com.apple.webobjects.wotaskd[784]: at java.net.URLClassLoader.defineClass(URLClassLoader.java:283) Aug 30 14:25:25 AmielMac com.apple.webobjects.wotaskd[784]: at java.net.URLClassLoader.access$000(URLClassLoader.java:58) Aug 30 14:25:25 AmielMac com.apple.webobjects.wotaskd[784]: at java.net.URLClassLoader$1.run(URLClassLoader.java:197) Aug 30 14:25:25 AmielMac com.apple.webobjects.wotaskd[784]: at java.security.AccessController.doPrivileged(Native Method) Aug 30 14:25:25 AmielMac com.apple.webobjects.wotaskd[784]: at java.net.URLClassLoader.findClass(URLClassLoader.java:190) Aug 30 14:25:25 AmielMac com.apple.webobjects.wotaskd[784]: at java.lang.ClassLoader.loadClass(ClassLoader.java:307) Aug 30 14:25:25 AmielMac com.apple.webobjects.wotaskd[784]: at java.lang.ClassLoader.loadClass(ClassLoader.java:248) Aug 30 14:25:25 AmielMac com.apple.webobjects.wotaskd[784]: at com.webobjects._bootstrap.WOBootstrap.main(WOBootstrap.java:84) Aug 30 14:25:25 AmielMac com.apple.webobjects.wotaskd[784]: Caused by: java.lang.ClassNotFoundException: er.extensions.appserver.ERXApplication Aug 30 14:25:25 AmielMac com.apple.webobjects.wotaskd[784]: at java.net.URLClassLoader$1.run(URLClassLoader.java:202) Aug 30 14:25:25 AmielMac com.apple.webobjects.wotaskd[784]: at java.security.AccessController.doPrivileged(Native Method) Aug 30 14:25:25 AmielMac com.apple.webobjects.wotaskd[784]: at java.net.URLClassLoader.findClass(URLClassLoader.java:190) Aug 30 14:25:25 AmielMac com.apple.webobjects.wotaskd[784]: at java.lang.ClassLoader.loadClass(ClassLoader.java:307) Aug 30 14:25:25 AmielMac com.apple.webobjects.wotaskd[784]: at java.lang.ClassLoader.loadClass(ClassLoader.java:248) Aug 30 14:25:25 AmielMac com.apple.webobjects.wotaskd[784]: ... 12 more Aug 30 14:25:25 AmielMac com.apple.launchd[1] (com.apple.webobjects.wotaskd[784]): Exited with exit code: 1 Obviuosly I am missing something there because if I run the wotaskd script it runs fine. Any help? P.S. I came from windows so please be gentle. :) Thanks, Amiel -- socket error: unable to connect to 127.0.0.1 |