users@glassfish.java.net

Re: Not able to deploy EAR with CMP bean(EJB2.1) in Glassfish V2

From: Marina Vatkina <Marina.Vatkina_at_Sun.COM>
Date: Tue, 18 Nov 2008 01:38:30 -0800

In your picture the dbschema file is *outside* the ejbModule. It should be inside.

-marina

glassfish_at_javadesktop.org wrote:
> I kept in the root directory but still getting the NullPointerException as below:
>
> Deploying application in domain failed; Fatal Error from EJB Compiler -- Caught java.lang.NullPointerException while processing CMP beans for application [TestGlassFishEAR]; module [TestGlassFishEJB.jar]: null. See log for details. Fatal Error from EJB Compiler -- Caught java.lang.NullPointerException while processing CMP beans for application [TestGlassFishEAR]; module [TestGlassFishEJB.jar]: null. See log for details.
>
> I tried keeping dbschema files in three locations but couldn't deploy the EAR.
> 1)Inside META-INF
> 2)Inside ejbModule but outside META-INF
> 3)Inside TestGlassFishEJB but outside ejbModule
> [Message sent by forum member 'satyaranjan2008' (satyaranjan2008)]
>
> http://forums.java.net/jive/thread.jspa?messageID=317190
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>