|Debugging boot delegation [message #902449]
||Fri, 17 August 2012 11:57
| Daniel McGreal
Registered: April 2012
In order to muck about with the ClassLoader to do some stuff with OSGI and RMI we've implemented our own RMIClassLoaderSpi, copied the resultant jar to lib/, added its package to org.osgi.framework.bootdelegation in java6-server.profile and are starting virgo with a -D setting java.rmi.server.RMIClassLoaderSpi so that it uses our own version.
This works great - except in one of my machines where it doesn't and the class is not available to the system at runtime (e.g. Class.forName()).
My question is, are there any tips available regarding how I can debug this? For example, is there a way of finding out what packages are actually being made available by the bootdelegation directive?
Thanks in advance,
Powered by FUDForum
. Page generated in 0.02364 seconds