[jboss-dev-forums] [jBPM Development] - persistence session information

gigazhang do-not-reply at jboss.com
Thu Jun 28 03:51:53 EDT 2012


gigazhang [https://community.jboss.org/people/gigazhang] created the discussion

"persistence session information"

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

--------------------------------------------------------------
Jbpm5.3.0.Final

<drools:ksession id="ksession" type="stateful" kbase="kbase" node="node">
        <drools:configuration>
            <drools:jpa-persistence>
                <drools:transaction-manager ref="transactionManager" />
                <drools:entity-manager-factory ref="entityManagerFactory" />
            </drools:jpa-persistence>
        </drools:configuration>
    </drools:ksession>

+AsyncMinaHTWorkItemHandler taskHandler = new AsyncMinaHTWorkItemHandler(ksession);+
 +taskClient.disconnect();+
+ksession.getWorkItemManager().registerWorkItemHandler("Human Task", taskHandler);+
+new JPAWorkingMemoryDbLogger(ksession);+


The session information and log  information can't be saved into db;

The task information can save into db;

how to resovle this?
--------------------------------------------------------------

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

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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20120628/15ed66eb/attachment.html 


More information about the jboss-dev-forums mailing list