I am using jboss4.0.5GA on windows to deploy my application inside our own server configuration i.e., other than default.
afterwards using JBoss Native 2.0.0 (Windows 32 package) to install jboss as a window service.for this I copied the contents of bin of JBoss Native 2.0.0 to $JBOSS_HOME/bin.
finally I am editing the file service.bat as below-
set SVCDISP=My Jboss Application
set SVCDESC=My Jboss Application Description
so the installation goes fine after invoking the command $JBOSS_HOME/bin/service install
but whenever i start the service 'net start My jboss Application', it always start the default server instead of myserverconf.
will anybody please tell me if any more modification required in server.bat/run.bat or anywhere to get myserver (myserverconf) started.
or will anybody please provide me the documetation links for JBoss Native 2.0.0
Thanks & Regards-
From "Mladen" :
Edit service bat and modify the line
call run.bat >run.log
To something like
call run.bat -c all >run.log
and restart the service