Re: [osgi-dev] ClassNotFoundException with RMI

2015-02-26 Thread Endo Alejandro
Thank you Lukasz and Raymond. I will think about both solutions From: osgi-dev-boun...@mail.osgi.org [mailto:osgi-dev-boun...@mail.osgi.org] On Behalf Of Raymond Auge Sent: Wednesday, February 25, 2015 12:37 PM To: OSGi Developer Mail List Subject: Re: [osgi-dev] ClassNotFoundException with

Re: [osgi-dev] ClassNotFoundException with RMI

2015-02-25 Thread Raymond Auge
All you need is your RMI bundle to track a ?Marshaller? interface which bundles, interested in having their services RMI'd, register an impl which handles the (un)marshalling. The services might have a property listing the types they handle, or maybe it's a method call to test for support... - Ray

Re: [osgi-dev] ClassNotFoundException with RMI

2015-02-25 Thread Ɓukasz Dywicki
A while ago I had similar issue as yours which was affecting our RMI-based integration. Since I didn't want to turn on JVM security and enable RMI class loader I did following: 1. embedded all RMI contract classes which could be possibly loaded via RMI 2. my RMI client was executed from servlet thr

[osgi-dev] ClassNotFoundException with RMI

2015-02-25 Thread Endo Alejandro
Hello everyone We are having an issue where we have a class that is an entry point to RMI (an rmi proxy). As such, it deserializes remote objects before passing them to the appropriate entity. However, this generic "gate-keeper" is throwing an ClassNotFoundException since it doesn't have a wire