1745817 Members
3867 Online
108722 Solutions
New Discussion юеВ

HPWS - Tomcat

 
P-Dicky
Frequent Advisor

HPWS - Tomcat


Anyone know how to switch tomcat from /opt/java1.5 to /opt/java6?

I keep getting this when I run ..tomcat/bin/startup.sh

...tomcat/bin/catalina.sh[251]: /opt/java1.5/bin/java: not found.

I had a look in the catalina.sh and line 251
251 $JAVA_WRAPPER "$_RUNJAVA" $JAVA_OPTS $CATALINA_OPTS \

None of these varibles are set...

Any suggestions?

Thanks All
4 REPLIES 4
Johnson Punniyalingam
Honored Contributor

Re: HPWS - Tomcat

>> ...tomcat/bin/catalina.sh[251]: /opt/java1.5/bin/java: not found.
<<

looks to me PATH..? you need setup the path for Java

check the smilar thread

http://forums13.itrc.hp.com/service/forums/questionanswer.do?admit=109447627+1226816882542+28353475&threadId=1166962

Thanks,
Johnson
Problems are common to all, but attitude makes the difference
sushant keerti
Advisor

Re: HPWS - Tomcat

first run this command
export=/opt/java1.5
then
tomcat/bin/startup.sh
Dennis Handly
Acclaimed Contributor

Re: HPWS - Tomcat

>sushant: first run this command: export=/opt/java1.5

export needs a variable name before the "=".
Steven E. Protter
Exalted Contributor

Re: HPWS - Tomcat

Shalom,

variable JAVA_PATH

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com