Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

can not start glassfish in debug mode

jieshengzJun 18 2013 — edited Jun 19 2013

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

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 17 2013
Added on Jun 18 2013
1 comment
3,234 views