-
Bug
-
Resolution: Duplicate
-
Blocker
-
None
-
3.0.1.GA
-
None
-
Workaround Exists
-
-
High
When I deploy an EJB3 that contains JPA annotations from within Eclipse, I systematically get an 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 complete discussion here: http://www.jboss.org/index.html?module=bb&op=viewtopic&t=154726&start=10
This does NOT happen when deploying directly on the server, it only happens when deploying from Eclipse.
Note that from the quoted thread on the forum, this may be linked to Drools also. i have however not been able to force the deployment of my EJB after Drools (I don't know Jboss enough to do it).
In attachment you will find a minimum case that reproduces the problem. To reproduce, just import the project into Eclipse, then deploy it (with Eclipse) on a JBoss AS 4.2.3 with JbossESB 4.5 installed.
If someone knows how to put this bug in the JbossESB section as well, I would appreciate.