-
1. Re: JBoss EAP 5.0 Multiple Instance as a Windows Services
pramod_bs Dec 16, 2009 12:28 PM (in response to pramod_bs)I got some good documentation @ http://www.manning.com/jamae/.
Thanks Peter for such a good doc in that book. Jamae too.
-
2. Re: JBoss EAP 5.0 Multiple Instance as a Windows Services
peterj Dec 16, 2009 12:39 PM (in response to pramod_bs)Yes, you can copy and rename service.bat, you just have to remember to change this line (in the copied bat file) that installs the service to reference the copied bat file:
{code}:cmdInstall
jbosssvc.exe -imwdc %SVCNAME% "%DIRNAME%" "%SVCDISP%" "%SVCDESC%" service2.bat{code} -
3. Re: JBoss EAP 5.0 Multiple Instance as a Windows Services
pramod_bs Dec 16, 2009 3:43 PM (in response to peterj)My shutdown hook is having an issue
I get this error.
Exception in thread "main" javax.naming.CommunicationException: Could not obtain connection to any of these urls: localhost:8180
This is what I have in service2.bat
call "%SVCPATH%\shutdown.bat" -s localhost:8180 -S < .s2.lock >> shutdown2.log 2>&1
In my start section I have:
call "%SVCPATH%\run.bat" -c server2 -Djboss.service.binding.set=ports-01 -b 0.0.0.0 < .r2.lock >> run2.log 2>&1
Am I passing the correct -s parameter. I tried machine name, 127.0.0.1 etc. It didn't work.