[jboss-user] [jBPM] - Process Variables made by Java cannot be deserialized

Maciej Swiderski do-not-reply at jboss.com
Thu Apr 22 02:12:15 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/538893#538893

--------------------------------------------------------------
Hi,

I looked into this issue a bit and to it looks like problem is when variable is deserialized when invoked from different class loader (for instance BPM console). Due to the nature of the ObjectInputStream classes are looked up using local class loader and there is no checks towards DeploymentClassLoader (resources stored in db).
It works fine for user code (such as activities and event listeners) because these type of items are DeploymentClassLoader aware.

I made small checks on it with sample fixes and it seems to work after making that deserialization aware of resouces stored in db. Need to work on it  a bit more to verify if everything works properly.

Do you know if there is any jira issue for that?!

Cheers,
Maciej

--------------------------------------------------------------

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

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/20100422/bcd6455f/attachment.html 


More information about the jboss-user mailing list