Win a copy of Functional Reactive Programming this week in the Other Languages 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: 5852
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic