install JBossService on windows using java service
Hi,
I am using windows 64 bit server. and jboss 4.3.
I uesd the following command to create the service:
JBossService.exe -install JBossAll C:\jdk1.6.0_06\jre\bin\jvm.dll -Djava.class.path=C:\jdk1.6.0_06\lib\tools.jar;C:\JBOSS\run.jar -start org.jboss.Main -params -c all -stop org.jboss.Main -method systemExit -out C:\JBOSS\stdout.log -err C:\JBOSS\stderr.log -current C:\JBOSS -manual
When i tried to run the service, i got the following msg
The JBossAll Service on Local Computer started and then stopped. Some services stop automatically if they have no work to do, for example, the performance Logs and Alerts service.
can anyone please provide me with the solution.
Thanks