aspose file tools*
The moose likes JBoss/WildFly and the fly likes Jboss as window services Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Jboss as window services" Watch "Jboss as window services" New topic
Author

Jboss as window services

chitra lekha
Greenhorn

Joined: Dec 21, 2011
Posts: 7
Hi All,

I am new to java technology and I want my java application to run as window services. Please let me know the steps how can I run jboss(4.0.5) as window services and then host my application on it.
Please help.
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10051
    
163

See https://community.jboss.org/wiki/RunJBossAsAServiceOnWindows

[My Blog] [JavaRanch Journal]
chitra lekha
Greenhorn

Joined: Dec 21, 2011
Posts: 7
Thnks for your reply I did check out this link and ya was able to start Jboss as window servcies .Now to deploy my application can anybody please tell me the procedure for it. IS it that I just need to copy my .war file into the deploy folder of the jboss and start my services.Will this be only step required.

Thanks in anticipation
William P O'Sullivan
Ranch Hand

Joined: Mar 28, 2012
Posts: 859

Drop the war in and if your jboss-services.xml is correct (or default), then it will start the webapp automatically.

WP
chitra lekha
Greenhorn

Joined: Dec 21, 2011
Posts: 7
Hi,

I have craeted the service and its also apperaing in window servcies but when am trying to start teh servcies each time its shows the following popup.
"the Jboss Application Server Nt service service on local computer started and stopped.some services stopped automatically when it has no work to do, for example performance logs and alert servcie."
I have used Jboss Wrapper service for running jboss as window services , using following link :

http://wrapper.tanukisoftware.org/doc/english/integrate-simple-win.html

Please suggest what could be the reason behind it and why servcie is not getting started.
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10051
    
163

Instead of Tanuki, you should have used the other approach mentioned in that article. The JBoss Native way. I don't have any experience with Tanuki wrapper but I guess you might find the error log within the JBOSS_HOME/bin folder or maybe in JBOSS_HOME/server/<servername>/log folder and that might contain more details about the error.
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5823
    
    7

When you are asking Tanuki to start the JBoss server, is JBoss AS really being started? Perhaps something is misconfigured and thus JBoss AS is not actually be started.

JBoss In Action
 
jQuery in Action, 2nd edition
 
subject: Jboss as window services