JBoss Community

Re: jBPM 5.x and OSGI integration/porting

created by Miguel Angel Salinas Gancedo in jBPM - View the full discussion

We are developing during a year a platform called konekti that use: OSGI Container Eclipse Virgo, Eclipse Gemini JPA, Spring 3.0.0 and JBmp 5.2 like backend, and GWT + Vaadin Ajax like Frontend. I just integrate JBMP 5.1 with drools 5.3 inside the OSGi container and every is fine, we can pass our services inside the JBmp and execute the process and rules. I have a problem because i would like to integrate also the JBMP and drools bundles to persist the process in mysql database. If I install the jbpm-persistence-jpa-5.1.0.Final.jar with all the dependencies i obtain this error:

 

[2012-03-05 17:05:33.007] system-artifacts         <DE0003E> Install failed for bundle 'org.jbpm.flow-persistence-jpa' version '5.1.0.Final'.
[2012-03-05 17:05:33.009] system-artifacts         <DE0500E> Unable to install application from URI 'file:/opt/virgo-tomcat-server-3.0.0.RELEASE/./repository/usr/jbpm-persistence-jpa-5.1.0.Final.jar'. Cannot satisfy constraints for bundle 'org.jbpm.flow-persistence-jpa' version '5.1.0.Final'. Cannot resolve: org.jbpm.flow-persistence-jpa
Resolver report:
    Uses violation: <Import-Package: org.hibernate.annotations; version="0.0.0"> in bundle <org.jbpm.flow-persistence-jpa_5.1.0.Final[1330963520857]>
         Resolver reported uses conflict for import

. org.eclipse.virgo.kernel.osgi.framework.UnableToSatisfyBundleDependenciesException: Unable to satisfy dependencies of bundle 'org.jbpm.flow-persistence-jpa' at version '5.1.0.Final': Cannot resolve: org.jbpm.flow-persistence-jpa

Resolver report:
    Uses violation: <Import-Package: org.hibernate.annotations; version="0.0.0"> in bundle <org.jbpm.flow-persistence-jpa_5.1.0.Final[1330963520857]>
         Resolver reported uses conflict for import

 

at org.eclipse.virgo.kernel.install.pipeline.stage.resolve.internal.QuasiResolveStage.process(QuasiResolveStage.java:45)

 

I don't have any track to investigate ;(, i don't know what is the problem because the hibernate annotations are deploy correctly. Anybody knows what is the problem? or where to obtain any clue?

 

Best regards.

Reply to this message by going to Community

Start a new discussion in jBPM at Community