>>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.
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.
- so i can access the web application on localhost:8080/web-console
I am facing almost the same issue. Please help me.
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:
if "x%SVCNAME" == "x" (