*
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
Author

how to set jboss as windows services?

raj chopra
Ranch Hand

Joined: Apr 09, 2012
Posts: 60
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.

Thanks


Reagrds,
raj chopra
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5812
    
    7

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:
https://community.jboss.org/message/805136


JBoss In Action
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: how to set jboss as windows services?
 
Similar Threads
Unable to find run.bat file in bin folder in jboss7
Deploying problem JBoss7 Eclipse Indigo
Migration from Weblogic8.1 to JBoss7
Include folder to classpath in JBOSS7
Helloworld using Jboss7 and ejb3