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#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...