RE: Server JVM with service startup
You could use SRVANY.exe (typically found in the WinNT/2K/XP Resource Kit) as it provides the "shell" (and I use the term loosely) to run any .bat, .cmd or .exe as an NT/2K/XP service. You'd also like to use SRVINSTW.exe (also a ResKit item) to define the service via GUI. Unfortunately, then it takes a little manual work in the Registry to supply the parameters to SRVANY, but it's fairly easy to do. While using an .exe that's built specifically as a Windows service is cleaner, the advantage SRVANY gives you is the ability to define a drive/directory location where the service runs (like the "Start in" option for a shortcut). -- RH - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Server JVM with service startup
On 8/17/2004 9:31 AM, Frank Zammetti wrote: Hello all. I have a Tomcat 5.0.18 instance that runs as a Windows service. I have been unable to figure out how to start it with the server JVM (heck, it could be starting that way now, but I didn't do anything to tell it to do so). I've checked through numerous docs and books, all of them give some info (just a little bit!) about using that JVM when starting it from the command line, but I've found nothing addressing how to do so when it's a service. Anyone point me in the right direction? Thanks! Either run '%CATALINA_HOME%\bin\tomcat5w.exe //ES//Tomcat5' and modify the java option there, or modify %JAVA_HOME%\jre\lib\i386\jvm.cfg and move '-server KNOWN' to the top. Note that the latter will apply to any java invocation, which may or may not be desired. -- Dennis Dai [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Server JVM with service startup
[HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Procrun 2.0\Tomcat5\Parameters\Java] Options = "-Dcatalina.base=D:\jakarta-tomcat-5.0.27 -Dcatalina.home=D:\jakarta-tomcat-5.0.27 -Djava.endorsed.dirs=D:\jakarta-tomcat-5.0.27\common\endorsed -Djava.io.tmpdir=D:\jakarta-tomcat-5.0.27\temp -server " :) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Server JVM with service startup
It does for me too, how odd, thats where you need to get it anyway. I'm sure if you send a mail to the site maintainer they may be able to help. Ta Matt -Original Message- From: Frank Zammetti [mailto:[EMAIL PROTECTED] Sent: 17 August 2004 17:58 To: [EMAIL PROTECTED] Subject: RE: Server JVM with service startup Thank you Matt! Unfortunately, that web site's downloads doesn't seem to be working, they all just bring me to a blank page. Argh. Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies www.omnytex.com >From: "Dale, Matt" <[EMAIL PROTECTED]> >Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]> >To: "Tomcat Users List" <[EMAIL PROTECTED]> >Subject: RE: Server JVM with service startup >Date: Tue, 17 Aug 2004 17:49:48 +0100 > >I can do better, here's the URL > >http://web.bvu.edu/staff/david/index.jsp?section=software&subsection=tcservcfg&page=overview > >-Original Message- >From: Frank Zammetti [mailto:[EMAIL PROTECTED] >Sent: 17 August 2004 17:45 >To: [EMAIL PROTECTED] >Subject: RE: Server JVM with service startup > > >Yeah, I looked into the possibility of making it part of the startup >command >as QM suggests, but that doesn't seem possible, as Matt says. > >Matt, do you have a name for that tool that I can Google for? Even >something close might get me to it in a few minutes... > >Frank W. Zammetti >Founder and Chief Software Architect >Omnytex Technologies >www.omnytex.com > > > > > > >From: "Dale, Matt" <[EMAIL PROTECTED]> > >Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]> > >To: "Tomcat Users List" <[EMAIL PROTECTED]> > >Subject: RE: Server JVM with service startup > >Date: Tue, 17 Aug 2004 17:41:04 +0100 > > > >Nope, you have to put all the settings in the registry, there is a tool > >that you can get that does this for you but I'm not sure on where to get > >it. > > > >-Original Message- > >From: QM [mailto:[EMAIL PROTECTED] > >Sent: 17 August 2004 17:37 > >To: Tomcat Users List > >Subject: Re: Server JVM with service startup > > > > > >On Tue, Aug 17, 2004 at 12:31:33PM -0400, Frank Zammetti wrote: > >: Hello all. I have a Tomcat 5.0.18 instance that runs as a Windows > >service. > >: I have been unable to figure out how to start it with the server JVM > >(heck, > >: it could be starting that way now, but I didn't do anything to tell it >to > >: do so). > > > >I'm going out on a limb here, since I'm not fluent in Windows, but how > >do you start the service? Does Windows call "startup.bat" or some other > >batch file where you could set the proper environment variables > >(JAVA_OPTS="-server")? > > > >-QM > > > >-- > > > >software -- http://www.brandxdev.net > >tech news -- http://www.RoarNetworX.com > > > > > >- > >To unsubscribe, e-mail: [EMAIL PROTECTED] > >For additional commands, e-mail: [EMAIL PROTECTED] > > > ><< InterScan_Disclaimer.txt >> > >- > >To unsubscribe, e-mail: [EMAIL PROTECTED] > >For additional commands, e-mail: [EMAIL PROTECTED] > >_ >On the road to retirement? Check out MSN Life Events for advice on how to >get there! http://lifeevents.msn.com/category.aspx?cid=Retirement > > >- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] > ><< InterScan_Disclaimer.txt >> >- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] _ On the road to retirement? Check out MSN Life Events for advice on how to get there! http://lifeevents.msn.com/category.aspx?cid=Retirement - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Any opinions expressed in this E-mail may be those of the individual and not necessarily the company. This E-mail and any files transmitted with it are confidential and solely for the use of the intended recipient. If you are not the intended recipient or the person responsible for delivering to the
RE: Server JVM with service startup
Thank you Matt! Unfortunately, that web site's downloads doesn't seem to be working, they all just bring me to a blank page. Argh. Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies www.omnytex.com From: "Dale, Matt" <[EMAIL PROTECTED]> Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Subject: RE: Server JVM with service startup Date: Tue, 17 Aug 2004 17:49:48 +0100 I can do better, here's the URL http://web.bvu.edu/staff/david/index.jsp?section=software&subsection=tcservcfg&page=overview -Original Message- From: Frank Zammetti [mailto:[EMAIL PROTECTED] Sent: 17 August 2004 17:45 To: [EMAIL PROTECTED] Subject: RE: Server JVM with service startup Yeah, I looked into the possibility of making it part of the startup command as QM suggests, but that doesn't seem possible, as Matt says. Matt, do you have a name for that tool that I can Google for? Even something close might get me to it in a few minutes... Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies www.omnytex.com >From: "Dale, Matt" <[EMAIL PROTECTED]> >Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]> >To: "Tomcat Users List" <[EMAIL PROTECTED]> >Subject: RE: Server JVM with service startup >Date: Tue, 17 Aug 2004 17:41:04 +0100 > >Nope, you have to put all the settings in the registry, there is a tool >that you can get that does this for you but I'm not sure on where to get >it. > >-Original Message- >From: QM [mailto:[EMAIL PROTECTED] >Sent: 17 August 2004 17:37 >To: Tomcat Users List >Subject: Re: Server JVM with service startup > > >On Tue, Aug 17, 2004 at 12:31:33PM -0400, Frank Zammetti wrote: >: Hello all. I have a Tomcat 5.0.18 instance that runs as a Windows >service. >: I have been unable to figure out how to start it with the server JVM >(heck, >: it could be starting that way now, but I didn't do anything to tell it to >: do so). > >I'm going out on a limb here, since I'm not fluent in Windows, but how >do you start the service? Does Windows call "startup.bat" or some other >batch file where you could set the proper environment variables >(JAVA_OPTS="-server")? > >-QM > >-- > >software -- http://www.brandxdev.net >tech news -- http://www.RoarNetworX.com > > >- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] > ><< InterScan_Disclaimer.txt >> >- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] _ On the road to retirement? Check out MSN Life Events for advice on how to get there! http://lifeevents.msn.com/category.aspx?cid=Retirement - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] << InterScan_Disclaimer.txt >> - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] _ On the road to retirement? Check out MSN Life Events for advice on how to get there! http://lifeevents.msn.com/category.aspx?cid=Retirement - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Server JVM with service startup
I can do better, here's the URL http://web.bvu.edu/staff/david/index.jsp?section=software&subsection=tcservcfg&page=overview -Original Message- From: Frank Zammetti [mailto:[EMAIL PROTECTED] Sent: 17 August 2004 17:45 To: [EMAIL PROTECTED] Subject: RE: Server JVM with service startup Yeah, I looked into the possibility of making it part of the startup command as QM suggests, but that doesn't seem possible, as Matt says. Matt, do you have a name for that tool that I can Google for? Even something close might get me to it in a few minutes... Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies www.omnytex.com >From: "Dale, Matt" <[EMAIL PROTECTED]> >Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]> >To: "Tomcat Users List" <[EMAIL PROTECTED]> >Subject: RE: Server JVM with service startup >Date: Tue, 17 Aug 2004 17:41:04 +0100 > >Nope, you have to put all the settings in the registry, there is a tool >that you can get that does this for you but I'm not sure on where to get >it. > >-Original Message----- >From: QM [mailto:[EMAIL PROTECTED] >Sent: 17 August 2004 17:37 >To: Tomcat Users List >Subject: Re: Server JVM with service startup > > >On Tue, Aug 17, 2004 at 12:31:33PM -0400, Frank Zammetti wrote: >: Hello all. I have a Tomcat 5.0.18 instance that runs as a Windows >service. >: I have been unable to figure out how to start it with the server JVM >(heck, >: it could be starting that way now, but I didn't do anything to tell it to >: do so). > >I'm going out on a limb here, since I'm not fluent in Windows, but how >do you start the service? Does Windows call "startup.bat" or some other >batch file where you could set the proper environment variables >(JAVA_OPTS="-server")? > >-QM > >-- > >software -- http://www.brandxdev.net >tech news -- http://www.RoarNetworX.com > > >- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] > ><< InterScan_Disclaimer.txt >> >- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] _ On the road to retirement? Check out MSN Life Events for advice on how to get there! http://lifeevents.msn.com/category.aspx?cid=Retirement - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Any opinions expressed in this E-mail may be those of the individual and not necessarily the company. This E-mail and any files transmitted with it are confidential and solely for the use of the intended recipient. If you are not the intended recipient or the person responsible for delivering to the intended recipient, be advised that you have received this E-mail in error and that any use or copying is strictly prohibited. If you have received this E-mail in error please notify the beCogent postmaster at [EMAIL PROTECTED] Unless expressly stated, opinions in this email are those of the individual sender and not beCogent Ltd. You must take full responsibility for virus checking this email and any attachments. Please note that the content of this email or any of its attachments may contain data that falls within the scope of the Data Protection Acts and that you must ensure that any handling or processing of such data by you is fully compliant with the terms and provisions of the Data Protection Act 1984 and 1998. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Server JVM with service startup
Yeah, I looked into the possibility of making it part of the startup command as QM suggests, but that doesn't seem possible, as Matt says. Matt, do you have a name for that tool that I can Google for? Even something close might get me to it in a few minutes... Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies www.omnytex.com From: "Dale, Matt" <[EMAIL PROTECTED]> Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Subject: RE: Server JVM with service startup Date: Tue, 17 Aug 2004 17:41:04 +0100 Nope, you have to put all the settings in the registry, there is a tool that you can get that does this for you but I'm not sure on where to get it. -Original Message- From: QM [mailto:[EMAIL PROTECTED] Sent: 17 August 2004 17:37 To: Tomcat Users List Subject: Re: Server JVM with service startup On Tue, Aug 17, 2004 at 12:31:33PM -0400, Frank Zammetti wrote: : Hello all. I have a Tomcat 5.0.18 instance that runs as a Windows service. : I have been unable to figure out how to start it with the server JVM (heck, : it could be starting that way now, but I didn't do anything to tell it to : do so). I'm going out on a limb here, since I'm not fluent in Windows, but how do you start the service? Does Windows call "startup.bat" or some other batch file where you could set the proper environment variables (JAVA_OPTS="-server")? -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] << InterScan_Disclaimer.txt >> - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] _ On the road to retirement? Check out MSN Life Events for advice on how to get there! http://lifeevents.msn.com/category.aspx?cid=Retirement - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Server JVM with service startup
Nope, you have to put all the settings in the registry, there is a tool that you can get that does this for you but I'm not sure on where to get it. -Original Message- From: QM [mailto:[EMAIL PROTECTED] Sent: 17 August 2004 17:37 To: Tomcat Users List Subject: Re: Server JVM with service startup On Tue, Aug 17, 2004 at 12:31:33PM -0400, Frank Zammetti wrote: : Hello all. I have a Tomcat 5.0.18 instance that runs as a Windows service. : I have been unable to figure out how to start it with the server JVM (heck, : it could be starting that way now, but I didn't do anything to tell it to : do so). I'm going out on a limb here, since I'm not fluent in Windows, but how do you start the service? Does Windows call "startup.bat" or some other batch file where you could set the proper environment variables (JAVA_OPTS="-server")? -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Any opinions expressed in this E-mail may be those of the individual and not necessarily the company. This E-mail and any files transmitted with it are confidential and solely for the use of the intended recipient. If you are not the intended recipient or the person responsible for delivering to the intended recipient, be advised that you have received this E-mail in error and that any use or copying is strictly prohibited. If you have received this E-mail in error please notify the beCogent postmaster at [EMAIL PROTECTED] Unless expressly stated, opinions in this email are those of the individual sender and not beCogent Ltd. You must take full responsibility for virus checking this email and any attachments. Please note that the content of this email or any of its attachments may contain data that falls within the scope of the Data Protection Acts and that you must ensure that any handling or processing of such data by you is fully compliant with the terms and provisions of the Data Protection Act 1984 and 1998. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Server JVM with service startup
On Tue, Aug 17, 2004 at 12:31:33PM -0400, Frank Zammetti wrote: : Hello all. I have a Tomcat 5.0.18 instance that runs as a Windows service. : I have been unable to figure out how to start it with the server JVM (heck, : it could be starting that way now, but I didn't do anything to tell it to : do so). I'm going out on a limb here, since I'm not fluent in Windows, but how do you start the service? Does Windows call "startup.bat" or some other batch file where you could set the proper environment variables (JAVA_OPTS="-server")? -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]