users@glassfish.java.net

Re: Eclipse not deploying projects to GlassFish v2

From: Rochelle Raccah <Rochelle.Raccah_at_Sun.COM>
Date: Fri, 01 Aug 2008 12:06:52 -0700

What version of the glassfish plugin do you have? You are running
Eclipse Ganymede, right? This error seems to be that the main class
name of the server def is missing (null). I wonder if you could try in
another directory with a new installation of eclipse and workspace.

Thanks,
Rochelle



glassfish_at_javadesktop.org wrote:
> Well, nothing untoward shows up in the Eclipse console view (ie where all the GlassFish output is shown), but when I run Eclipse with -consoleLog from the terminal I get a NullPointer in the eclipse logs from:
>
> [code]
> !ENTRY org.eclipse.wst.server.core 4 0 2008-08-01 12:07:13.312
> !MESSAGE Error calling delegate setupLaunchConfiguration() GlassFish V2 Java EE 5 at localhost
> !STACK 0
> java.lang.NullPointerException
> at org.eclipse.jst.server.generic.internal.xml.Resolver.skipToProperty(Resolver.java:103)
> at org.eclipse.jst.server.generic.internal.xml.Resolver.resolvePropertiesFromCache(Resolver.java:90)
> at org.eclipse.jst.server.generic.internal.xml.Resolver.resolveProperties(Resolver.java:68)
> at org.eclipse.jst.server.generic.core.internal.GenericServerBehaviour.getStartClassName(GenericServerBehaviour.java:259)
> at org.eclipse.jst.server.generic.core.internal.GenericServerBehaviour.setupLaunchConfiguration(GenericServerBehaviour.java:354)
> at org.eclipse.wst.server.core.internal.Server.setupLaunchConfiguration(Server.java:1419)
> at org.eclipse.wst.server.core.internal.Server.getLaunchConfiguration(Server.java:1462)
> at org.eclipse.wst.server.core.internal.Server.startImpl2(Server.java:2637)
> at org.eclipse.wst.server.core.internal.Server.startImpl(Server.java:2590)
> at org.eclipse.wst.server.core.internal.Server$StartJob.run(Server.java:310)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
> [/code]
>
> as well as a SocketTimeoutException:
>
> [code]
> !ENTRY org.eclipse.ant.ui 4 120 2008-08-01 12:07:39.895
> !MESSAGE Error logged from Ant UI:
> !STACK 0
> java.net.SocketTimeoutException: Accept timed out
> at java.net.PlainSocketImpl.socketAccept(Native Method)
> at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:384)
> at java.net.ServerSocket.implAccept(ServerSocket.java:453)
> at java.net.ServerSocket.accept(ServerSocket.java:421)
> at org.eclipse.ant.internal.ui.launchConfigurations.RemoteAntBuildListener$ServerConnection.run(RemoteAntBuildListener.java:95)
> [/code]
>
> It must be something with the way the server plugin is configured, but I don't know enough about it to really diagnose and fix a problem myself.
> [Message sent by forum member 'lwnexgen' (lwnexgen)]
>
> http://forums.java.net/jive/thread.jspa?messageID=290992
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>