You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Thomas Nybro Bolding <th...@danskebank.dk> on 2003/12/12 15:14:12 UTC

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" <jl...@qualiware.com>
12-12-03 13:43
Besvar venligst til "Tomcat Users List"

 
        Til:    "'Tomcat Users List'" <to...@jakarta.apache.org>
        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:thomas.bolding@danskebank.dk] 
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" <jl...@qualiware.com>
12-12-03 11:16
Besvar venligst til "Tomcat Users List"

 
        Til:    <to...@jakarta.apache.org>
        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: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org





<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: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org




RE: Vedr.: RE: Vedr.: service installer for TC5

Posted by Jacob Lund <jl...@qualiware.com>.
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:thomas.bolding@danskebank.dk] 
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" <jl...@qualiware.com>
12-12-03 13:43
Besvar venligst til "Tomcat Users List"

 
        Til:    "'Tomcat Users List'" <to...@jakarta.apache.org>
        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:thomas.bolding@danskebank.dk] 
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" <jl...@qualiware.com>
12-12-03 11:16
Besvar venligst til "Tomcat Users List"

 
        Til:    <to...@jakarta.apache.org>
        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: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org





<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: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org





---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org