When installing the service, how can I set the start parameter in the service?
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:
If you could provide a bit more information on what you exactly want to do, I would be happy to give you more advice.
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.
for setting the start properties for a java application you just need to specify the wrapper.app.parameter.<n> properties accordingly:
all parameters you want to pass over to jboss need to get specified in there.
The wrapper.app.parameter.<n> Property works for the purposes I needed.