File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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: 58
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: 5772
    
    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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to set jboss as windows services?
 
Similar Threads
Migration from Weblogic8.1 to JBoss7
Unable to find run.bat file in bin folder in jboss7
Deploying problem JBoss7 Eclipse Indigo
Include folder to classpath in JBOSS7
Helloworld using Jboss7 and ejb3