İf i want to add “-c default –b 0.0.0.0” into run.bat.

Where should i add this line in run.bat?

 

 


From: jboss-user-bounces@lists.jboss.org [mailto:jboss-user-bounces@lists.jboss.org] On Behalf Of Nedim Ozan Tekin
Sent: Tuesday, December 15, 2009 5:20 PM
To: 'The JBoss User main mailing list'
Subject: [jboss-user] jboss as windows service

 

Hi to all,

Since this adres  doesnt work today (http://www.jboss.org/wiki/Wiki.jsp?page=RunJBossAsAServiceOnWindows) i couldnt get any good information about runking jboss as Windows service.

 

İ successfully created my service. İt Works but i couldt give the parameter “-c default –b 0.0.0.0” into run.bat.

 

How can i achieve this?

 

Below you see the script that I used while creating the service..

 

JBossService.exe -install JBoss %JAVA_HOME%\bin\client\jvm.dll

-Dprogram.name=run.bat -Xms128m -Xmx512m

 -Djava.endorsed.dirs=%JBOSS_HOME%\lib\endorsed

-Djava.class.path=%JAVA_HOME%\lib\tools.jar;%JBOSS_HOME%\bin\run.jar

-start org.jboss.Main -stop org.jboss.Main

-method systemExit

-out %JBOSS_HOME%\bin\stdout.log

-err %JBOSS_HOME%\bin\stderr.log

-current %JBOSS_HOME%\bin -manual –overwrite

 

 

 

 

 


Nedim Ozan Tekin   
Uzman Mühendis

Havelsan A.S.

Eskisehir yolu 7.km CANKAYA
219 57 87 / 1915
 

www.nedimozantekin.com

 

Dikkat: Bu elektronik posta mesaji kisisel ve ozeldir. Eger size gonderilmediyse lutfen gondericiyi bilgilendirip mesaji siliniz.Firmamiza gelen ve giden mesajlar virus taramasindan gecirilmektedir.Mesajdaki gorusler gondericiye ait olup HAVELSAN A.S. resmi gorusu olmak zorunda degildir. Attention: This e-mail message is private and privileged.If you are not the recipient for whom this e-mail message is intended, please notify the sender immediately and delete this e-mail message from your system.All sent and received e-mail messages go through a virus scan in our company. Any opinions presented in this e-mail message are solely those of the author and do not necessarily represent HAVELSAN A.S.`s formal and authorized views.

Dikkat: Bu elektronik posta mesaji kisisel ve ozeldir. Eger size gonderilmediyse lutfen gondericiyi bilgilendirip mesaji siliniz.Firmamiza gelen ve giden mesajlar virus taramasindan gecirilmektedir.Mesajdaki gorusler gondericiye ait olup HAVELSAN A.S. resmi gorusu olmak zorunda degildir. Attention: This e-mail message is private and privileged.If you are not the recipient for whom this e-mail message is intended, please notify the sender immediately and delete this e-mail message from your system.All sent and received e-mail messages go through a virus scan in our company. Any opinions presented in this e-mail message are solely those of the author and do not necessarily represent HAVELSAN A.S.`s formal and authorized views.