Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

JBoss server 7.1 not starting in Eclipse Luna

I have Eclipse Luna 4.4.1, and JBoss Server 7.1. The problem is when I start the Server, it never starts and after a long time it says Time Out Error. "JBoss is unable to start within 450 seconds".

How to resolve this issue?

The Console shows the following output and just hangs here for much time:

12:47:54,100 INFO  [org.jboss.modules] JBoss Modules version 1.1.1.GA
12:47:54,438 INFO  [org.jboss.msc] JBoss MSC version 1.0.2.GA
12:47:54,552 INFO  [org.jboss.as] JBAS015899: JBoss AS 7.1.1.Final "Brontes" starting

The Server never starts. I have changed the time settings but it never helps.

like image 791
Madhya Rehman Avatar asked Oct 05 '14 04:10

Madhya Rehman


3 Answers

I solved that issue, I was using JDK version 1.8 and JBOSS 7.1, The JBOSS server always stuck on "Starting Brontes".... I have tried changing the server startup time, and settings but nothing helped.

I then unistalled JDK 1.8, and installed JDK 1.7, and this solves my issue. JBOSS 7.1 works with JDK 1.7.. :)

And one thing more, JDK 1.8 can work with JBOSS WildFly 8...

like image 87
Madhya Rehman Avatar answered Nov 12 '22 20:11

Madhya Rehman


Compare the Java Build Path properties in your projects, maybe you mixed up the JDK versions. I faced the same problem..using different java runtime environments in server an project configuration seems not to be the best way for starting the JBoss :)

like image 29
Random Guy Avatar answered Nov 12 '22 20:11

Random Guy


If someone hit this problem in the future...

JBoss 7.1 need Runtime JRE 1.7. Edit this under Preferences > Server > Runtime Environments > JBoss 7.1 > edit > Runtime JRE (Change to 7.1)

like image 2
Juliyanage Silva Avatar answered Nov 12 '22 20:11

Juliyanage Silva