Uploaded image for project: 'PicketLink'
  1. PicketLink
  2. PLINK-327

PasswordCredentialTypeEntity could not be loaded with TomEE

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Done
    • Major
    • PLINK_2.6.0.Beta4
    • PLINK_2.5.3.Beta1
    • None
    • None

    Description

      Tested this demo:
      https://github.com/jboss-developer/jboss-picketlink-quickstarts/tree/master/picketlink-authorization-idm-jpa

      on Apache TomEE (apache-tomee-jaxrs-1.5.2), and I am getting this error:

      INFO: PLIDM001001: Initializing Identity Store [class org.picketlink.idm.jpa.internal.JPAIdentityStore]
      Nov 10, 2013 5:40:13 PM null
      INFO: Starting OpenJPA 2.2.0
      Nov 10, 2013 5:40:13 PM null
      INFO: Using dictionary class "org.apache.openjpa.jdbc.sql.HSQLDictionary" (HSQL Database Engine 2.2.8 ,HSQL Database Engine Driver 2.2.8).
      Nov 10, 2013 5:40:13 PM null
      WARNING: The class "org.picketlink.idm.jpa.model.sample.simple.PasswordCredentialTypeEntity" listed in the openjpa.MetaDataFactory configuration property could not be loaded by LazyStopWebappClassLoader
        context: /picketlink-authorization-idm-jpa
        delegate: false
        repositories:
          /WEB-INF/classes/
      ----------> Parent Classloader:
      org.apache.catalina.loader.StandardClassLoader@45290155
      ; ignoring.
      

      This WARNING (ignoring of the class) later on leads to a NoClassDefFoundError error:

      Nov 10, 2013 5:40:13 PM org.apache.openejb.core.singleton.SingletonInstanceManager createInstance
      SEVERE: The bean instance IDMInitializer threw a system exception:javax.enterprise.inject.CreationException: java.lang.NoClassDefFoundError: Could not initialize class org.picketlink.idm.jpa.model.sample.simple.PasswordCredentialTypeEntity
      javax.enterprise.inject.CreationException: java.lang.NoClassDefFoundError: Could not initialize class org.picketlink.idm.jpa.model.sample.simple.PasswordCredentialTypeEntity
      	at org.apache.webbeans.component.AbstractOwbBean.create(AbstractOwbBean.java:199)
      	at org.apache.webbeans.context.DependentContext.getInstance(DependentContext.java:70)
      	at org.apache.webbeans.context.AbstractContext.get(AbstractContext.java:132)
      	at org.apache.webbeans.container.BeanManagerImpl.getReference(BeanManagerImpl.java:872)
      	at org.apache.webbeans.container.BeanManagerImpl.getInjectableReference(BeanManagerImpl.java:753)
      

      Looks like there is an issue deploying the PL demo w/ Apache OpenJPA / Apache OpenWebBeans (Apache's CDI container)

      Attachments

        Activity

          People

            psilva@redhat.com Pedro Igor Craveiro
            mwessend@redhat.com Matthias Wessendorf
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: