[jboss-user] [Beginner's Corner] - Re: Running Multiple JVMs as Windows Services on a Single System

Peter Johnson do-not-reply at jboss.com
Mon Feb 7 17:12:58 EST 2011


Peter Johnson [http://community.jboss.org/people/peterj] created the discussion

"Re: Running Multiple JVMs as Windows Services on a Single System"

To view the discussion, visit: http://community.jboss.org/message/586063#586063

--------------------------------------------------------------
Yes, you are correct.

You might, however, want to take a look at the service.bat that is included with the source code for JBoss in Action ( http://www.manning.com/jamae http://www.manning.com/jamae). In ch15, if you run Ant with target 04, it generates two service.bat files to run two app server instances. If you look at the source for those service.bat files (ch15/src/service/windows/service.bat) you will see that the all of the necessary configuration information appears in env vars set at the start of the script. They are initally set to proiperty strings (that is ${...}) and the Ant build script replaces those with build properties.
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/586063#586063]

Start a new discussion in Beginner's Corner at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110207/9c9e650d/attachment.html 


More information about the jboss-user mailing list