Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Jboss as window services

 
chitra lekha
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
 
chitra lekha
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 859
Chrome IBM DB2 Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic