Not sure if this is pertinent, but I have used a variant of the service declaration found in the Microsoft-specific Tomcat 4.0.1 distribution to declare alternate service definitions for Tomcat.
The program used can be found at http://www.alexandriasc.com/software/JavaService/index.html. The executable has been renamed to tomcat.exe in the Microsoft-specific Tomcat distribution. The JVM parameters must be declared in the service definition. The JVM to be used is cited immediately after the "-install" argument, followed by any number of JVM-specific arguments, followed by the -start, -stop, -out, -err, and -current clauses. Here's an example, which assumes JAVA_HOME, CATALINA_HOME and CATALINA_BASE have been set in the environment: set CATALINA_BASE=<a separate Tomcat instance directory tree> "%CATALINA_HOME%\bin\tomcat.exe" -install "Apache Tomcat Experimental" "%JAVA_HOME%\jre\bin\hotspot\jvm.dll" -Xms128M -Xmx256M -Djava.class.path="%CATALINA_HOME%\bin\bootstrap.jar" -Dcatalina.home="%CATALINA_HOME%" -Dcatalina.base="%CATALINA_BASE%" -start org.apache.catalina.startup.BootstrapService -params start -stop org.apache.catalina.startup.BootstrapService -params stop -out "%CATALINA_BASE%\logs\stdout.log" -err "%CATALINA_BASE%\logs\stderr.log" -current "%CATALINA_BASE%" To uninstall the service, use "%CATALINA_HOME%\bin\tomcat.exe" -uninstall "Apache Tomcat Experimental" The service name can be chosen at will. If a service was declared for Tomcat upon its installation, a registry entry resembling that which will be created by the above can be found in "\HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\SERVICES\Apache Tomcat". This could possibly be edited, but I have found the JavaService installer to be easier. I haven't used SSL, but perhaps some tweaking of the service declaration as seen above might help. -----Original Message----- From: Guido Medina [mailto:[EMAIL PROTECTED]] Sent: Friday, December 14, 2001 7:57 AM To: 'Tomcat Users List' Subject: RE: Running as service... I don't understand, What I should add to the registry ?, Will it be for the entire system or only for my user ?, I guest I missed something but I don't understand. Guido. -----Original Message----- From: Lauer, Oliver [mailto:[EMAIL PROTECTED]] Sent: Friday, December 14, 2001 3:35 AM To: 'Tomcat Users List' Subject: AW: Running as service... I had the same problem and I had two different jre after installation of jdk1.3. The one I installed and I was aware of I fixed with the jsse-libs and this is the one I used within the bats but the service uses another runtime that was installed automatically anywhere within program files. Check for the jre the service uses "regedit.exe" and put the jsse-libs there, too. Oliver > AXA eSolutions GmbH > AXA Konzern AG Germany > Oliver Lauer > Web Architect > Wörthstraße 34 > D-50668 Köln > Germany > Tel.: +49 221 148 31277 > Fax: +49 221 148 43963 > Mobil: +49 179 59 064 59 > e-Mail: [EMAIL PROTECTED] > _____________________________ > -----Ursprüngliche Nachricht----- Von: Guido Medina [mailto:[EMAIL PROTECTED]] Gesendet: Donnerstag, 13. Dezember 2001 22:13 An: '[EMAIL PROTECTED]' Betreff: Running as service... Hi, I have installed Tomcat 4.0.1 (the executable file that also installs the service) on Windows 2000 Pro, and it works properly, I added the SSL connector with the key and son, I also tested it, the problem is that is only posible to start tomcat from the Command line with startup.bat, but not with the service itself, what it could be ?, Enviroment variables ?, or what ?, I also tried it with startup and after https://myhost and it worked out at all, but it doesnt start as a service with Start/Administrative tools/Services/Apache tomcat/Start after put the SSL support inside server.xml. Thanks in advanced, Guido. ---------------------------- Aus Rechts- und Sicherheitsgruenden ist die in dieser E-Mail gegebene Information nicht rechtsverbindlich. Eine rechtsverbindliche Bestaetigung reichen wir Ihnen gerne auf Anforderung in schriftlicher Form nach. Beachten Sie bitte, dass jede Form der unautorisierten Nutzung, Veroeffentlichung, Vervielfaeltigung oder Weitergabe des Inhalts dieser E-Mail nicht gestattet ist.Diese Nachricht ist ausschliesslich fuer den bezeichneten Adressaten oder dessen Vertreter bestimmt. Sollten Sie nicht der vorgesehene Adressat dieser E-Mail oder dessen Vertreter sein, so bitten wir Sie, sich mit dem Absender der E-Mail in Verbindung zu setzen. ---------------------------- For legal and security reasons the information provided in this e-mail is not legally binding. Upon request we would be pleased to provide you with a legally binding confirmation in written form. Any form of unauthorised use, publication, reproduction, copying or disclosure of the content of this e-mail is not permitted. This message is exclusively for the person addressed or their representative. If you are not the intended recipient of this message and its contents, please notify the sender immediately. --------------------------- -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]> -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]>