users@glassfish.java.net

Re: glassfish + eclipse

From: Rochelle Raccah <Rochelle.Raccah_at_Sun.COM>
Date: Thu, 26 Feb 2009 14:59:00 -0800

glassfish_at_javadesktop.org wrote:
> I can't find it but it is installed when adding a new server when you click on: "new server adapter" and there is only one Glassfish server adapter in the list.
>
Did you install it today? Then I'd know that it is the latest version =).

> Also the nullpointerexception is just because it tries to run it as a normal java application, it doesn't query the ejb container:
>
> public class Main {
> @EJB
> private static UserRemote ur;
>
>
> public static void main(String[] args) {
> ur.getName();
> ...rest code ...
>
> }
> }
>
> so this results in a NullPointerException. But if I download it with java web start, everything works fine. So the client application is deployed correctly, I just want it to run automatic.
>
Maybe you can attach your eclipse project? Then we can try to reproduce.

Thanks,
Rochelle

> Greetings
> [Message sent by forum member 'obsidion' (obsidion)]
>
> http://forums.java.net/jive/thread.jspa?messageID=334095
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>