wood burning stoves 2.0*
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

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "problem in starting tomcat" Watch "problem in starting tomcat" New topic

problem in starting tomcat

tanu gupta

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:
tanu gupta

Joined: Jul 25, 2003
Posts: 3
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
set _STARTJAVA=start "%JAVA_HOME%\bin\java"
set _RUNJAVA="%JAVA_HOME%\bin\java"
tanu gupta

Joined: Jul 25, 2003
Posts: 3
thanx for replying Mike but i didn't get the above quotes at in catalina.bat
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: problem in starting tomcat
Similar Threads
Cant read XML file
jdbc exception
Windows cannot find '-Djava.endorsed.dirs='?
Tomcat with MySql and JSP files