Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

starting tomcat eror

 
Bala Bucks
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

I got this error when starting Tomcat

C:\Program Files\Apache Software Foundation\apache-tomcat-6.0.14\bin>startup.bat
Files\Java\jdk1.6.0 was unexpected at this time.



help Please
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13056
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I dont see any occurance of that message in my copy of Tomcat 6.0.14 startup.bat or catalina.bat files - have you edited any of these files?

Have you set the environment variables for JAVA_HOME and CATALINA_HOME correctly?


Bill
 
Kees Jan Koster
JavaMonitor Support
Rancher
Posts: 251
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear Bala,

Quote the paths in CATALINA_HOME etc. Windows cannot deal with the spaces in there.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic