Disable RMI class download
843793Jun 17 2009 — edited Nov 17 2009Hi I have problem with class download.
In my deployment I have all requried classes for RMI calls embeded in jar and loaded into VM.
Everything is fine - it works well, my application is able to create RMI objects, and dispatch calls. In class loader debug I see that only case when URLClassLoader is used is when it tries to locate classes, and its fine, since URL in code source is correct - pointing to bean. However, when security manger is on everything blows up. RMI enforces class download (classes are already present in VM) whcih causes Linkage exceptions, URL class loader is called to download classes - even though its a local call.
Any way to convince RMI not to download classes?