Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

java application as windows service

807591May 16 2008 — edited May 16 2008
Hello
I'm trying to start a custom java application as a windows service with tomcat, but I couldn't find any decent documentation on the stuff besides

http://commons.apache.org/daemon/procrun.html but it didn't quite helped me

C:\Program Files\Apache Software Foundation\Tomcat 6.0\bin>tomcat6.exe //IS//MyT
est -DisplayName="MyTest" Install="c:\testservice.exe" Jvm=auto --StartMode=
jvm StopMode=jvm StartClass="com.vector.testservice.TestService" --"E:\works
pace2\ProiectService\src" --JavaHome=%JAVA_HOME

Any help will be great. ty
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 13 2008
Added on May 16 2008
4 comments
97 views