aspose file tools*
The moose likes Tomcat and the fly likes Error Strating Tomcat in Windows ME Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Error Strating Tomcat in Windows ME" Watch "Error Strating Tomcat in Windows ME" New topic
Author

Error Strating Tomcat in Windows ME

thilagam gowri
Greenhorn

Joined: Mar 10, 2004
Posts: 5
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

Joined: Nov 07, 2003
Posts: 4982
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.


SCJP 1.2, OCP 9i DBA, SCWCD 1.3, SCJP 1.4 (SAI), SCJD 1.4, SCWCD 1.4 (Beta), ICED (IBM 287, IBM 484, IBM 486), SCMAD 1.0 (Beta), SCBCD 1.3, ICSD (IBM 288), ICDBA (IBM 700, IBM 701), SCDJWS, ICSD (IBM 348), OCP 10g DBA (Beta), SCJP 5.0 (Beta), SCJA 1.0 (Beta), MCP(70-270), SCBCD 5.0 (Beta), SCJP 6.0, SCEA for JEE5 (in progress)
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60997
    
  65

Moved to the Tomcat forum.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
William Brogden
Author and all-around good cowpoke
Rancher

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

Joined: Feb 20, 2001
Posts: 3695

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

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

Joined: Feb 20, 2001
Posts: 3695

oh...

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

http://www.coderanch.com/t/81802/Tomcat/Help-starting-Tomcat
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Error Strating Tomcat in Windows ME