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
>
>