I have installed a minimal JBoss server for running JMS. Now I would like to run it as a Windows Service.
I have followed the instructions here: http://wiki.jboss.org/wiki/Wiki.jsp?page=JavaService But, when I execute the command JBossService.exe -install JBoss {JDK_HOME}\jre\bin\{hotspot|server|classic}\jvm.dll -D java.class.path={JDK_HOME}\lib\tools.jar;{JBOSS_BIN}\run.jar -start org.jboss.Main -stop org.jboss.Main -method systemExit -out {JBOSS_BIN}\stdout.log -err {JBOSS_BIN}\stderr.log -current {JBOSS_BIN} -depends mysql -manual -overwrite I get: Insufficient parameters to install service (jvm -start class) JavaService install command parameters not valid, or incomplete'server' is not recognized as an internal or external command, operable program or batch file. D:\ProgramFiles\jboss-4.0.3SP1\bin> When I look in run.jar, I see that there is a Main.class, which should be found with the classpath org.jboss.Main. I don't know what is wrong. Thanks for any help you can provide! David View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3919798#3919798 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3919798 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user