Here is the error that I have using OpenJPA -->

Question : I try to configure jbpm + HumanTaskManager using OpenJPA instead of Hibernate but gets this error 

Caused by: <openjpa-2.2.1-r422266:1396819 fatal user error> org.apache.openjpa.persistence.ArgumentException: "org.jbpm.process.audit.VariableInstanceLog.id" declares generator name "variableInstanceLogIdSeq", but uses the AUTO generation type.  The only valid generator names under AUTO are "uuid-hex" and "uuid-string".


On Fri, May 31, 2013 at 6:45 PM, Mauricio Salatino <salaboy@gmail.com> wrote:
Hi Charles,
Let us know what problems are you having with the human tasks modules we can help you.


On Fri, May 31, 2013 at 5:37 PM, Charles Moulliard <ch007m@gmail.com> wrote:
Hi Marco,

Thanks for the response. What you tell me corresponds to what I have packaged and deployed on Karaf 

    <bundle>mvn:org.jbpm/jbpm-audit/${drools.version}</bundle>
    <bundle>mvn:org.jbpm/jbpm-shared-services/${drools.version}</bundle>
    <bundle>mvn:org.jbpm/jbpm-runtime-manager/${drools.version}</bundle>
    <bundle>mvn:org.jbpm/jbpm-human-task-core/${drools.version}</bundle>
    <bundle>mvn:org.jbpm/jbpm-human-task-workitems/${drools.version}</bundle>
    <bundle>mvn:org.jbpm/jbpm-persistence-jpa/${drools.version}</bundle>

I still have some issues with Hibernate or OpenJPA when they reads the model needed by human-task. Will try to have a look next week on that.

Regards,

Charles


On Thu, May 30, 2013 at 2:25 AM, Marco Rietveld <mrietvel@redhat.com> wrote:
Hi Charles,

Re: jars:
  • I would look at also adding jbpm-persistence-jpa. Most users like having persistence as well.
  • There are also the human-task jars, but I'm not sure which ones are being used now: @Mauricio?
  • jbpm-audit (in 5.x: jbpm-bam) is important for logging. 
  • jbpm-runtime (started in 6.x) is an important jar if users end up building their own "execution servers", but I think most users will use the execution/console wars available.

With regards to the bpmn2 files, you've covered most of the important things:
1. evaluation: basic bpmn2 + human task
2. ruleTask: rule integration

Those examples are representative: there are a couple of other minor edge cases like timers, multi-instance, and event signals/passing, but if the above work (evaluation, ruleTask), then the rest should definitely work as well.


Thanks,
Marco

28-05-13 21:01, Charles Moulliard:
Hi,

I have been able to run successfully some BPMN2 examples (of the maven project jbpm-examples) --> BPMN2-EvaluationProcess.bpmn2, BPMN2-RuleTask.bpmn2, BPMN2-RuleTask.drl on Apache Karaf (OSGI runtime). 

- Are those examples representative about what we can do with jbpm ?

- Until now, I have deployed the following jars/bundles : jbpm-flow-builder, jbpm-flow & jbpm-bpmn2 on Karaf. Do I have to deploy something else ?

Regards,

--
Charles Moulliard
Apache Committer / Sr. Enterprise Architect (RedHat)
Twitter : @cmoulliard | Blog : http://cmoulliard.blogspot.com



_______________________________________________
jbpm-dev mailing list
jbpm-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jbpm-dev


-- 
jBPM/Drools developer
Utrecht, the Netherlands



--
Charles Moulliard
Apache Committer / Sr. Enterprise Architect (RedHat)
Twitter : @cmoulliard | Blog : http://cmoulliard.blogspot.com




--
 - MyJourney @ http://salaboy.com
 - Co-Founder @ http://www.jugargentina.org
 - Co-Founder @ http://www.jbug.com.ar
 
 - Salatino "Salaboy" Mauricio -



--
Charles Moulliard
Apache Committer / Sr. Enterprise Architect (RedHat)
Twitter : @cmoulliard | Blog : http://cmoulliard.blogspot.com