JBoss server 7.1 not starting in Eclipse Luna
Asked Answered
T

9

15

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.

Thorite answered 5/10, 2014 at 4:56 Comment(3)
@Juru Can you please suggests some helpThorite
can you paste the full stack trace?Tetter
Yes, JBoss AS 7.1 will not start with JDK 1.8. Here it is, right from JBoss... developer.jboss.org/thread/223739?start=0&tstart=0. You think they would have fixed it by now.Tawnatawney
T
26

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...

Thorite answered 15/10, 2014 at 20:32 Comment(0)
L
3

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 :)

Lipscomb answered 8/10, 2014 at 14:9 Comment(0)
C
2

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)

Crawley answered 20/8, 2016 at 2:5 Comment(0)
D
1

You can increase the timeout associated with server starting time as part of the server settings in Eclipse. You might also want to check if you need all the modules that JBOSS starts up as part of the startup process. 6 minutes is a long time in a development environment. Do you have lot of apps being deployed? Would you need all of them for a development environment?

Deepfry answered 5/10, 2014 at 5:5 Comment(6)
I have tried increasing the time, but it is not helping. I have set the time out to 500 sec..Thorite
What is the time that it takes for JBOSS to start outside of Eclipse? You might want to finetune on the basis of that. Of course, please do verify if you need all of those apps that are present.Deepfry
May be the problem is with the port settings, I dont kno how to set the Jboss and Eclipse ports. JBoss is using 8080 Web port.Thorite
It wouldn't be due to port settings. How much time does it take for JBOSS to start independently - not within Eclipse? You know, when you run it as standalone?Deepfry
Same on command propmpt, JBoss says starting are never starts. Please tell me how can i lessens the number of apps , i am a newbieThorite
I have no app. I am just trying to configure the environment to start learning, how to develop a webpageThorite
C
1

I didn't know that I can't run JBoss As 7.1 on JDK 1.8 and I had the same problem as Madhya Rehman. I've checked if jdk in project properties and jboss runtime is the same, then I set checkbox in project properties/project facets/ runtimes page/ jboss 7.1 runtime ant it seems to work.

Cimmerian answered 28/4, 2015 at 16:43 Comment(0)
P
0

For eclipse:

  • Double click on server
  • Go to General information
  • Change Run environment to Java 1.8

And it will work fine... ;)

Pentapody answered 2/5, 2016 at 10:38 Comment(0)
P
0

Same problem and changing the java version helped me.

Predator answered 21/6, 2016 at 16:22 Comment(1)
Maybe include more specifics, such as what version you changed it to, and how you changed it.Jockey
U
0

I was trying to start the Jboss bundled with liferay server on jboss as 7.1.I also had similar issue. I changed jre from 1.8 version to 1.7 that solved my issue and server started successfully.

Upholster answered 24/7, 2016 at 9:26 Comment(0)
T
0

Another posible fix is to change the hostname, from 'localhost' to '127.0.0.1' in eclipse jboss server configuration pane, in the 'General Information' section

Taxaceous answered 22/1, 2019 at 21:23 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.