I can't get JBoss as a service working. This is my install script:

set NAME=JBossService
set JS=c:\downloads\JavaService
set JB=c:\jboss-4.0.3SP1
set JBI=%JB%\server\all
set JBBIN=%JB%\bin
set JDK=c:\jdk1.5.0_06
set JBEXE=%JBI%\%NAME%.exe

copy %JS%\JavaService.exe %JBEXE%
net stop %NAME%
%JBEXE% -uninstall %NAME%
%JBEXE% -install %NAME% %JDK%\jre\bin\client\jvm.dll 
-Djava.class.path=%JDK%\lib\tools.jar;%JBBIN%\run.jar -start org.jboss.Main 
-stop org.jboss.Main -method systemExit -out %JBBIN%\stdout.log -err 
%JBBIN%\stderr.log -current %JBBIN% -manual

When run it says it is successfully installed.  But when I try and start the 
service it says "Could not start the JBossService on the Local Computer. The 
service did not return an error....". The stdout.log and stderr.log are not 
created. JBoss can start fine from the run.bat script. I've checked and double 
checked all the paths and I'm stumped for what to try next.




View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3917030#3917030

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3917030


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to