[jboss-user] [jBPM] - Process Variables made by Java cannot be deserialized
Maciej Swiderski
do-not-reply at jboss.com
Mon Apr 26 14:08:52 EDT 2010
Maciej Swiderski [http://community.jboss.org/people/swiderski.maciej] replied to the discussion
"Process Variables made by Java cannot be deserialized"
To view the discussion, visit: http://community.jboss.org/message/539592#539592
--------------------------------------------------------------
Hi,
Huisheng is right, current patch does not solve the issue completely. Thanks to his test case I was able to reproduce it. Somehow context class loader is not enough.
I tried to reuse DeploymentClassLoader capabilities to solve the issue and it seems to work fine. In fact that was my first way of fixing it but I changed it to using only context class loader according to jira issue comments.
So I have a nice patch to upload but I have issues regarding source code structure:
- test case with process definition is placed in jbpm-test-db module
- since test case must deploy process definition with a class that is not available on class path it needs to be somewhere else as compiled resource I have put it at the moment into new folder (ext-resources) inside module jbpm-test-db
Please let me know if that is the right way to do it.
Cheers,
Maciej
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/539592#539592]
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/20100426/0c8d04c8/attachment.html
More information about the jboss-user
mailing list