[jboss-jira] [JBoss JIRA] (AS7-2829) ejbjar in ear doesn't get JPA persistence provider dependencies injected, which causes ClassNotFoundException referencing persistence provider from ejblib

Scott Marlow (JIRA) jira-events at lists.jboss.org
Fri Feb 3 00:39:49 EST 2012


     [ https://issues.jboss.org/browse/AS7-2829?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Scott Marlow updated AS7-2829:
------------------------------

            Summary: ejbjar in ear doesn't get JPA persistence provider dependencies injected, which causes ClassNotFoundException referencing persistence provider from ejblib  (was: implicit JPA subsystem dependencies don't prevent java.lang.ClassNotFoundException: org.hibernate.criterion.Projection)
    Forum Reference: http://community.jboss.org/message/638687  (was: http://community.jboss.org/message/638687)


The bug also occurs with the Apache DayTrader app.
                
> ejbjar in ear doesn't get JPA persistence provider dependencies injected, which causes ClassNotFoundException referencing persistence provider from ejblib
> ----------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: AS7-2829
>                 URL: https://issues.jboss.org/browse/AS7-2829
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: JPA / Hibernate
>    Affects Versions: 7.1.0.Beta1
>            Reporter: Radim Hanus
>            Assignee: Scott Marlow
>             Fix For: 7.1.1.Final
>
>
> my ejbjar inside an ear uses PersistenceContext annotation so that it should be a JPA subsystem as described in https://docs.jboss.org/author/display/AS7/Implicit+module+dependencies+for+deployments
> I also use hibernate criterion classes in ejbjar but I'm getting CNFE during deployment of ear

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list