≡ Menu

Cannot add Jboss Windows Service

  •  
  •  
  •  

You are trying to add Jboss Windows Service i.e the Service that you can use to start/stop Jboss Application Server. Jboss comes with the command <JBOSS Home>/bin/service.bat to create the Windows Service.

service.bat install

You need to edit service.bat before you run the command above to suit your environment. Specifically, you should update the following lines:

SVCNAME

SVCDISP

SVCDESC

call run.bat <arguments>

Here is one issue you may encounter that can be mysterious. When you run service.bat install, you may not see the service installed. You may not see any errors from the command either.

The most probable cause of this issue is the SVCNAME could have ‘spaces’ in it. Make sure the SVCNAME does not have any spaces. You can use underscore.

WRONG: JBASSOASVC_SERVER_UAT_5 Member2

RIGHT: JBASSOASVC_SERVER_UAT_5_Member2

 

 

 


  •  
  •  
  •  
{ 0 comments… add one }

Leave a Comment