Meaningless Drivel is fun!*
The moose likes Tomcat and the fly likes problem in starting tomcat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "problem in starting tomcat" Watch "problem in starting tomcat" New topic
Author

problem in starting tomcat

tanu gupta
Greenhorn

Joined: Jul 25, 2003
Posts: 3
I have tried running Tomcat by initiating the startup.bat in the /bin directory. I get the following mess: -
using CATALINA_BASE: C:\Program Files\Apache Group\tomcat
using CATALINA_HOME: C:\Program Files\Apache Group\tomcat
using CATALINA_TMPDIR: C:\Program Files\Apache Group\tomcat\temp
using JAVA_HOME: C:\JDK1.4
Bad command or file name
Iam using Windows ME.plz help me to solve this problem.
Mike Curwen
Ranch Hand

Joined: Feb 20, 2001
Posts: 3695

The line numbers have probably changed, but the solution is the same:
http://www.coderanch.com/t/81609/Tomcat/Tomcat-startup-Windows-ME
tanu gupta
Greenhorn

Joined: Jul 25, 2003
Posts: 3
quote:
--------------------------------------------------------------------------------
rem ----- Prepare Appropriate Java Execution Commands ---------------
if not "%OS%" == "Windows_NT" goto noTitle
set _STARTJAVA=start "Catalina" "%JAVA_HOME%\bin\java"
set _RUNJAVA="%JAVA_HOME%\bin\java"
goto gotTitle
:noTitle
set _STARTJAVA=start "%JAVA_HOME%\bin\java"
set _RUNJAVA="%JAVA_HOME%\bin\java"
:gotTitle
--------------------------------------------------------------------------------
tanu gupta
Greenhorn

Joined: Jul 25, 2003
Posts: 3
thanx for replying Mike but i didn't get the above quotes at in catalina.bat
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: problem in starting tomcat