This week's book giveaway is in the Agile and Other Processes forum.
We're giving away four copies of The Little Book of Impediments (e-book only) and have Tom Perry on-line!
See this thread for details.
Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Milos Muzinic
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Milos Muzinic
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, that's it.
Thank you Peter
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic