Hi,
> D:\tomcat\tomcat>set TOMCAT_HOME=D:\tomcat\tomcat
>
> D:\tomcat\tomcat>cd bin
>
> D:\tomcat\tomcat\bin>startup
> Including all jars in D:\tomcat\tomcat\lib in your CLASSPATH.
>
> Using CLASSPATH:
> D:\tomcat\tomcat\classes;D:\tomcat\tomcat\lib\ant.jar;D:\tomcat
>
\tomcat\lib\jasper.jar;D:\tomcat\tomcat\lib\jaxp.jar;D:\tomcat\tomcat\lib\pa
> rser
>
.jar;D:\tomcat\tomcat\lib\servlet.jar;D:\tomcat\tomcat\lib\webserver.jar;c:\
> jdk1
>
.3;c:\jdk1.3\bin;c:\jdk1.3\bin\lib;c:\tomcat\tomcat\lib;D:\jdk1.3\lib\tools.
> jar
> Starting Tomcat in new window
> The system cannot find the file -Dtomcat.home=D:\tomcat\tomcat.
> D:\tomcat\tomcat\bin>
In tomcat.bat, the next lines are the ones that begin Tomcat starting :
:startServer
echo Starting Tomcat in new window
echo opts=%_STARTJAVA%
if "%2" == "-security" goto startSecure
%_STARTJAVA% %TOMCAT_OPTS% -Dtomcat.home="%TOMCAT_HOME%"
-Dorg.omg.CORBA.ORBClass=com.iona.corba.art.artimpl.ORBImpl
-Dorg.omg.CORBA.ORBSingletonClass=com.iona.corba.art.artimpl.ORBSingleton
org.apache.tomcat.startup.Tomcat %2 %3 %4 %5 %6 %7 %8 %9
goto cleanup
There's one strange behaviour in this, and the message 'opts=start "Tomcat
3.2" "c:\jdk1.3\bin\java"' isn't displayed (it should be showing after
message 'Starting Tomcat in new window'.
Please, to get a closer picture try to :
- look if a new windows is generated (with the title Tomcat 3.2)
- add the line 'echo OPTIONS=%TOMCAT_OPTS%' and execute again
I think that %_STARTJAVA% and %TOMCAT_OPTS% are blank (or non-existent for
some reason) and the first parameter passed to CMD.EXE is
'-Dtomcat.home="%TOMCAT_HOME%"', so it tries to execute it and can't find
such filename.
Hope this helps.
--
Víctor A. Rodríguez ( http://www.bit-man.com.ar)
Telefónica de Argentina - http://www.Telefonica.com.ar
Tel. (54-11) 4333-7305 - Fax: (54-11) 4303-5586 int. 1680
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]