Help - Search - Members - Calendar
Full Version: tomcat 5.5.7
Linuxhelp > Support > Technical Support
adamwer
Run on FC5.

Got the following:

[root@victor ~]# cd /opt/tomcat/bin
[root@victor bin]# ./startup.sh
Cannot find opt/tomcat/bin/setclasspath.sh
This file is needed to run this program
[root@victor bin]# ls -altr
...
-rwxr-xr-x 1 root root 3008 Apr 14 19:09 setclasspath.sh
...

File location and permissions are ok.
Hemant
There seems to be a problem with startup.sh

just put a / in the beginning of line, where it tries to find the corresponding file.

It should be /opt/
adamwer
It was the presence of /opt/tomcat/bin/setenv.sh

CATALINA_HOME='opt/tomcat'
JAVA_HOME='/opt/jdk'

Once this file deleted the server starts fine from startup.sh
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2017 Invision Power Services, Inc.