• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Error Strating Tomcat in Windows ME

 
thilagam gowri
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When I start up Tomcat,I receive the following message in command prompt
syntax error
Using CATALINA_BASE: C:\Apache\Tomcat
Using CATALINA_HOME: C:\Apache\Tomcat
Using CATALINA_TMPDIR: C:\Apache\Tomcat\temp
Using JAVA_HOME: C:\jdk1.3
My tomcat version is 4.1.30.The java command prompt disappears in a few seconds.
Kindly reply as early as possible.
 
Nicholas Cheung
Ranch Hand
Posts: 4982
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Can you also check the error log of TOMCAT?
It should be located in %CATALINA_HOME%\logs\
When you start it, check the file with time that is same as your startup time. I remember there is a log called cataline.log for all server logs.
Nick.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65126
92
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moved to the Tomcat forum.
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13071
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This sort of thing comes up all the time - the startup.bat normally causes execution of catalina.bat in a new window - if catalina.bat fails, the new window closes and you lose the error messages. My suggestion is to
1. change the line in startup.bat from

to

2. Do NOT execute startup.bat by double clicking on it - instead, open a command prompt window, change to the TOMCAT_HOME/bin directory and execute startup.bat there. This should preserve whatever error message in the open window.
Bill
 
Mike Curwen
Ranch Hand
Posts: 3695
IntelliJ IDE Java Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
and in Windows ME, you'd actually get a 'Bad command or file name" if you used 'start' (it was removed from the version of DOS that shipped with ME).
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13071
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, in that example from the standard Tomcat start.bat, start is part of the command line for call - not a separate Windows command.
Bill
 
Mike Curwen
Ranch Hand
Posts: 3695
IntelliJ IDE Java Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
oh...

then i was thinking of another 'start' problem on Windows ME

http://www.coderanch.com/t/81802/Tomcat/Help-starting-Tomcat
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic