my dog learned polymorphism*
The moose likes JBoss/WildFly and the fly likes start jboss-4.2.2.GA in windows service Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "start jboss-4.2.2.GA in windows service" Watch "start jboss-4.2.2.GA in windows service" New topic
Author

start jboss-4.2.2.GA in windows service

Maya Pillai
Ranch Hand

Joined: Jul 17, 2008
Posts: 60
I am using jboss-4.2.2.GA.Can anyone tell me how to start it in windows service.
Please help me.
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10210
    
166

You can follow the steps mentioned here http://www.jboss.org/community/docs/DOC-10679


[My Blog] [JavaRanch Journal]
Maya Pillai
Ranch Hand

Joined: Jul 17, 2008
Posts: 60
Thanks....I tried it,but got an error
The service name is invalid

Please help
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10210
    
166

Please provide more details. When do you see this error? And how are you installing the service? Also please post the entire exception stacktrace
Maya Pillai
Ranch Hand

Joined: Jul 17, 2008
Posts: 60
Hi,

I solved it,it was due to incorrect jdk home.
Now i have started jboss in windows service but the problem is,i am not able to access jboss home page while taking the page using system ip.But everything working fine when taking the page using localhost.

Please help
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10210
    
166

Use -b option to start JBoss. See this for details. Since you are running JBoss as a service, you need to pass the -b option by editing the service.bat file. See this for an example
Maya Pillai
Ranch Hand

Joined: Jul 17, 2008
Posts: 60
Hi,

Everything working fine now.

Thank you so much.
siva Eyme
Greenhorn

Joined: Oct 24, 2008
Posts: 4
Hi All

I am facing a problem with jboss windows service.I am using jboss 4.2.2 GA.I have done it as a windows service.it is working fine.
The problem is ,if we are taking remote desktop using Start->Run->mstsc / console, after that I log off the remote connection,suddenly the running jboss has been stopped.I couldn't find the exat reason.If we are using only "mstsc" it is working fine eventhough the server has been logged off.
Please help me,
Thanks in advance.
Javid Jamae
Author
Ranch Hand

Joined: May 14, 2008
Posts: 198
Siva, please start a new topic for this question.


Author: JBoss in Action, javidjamae.com, @javidjamae on Twitter
 
 
subject: start jboss-4.2.2.GA in windows service