1831580 Members
3678 Online
110025 Solutions
New Discussion

Cannot start tomcat

 
Youlette Etienne_2
Regular Advisor

Cannot start tomcat

Hello everyone,

I am trying to start tomcat and am getting the following error message in the log file:

Cannot exec large heap executable: No such file or directory
Could not create the Java virtual machine.

Any thoughts on how to resolve this problem?
If at first you don't succeed, change the rules!
1 REPLY 1
Jim Butler
Valued Contributor

Re: Cannot start tomcat

Find your tomcat.sh file
(/opt/tomcat/bin/tomcat.sh) if its not there,
cd /opt/tomcat
find . -name tomcat.sh

Look at that file - depending on the version of tomcat you are running, you may have a JAVA_HOME variable set up there. Verify that java exists where it thinks it is.

Next - check your environment
in csh,
type env | grep -i classpath

or echo $CLASSPATH

is your classpath set up? If not, that is most likely your problem.
setenv CLASSPATH path_to_java:other_paths:path_to_odbc:path_to jdbc:whatever

good luck - let me know how you make out.
Man The Bilge Pumps!