1 Reply Latest reply: Jun 19, 2013 12:29 PM by jieshengz RSS

    can not start glassfish in debug mode

    jieshengz

      My environment: glassfish 4.0(build 89), OEPE kelper distrbution with maven plugin, CentOs system, java 7.

      I can start glassfish in eclipse in regular mode. But if I start it in debug mode, I finally get this error: java.util.concurrent.TimeoutException.

       

      This is the error from eclipse log:

      java.util.concurrent.TimeoutException

          at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:258)

          at java.util.concurrent.FutureTask.get(FutureTask.java:119)

          at oracle.eclipse.tools.glassfish.GlassfishGenericServerBehaviour.launchServer(GlassfishGenericServerBehaviour.java:170)

          at oracle.eclipse.tools.glassfish.GlassfishServerLaunchDelegate.startDASAndTarget(GlassfishServerLaunchDelegate.java:201)

          at oracle.eclipse.tools.glassfish.GlassfishServerLaunchDelegate.launch(GlassfishServerLaunchDelegate.java:109)

          at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:858)

          at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:707)

          at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:700)

          at org.eclipse.wst.server.core.internal.Server.startImpl2(Server.java:3537)

          at org.eclipse.wst.server.core.internal.Server.startImpl(Server.java:3473)

          at org.eclipse.wst.server.core.internal.Server$StartJob.run(Server.java:367)

          at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)

       

      Hostname is resolved correctly: ping `hostname` works. I have host's name in /etc/hosts.

       

      any suggestion?

       

      thanks