wood burning stoves 2.0*
The moose likes JBoss/WildFly and the fly likes JBOSS server start up Issue. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "JBOSS server start up Issue." Watch "JBOSS server start up Issue." New topic
Author

JBOSS server start up Issue.

Chandra Mohan
Ranch Hand

Joined: Oct 06, 2003
Posts: 62
Hi

In my new laptop, I have installed eclipse and JBoss AS 7.0.2 and jre 6. I have created following environment variables

JAVA_HOME : C:\Program Files\Java\jre6\bin

JBOSS_HOME :C:\Program Files\jboss-as-web-7.0.2.Final

I have installed Eclipse Jboss Plugin also. I just want to deploy simple application. The issue is, the server is not starting. It is not showing any error message in the console also. The popup comes after few seconds "Server JBoss 7.0 Runtime Server failed to start." I have checked runtime environment (delete and recreated also). Still it has same state. Should I need to do anything setting changes for JBoss server ?

Regards
Mohan


Thanks and Regards
Chandra Mohan
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5812
    
    7

Try moving JBoss AS out of Program Files (mine is at d:/opt/jboss/work/jboss-as-web-7.0.2.FINAL). Spaces in paths tend to cause numerous problems.

Also, try starting it from the command line before attempting to start it within Eclipse.


JBoss In Action
Chandra Mohan
Ranch Hand

Joined: Oct 06, 2003
Posts: 62
Hi

I just moved to C:\jboss-as-web-7.0.2.Final still it has same issue. From the command prompt (standalone.bat), I can able to run and view the server console. The problem is when I try from eclipse, The server is not starting up. Not even single line is display in the console. I have checked the log also. But no useful information.


Any other option to explore ?

Regards
Mohan
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5812
    
    7

In Eclipse, what options did you select when you created the server project for JBoss AS 7?

In earlier releases of JBoss AS, Eclipse would access the the MBean server via JNDI, and lookup the server MBean and examine the state. Once the state said running, Eclipse was happy. With AS 7, I'm not sure how that happens because neither JNDI nor the MBean server apply anymore (I don't think). However, if you have the latest JBoss Tools and you used to correct options for defining the server within Eclipse, then it should work because JBoss Tools knows how to tell when the server has started.

To others following this discussion, Chandra also asked this question at http://community.jboss.org/message/645531
Chandra Mohan
Ranch Hand

Joined: Oct 06, 2003
Posts: 62
I haven't used MBean. I have created in the normal process.
 
 
subject: JBOSS server start up Issue.
 
Similar Threads
Jboss not starting aka shutting down
Dependencies : Jboss 7
CommunicationException in war file deployment
Linkage Error while starting JBoss in eclipse 3.4 [Issue not occuring when I start JBoss from /bin]
JBOSS server Configuration