Hi Reyn, It seems like PATH environment variable is not set to java bin directory. Please append /usr/local/java/bin to PATH environment variable before launching the application. You can use the following commands.
PATH=$PATH:/usr/local/java/bin export PATH It will fix your problem. Regards, Kalpana. > Hi, > > I have a problem running webobjects applications on a CentOS server (My > website). Everything seems to be configured according to this > http://wiki.objectstyle.org/confluence/display/WO/Installing+WO+5.3+or+WO+5.4+on+Linux > Wiki. > > When I try to start the application I get this: > > [r...@srv1 JavaApplications]# Hallo.woa/Hallo _WOPort 56789 & > [1] 19347 > [r...@srv1 JavaApplications]# Reading UNIXClassPath.txt ... > Launching Hallo.woa ... > java -DWORootDirectory="/opt" -DWOLocalRootDirectory="/opt/Local" > -DWOUserDirectory="/opt/Library/WebObjects/JavaApplications" > -DWOEnvClassPath="/usr/local/java/lib:/usr/local/java/jre/lib:/usr/local/tomcat/bin/:/usr/local/tomcat/common/lib:." > -DWOApplicationClass=your.app.Application -DWOPlatform=UNIX > -Dcom.webobjects.pid=19347 -classpath WOBootstrap.jar > com.webobjects._bootstrap.WOBootstrap _WOPort 56789 -WOFrameworksBaseURL > /WebObjects/Hallo.woa/Frameworks > Hallo.woa/Hallo: line 301: exec: java: not found > > I use WebObjects 5.4 > > Can anybody advise me on how to fix things so my apps can run on this > server? > > Thanks and Regards, > > Reyn Waldram _______________________________________________ > Do not post admin requests to the list. They will be ignored. > Webobjects-dev mailing list ([email protected]) > Help/Unsubscribe/Update your Subscription: > http://lists.apple.com/mailman/options/webobjects-dev/kalpana.vaka%40evergent.com > > This email sent to [email protected] _______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [email protected]
