Bonjour, What did it change in the tomcat service installer between the version 4.0.4 and version 4.1.18 ?
To set up TomCat 4.0.4 to run as an NT Service, I launch "tomcat.exe" like this, and the installed service "Adonix_x3web" starts well. "C:\Program Files\Apache Tomcat 4.0\bin\tomcat.exe" -install "Adonix_x3web" "C:\jdk1.3.1_04\jre\bin\server\jvm.dll" "-Djava.class.path=C:\Program Files\Apache Tomcat 4.0\bin\bootstrap.jar;C:\jdk1.3.1_04\lib\tools.jar" "-Dcatalina.base=D:\+X3WebGarp\Adonix\X3Web\SERVERS_BASE" "-Dcatalina.home=C:\Program Files\Apache Tomcat 4.0" -Dadonix.x3web.install.approot="D:\+X3WebGarp\data" -Dadonix.x3web.install.progroot="D:\+X3WebGarp\Adonix\X3Web" -Dadonix.x3web.install.serverbase="D:\+X3WebGarp\Adonix\X3Web\SERVERS_BASE" -Djava.library.path="D:\+X3WebGarp\Adonix\X3Web\JNI\X3IMPDLL" -server -Xrs -Xms32M -Xmx128M -start org.apache.catalina.startup.Bootstrap -params start -stop org.apache.catalina.startup.Bootstrap -params stop -out "D:\+X3WebGarp\data\SERVERSLOGS\TOMCAT\service_out.txt" -err "D:\+X3WebGarp\data\SERVERSLOGS\TOMCAT\service_err.txt" -current "D:\+X3WebGarp\Adonix\X3Web\SERVERS_BASE" To to set up TomCat 4.1.18 to run as an NT Service,I launch "tomcat.exe" like that, and the installed service "Adonix_X3WebHead" does'nt start. I got the following error message in the event viewer "Could not create a FileOutputStream for System.out redirect. " ??? "C:\Program Files\Apache Group\Tomcat 4.1\bin\tomcat.exe" -install "Adonix_X3WebHead" "C:\j2sdk1.4.0_01\jre\bin\server\jvm.dll" "-Djava.class.path=C:\Program Files\Apache Group\Tomcat 4.1\bin\bootstrap.jar;C:\j2sdk1.4.0_01\lib\tools.jar" "-Dcatalina.base=D:\+X3WebHead\Adonix\X3Web\SERVERS_BASE" "-Dcatalina.home=C:\Program Files\Apache Group\Tomcat 4.1" -Dadonix.x3web.install.approot="D:\+X3WebHead\data" -Dadonix.x3web.install.progroot="D:\+X3WebHead\Adonix\X3Web" -Dadonix.x3web.install.serverbase="D:\+X3WebHead\Adonix\X3Web\SERVERS_BASE" -Djava.library.path="D:\+X3WebHead\Adonix\X3Web\JNI\X3IMPDLL" -server -Xrs -Xms128m -Xmx512m -start org.apache.catalina.startup.BootstrapService -params start -stop org.apache.catalina.startup.BootstrapService -params stop -out "D:\+X3WebHead\data\SERVERSLOGS\TOMCAT\service_out.txt" -err "D:\+X3WebHead\data\SERVERSLOGS\TOMCAT\service_err.txt" -current "D:\+X3WebHead\Adonix\X3Web\SERVERS_BASE" The associate tomcat configuration (server.xml) runs very well in console mode. I try also with the sun jdk1.3.1_04, and I got the same error. My context is : W2K SP3 Thanks in advance. Olivier gattaz --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
