-
1. Re: Start specific nodes as Windows services
jaikiran Jan 3, 2011 3:32 AM (in response to nickarls)1 of 1 people found this helpfulFew years back, when I wanted something similar, I created a copy of the service.bat file, like you say and edited it to run the correct instance of the server. I think i even had to edit a portion of the file to make sure it registers the correct service name, uses the correct lock file and some other minor details.
-
2. Re: Start specific nodes as Windows services
peterj Jan 3, 2011 12:29 PM (in response to nickarls)Check out the source code for JBoss in Action (http://www.manning.com/jamae), in ch15/src/service/windows there is a service.bat that easily handles multiple services - the Ant build script fills in all of the ${para.*} properties buy you can just as easily supply those by hand. And the best thing is that all the things to change are at the start of the file, and it follows the DRY principle (every data item is entered only once).
-
3. Re: Start specific nodes as Windows services
nickarls Jan 3, 2011 2:01 PM (in response to peterj)Thanks, looks promising! Perhaps something like it will make it into a future AS relase