Starting JBoss from Eclipse

前端 未结 20 1235
名媛妹妹
名媛妹妹 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:08

    Double click on the jBoss server icon in the server view. A window pops up with “Timeout” collapsed. Click on the arrow and increase the start time.

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

    I am also facing same issue, after change the port number it has worked for me.

    Port number in server.xml and jboss port number should be same.

    goto -> jboss-4.0.3\server\default\deploy\jbossweb-tomcat55.sar\server.xml

    Connector port="9090"

    goto -> Double click on server and change your port number as what you gave in server.xml

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

    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.

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

    Are yoy runing on Linux? If so, check if jBoss has write privileges over /tmp ...

    I had the same problem, and I fixed creating a temp directory with RW privileges to User, Group and others, and adding this line to eclipse.ini

    -Djava.io.tmpdir=yourTempDirectory
    

    where your temp directory is the absolute addres of the Temp directory that you created.

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

    I've come upon the same problem and found the explanation. For Eclipse, JBoss is expected to support the jboss-web service (tomcat.sar) which implies an HTTP port to be opened at the end of the process. In my case, as this service is disabled, no HTTP port is opened when the server is running...

    Solution: simply double click on the jboss server in the Servers panel and copy the JNDI port to the Port field, in Server Properties section. This makes it.

    This way, it is no more necessary to change host name to 127.0.0.1, you may let it be what you want (e.g. localhost is the default).

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

    You have to change ports defined in JBoss configuration panel. I have used -Djboss.service.binding.set=ports-01 to upgrade port numbers - and forgot to change Eclipse/JBoss configuration - and Eclipse failed to notice JBoss is already running.

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