File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Tomcat and the fly likes starting tomcat eror Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "starting tomcat eror" Watch "starting tomcat eror" New topic
Author

starting tomcat eror

Bala Bucks
Greenhorn

Joined: Jul 24, 2009
Posts: 3
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

Joined: Mar 22, 2000
Posts: 12671
    
    5
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

Java Resources at www.wbrogden.com
Kees Jan Koster
JavaMonitor Support
Rancher

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

Quote the paths in CATALINA_HOME etc. Windows cannot deal with the spaces in there.

Java-monitor, JVM monitoring made easy <- right here on Java Ranch
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: starting tomcat eror
 
Similar Threads
Tomcat Configuration -Help pls
disable of old war name logs
unable to use TOMCAT 5.5
Tomcat can't be stopped
Tomcat Configuration Problem