9 Replies Latest reply on Jun 19, 2007 3:27 AM by Daniel Kane

    Mysterious Exception

    Alexander Eitner Newbie

      Hello, searched for information but did not success...

      When i deploy my EJB3 application, JBoss 4.0.5 GA + RC9 patch says:

      11:58:37,109 WARN [Ejb3Configuration] Persistence provider caller does not implements the EJB3 spec correctly
      . PersistenceUnitInfo.getNewTempClassLoader() is null.
      11:58:37,140 WARN [ServiceController] Problem starting service persistence.units:ear=Ejb3Test.ear,unitName=Ej
      b3PU
      javax.persistence.PersistenceException: [PersistenceUnit: Ejb3PU] class or package not found
      at org.hibernate.ejb.Ejb3Configuration.addNamedAnnotatedClasses(Ejb3Configuration.java:1067)


      and later

      --- MBeans waiting for other MBeans ---
      ObjectName: persistence.units:ear=Ejb3Test.ear,unitName=Ejb3PU
      State: FAILED
      Reason: javax.persistence.PersistenceException: [PersistenceUnit: Ejb3PU] class or package not found
      I Depend On:
      jboss.jca:service=DataSourceBinding,name=Ejb3DS

      --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
      ObjectName: persistence.units:ear=Ejb3Test.ear,unitName=Ejb3PU
      State: FAILED
      Reason: javax.persistence.PersistenceException: [PersistenceUnit: Ejb3PU] class or package not found
      I Depend On:
      jboss.jca:service=DataSourceBinding,name=Ejb3DS


      But the DataSource is ok. And the source code too, as far as i can see. Worked for 2 days now on that problem. Any suggestions please?

      Thx very much!!!