Hi,
I hope someone can help me with this. I have been trying to get
tomcat running for a couple of days and I cannot figure it out. I've tried starting it from the command line on windows 7 and this is what I get out:
C:\Users\mgriffin>cd C:\Tomcat_Home\bin
C:\Tomcat_Home\bin> startup.bat
C:\Tomcat_Home\bin>rem Licensed to the Apache Software Foundation (ASF) under on
e or more
C:\Tomcat_Home\bin>rem contributor license agreements. See the NOTICE file dist
ributed with
C:\Tomcat_Home\bin>rem this work for additional information regarding copyright
ownership.
C:\Tomcat_Home\bin>rem The ASF licenses this file to You under the Apache Licens
e, Version 2.0
C:\Tomcat_Home\bin>rem (the "License"); you may not use this file except in comp
liance with
C:\Tomcat_Home\bin>rem the License. You may obtain a copy of the License at
C:\Tomcat_Home\bin>rem
C:\Tomcat_Home\bin>rem
http://www.apache.org/licenses/LICENSE-2.0
C:\Tomcat_Home\bin>rem
C:\Tomcat_Home\bin>rem Unless required by applicable law or agreed to in writing
, software
C:\Tomcat_Home\bin>rem distributed under the License is distributed on an "AS IS
" BASIS,
C:\Tomcat_Home\bin>rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either expr
ess or implied.
C:\Tomcat_Home\bin>rem See the License for the specific language governing permi
ssions and
C:\Tomcat_Home\bin>rem limitations under the License.
C:\Tomcat_Home\bin>if "Windows_NT" == "Windows_NT" setlocal
C:\Tomcat_Home\bin>rem ---------------------------------------------------------
------------------
C:\Tomcat_Home\bin>rem Start script for the CATALINA Server
C:\Tomcat_Home\bin>rem
C:\Tomcat_Home\bin>rem $Id: startup.bat 908749 2010-02-10 23:26:42Z markt $
C:\Tomcat_Home\bin>rem ---------------------------------------------------------
------------------
C:\Tomcat_Home\bin>rem Guess CATALINA_HOME if not defined
C:\Tomcat_Home\bin>set "CURRENT_DIR=C:\Tomcat_Home\bin"
C:\Tomcat_Home\bin>if not "C:\Tomcat_Home" == "" goto gotHome
C:\Tomcat_Home\bin>if exist "C:\Tomcat_Home\bin\catalina.bat" goto okHome
C:\Tomcat_Home\bin>set "EXECUTABLE=C:\Tomcat_Home\bin\catalina.bat"
C:\Tomcat_Home\bin>rem Check that target executable exists
C:\Tomcat_Home\bin>if exist "C:\Tomcat_Home\bin\catalina.bat" goto okExec
C:\Tomcat_Home\bin>rem Get remaining unshifted command line arguments and save t
hem in the
C:\Tomcat_Home\bin>set CMD_LINE_ARGS=
C:\Tomcat_Home\bin>if """" == """" goto doneSetArgs
C:\Tomcat_Home\bin>call "C:\Tomcat_Home\bin\catalina.bat" start
The syntax of the command is incorrect.
C:\Tomcat_Home\bin>
My startup.bat file is as follows:
I have set my environment variables CATALINA_HOME and JAVA_HOME to point at the tomcat directory C:\Tomcat_Home and
java directory C:\Program Files\Java\jre6
Marie