Starting JBoss from Eclipse

2019-02-21 09:20发布

Staring JBoss server from within Eclipse Ganymede gives me the following problem: "Server JBoss v4.0 at localhost was unable to start within 120 seconds. If the server requires more time, try increasing the timeout in the server editor."

The console shows JBoss has started in so and so minutes but soon after, there is a pop up if the above message. I can also start the JBoss externally.

标签: eclipse jboss
20条回答
\"骚年 ilove
2楼-- · 2019-02-21 09:58

If you are using a non default port for, instance 8180. You should configure eclipse to poll server at desired port number. See this picture:

enter image description here

查看更多
女痞
3楼-- · 2019-02-21 10:00

You may check whether you are running Jboss version 4.0.4 or version 4.2.2. You might get this error when you have installed Jboss 4.2.2 but configured Jboss 4.0.4 in Eclipse.

查看更多
看我几分像从前
4楼-- · 2019-02-21 10:01

I've seen this behavior when I've changed JBoss to run via SSL on port 8443 instead of unencrypted on port 8080. It is my theory that the Eclipse plugin is checking on port 8080 to confirm that JBoss has started, and that this check is hardcoded and does not respect changes you make to the configuration to specify that the server runs on a different port.

Our workaround is to start JBoss from the debug pulldown menu, which apparently disables the timeout.

查看更多
兄弟一词,经得起流年.
5楼-- · 2019-02-21 10:05

I am new to EJB - Jboss. I too was getting the same problem

Jboss Is not started in given time, increase Start-up time out]]

It is not solved by your given valuable suggestions.

According to console: My Jboss-5.1.0.GA Server started in 50:21, 49:91 ...so on.

But not responded well with given host name: 10.168.2.11 Server Configuration Server: 10.168.2.11 which I like to execute when using ant.

Solution: All though It is worked well with

host Name: localhost
Server Name:localhost

Even increased port i.e. ports-02: result in http: port 8280


Attempted every practice given here. This is mine. Hope that eclipse community with jboss collaboration give right solution.

I don't know but bit Ground point in this Suggestion: https://stackoverflow.com/a/945444/1164686

查看更多
闹够了就滚
6楼-- · 2019-02-21 10:07

In my Eclipse with Jboss Tools, that ocurred too, I change the "Host name", on General information of JbossServer, from my machine name to 127.0.0.1.

Thanks, this works fine!

查看更多
劫难
7楼-- · 2019-02-21 10:09

I had the same issue and corrected it by modifying a "server.xml" file in the jboss folders.

I modified  '<Connector port="8080"' by '<Connector port="server port defined in Eclipse"'
查看更多
登录 后发表回答