File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JBoss/WildFly and the fly likes how to set  jboss as windows services? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "how to set  jboss as windows services?" Watch "how to set  jboss as windows services?" New topic

how to set jboss as windows services?

raj chopra
Ranch Hand

Joined: Apr 09, 2012
Posts: 64
Hi All,

our project uses jboss7 as web server to deploy a web application.
We use the standardalone.bat to run the jboss7 manually incase if server was shutdown or any changes need to implemeted in the server environment.
we start the jboss server by clicking on standardalone.bat file now i am planning to run this file as windows service like when the server starts up the jboss also should start automatically.

my server is windows server 2003. Could any one give me right way to acheive this ? all suggestion and advices are appreciated.


raj chopra
Peter Johnson

Joined: May 14, 2008
Posts: 5852

One option is to get the service.bat and jbosssvc.exe files from JBoss AS 6.x or 5.x and modify them to use standalone.bat instead of run.bat. The user in this post provided a link to a site that shows how to set that up:

JBoss In Action
I agree. Here's the link:
subject: how to set jboss as windows services?
It's not a secret anymore!