More specifics:
In a Windows Service, there is a Start Parameter. When the service is started, it uses this parameter. Using Wrapper batch file to install the service, I see it reads the wrapper.conf file. Is there somewhere in the wrapper.conf file that can set the Start Parameter in the Windows Service.
In the example supplied that installs JBoss server as a service, JBoss needs many parameters. In my case, I use the -b parameter to bind the address of the server to the service.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
Not quite sure what you meant with your question.
But you can set the parameters for your java application with the wrapper.app.parameter.<n> property:
http://wrapper.tanukisoftware.com/doc/english/prop-app-parameter-n.html
If you could provide a bit more information on what you exactly want to do, I would be happy to give you more advice.
Cheers,
Christian
More specifics:
In a Windows Service, there is a Start Parameter. When the service is started, it uses this parameter. Using Wrapper batch file to install the service, I see it reads the wrapper.conf file. Is there somewhere in the wrapper.conf file that can set the Start Parameter in the Windows Service.
In the example supplied that installs JBoss server as a service, JBoss needs many parameters. In my case, I use the -b parameter to bind the address of the server to the service.
Hi,
for setting the start properties for a java application you just need to specify the wrapper.app.parameter.<n> properties accordingly:
http://wrapper.tanukisoftware.com/doc/english/prop-app-parameter-n.html
all parameters you want to pass over to jboss need to get specified in there.
for instance:
wrapper.app.parameter.<n>=-b
wrapper.app.parameter.<n+1>=127.0.0.1
.....
cheers,
christian
The wrapper.app.parameter.<n> Property works for the purposes I needed.
Thank you.