-
1. Re: Couldn't start JBoss AS as Windows service
peterj Jun 29, 2010 11:40 AM (in response to tuelip)>>Was the problem occured because i'm install jboss as 4.0.5ga but the service is version 5?
No. Look inside the service.bat file - it uses the name JBAS50SVC as the service's short name. You can edit the lines in service.bat that identify the service to be anything you like. (Of course, you have to do that before you register the service!)
To get to the cause of the problem, you have to look in two locations. First, go to the Windows Event Viewer and look in the Application log. That usually has something in it regarding the error. The other place to look is in C:\jboss-as-web\bin\run.log - service.bat redirects all stdout output to that file.
If you don't understand the messages you see in either place, post them here.
-
2. Re: Couldn't start JBoss AS as Windows service
tuelip Jun 30, 2010 3:07 AM (in response to peterj)hi peter,
thanks for the reply but the problem solve already
i've run the services.msc, there is no services actually
so i apply these command- C:\jboss-as-web\bin>service.bat install
- Service JBoss Application Server 5.0 installed
- C:\jboss-as-web\bin>net start JBAS50SVC
- The JBoss Application Server 5.0 service is starting.
- The JBoss Application Server 5.0 service could not be started.
- The service did not report an error.
- More help is available by typing NET HELPMSG 3534.
- C:\jboss-as-web\bin>
- so i can access the web application on localhost:8080/web-console
- nana
-
3. Re: Couldn't start JBoss AS as Windows service
sayanroy13 Oct 20, 2016 12:50 AM (in response to peterj)Hi Peter,
I am facing almost the same issue. Please help me.
C:\temp\jboss-web-3.0.0-beta-2\bin>service.bat install
Service JBoss Application Server 6.0 installed
C:\temp\jboss-web-3.0.0-beta-2\bin>net start JBAS60SVC
The service name is invalid.
The service.bat has these lines written for setting the service:
REM
if "x%SVCNAME" == "x" (
set "SVCNAME=JBAS60SVC"
)