wood burning stoves 2.0*
The moose likes JBoss/WildFly and the fly likes Service Wrapper for JBoss when using a diferent sever configuration name? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Service Wrapper for JBoss when using a diferent sever configuration name?" Watch "Service Wrapper for JBoss when using a diferent sever configuration name?" New topic
Author

Service Wrapper for JBoss when using a diferent sever configuration name?

Milos Muzinic
Greenhorn

Joined: Aug 15, 2011
Posts: 2
Hi all!
I have no trouble starting a JBoss with a comand %JBOSS_HOME%/bin/run -c server_conf_name,
but when creating a Windows service using wrapper.exe - I don't know where to put server_conf_name,
the wrapper result is a service seting a Server Name: default, and I want it to be Server Name: erver_conf_name.

Any hints?
Thank you in advance.
Muza
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5812
    
    7

I will assume you are using the wrapper.conf file to configure the wrapper and that you already have a line like this:

wrapper.app.parameter.1=org.jboss.Main

Just add these two lines afterwards:

wrapper.app.parameter.2=-c
wrapper.app.parameter.3=xxx

where xxx is your desired configuration name.


JBoss In Action
Milos Muzinic
Greenhorn

Joined: Aug 15, 2011
Posts: 2
Yes, that's it.
Thank you Peter
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Service Wrapper for JBoss when using a diferent sever configuration name?
 
Similar Threads
Removing JBoss default page
How to run more than one JBoss 4.x server in one m/c
Uninstall the service
problem deploying ejbProject with JPA [SOLVED]
Couldn't start JBoss AS as Windows service