Typo? JBAS50SVC (note the zero - '0')
Did you look at the services manager to see if it is listed there?
I just used what was listed in the service.bat as to
net start "SVCNAME".
Yes, the services GUI tool does not list any jboss services starting up.
I also made some changes after my posting to the cmdStart:
call run.bat < .r.lock >> run.log 2>&1
changed it to:
call run.bat -c dev < .r.lock >> run.log 2>&1
and since we use jboss 4.0.5, changed the settings to the following:
set SVCDISP=JBoss Application Server 4.0.5
set SVCDESC=JBoss Application Server 4.0.5 GA/Platform: Windows x86
It still did not help and I still don't get any log indications of what happened.
Are you running a 32-bit or 64-bit version of Vista? Did you download the proper version of JBoss Native (32 or 64 bit)?
I tried it using your settings, and it registered just fine, as viewed in the services gui and in powershell:
[12/04/2008 12:43:23 D:\opt\powershell] >get-service jbas405svc Status Name DisplayName ------ ---- ----------- Stopped JBAS405SVC JBoss Application Server 4.0.5
I am running Vista Ultimate 64-bit, and downloaded the 64-bit version of JBoss Native 2.0.6.
One other thought - do you have administrative access? Do you have user account control off or on? I am an administrator and turned off user account control. You might try running a command prompt as administrator and running service.bat from there.
Thanks!! That was it: I had some admin prvileges problems.