[jboss-user] [jBPM] - JBPM namedquery not found

Anderson Junqueira do-not-reply at jboss.com
Tue Jun 19 07:15:46 EDT 2012


Anderson Junqueira [https://community.jboss.org/people/ajbr] created the discussion

"JBPM namedquery not found"

To view the discussion, visit: https://community.jboss.org/message/742657#742657

--------------------------------------------------------------
Guys,

Hi there, I´m having a problem related to JBPM configuration:

Our architecture defines that corporate mapped entities should be deployed in a single ejb package file as a library in our server (jboss 5 eap) because it is shared across several applications.
This ejb pack have all the hibernate/JPA configuration and some EJBs that provide the query and data manipulation for my entities.

Now, our application is deployed in some modules:

an EAR
     an EJB client interfaces jar.
     an EJB implementation jar.
     a WEBAPP war file.

Well, my problem is:
All my business logic are concentrated on my EJB jar and it does not have hibernate configured for it uses that corporate entities pack, and it has to manipulate some jbpm workflows.
I am having NamedQueries not found example.

Searching over the net, I found the queries orm files, but, the hibernate is configured on another jar.

I will have to configure and initialize the JBPM inside my EJB jar? or there is any other solution I could use?

My config:
Database: ORACLE 10g
App Server: JBOSS 5 EAP 5.1 
JBPM: 3.2.3 (don't blame me, it's the client requirement)
WebApp: JSF 2, PRIMEFACES (I know, I know, jboss 5 is for JSF1, but they upgraded the libs and it seems to work, we are waiting until jboss eap 6 come out)
EJB: v3.0
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/742657#742657]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120619/e35b78b9/attachment.html 


More information about the jboss-user mailing list