I am trying to start JBoss 4.0.2 as a Windows service. I am using the following string to start the service:
I am using the following string to try and start the service:
JBossDefault.exe -install "JBoss" C:\Program Files\Java\jdk1.5.0_05\jre\bin\server\jvm.dll -DProgram.name=run.bat -Djava.class.path=C:\Program Files\Java\jdk1.5.0_05\lib\tools.jar:JBOSS_HOME\run.jar -Xms128m-Xms500m -start org.jboss.main -manual
The Output is:
JBoss service is starting
JBoss service could not be started
The service did not report an error
I am able to start JBoss using run.bat normally, but I am not able to get it running as a Windows Service.
I am not sure what is wrong.
Any help is greatly appreciated
I do not think that "...tools.jar:JBOSS..." is correct, maybe a ";" is better.