You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Frank Uccello <fr...@phantomfiber.com> on 2008/10/15 15:50:12 UTC
tomcat as services
I have a machine that has multiply tomcat instances and they run as a
service.
I like to add a new tomcat:
First I copy an existing tomcat.exe and rename to
Tomcat-ItActionSystem.exe
Then I type the following
tomcat5 //IS//TomcatItActionSystems
--DisplayName="Tomcat-ItActionSystem" --Install="C:\Program
Files\Apache\Tomcat5.5\bin\tomcat-ItActionSystem.exe" --Jvm=auto
--StartMode=jvm --StopMode=jvm
--StartClass=org.apache.catalina.startup.Bootstrap --StartParams=start
--StopClass=org.apache.catalina.startup.Bootstrap --StopParams=stop
It shows up as service but will not start the tomcat error I get is as
follows:
[2008-10-15 09:33:59] [420 prunsrv.c] [error]
The system cannot find the file specified.
[2008-10-15 09:33:59] [1327 prunsrv.c] [error]
Load configuration failed
I think it's the parmaters can some tell mewhat the correct parmeters
should be
Thanks
Frank
RE: tomcat 6 and subdirectories
Posted by "Angelov, Rossen" <Ro...@SourceMedia.com>.
OK, I will put the appBase back in the host.
-----Original Message-----
From: Caldarale, Charles R [mailto:Chuck.Caldarale@unisys.com]
Sent: Friday, October 24, 2008 3:38 PM
To: Tomcat Users List
Subject: RE: tomcat 6 and subdirectories
> From: Angelov, Rossen [mailto:Rossen.Angelov@SourceMedia.com]
> Subject: RE: tomcat 6 and subdirectories
>
> I had to remove the appBase attribute from the host definition
> and provide an absolute path in the context's docBase.
That's not right. Each <Host> should have an appBase; you just need to
insure that your webapps are installed somewhere else than under the
appBase settings.
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
"This communication is intended solely for the addressee and is confidential and not for third party unauthorized distribution"
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
RE: tomcat 6 and subdirectories
Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: Angelov, Rossen [mailto:Rossen.Angelov@SourceMedia.com]
> Subject: RE: tomcat 6 and subdirectories
>
> I had to remove the appBase attribute from the host definition
> and provide an absolute path in the context's docBase.
That's not right. Each <Host> should have an appBase; you just need to insure that your webapps are installed somewhere else than under the appBase settings.
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
RE: tomcat 6 and subdirectories
Posted by "Angelov, Rossen" <Ro...@SourceMedia.com>.
Chuck,
Thanks for the advise, I fixed the problem. IT was definitely related to
the way contexts were defined and not to the servlet mappings. Some of
your replies to older postings helped me figure out the problem.
As a solution, I put the context files for the applications in
conf/Catalina/[host]/[appName].xml as described in
http://tomcat.apache.org/tomcat-6.0-doc/config/context.html
It didn't work right away. I had to remove the appBase attribute from
the host definition and provide an absolute path in the context's
docBase. After that everything worked as expected and all subdirectories
mapped to the proper servlet.
Thanks,
Ross
-----Original Message-----
From: Caldarale, Charles R [mailto:Chuck.Caldarale@unisys.com]
Sent: Thursday, October 23, 2008 5:49 PM
To: Tomcat Users List
Subject: RE: tomcat 6 and subdirectories
> From: Angelov, Rossen [mailto:Rossen.Angelov@SourceMedia.com]
> Subject: RE: tomcat 6 and subdirectories
>
> I will try in META-INF/context.xml, although how do you
> specify multiple contexts in this case?
There's a separate META-INF directory in each webapp, so each gets its
own context.xml file.
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
"This communication is intended solely for the addressee and is confidential and not for third party unauthorized distribution"
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
RE: tomcat 6 and subdirectories
Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: Angelov, Rossen [mailto:Rossen.Angelov@SourceMedia.com]
> Subject: RE: tomcat 6 and subdirectories
>
> I will try in META-INF/context.xml, although how do you
> specify multiple contexts in this case?
There's a separate META-INF directory in each webapp, so each gets its own context.xml file.
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
RE: tomcat 6 and subdirectories
Posted by "Angelov, Rossen" <Ro...@SourceMedia.com>.
Thanks Chuck,
It is in server.xml and may that's the problem. In previous version I
had in subdirectories under conf/Catalina.
I will try in META-INF/context.xml, although how do you specify multiple
contexts in this case?
Ross
-----Original Message-----
From: Caldarale, Charles R [mailto:Chuck.Caldarale@unisys.com]
Sent: Monday, October 20, 2008 2:18 PM
To: Tomcat Users List
Subject: RE: tomcat 6 and subdirectories
> From: Angelov, Rossen [mailto:Rossen.Angelov@SourceMedia.com]
> Subject: RE: tomcat 6 and subdirectories
>
> I have the feeling it's not the pattern, but
> something else that's causing this problem.
Are you still specifying an empty docBase? That's illegal.
Where is your <Context> element located? It should not be in server.xml
(strongly discouraged, but not yet illegal), but rather in the webapp's
META-INF/context.xml file. Note that the path attribute is not allowed
when the <Context> is in the proper location.
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
"This communication is intended solely for the addressee and is confidential and not for third party unauthorized distribution"
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
RE: tomcat 6 and subdirectories
Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: Angelov, Rossen [mailto:Rossen.Angelov@SourceMedia.com]
> Subject: RE: tomcat 6 and subdirectories
>
> I have the feeling it's not the pattern, but
> something else that's causing this problem.
Are you still specifying an empty docBase? That's illegal.
Where is your <Context> element located? It should not be in server.xml (strongly discouraged, but not yet illegal), but rather in the webapp's META-INF/context.xml file. Note that the path attribute is not allowed when the <Context> is in the proper location.
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
RE: tomcat 6 and subdirectories
Posted by "Angelov, Rossen" <Ro...@SourceMedia.com>.
Kewl,
Thanks for the reply, but I already tried that pattern and it didn't
work for me. I have the feeling it's not the pattern, but something else
that's causing this problem.
Any other ideas?
Thanks,
Ross
-----Original Message-----
From: Johnny Kewl [mailto:john@kewlstuff.co.za]
Sent: Thursday, October 16, 2008 2:44 AM
To: Tomcat Users List
Subject: Re: tomcat 6 and subdirectories
----- Original Message -----
From: "Angelov, Rossen" <Ro...@SourceMedia.com>
To: "Tomcat Users List" <us...@tomcat.apache.org>
Sent: Wednesday, October 15, 2008 8:29 PM
Subject: tomcat 6 and subdirectories
> Hi,
>
> I recently started using Tomcat 6 but can't configure it to map
> subdirectories to same servlet within the default context. I didn't
have
> problems with the same setup in Tomcat 5.
>
> Here is an example.
>
> http://mysite/test.html - maps to the application servlet and works as
> expected
> http://mysite/directory/test.html - doesn't maps to the application
> servlet and fails to display correctly
>
> The second link works only after I create an additional context, but
> it's not an acceptable solution because there are many directories in
> application base.
>
> <Context path="directory" docBase="" />
>
> In web.xml I have the following servlet mapping:
>
> <servlet-mapping>
> <servlet-name>appServlet</servlet-name>
> <url-pattern>*.html</url-pattern>
> </servlet-mapping>
>
> I tried different url patters to match subdirectories, but neither one
> worked:
> <url-pattern>/*</url-pattern>
> <url-pattern>/directory/*</url-pattern>
> <url-pattern>directory/*</url-pattern>
Ross Try
<servlet-mapping>
<servlet-name>appServlet</servlet-name>
<url-pattern>*.htm</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>appServlet</servlet-name>
<url-pattern>/directory/*</url-pattern>
</servlet-mapping>
ie just map it more than once....
I havnt noticed a change in behaviour between TC's... using the multi
mapping idea above, maybe some other subtle thing happening as well...
------------------------------------------------------------------------
---
HARBOR : http://www.kewlstuff.co.za/index.htm
The most powerful application server on earth.
The only real POJO Application Server.
See it in Action : http://www.kewlstuff.co.za/cd_tut_swf/whatisejb1.htm
------------------------------------------------------------------------
---
If you cant pay in gold... get lost...
http://coolharbor.100free.com/debt/usadebt.htm
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
"This communication is intended solely for the addressee and is confidential and not for third party unauthorized distribution"
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: tomcat 6 and subdirectories
Posted by Johnny Kewl <jo...@kewlstuff.co.za>.
----- Original Message -----
From: "Angelov, Rossen" <Ro...@SourceMedia.com>
To: "Tomcat Users List" <us...@tomcat.apache.org>
Sent: Wednesday, October 15, 2008 8:29 PM
Subject: tomcat 6 and subdirectories
> Hi,
>
> I recently started using Tomcat 6 but can't configure it to map
> subdirectories to same servlet within the default context. I didn't have
> problems with the same setup in Tomcat 5.
>
> Here is an example.
>
> http://mysite/test.html - maps to the application servlet and works as
> expected
> http://mysite/directory/test.html - doesn't maps to the application
> servlet and fails to display correctly
>
> The second link works only after I create an additional context, but
> it's not an acceptable solution because there are many directories in
> application base.
>
> <Context path="directory" docBase="" />
>
> In web.xml I have the following servlet mapping:
>
> <servlet-mapping>
> <servlet-name>appServlet</servlet-name>
> <url-pattern>*.html</url-pattern>
> </servlet-mapping>
>
> I tried different url patters to match subdirectories, but neither one
> worked:
> <url-pattern>/*</url-pattern>
> <url-pattern>/directory/*</url-pattern>
> <url-pattern>directory/*</url-pattern>
Ross Try
<servlet-mapping>
<servlet-name>appServlet</servlet-name>
<url-pattern>*.htm</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>appServlet</servlet-name>
<url-pattern>/directory/*</url-pattern>
</servlet-mapping>
ie just map it more than once....
I havnt noticed a change in behaviour between TC's... using the multi
mapping idea above, maybe some other subtle thing happening as well...
---------------------------------------------------------------------------
HARBOR : http://www.kewlstuff.co.za/index.htm
The most powerful application server on earth.
The only real POJO Application Server.
See it in Action : http://www.kewlstuff.co.za/cd_tut_swf/whatisejb1.htm
---------------------------------------------------------------------------
If you cant pay in gold... get lost...
http://coolharbor.100free.com/debt/usadebt.htm
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
tomcat 6 and subdirectories
Posted by "Angelov, Rossen" <Ro...@SourceMedia.com>.
Hi,
I recently started using Tomcat 6 but can't configure it to map
subdirectories to same servlet within the default context. I didn't have
problems with the same setup in Tomcat 5.
Here is an example.
http://mysite/test.html - maps to the application servlet and works as
expected
http://mysite/directory/test.html - doesn't maps to the application
servlet and fails to display correctly
The second link works only after I create an additional context, but
it's not an acceptable solution because there are many directories in
application base.
<Context path="directory" docBase="" />
In web.xml I have the following servlet mapping:
<servlet-mapping>
<servlet-name>appServlet</servlet-name>
<url-pattern>*.html</url-pattern>
</servlet-mapping>
I tried different url patters to match subdirectories, but neither one
worked:
<url-pattern>/*</url-pattern>
<url-pattern>/directory/*</url-pattern>
<url-pattern>directory/*</url-pattern>
Any help is appreciated.
Thanks,
Ross
"This communication is intended solely for the addressee and is confidential and not for third party unauthorized distribution"
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
RE: tomcat as services
Posted by Frank Uccello <fr...@phantomfiber.com>.
I had change the batch file but I got the service to work thanks
-----Original Message-----
From: Caldarale, Charles R [mailto:Chuck.Caldarale@unisys.com]
Sent: Wednesday, October 15, 2008 12:12 PM
To: Tomcat Users List
Subject: RE: tomcat as services
> From: Frank Uccello [mailto:franku@phantomfiber.com]
> Subject: RE: tomcat as services
>
> It gives me a window error nonalpah45 only option is click ok
> Once click ok Failed installing 'tomcat-ItActionSystem' service
The error message is self-explanatory: you have a non-alphabetic
character in the service name.
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe,
e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
RE: tomcat as services
Posted by Frank Uccello <fr...@phantomfiber.com>.
Ok I tried with a "-" now its tomcatItActionSystems
I do not get alpha error but still get
Failed installing 'tomcatItActionSystem' service
-----Original Message-----
From: Caldarale, Charles R [mailto:Chuck.Caldarale@unisys.com]
Sent: Wednesday, October 15, 2008 12:12 PM
To: Tomcat Users List
Subject: RE: tomcat as services
> From: Frank Uccello [mailto:franku@phantomfiber.com]
> Subject: RE: tomcat as services
>
> It gives me a window error nonalpah45 only option is click ok
> Once click ok Failed installing 'tomcat-ItActionSystem' service
The error message is self-explanatory: you have a non-alphabetic
character in the service name.
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe,
e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
RE: tomcat as services
Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: Frank Uccello [mailto:franku@phantomfiber.com]
> Subject: RE: tomcat as services
>
> It gives me a window error nonalpah45 only option is click ok
> Once click ok Failed installing 'tomcat-ItActionSystem' service
The error message is self-explanatory: you have a non-alphabetic character in the service name.
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
RE: tomcat as services
Posted by Frank Uccello <fr...@phantomfiber.com>.
I have now try the service.bat install name
It gives me a window error nonalpah45 only option is click ok
Once click ok Failed installing 'tomcat-ItActionSystem' service
Please help
-----Original Message-----
From: Caldarale, Charles R [mailto:Chuck.Caldarale@unisys.com]
Sent: Wednesday, October 15, 2008 11:27 AM
To: Tomcat Users List
Subject: RE: tomcat as services
> From: Frank Uccello [mailto:franku@phantomfiber.com]
> Subject: RE: tomcat as services
>
> Ok this maybe a stupid question to ask but where do I download the
> service.bat file
Repeating what I already said (emphasis added):
> Rather than mucking around with all that, download and install the
> **.zip version**
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe,
e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
RE: tomcat as services
Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: Frank Uccello [mailto:franku@phantomfiber.com]
> Subject: RE: tomcat as services
>
> Ok this maybe a stupid question to ask but where do I
> download the service.bat file
Repeating what I already said (emphasis added):
> Rather than mucking around with all that, download and
> install the **.zip version**
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
RE: tomcat as services
Posted by Frank Uccello <fr...@phantomfiber.com>.
Ok this maybe a stupid question to ask but where do I download the
service.bat file
I only asked due it is not in tomcaat bin directory and I did a search
and can not find this file
Thanks
-----Original Message-----
From: Caldarale, Charles R [mailto:Chuck.Caldarale@unisys.com]
Sent: Wednesday, October 15, 2008 10:29 AM
To: Tomcat Users List
Subject: RE: tomcat as services
> From: Frank Uccello [mailto:franku@phantomfiber.com]
> Subject: tomcat as services
>
> First I copy an existing tomcat.exe and rename to
> Tomcat-ItActionSystem.exe
>
> tomcat5 //IS//TomcatItActionSystems
> --DisplayName="Tomcat-ItActionSystem" --Install="C:\Program
> Files\Apache\Tomcat5.5\bin\tomcat-ItActionSystem.exe" --Jvm=auto
> --StartMode=jvm --StopMode=jvm
> --StartClass=org.apache.catalina.startup.Bootstrap --StartParams=start
> --StopClass=org.apache.catalina.startup.Bootstrap --StopParams=stop
Rather than mucking around with all that, download and install the .zip
version and use the included service.bat script to install as many
services as you want.
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe,
e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
RE: tomcat as services
Posted by Frank Uccello <fr...@phantomfiber.com>.
Never mind I found it thanks I go to try it
-----Original Message-----
From: Frank Uccello
Sent: Wednesday, October 15, 2008 10:52 AM
To: 'Tomcat Users List'
Subject: RE: tomcat as services
Ok this maybe a stupid question to ask but where do I download the
service.bat file I only asked due it is not in tomcaat bin directory and
I did a search and can not find this file
Thanks
-----Original Message-----
From: Caldarale, Charles R [mailto:Chuck.Caldarale@unisys.com]
Sent: Wednesday, October 15, 2008 10:29 AM
To: Tomcat Users List
Subject: RE: tomcat as services
> From: Frank Uccello [mailto:franku@phantomfiber.com]
> Subject: tomcat as services
>
> First I copy an existing tomcat.exe and rename to
> Tomcat-ItActionSystem.exe
>
> tomcat5 //IS//TomcatItActionSystems
> --DisplayName="Tomcat-ItActionSystem" --Install="C:\Program
> Files\Apache\Tomcat5.5\bin\tomcat-ItActionSystem.exe" --Jvm=auto
> --StartMode=jvm --StopMode=jvm
> --StartClass=org.apache.catalina.startup.Bootstrap --StartParams=start
> --StopClass=org.apache.catalina.startup.Bootstrap --StopParams=stop
Rather than mucking around with all that, download and install the .zip
version and use the included service.bat script to install as many
services as you want.
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe,
e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
RE: tomcat as services
Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: Frank Uccello [mailto:franku@phantomfiber.com]
> Subject: tomcat as services
>
> First I copy an existing tomcat.exe and rename to
> Tomcat-ItActionSystem.exe
>
> tomcat5 //IS//TomcatItActionSystems
> --DisplayName="Tomcat-ItActionSystem" --Install="C:\Program
> Files\Apache\Tomcat5.5\bin\tomcat-ItActionSystem.exe" --Jvm=auto
> --StartMode=jvm --StopMode=jvm
> --StartClass=org.apache.catalina.startup.Bootstrap --StartParams=start
> --StopClass=org.apache.catalina.startup.Bootstrap --StopParams=stop
Rather than mucking around with all that, download and install the .zip version and use the included service.bat script to install as many services as you want.
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org