Hi Mark, There may be another way but I like SrvAny that has served us well - a really nice example of getting and using is given here: http://yakko.bme.virginia.edu/lab/mercury_as_service.htm
Basically you run InstSrv.exe - using SrvAny.exe to create the service - hack the registry and the service is run through SrvAny.exe, i.e. any command line you like - java too, I guess (although never tried it with java BTW). (There may be an easier and java-specific way of achieving this though but thought this might help). Hue. -----Original Message----- From: Mark Silva [mailto:msilva@;authenex.com] Sent: 01 November 2002 23:04 To: Struts Users Mailing List Subject: RE: [OT] Run Java App as a Win Service sorry, i was typing too fast in my subject, Web --> Win. i guess this deadline is making me nervous. and you noticed my [OT]. this is not an application server, this is a java application. -----Original Message----- From: Karr, David [mailto:david.karr@;attws.com] Sent: Friday, November 01, 2002 3:02 PM To: Struts Users Mailing List Subject: RE: [OT] Run Java App as a Web Service Let's see. First of all, this question is only barely relevant to this mailing list. Second, your subject line talks about something completely different from what you describe in your note. A "web service" has nothing to do with running a Windows application as a service. Assuming you really meant the latter, I suggest you read the documentation for your application server to determine how to run it as a Windows service. > -----Original Message----- > From: Mark Silva [mailto:msilva@;authenex.com] > Sent: Friday, November 01, 2002 2:58 PM > To: Struts Users Mailing List > Subject: [OT] Run Java App as a Web Service > > > ok, i have this new requirement that has just come down today > for a release next week. these things arren't supposed to > happen but they do! > > the java app i am providing needs to run as a WIN2000 Service. > > has anybody done thid before? can you point me in the right > direfction? > > thanks, > mark > > > -- > To unsubscribe, e-mail: > <mailto:struts-user-unsubscribe@;jakarta.apache.org> > For additional commands, e-mail: > <mailto:struts-user-help@;jakarta.apache.org> > -- To unsubscribe, e-mail: <mailto:struts-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org> -- To unsubscribe, e-mail: <mailto:struts-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org>
<<attachment: winmail.dat>>
-- To unsubscribe, e-mail: <mailto:struts-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org>