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]

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

Reply via email to