[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Problems delpoying ejb3 session bean - please help

harryrashid do-not-reply at jboss.com
Fri Nov 16 12:33:04 EST 2007


I'm trying to deploy a jar named SEEKEjb, containing the following files:

Common.java, InstitutionPerson.java, ProfileSummary.java, Qualifications.java, QualificationType.java, User.java, UserDAOImp.java, UserLocal.java, UserRemote.java

UserDAOImp is a stateless session bean (the remainder excluding the UserLocal and UserRemote are all entity beans), however upon deploying I get the following error: 

15:00:45,851 ERROR [URLDeploymentScanner] Incomplete Deployment listing:

--- MBeans waiting for other MBeans ---
ObjectName: persistence.units:jar=SEEKEJB.jar,unitName=SEEKEJB
  State: FAILED
  Reason: java.lang.NullPointerException
  I Depend On:
    jboss.jca:service=DataSourceBinding,name=seekDS
  Depends On Me:
    jboss.j2ee:jar=SEEKEJB.jar,name=UserDAOImp,service=EJB3

ObjectName: jboss.j2ee:jar=SEEKEJB.jar,name=UserDAOImp,service=EJB3
  State: NOTYETINSTALLED
  I Depend On:
    persistence.units:jar=SEEKEJB.jar,unitName=SEEKEJB

--- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
ObjectName: persistence.units:jar=SEEKEJB.jar,unitName=SEEKEJB
  State: FAILED
  Reason: java.lang.NullPointerException
  I Depend On:
    jboss.jca:service=DataSourceBinding,name=seekDS
  Depends On Me:
    jboss.j2ee:jar=SEEKEJB.jar,name=UserDAOImp,service=EJB3

I'm struggling to understand where the NullPointerException is being thrown and why, as this jar file deployed perfectly fine previously (when it only contained the User related files)

Any help would be greatly appreciated.

Harry

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4105596#4105596

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4105596



More information about the jboss-user mailing list