Meaningless Drivel is fun!*
The moose likes Tomcat and the fly likes tomcat not starting Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "tomcat not starting" Watch "tomcat not starting" New topic
Author

tomcat not starting

tushar panda
Ranch Hand

Joined: Feb 16, 2009
Posts: 133
i have installed tomcat 6.0.20 today,after trying to run (startup.bat) at http://localhost:8080 it does not run
so i tried to change the connector port(in server.xml) but nothing happened , neither did i get a log message .

i have read somewhere to check the error by running catalina so i did and got the message below at command prompt :



according to error, JAVA_HOME should point to JDK , but path given is E:\Program Files\Java\jdk1.6.0_14
where it went wrong

morever i have set JAVA_HOME environment variable by



tomcat installed in : C drive
jdk installed in : E drive

so where lies the error everything is set to work ???

explain briefly


Do Right , Fear No Man
Misha Ver
Ranch Hand

Joined: Mar 03, 2008
Posts: 470
Windows restart may help
tushar panda
Ranch Hand

Joined: Feb 16, 2009
Posts: 133
Misha Ver wrote:Windows restart may help


still same problem , restarting didn't help .
Kees Jan Koster
JavaMonitor Support
Rancher

Joined: Mar 31, 2009
Posts: 251
    
    5
Dear tushar,

Check that you have set JAVA_HOME with quotes, because of the space in the path name. Thus:

C:\> SET JAVA_HOME="E:\Program Files\Java\jdk1.6.0_14"


Java-monitor, JVM monitoring made easy <- right here on Java Ranch
tushar panda
Ranch Hand

Joined: Feb 16, 2009
Posts: 133
Kees Jan Koster wrote:Dear tushar,

Check that you have set JAVA_HOME with quotes, because of the space in the path name. Thus:

C:\> SET JAVA_HOME="E:\Program Files\Java\jdk1.6.0_14"


thanks for reply

i did it but same problem .

how can i see and roll back all the path i have set , so that i can reset the path and try oncemore

tushar panda
Ranch Hand

Joined: Feb 16, 2009
Posts: 133
yippee tomcat is running .

i uninstalled glassfish and removed the environment variables of catalina .. and it worked.
 
 
subject: tomcat not starting
 
Similar Threads
HTTP Status 500 error
Tomcat 6.0.20 not starting with Eclipse 3.3.1.1
problem with class path
Error while trying to run Tomcat for servlets
Java environment variable and path setting