[jboss-dev-forums] [JBoss Web Services Development] - jbosssvc.exe -imwdc JBAS50SVC "C:\jboss-5.0.0.GA\bin" "JBo ss Application Server 5.0" "JBoss Application Server 5.0.0 GA/Platform: Windows x86" service.bat The system cannot execute the specified program.

PREM KUMAR N V do-not-reply at jboss.com
Thu Mar 14 19:39:25 EDT 2013


PREM KUMAR N V [https://community.jboss.org/people/ucancprem_jboss] created the discussion

"jbosssvc.exe -imwdc JBAS50SVC "C:\jboss-5.0.0.GA\bin" "JBo ss Application Server 5.0" "JBoss Application Server 5.0.0 GA/Platform: Windows x86" service.bat The system cannot execute the specified program."

To view the discussion, visit: https://community.jboss.org/message/802820#802820

--------------------------------------------------------------
Hello All,

I was trying to use jboss as a windows service but was unable to do this

I encountered the following error.
C:\jboss-5.0.0.GA\bin>jbosssvc.exe -imwdc JBAS50SVC "C:\jboss-5.0.0.GA\bin" "JBo
ss Application Server 5.0" "JBoss Application Server 5.0.0 GA/Platform: Windows
x86" service.bat
The system cannot execute the specified program.

Full Details


C:\jboss-5.0.0.GA\bin>service.bat install


C:\jboss-5.0.0.GA\bin>REM JBoss, the OpenSource webOS


C:\jboss-5.0.0.GA\bin>REM


C:\jboss-5.0.0.GA\bin>REM Distributable under LGPL license.


C:\jboss-5.0.0.GA\bin>REM See terms of license at gnu.org.


C:\jboss-5.0.0.GA\bin>REM


C:\jboss-5.0.0.GA\bin>REM ------------------------------------------------------
-------------------


C:\jboss-5.0.0.GA\bin>REM JBoss Service Script for Windows


C:\jboss-5.0.0.GA\bin>REM ------------------------------------------------------
-------------------


C:\jboss-5.0.0.GA\bin>set DIRNAME=C:\jboss-5.0.0.GA\bin


C:\jboss-5.0.0.GA\bin>REM


C:\jboss-5.0.0.GA\bin>REM VERSION, VERSION_MAJOR and VERSION_MINOR are populated




C:\jboss-5.0.0.GA\bin>REM during the build with ant filter.


C:\jboss-5.0.0.GA\bin>REM


C:\jboss-5.0.0.GA\bin>set SVCNAME=JBAS50SVC


C:\jboss-5.0.0.GA\bin>set SVCDISP=JBoss Application Server 5.0


C:\jboss-5.0.0.GA\bin>set SVCDESC=JBoss Application Server 5.0.0 GA/Platform: Wi
ndows x86


C:\jboss-5.0.0.GA\bin>set NOPAUSE=Y


C:\jboss-5.0.0.GA\bin>REM Suppress killing service on logoff event


C:\jboss-5.0.0.GA\bin>set JAVA_OPTS=-Xrs


C:\jboss-5.0.0.GA\bin>REM Figure out the running mode


C:\jboss-5.0.0.GA\bin>if /I "install" == "install" goto cmdInstall


C:\jboss-5.0.0.GA\bin>jbosssvc.exe -imwdc JBAS50SVC "C:\jboss-5.0.0.GA\bin" "JBo
ss Application Server 5.0" "JBoss Application Server 5.0.0 GA/Platform: Windows
x86" service.bat
The system cannot execute the specified program.


C:\jboss-5.0.0.GA\bin>if not errorlevel 0 goto errExplain


C:\jboss-5.0.0.GA\bin>echo Service JBoss Application Server 5.0 installed
Service JBoss Application Server 5.0 installed


I have seen the same problem mentioned in this community.. but with no clear answers
 I have replaced the jbosssvc.exe file with the latest download of jboss 5 server, even this does not work!.

Could someone let me know if this has been resolved or is there a workaround for this?
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/802820#802820]

Start a new discussion in JBoss Web Services Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2047]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20130314/57948e36/attachment.html 


More information about the jboss-dev-forums mailing list