Starting JBoss from Eclipse

前端 未结 20 1233
名媛妹妹
名媛妹妹 2021-01-17 07:46

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 requ

相关标签:
20条回答
  • 2021-01-17 08:01

    Try the following:-

    1. Check if the port jboss configured correctly in the general information. It is usually 8080 unless you've changed it.
    2. I use the hostname as 0.0.0.0 so that it can be accessed from other computers on the network.
    3. I had a problem where I was connected to a vpn and it was causing this issue. Shut off any vpn connections.
    0 讨论(0)
  • 2021-01-17 08:02

    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.

    0 讨论(0)
  • 2021-01-17 08:04

    Remove all eclipse breakpoint in the debug view, and the jboss will quickly start.

    0 讨论(0)
  • 2021-01-17 08: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!

    0 讨论(0)
  • 2021-01-17 08:07

    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"'
    
    0 讨论(0)
  • 2021-01-17 08:08

    Increasing the timeout doesn't solve the problem. Eclipse never recognizes that the server has started (not sure if that's a big deal), just irritated me. I had this problem for weeks and finally figured out that (at least for me) the host name and address had to be identical. I had hostname:localhost; address"127.0.0.1" and it would not work. I changed both to 127.0.0.1 and voila!

    Like this: enter image description here

    0 讨论(0)
提交回复
热议问题