users@glassfish.java.net

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

From: <glassfish_at_javadesktop.org>
Date: Tue, 18 Nov 2008 01:09:07 PST

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