[jboss-user] [jBPM] - Re: Classcastexception when trying to use process migration

Amin Mohammed-Coleman do-not-reply at jboss.com
Sat Nov 5 09:52:09 EDT 2011


Amin Mohammed-Coleman [http://community.jboss.org/people/amin-mc] created the discussion

"Re: Classcastexception when trying to use process migration"

To view the discussion, visit: http://community.jboss.org/message/635194#635194

--------------------------------------------------------------
I've narrowed this down.  If you create a StatefulKnowledgeSession using JPAKnowledgeService.newStatefulKnowledgeSession(..) then it creates a COmmandBasedStatefulKnowledgeSession which doesn't implement InternalKnowledgeRuntime.  I'm going to look at creating a statefulKnowledgession using the knowledgebase.  Is it going to be a problem if i upgrade a process instance using the non command based statefulknowledgesession and then later access that process instance with a session from JPAKnowledgeService?
--------------------------------------------------------------

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

Start a new discussion in jBPM at Community
[http://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/20111105/5ec45b74/attachment-0001.html 


More information about the jboss-user mailing list