Webobjects5.4.1 deploy on Linux
Webobjects5.4.1 deploy on Linux
- Subject: Webobjects5.4.1 deploy on Linux
- From: "Ren, Kevin" <email@hidden>
- Date: Wed, 16 Jul 2008 13:20:32 +1200
- Thread-topic: Webobjects5.4.1 deploy on Linux
Title: Webobjects5.4.1 deploy on Linux
HI,
I built Apache2.2 WO adaptor for WO5.4.1 on my Ubuntu8.04( called Machine A).
I got the old WO( 5.4 or 5.3 ) with Apache2.2 on Ubuntu7.10 (called machine B).
Apache2.2 restart no problem.
Development no problem, I build MySchool in Machine A and WOHelloWorld in machine B.
Both could be deployed/started in machine B.
But both failed in machine A.
I got this message: in Machine A.
xiaowen@UbuntuVM> ./MySchool.woa/MySchool &
[2] 8275
xiaowen@UbuntuVM> Reading UNIXClassPath.txt ...
Launching MySchool.woa ...
java -DWORootDirectory="/home/xiaowen/Apple" -DWOLocalRootDirectory="/home/xiaowen/Apple/Local" -DWOUserDirectory="/home/xiaowen/Apple/Library/WebObjects/Applications" -DWOEnvClassPath="/usr/local/tomcat/common/lib/jsp-api.jar:/usr/local/tomcat/common/lib/servlet-api.jar" -DWOApplicationClass=school.app.Application -DWOPlatform=UNIX -Dcom.webobjects.pid=8275 -classpath WOBootstrap.jar com.webobjects._bootstrap.WOBootstrap
Loading /home/xiaowen/Apple/Library/WebObjects/Applications/MySchool.woa/Contents/UNIX/UNIXClassPath.txt
Generated classpath:
/home/xiaowen/Apple/Library/WebObjects/Applications/MySchool.woa/Contents/Resources/Java/
/home/xiaowen/Apple/Library/WebObjects/Applications/MySchool.woa/Contents/Resources/Java/myschool.jar
/home/xiaowen/Apple/Library/Frameworks/JavaEOAccess.framework/Resources/Java/javaeoaccess.jar
/home/xiaowen/Apple/Library/Frameworks/JavaEOControl.framework/Resources/Java/javaeocontrol.jar
/home/xiaowen/Apple/Library/Frameworks/JavaFoundation.framework/Resources/Java/javafoundation.jar
/home/xiaowen/Apple/Library/Frameworks/JavaJDBCAdaptor.framework/Resources/Java/javajdbcadaptor.jar
/home/xiaowen/Apple/Library/Frameworks/JavaWebObjects.framework/Resources/Java/javawebobjects.jar
/home/xiaowen/Apple/Library/Frameworks/JavaXML.framework/Resources/Java/javaxml.jar
/usr/local/tomcat/common/lib/jsp-api.jar
/usr/local/tomcat/common/lib/servlet-api.jar
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 com.webobjects._bootstrap.WOBootstrap.main(WOBootstrap.java:84)
xiaowen@UbuntuVM> ./WOHelloWorld.woa/WOHelloWorld &
[2] 8874
xiaowen@UbuntuVM> Reading UNIXClassPath.txt ...
Launching WOHelloWorld.woa ...
java -DWORootDirectory="/home/xiaowen/Apple" -DWOLocalRootDirectory="/home/xiaowen/Apple/Local" -DWOUserDirectory="/home/xiaowen/Apple/Library/WebObjects/Applications" -classpath "/home/xiaowen/Apple/Library/WebObjects/Applications/WOHelloWorld.woa/Contents/Resources/Java/:/home/xiaowen/Apple/Library/WebObjects/Applications/WOHelloWorld.woa/Contents/Resources/Java/wohelloworld.jar:/home/xiaowen/Apple/Library/Frameworks/JavaEOAccess.framework/Resources/Java/javaeoaccess.jar:/home/xiaowen/Apple/Library/Frameworks/JavaEOControl.framework/Resources/Java/javaeocontrol.jar:/home/xiaowen/Apple/Library/Frameworks/JavaFoundation.framework/Resources/Java/javafoundation.jar:/home/xiaowen/Apple/Library/Frameworks/JavaJDBCAdaptor.framework/Resources/Java/javajdbcadaptor.jar:/home/xiaowen/Apple/Library/Frameworks/JavaWebObjects.framework/Resources/Java/javawebobjects.jar:/home/xiaowen/Apple/Library/Frameworks/JavaXML.framework/Resources/Java/javaxml.jar:/usr/local/tomcat/common/lib/jsp-api.jar:/usr/local/tomcat/common/lib/servlet-api.jar" your.app.Application
Exception in thread "main" 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 sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
Something wrong in my setup?
Thanks
kevin
"This communication is confidential and may contain
privileged and/or copyright material. If you are not the intended recipient you
must not use, disclose, copy or retain it. If you have received it in error
please immediately notify me by return email, delete the emails and destroy any
hard copies. ANZ National Bank Limited does not guarantee the integrity of this
communication, or that it is free from errors, viruses or
interference."
_______________________________________________
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