[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: [JBoss 5][Windows service] run JBoss 5.0.1 as Windows se

PeterJ do-not-reply at jboss.com
Mon Apr 6 12:35:15 EDT 2009

I usually make a copy of the service.bat file, say as service_jbas50.bat, and make the changes in there. I also change the script reference on this line:

jbosssvc.exe -imwdc %SVCNAME% "%DIRNAME%" "%SVCDISP%" "%SVCDESC%" service_jbas50.bat

I also don't hard-code the parameters within the statements in the script - instead I set some env vars at the start of the script and use them later. For an example, download the source code for JBoss in Action (http://www.manning.com/jamae), and in jbia-src/ch15 run ant target 04.

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4223748#4223748

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4223748

More information about the jboss-user mailing list