Click to See Complete Forum and Search --> : Setting up Java Application as WinXP Service


bud1664
November 27th, 2004, 10:18 AM
Whats the easiest way to setup a Java Application as a WinXP Service?

I'm trying to setup the James Mail Server as a service. Currently its starts via a bat file in "Start->All Programs->Startup".

Cheers for anyhelp.

cjard
November 27th, 2004, 04:02 PM
google search for "java service wrapper"

bud1664
November 28th, 2004, 04:44 AM
Cheers, my brain was a sleep I think, its got jogged & I tried "+James +Service +Wrapper", instead of "Java Service Wrapper".

James Windows Service Wrapper - http://wiki.apache.org/james/Newbie (http://wiki.apache.org/james/Newbie)
%JamesInstallationDir%\bin\Wrapper.exe -i %JamesInstallationDir%\conf\wrapper.conf

cjard
November 29th, 2004, 07:04 AM
well, there are more service wrappers than just James, though it may be(coming) a defacto standard(?) in the way that tomcat has.

searching Java Service Wrapper will find you a whole load of them, james included which was why i gave it (as a generic advice) in order to be fair to all competing products