[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Unable to setup Jboss AS 5 as windows service

dominicjpaul do-not-reply at jboss.com
Fri Dec 26 11:51:25 EST 2008


Thx for quick reply. And I am using Windows XP 32 - bit. Heres the output after removing the first line from service.bat


  | D:\java\JBOSS-~2.GA\bin>service install
  | 
  | D:\java\JBOSS-~2.GA\bin>REM JBoss, the OpenSource webOS
  | 
  | D:\java\JBOSS-~2.GA\bin>REM
  | 
  | D:\java\JBOSS-~2.GA\bin>REM Distributable under LGPL license.
  | 
  | D:\java\JBOSS-~2.GA\bin>REM See terms of license at gnu.org.
  | 
  | D:\java\JBOSS-~2.GA\bin>REM
  | 
  | D:\java\JBOSS-~2.GA\bin>REM ----------------------------------------------------
  | ---------------------
  | 
  | D:\java\JBOSS-~2.GA\bin>REM JBoss Service Script for Windows
  | 
  | D:\java\JBOSS-~2.GA\bin>REM ----------------------------------------------------
  | ---------------------
  | 
  | D:\java\JBOSS-~2.GA\bin>set DIRNAME=D:\java\JBOSS-~2.GA\bin
  | 
  | D:\java\JBOSS-~2.GA\bin>REM
  | 
  | D:\java\JBOSS-~2.GA\bin>REM VERSION, VERSION_MAJOR and VERSION_MINOR are populat
  | ed
  | 
  | D:\java\JBOSS-~2.GA\bin>REM during the build with ant filter.
  | 
  | D:\java\JBOSS-~2.GA\bin>REM
  | 
  | D:\java\JBOSS-~2.GA\bin>set SVCNAME=JBAS50SVC
  | 
  | D:\java\JBOSS-~2.GA\bin>set SVCDISP=JBoss Application Server 5.0
  | 
  | D:\java\JBOSS-~2.GA\bin>set SVCDESC=JBoss Application Server 5.0.0 GA/Platform:
  | Windows x86
  | 
  | D:\java\JBOSS-~2.GA\bin>set NOPAUSE=Y
  | 
  | D:\java\JBOSS-~2.GA\bin>REM Suppress killing service on logoff event
  | 
  | D:\java\JBOSS-~2.GA\bin>set JAVA_OPTS=-Xrs
  | 
  | D:\java\JBOSS-~2.GA\bin>REM Figure out the running mode
  | 
  | D:\java\JBOSS-~2.GA\bin>if /I "install" == "install" goto cmdInstall
  | 
  | D:\java\JBOSS-~2.GA\bin>jbosssvc.exe -imwdc JBAS50SVC "D:\java\JBOSS-~2.GA\bin"
  | "JBoss Application Server 5.0" "JBoss Application Server 5.0.0 GA/Platform: Wind
  | ows x86" service.bat
  | The system cannot execute the specified program.
  | 
  | D:\java\JBOSS-~2.GA\bin>if not errorlevel 0 goto errExplain
  | 
  | D:\java\JBOSS-~2.GA\bin>echo Service JBoss Application Server 5.0 installed
  | Service JBoss Application Server 5.0 installed
  | 
  | D:\java\JBOSS-~2.GA\bin>goto cmdEnd
  | 
  | D:\java\JBOSS-~2.GA\bin>

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

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



More information about the jboss-user mailing list