service installer for TC5
I am sorry if this is a stupid question - but I cannot find any documentation on how to use the tomcat.exe service installer included in tomcat 5.0.16. Thanks /Jacob - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Vedr.: service installer for TC5
Having been through the installation process for 5.0.16 a few times by now I can assure it is pretty self explanatory. Ensure you have j2sdk installed and a JAVA_HOME variable set. Im still strugling trying to get Tomcat not to use the public JRE though but this may be NT specific??? I have had some problems with JK2 and NT and therefore recommend Windows2000 if you as I must use M$. /Thomas Jacob Lund [EMAIL PROTECTED] 12-12-03 11:16 Besvar venligst til Tomcat Users List Til:[EMAIL PROTECTED] cc: Vedr.: service installer for TC5 I am sorry if this is a stupid question - but I cannot find any documentation on how to use the tomcat.exe service installer included in tomcat 5.0.16. Thanks /Jacob - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] FONT SIZE=1 FACE=Arial___ Vi goer opmaerksom paa, at denne e-mail kan indeholde fortrolig information. Hvis du ved en fejltagelse modtager e-mailen, beder vi dig venligst informere afsender om fejlen ved at bruge svar-funktionen. Samtidig beder vi dig slette e-mailen i dit system uden at videresende eller kopiere den. Selv om e-mailen og ethvert vedhaeftet bilag efter vores overbevisning er fri for virus og andre fejl, som kan paavirke computeren eller it-systemet, hvori den modtages og laeses, aabnes den paa modtagerens eget ansvar. Vi paatager os ikke noget ansvar for tab og skade, som er opstaaet i forbindelse med at modtage og bruge e-mailen. ___ Please note that this message may contain confidential information. If you have received this message by mistake, please inform the sender of the mistake by sending a reply, then delete the message from your system without making, distributing or retaining any copies of it. Although we believe that the message and any attachments are free from viruses and other errors that might affect the computer or IT system where it is received and read, the recipient opens the message at his or her own risk. We assume no responsibility for any loss or damage arising from the receipt or use of this message. /FONT
RE: Vedr.: service installer for TC5
OK thanks that was very helpful! I told you I might be stupid ;-) What parameters are valid? Tomcat /? Or /help does not give me any pointers! /Jacob -Original Message- From: Thomas Nybro Bolding [mailto:[EMAIL PROTECTED] Sent: 12. december 2003 11:25 To: Tomcat Users List Subject: Vedr.: service installer for TC5 Having been through the installation process for 5.0.16 a few times by now I can assure it is pretty self explanatory. Ensure you have j2sdk installed and a JAVA_HOME variable set. Im still strugling trying to get Tomcat not to use the public JRE though but this may be NT specific??? I have had some problems with JK2 and NT and therefore recommend Windows2000 if you as I must use M$. /Thomas Jacob Lund [EMAIL PROTECTED] 12-12-03 11:16 Besvar venligst til Tomcat Users List Til:[EMAIL PROTECTED] cc: Vedr.: service installer for TC5 I am sorry if this is a stupid question - but I cannot find any documentation on how to use the tomcat.exe service installer included in tomcat 5.0.16. Thanks /Jacob - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] FONT SIZE=1 FACE=Arial___ Vi goer opmaerksom paa, at denne e-mail kan indeholde fortrolig information. Hvis du ved en fejltagelse modtager e-mailen, beder vi dig venligst informere afsender om fejlen ved at bruge svar-funktionen. Samtidig beder vi dig slette e-mailen i dit system uden at videresende eller kopiere den. Selv om e-mailen og ethvert vedhaeftet bilag efter vores overbevisning er fri for virus og andre fejl, som kan paavirke computeren eller it-systemet, hvori den modtages og laeses, aabnes den paa modtagerens eget ansvar. Vi paatager os ikke noget ansvar for tab og skade, som er opstaaet i forbindelse med at modtage og bruge e-mailen. ___ Please note that this message may contain confidential information. If you have received this message by mistake, please inform the sender of the mistake by sending a reply, then delete the message from your system without making, distributing or retaining any copies of it. Although we believe that the message and any attachments are free from viruses and other errors that might affect the computer or IT system where it is received and read, the recipient opens the message at his or her own risk. We assume no responsibility for any loss or damage arising from the receipt or use of this message. /FONT - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Vedr.: service installer for TC5
Jacob Lund wrote: OK thanks that was very helpful! I told you I might be stupid ;-) What parameters are valid? Tomcat /? Or /help does not give me any pointers! Here's some (basic) doc on procrun (aka tomcat.exe): http://jakarta.apache.org/commons/daemon/procrun.html Next to it is the jsvc docs, which does stuff similar to procrun. The two aren't the same codebase, since the two OSes have a very different way to treat their daemons. I think both could use some polish. Contributors wanted :) -- x Rémy Maucherat Senior Developer Consultant JBoss Group (Europe) SàRL x - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Vedr.: service installer for TC5
Hi Thomas! OK, now I am getting closer! I am using windows and I also need to use a JRE in a specific location! In this case I have the JRE placed in the tomcat directory! I have made following .bat file in the tomcat directory: set RUNTIME_MODULE=%CD%\jre set ServerPath=%CD% bin\tomcat.exe //IS//Serv --Description Slide Server --ImagePath %ServerPath%\bin\bootstrap.jar --StartupClass org.apache.catalina.startup.Bootstrap;main;start --ShutdownClass org.apache.catalina.startup.Bootstrap;main;stop --Java %RUNTIME_MODULE%\bin\server\jvm.dll --StartupClass org.apache.catalina.startup.Bootstrap;main;start --Install %ServerPath%\bin\tomcat.exe --StdOutputFile %ServerPath%\logs\stdout.txt --StdErrorFile %ServerPath%\logs\stderr.txt --JavaOptions -Xrs --WorkingPath %ServerPath% This works fine when I run tomcat //TS//Serv, but the service fails and there does not seem to bee any log information available! Is this the same problem that you have? /Jacob -Original Message- From: Thomas Nybro Bolding [mailto:[EMAIL PROTECTED] Sent: 12. december 2003 11:25 To: Tomcat Users List Subject: Vedr.: service installer for TC5 Having been through the installation process for 5.0.16 a few times by now I can assure it is pretty self explanatory. Ensure you have j2sdk installed and a JAVA_HOME variable set. Im still strugling trying to get Tomcat not to use the public JRE though but this may be NT specific??? I have had some problems with JK2 and NT and therefore recommend Windows2000 if you as I must use M$. /Thomas Jacob Lund [EMAIL PROTECTED] 12-12-03 11:16 Besvar venligst til Tomcat Users List Til:[EMAIL PROTECTED] cc: Vedr.: service installer for TC5 I am sorry if this is a stupid question - but I cannot find any documentation on how to use the tomcat.exe service installer included in tomcat 5.0.16. Thanks /Jacob - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] FONT SIZE=1 FACE=Arial___ Vi goer opmaerksom paa, at denne e-mail kan indeholde fortrolig information. Hvis du ved en fejltagelse modtager e-mailen, beder vi dig venligst informere afsender om fejlen ved at bruge svar-funktionen. Samtidig beder vi dig slette e-mailen i dit system uden at videresende eller kopiere den. Selv om e-mailen og ethvert vedhaeftet bilag efter vores overbevisning er fri for virus og andre fejl, som kan paavirke computeren eller it-systemet, hvori den modtages og laeses, aabnes den paa modtagerens eget ansvar. Vi paatager os ikke noget ansvar for tab og skade, som er opstaaet i forbindelse med at modtage og bruge e-mailen. ___ Please note that this message may contain confidential information. If you have received this message by mistake, please inform the sender of the mistake by sending a reply, then delete the message from your system without making, distributing or retaining any copies of it. Although we believe that the message and any attachments are free from viruses and other errors that might affect the computer or IT system where it is received and read, the recipient opens the message at his or her own risk. We assume no responsibility for any loss or damage arising from the receipt or use of this message. /FONT - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Vedr.: RE: Vedr.: service installer for TC5
Hi Jacob, I guess not really as I simply installed Tomcat out-of-the box thus letting the Tomcat installation take care of the windows service. Afterwards I tried without succes to change to server jvm whereby I learned it used my public JRE. So far I havent been able to find any documentation of the windows registry settings which have changed quite a bit since 4.1.27 :-( As I also have struggled somewhat with JK2 under NT I have ordered a clean Windows 2000 installation hoping this might ease things a bit. I will give my old NT box a last shot and will post any findings if succesfull. Based on my previous track record I wouldt hope to much though... /Thomas Jacob Lund [EMAIL PROTECTED] 12-12-03 13:43 Besvar venligst til Tomcat Users List Til:'Tomcat Users List' [EMAIL PROTECTED] cc: Vedr.: RE: Vedr.: service installer for TC5 Hi Thomas! OK, now I am getting closer! I am using windows and I also need to use a JRE in a specific location! In this case I have the JRE placed in the tomcat directory! I have made following .bat file in the tomcat directory: set RUNTIME_MODULE=%CD%\jre set ServerPath=%CD% bin\tomcat.exe //IS//Serv --Description Slide Server --ImagePath %ServerPath%\bin\bootstrap.jar --StartupClass org.apache.catalina.startup.Bootstrap;main;start --ShutdownClass org.apache.catalina.startup.Bootstrap;main;stop --Java %RUNTIME_MODULE%\bin\server\jvm.dll --StartupClass org.apache.catalina.startup.Bootstrap;main;start --Install %ServerPath%\bin\tomcat.exe --StdOutputFile %ServerPath%\logs\stdout.txt --StdErrorFile %ServerPath%\logs\stderr.txt --JavaOptions -Xrs --WorkingPath %ServerPath% This works fine when I run tomcat //TS//Serv, but the service fails and there does not seem to bee any log information available! Is this the same problem that you have? /Jacob -Original Message- From: Thomas Nybro Bolding [mailto:[EMAIL PROTECTED] Sent: 12. december 2003 11:25 To: Tomcat Users List Subject: Vedr.: service installer for TC5 Having been through the installation process for 5.0.16 a few times by now I can assure it is pretty self explanatory. Ensure you have j2sdk installed and a JAVA_HOME variable set. Im still strugling trying to get Tomcat not to use the public JRE though but this may be NT specific??? I have had some problems with JK2 and NT and therefore recommend Windows2000 if you as I must use M$. /Thomas Jacob Lund [EMAIL PROTECTED] 12-12-03 11:16 Besvar venligst til Tomcat Users List Til:[EMAIL PROTECTED] cc: Vedr.: service installer for TC5 I am sorry if this is a stupid question - but I cannot find any documentation on how to use the tomcat.exe service installer included in tomcat 5.0.16. Thanks /Jacob - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] FONT SIZE=1 FACE=Arial___ Vi goer opmaerksom paa, at denne e-mail kan indeholde fortrolig information. Hvis du ved en fejltagelse modtager e-mailen, beder vi dig venligst informere afsender om fejlen ved at bruge svar-funktionen. Samtidig beder vi dig slette e-mailen i dit system uden at videresende eller kopiere den. Selv om e-mailen og ethvert vedhaeftet bilag efter vores overbevisning er fri for virus og andre fejl, som kan paavirke computeren eller it-systemet, hvori den modtages og laeses, aabnes den paa modtagerens eget ansvar. Vi paatager os ikke noget ansvar for tab og skade, som er opstaaet i forbindelse med at modtage og bruge e-mailen. ___ Please note that this message may contain confidential information. If you have received this message by mistake, please inform the sender of the mistake by sending a reply, then delete the message from your system without making, distributing or retaining any copies of it. Although we believe that the message and any attachments are free from viruses and other errors that might affect the computer or IT system where it is received and read, the recipient opens the message at his or her own risk. We assume no responsibility for any loss or damage arising from the receipt or use of this message. /FONT - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Vedr.: RE: Vedr.: service installer for TC5
Have a look in registry at location: HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Tomcat Service Manager I am pretty sure that you will have to do the service installation yourself or change the one installed by tomcat! Try to put the batch program I made into a .bat file at execute it in your tomcat directory and copy the jre to the tomcat directory too! It is close but not there yet! :-) /Jacob -Original Message- From: Thomas Nybro Bolding [mailto:[EMAIL PROTECTED] Sent: 12. december 2003 15:14 To: Tomcat Users List Subject: Vedr.: RE: Vedr.: service installer for TC5 Hi Jacob, I guess not really as I simply installed Tomcat out-of-the box thus letting the Tomcat installation take care of the windows service. Afterwards I tried without succes to change to server jvm whereby I learned it used my public JRE. So far I havent been able to find any documentation of the windows registry settings which have changed quite a bit since 4.1.27 :-( As I also have struggled somewhat with JK2 under NT I have ordered a clean Windows 2000 installation hoping this might ease things a bit. I will give my old NT box a last shot and will post any findings if succesfull. Based on my previous track record I wouldt hope to much though... /Thomas Jacob Lund [EMAIL PROTECTED] 12-12-03 13:43 Besvar venligst til Tomcat Users List Til:'Tomcat Users List' [EMAIL PROTECTED] cc: Vedr.: RE: Vedr.: service installer for TC5 Hi Thomas! OK, now I am getting closer! I am using windows and I also need to use a JRE in a specific location! In this case I have the JRE placed in the tomcat directory! I have made following .bat file in the tomcat directory: set RUNTIME_MODULE=%CD%\jre set ServerPath=%CD% bin\tomcat.exe //IS//Serv --Description Slide Server --ImagePath %ServerPath%\bin\bootstrap.jar --StartupClass org.apache.catalina.startup.Bootstrap;main;start --ShutdownClass org.apache.catalina.startup.Bootstrap;main;stop --Java %RUNTIME_MODULE%\bin\server\jvm.dll --StartupClass org.apache.catalina.startup.Bootstrap;main;start --Install %ServerPath%\bin\tomcat.exe --StdOutputFile %ServerPath%\logs\stdout.txt --StdErrorFile %ServerPath%\logs\stderr.txt --JavaOptions -Xrs --WorkingPath %ServerPath% This works fine when I run tomcat //TS//Serv, but the service fails and there does not seem to bee any log information available! Is this the same problem that you have? /Jacob -Original Message- From: Thomas Nybro Bolding [mailto:[EMAIL PROTECTED] Sent: 12. december 2003 11:25 To: Tomcat Users List Subject: Vedr.: service installer for TC5 Having been through the installation process for 5.0.16 a few times by now I can assure it is pretty self explanatory. Ensure you have j2sdk installed and a JAVA_HOME variable set. Im still strugling trying to get Tomcat not to use the public JRE though but this may be NT specific??? I have had some problems with JK2 and NT and therefore recommend Windows2000 if you as I must use M$. /Thomas Jacob Lund [EMAIL PROTECTED] 12-12-03 11:16 Besvar venligst til Tomcat Users List Til:[EMAIL PROTECTED] cc: Vedr.: service installer for TC5 I am sorry if this is a stupid question - but I cannot find any documentation on how to use the tomcat.exe service installer included in tomcat 5.0.16. Thanks /Jacob - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] FONT SIZE=1 FACE=Arial___ Vi goer opmaerksom paa, at denne e-mail kan indeholde fortrolig information. Hvis du ved en fejltagelse modtager e-mailen, beder vi dig venligst informere afsender om fejlen ved at bruge svar-funktionen. Samtidig beder vi dig slette e-mailen i dit system uden at videresende eller kopiere den. Selv om e-mailen og ethvert vedhaeftet bilag efter vores overbevisning er fri for virus og andre fejl, som kan paavirke computeren eller it-systemet, hvori den modtages og laeses, aabnes den paa modtagerens eget ansvar. Vi paatager os ikke noget ansvar for tab og skade, som er opstaaet i forbindelse med at modtage og bruge e-mailen. ___ Please note that this message may contain confidential information. If you have received this message by mistake, please inform the sender of the mistake by sending a reply, then delete the message from your system without making, distributing or retaining any copies of it. Although we believe that the message and any attachments are free from viruses and other errors that might affect the computer or IT system where it is received and read, the recipient opens the message at his or her own risk. We assume no responsibility for any loss or damage arising from the receipt or use of this message. /FONT - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail
Vedr.: RE: Vedr.: RE: Vedr.: service installer for TC5
I have found the location but what ever I put in the Java string value Tomcat refuses to start :-( I will look at your batch script and see whether that might work out. /Thomas Jacob Lund [EMAIL PROTECTED] 12-12-03 15:40 Besvar venligst til Tomcat Users List Til:'Tomcat Users List' [EMAIL PROTECTED] cc: Vedr.: RE: Vedr.: RE: Vedr.: service installer for TC5 Have a look in registry at location: HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Tomcat Service Manager I am pretty sure that you will have to do the service installation yourself or change the one installed by tomcat! Try to put the batch program I made into a .bat file at execute it in your tomcat directory and copy the jre to the tomcat directory too! It is close but not there yet! :-) /Jacob -Original Message- From: Thomas Nybro Bolding [mailto:[EMAIL PROTECTED] Sent: 12. december 2003 15:14 To: Tomcat Users List Subject: Vedr.: RE: Vedr.: service installer for TC5 Hi Jacob, I guess not really as I simply installed Tomcat out-of-the box thus letting the Tomcat installation take care of the windows service. Afterwards I tried without succes to change to server jvm whereby I learned it used my public JRE. So far I havent been able to find any documentation of the windows registry settings which have changed quite a bit since 4.1.27 :-( As I also have struggled somewhat with JK2 under NT I have ordered a clean Windows 2000 installation hoping this might ease things a bit. I will give my old NT box a last shot and will post any findings if succesfull. Based on my previous track record I wouldt hope to much though... /Thomas Jacob Lund [EMAIL PROTECTED] 12-12-03 13:43 Besvar venligst til Tomcat Users List Til:'Tomcat Users List' [EMAIL PROTECTED] cc: Vedr.: RE: Vedr.: service installer for TC5 Hi Thomas! OK, now I am getting closer! I am using windows and I also need to use a JRE in a specific location! In this case I have the JRE placed in the tomcat directory! I have made following .bat file in the tomcat directory: set RUNTIME_MODULE=%CD%\jre set ServerPath=%CD% bin\tomcat.exe //IS//Serv --Description Slide Server --ImagePath %ServerPath%\bin\bootstrap.jar --StartupClass org.apache.catalina.startup.Bootstrap;main;start --ShutdownClass org.apache.catalina.startup.Bootstrap;main;stop --Java %RUNTIME_MODULE%\bin\server\jvm.dll --StartupClass org.apache.catalina.startup.Bootstrap;main;start --Install %ServerPath%\bin\tomcat.exe --StdOutputFile %ServerPath%\logs\stdout.txt --StdErrorFile %ServerPath%\logs\stderr.txt --JavaOptions -Xrs --WorkingPath %ServerPath% This works fine when I run tomcat //TS//Serv, but the service fails and there does not seem to bee any log information available! Is this the same problem that you have? /Jacob -Original Message- From: Thomas Nybro Bolding [mailto:[EMAIL PROTECTED] Sent: 12. december 2003 11:25 To: Tomcat Users List Subject: Vedr.: service installer for TC5 Having been through the installation process for 5.0.16 a few times by now I can assure it is pretty self explanatory. Ensure you have j2sdk installed and a JAVA_HOME variable set. Im still strugling trying to get Tomcat not to use the public JRE though but this may be NT specific??? I have had some problems with JK2 and NT and therefore recommend Windows2000 if you as I must use M$. /Thomas Jacob Lund [EMAIL PROTECTED] 12-12-03 11:16 Besvar venligst til Tomcat Users List Til:[EMAIL PROTECTED] cc: Vedr.: service installer for TC5 I am sorry if this is a stupid question - but I cannot find any documentation on how to use the tomcat.exe service installer included in tomcat 5.0.16. Thanks /Jacob - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] FONT SIZE=1 FACE=Arial___ Vi goer opmaerksom paa, at denne e-mail kan indeholde fortrolig information. Hvis du ved en fejltagelse modtager e-mailen, beder vi dig venligst informere afsender om fejlen ved at bruge svar-funktionen. Samtidig beder vi dig slette e-mailen i dit system uden at videresende eller kopiere den. Selv om e-mailen og ethvert vedhaeftet bilag efter vores overbevisning er fri for virus og andre fejl, som kan paavirke computeren eller it-systemet, hvori den modtages og laeses, aabnes den paa modtagerens eget ansvar. Vi paatager os ikke noget ansvar for tab og skade, som er opstaaet i forbindelse med at modtage og bruge e-mailen. ___ Please note that this message may contain confidential information. If you have received this message by mistake, please inform the sender of the mistake by sending a reply, then delete the message from your system without making, distributing or retaining any copies of it. Although we believe that the message and any attachments are free from viruses
Re: Vedr.: service installer for TC5
I'm not sure if it is in the docs, or if the installer sets up a link to it (never used the installer :), but you can change most setting from the GUI by running: tomcatw //ES//Tomcat5 Remy Maucherat [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Jacob Lund wrote: OK thanks that was very helpful! I told you I might be stupid ;-) What parameters are valid? Tomcat /? Or /help does not give me any pointers! Here's some (basic) doc on procrun (aka tomcat.exe): http://jakarta.apache.org/commons/daemon/procrun.html Next to it is the jsvc docs, which does stuff similar to procrun. The two aren't the same codebase, since the two OSes have a very different way to treat their daemons. I think both could use some polish. Contributors wanted :) -- x Rémy Maucherat Senior Developer Consultant JBoss Group (Europe) SàRL x - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]