[esb-issues] [JBoss JIRA] Closed: (JBESB-2572) Impossible to hot deploy EJB3 with JPA annotations on a JBossESB installation

Kevin Conner (JIRA) jira-events at lists.jboss.org
Tue Jul 28 06:18:29 EDT 2009


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

Kevin Conner closed JBESB-2572.
-------------------------------

    Resolution: Out of Date


Apologies, this should have been closed after JBESB-2736 had been addressed.

The root cause was the existence, at a global classloader level, of META-INF/persistence.xml within some of the drools jars.  These jars were never used by our current integration and have since been removed.

Hibernate had been retrieving these files as part of the deployment process for the EJB3/JPA deployments, resulting in the error messages previously mentioned.


> Impossible to hot deploy EJB3 with JPA annotations on a JBossESB installation
> -----------------------------------------------------------------------------
>
>                 Key: JBESB-2572
>                 URL: https://jira.jboss.org/jira/browse/JBESB-2572
>             Project: JBoss ESB
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Configuration, Deployment
>    Affects Versions: 4.5
>         Environment: Jboss AS 4.2.3 GA
> JbossESB 4.5
>            Reporter: Vincent Girard-Reydet
>            Assignee: Kevin Conner
>         Attachments: TestEJBJPA.jar, TestEJBJPA_Project.zip
>
>
> Hot deploying (in fact deploying after Drools) an EJB with JPA annotations fails systematically with the following error:
> SessionFactoryImpl] Error in named query: ProcessInstancesWaitingForEvent
> org.hibernate.hql.ast.QuerySyntaxException: ProcessInstanceInfo is not mapped [select processInstanc
> eInfo.processInstanceId from ProcessInstanceInfo processInstanceInfo where :type in elements(process
> InstanceInfo.eventTypes)]
> 	at org.hibernate.hql.ast.util.SessionFactoryHelper.requireClassPersister(SessionFactoryHelper.java:
> 158)
> See the original issue JBIDE-4332 for the details.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the esb-issues mailing list