• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

JBOSS server start up Issue.

 
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Chandra Mohan
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 63
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I haven't used MBean. I have created in the normal process.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic