ejb@glassfish.java.net

Re: MDB example

From: <jfan28_at_yahoo.com>
Date: Thu, 20 Nov 2008 19:15:16 -0800 (PST)

after run mdbclient.java, you will see NPE, seems client can not find connection.
would you please tell me how to emaulate appclient - client in smaple build file to be used in eclipse ide environment?

--- On Thu, 11/20/08, Marina Vatkina <Marina.Vatkina_at_Sun.COM> wrote:

From: Marina Vatkina <Marina.Vatkina_at_Sun.COM>
Subject: Re: MDB example
To: ejb_at_glassfish.dev.java.net
Date: Thursday, November 20, 2008, 4:42 PM

Where does the NPE come from?

thanks,
-marina

jfan28_at_yahoo.com wrote:
>
> Hi,
> I have been trying to run MDB sample code in eclipse, but no
> luck. here are what I did:
> create ejb project for mdb bean
> create client application project for appclient
> deploy mdb bean.jar and appclient.jar to glassfish server (they
> are all seen o nthe server)
> run appclient, but see _java.lang.NullPointerException_
> it seems client application can not connect with JMS resource in
> glassfish(connectionfactory and queue are created correctly)
> would you please provide the steps how to run this
project in
> Eclipse?
> Thanks,
> Jin
> _ _
> _ _
>
>
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: ejb-unsubscribe_at_glassfish.dev.java.net
For additional commands, e-mail: ejb-help_at_glassfish.dev.java.net