Well, it seems that i found the problem. The JBoss Portal has a module to manage the
"CMS Approval" and "User Registration" as a jBPM processes. That
module initializes and exposes the jBPM as a MBean service inside the portal.
Looking inside the
"jboss-portal.sar/portal-workflow.sar/META-INF/jboss-services.xml" there are not
way to configure those services in order to use the EJBs registered in the enterprise.ear
file of the jPDL Distribution. I think that the JBoss Portal team could improve that
behaviour in order to allow define and manage processes through the standard jbpm-console,
and also share the BPM System with other applications.
Well, i'm going to do the following tasks and when I finish I will publish the results
here.
Tasks:
|
| Create a JEE maven2 project (rudder-jbpm-enterprise.ear)
| - Add jbpm-console.war as a dependency.
| - Add the enterprise.jar source code. We need to do that because the enterprise.jar
does not exposes the JbpmConfiguration instance, needed by the Portal services.
|
| Create a JAR maven2 project (to be deployed into the
"server/default/jboss-portal.sar/lib directory")
| - Implements a new version of the "portal-workflow.sar" services. Those new
versions will serve as a gateway between the Portal and the "jBPM MBean" instead
of initialize the jBPM as an standalone application.
|
| Manual configurations:
| - sever/default/conf/login-config.xml: modify the application-policy for the
"jbpm" in order to use the Portal Users tables.
| | - jboss-portal.sar/portal-workflow.sar/META-INF/jboss-services.xml: modify the
services implementation classes reference.
|
| I hope this solve the problem.
|
| Regards,
| Javier
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4176572#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...