This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

tomcat not starting

 
tushar panda
Ranch Hand
Posts: 133
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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

 
Misha Ver
Ranch Hand
Posts: 470
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Windows restart may help
 
tushar panda
Ranch Hand
Posts: 133
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Misha Ver wrote:Windows restart may help


still same problem , restarting didn't help .
 
Kees Jan Koster
JavaMonitor Support
Rancher
Posts: 251
5
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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"
 
tushar panda
Ranch Hand
Posts: 133
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 133
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yippee tomcat is running .

i uninstalled glassfish and removed the environment variables of catalina .. and it worked.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic