There are different solutions to solve this problem: * put the needed classes in the container classloader (in lib/optional for example), * serialize the object somehow (using xml ?) * use the new ability to reference Shared Libraries from Service Units (SM-918) by adding a <library>xx</library> tag to the <classpath/> element in your xbean.xml file.
On 4/12/07, Ritesh Samanpure <[EMAIL PROTECTED]> wrote:
Hello Ppl, Sorry to bump the post back to the top but we are stuck with the issue. Would really appreciate it if someone has faced this very same issue and resolved it. Thanks -- View this message in context: http://www.nabble.com/ClassCastException-while-using-same-custom-jar-in-2-service-units-tf3506609s12049.html#a9949542 Sent from the ServiceMix - User mailing list archive at Nabble.com.
-- Cheers, Guillaume Nodet ------------------------ LogicBlaze Principal Engineer, IONA Blog: http://gnodet.blogspot.com/
