Re: Difficulties running WebObjects on CentOS linux remote host (my website)
Re: Difficulties running WebObjects on CentOS linux remote host (my website)
- Subject: Re: Difficulties running WebObjects on CentOS linux remote host (my website)
- From: email@hidden
- Date: Thu, 12 Nov 2009 14:25:15 -0500
- Importance: Normal
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:
>
> [root@srv1 JavaApplications]# Hallo.woa/Hallo _WOPort 56789 &
> [1] 19347
> [root@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@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