users@glassfish.java.net

Re: NullPointerException in com.sun.enterprise.connectors.util.ResourcesUtil.isJdbcPoolReferredInServerInstance

From: Alexis Moussine-Pouchkine <alexis.moussine-pouchkine_at_oracle.com>
Date: Thu, 5 May 2011 12:15:36 +0200

please share the source code for the EJB as well as persistence.xml.
The full stack trace would also help.
-Alexis

On 5 mai 2011, at 11:40, forums_at_java.net wrote:

> Hi,
>
> I'm deploying a JEE Application to GlassFish 3.1 (24) unfortunately I'm
> getting:
>
> NullPointerException in
> com.sun.enterprise.connectors.util.ResourcesUtil.isJdbcPoolReferredInServerInstance
>
> It is happening in the Initialization Code of an EJB (@PostConstruct)
>
> There I am calling: em.find(MyClass.class, myClassId);
>
> I suspect it being a configuration error of my persistance layer, but I'm not
> sure where...
>
> Can anybody help here please?
>
> Thanks in advance!
>
> Regards
>
>
> --
>
> [Message sent by forum member 'MohamzJava']
>
> View Post: http://forums.java.net/node/798500
>
>