[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: Recursive JDKCheckerFactory usage?

adrian@jboss.org do-not-reply at jboss.com
Fri Jul 25 07:39:01 EDT 2008


JIRA: https://jira.jboss.org/jira/browse/JBCL-21

I've got it as far as this:


  | 2230 ERROR [ClientClassPathUnitTestCase] ClientLauncher.exception: 
  | java.lang.ClassCastException: class org.jboss.test.classloading.vfs.client.support.launcher.ClientContainer{cl=BaseClassLoader at 18bd7f1{Clien
  | tLauncherClassLoader:0.0.0$MODULE} codeSource=(vfsfile:/home/ejort/jboss-cl/classloading-vfs/target/tests-classes/ <no signer certificates>)
  | } is not an instanceof class org.jboss.test.classloading.vfs.client.support.launcher.ClientContainer{cl=sun.misc.Launcher$AppClassLoader at 1a5
  | ab41 codeSource=(file:/home/ejort/jboss-cl/classloading-vfs/target/tests-classes/ <no signer certificates>)}
  | 	at org.jboss.test.classloading.vfs.client.support.launcher.ClientLauncher.getBean(ClientLauncher.java:147)
  | 	at org.jboss.test.classloading.vfs.client.support.launcher.ClientLauncher.launch(ClientLauncher.java:407)
  | 

So it is failing now because you're instantiating the ClientContainer using the
BaseClassLoader but the ClientLauncher bootstrap is referencing the 
one from the classpath.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4166637#4166637

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4166637



More information about the jboss-dev-forums mailing list