Show the stack trace for the cast. The parent class loader of every web context and request should be a URLClassLoader as this is created by the AbstractWebContainer to establish a unique ENC namespace.
xxxxxxxxxxxxxxxxxxxxxxxx Scott Stark Chief Technology Officer JBoss Group, LLC xxxxxxxxxxxxxxxxxxxxxxxx ----- Original Message ----- From: "Jason Dillon" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, March 01, 2002 5:08 PM Subject: [JBoss-dev] Jetty, Jasper JspServlet, URLClassLoader and MBeanClassLoader > Does anyone know why the Jasper JspSevlet thinks that its TCL is always > a URLClassLoader? It takes the value from > Thread.currentThread().getContextClassLoader() and casts it with out a > care... does the same for getClass().getClassLoader()... > > It is assigning the value parentClassLoader, which is of type > URLClassLoader... but then they have checks for if (parentClassLoader > instanceof URLClassLoader). > > This is garbage... > > Anyways, I am seeing consistent ClassCastExceptions for > MBeanClassLoader... which is not a URLClassLoader. My guess is that > MBeanClassLoader could be a URLClassLoader, but that seems a bit artificial. > > Anybody know what is up with this? > > --jason > > > _______________________________________________ > Jboss-development mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-development > _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
