[
https://jira.jboss.org/jira/browse/JBESB-2572?page=com.atlassian.jira.plu...
]
Vincent Girard-Reydet commented on JBESB-2572:
----------------------------------------------
In fact when further testing, it happens also when deploying from outside eclipse.
The key seems to be wether the EJB is deployed before or after Drools:
- when deploying from eclipse, we are always in the case of a hot deployment, so my EJB
is always deployed after JbossESB.
- when deploying directly from .../deploy/, it works when the EJB is present before
starting JbossAS, but it fails when the EJB is added after startup (thus hot-deployed).
As noted in JBIDE-4332 and on the forum, the only case when it works is when the EJB is
deployed *before* Drools.
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
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