0 Replies Latest reply on Nov 16, 2007 12:33 PM by Haroon Rashid

    Problems delpoying ejb3 session bean - please help

    Haroon Rashid Newbie

      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