java.lang.ClassCastException: org.jboss.system.MBeanClassLoader
at org.apache.jasper.servlet.JspServlet.init(JspServlet.java:269)
at
org.mortbay.jetty.servlet.ServletHolder.start(ServletHolder.java:203)
at
org.mortbay.jetty.servlet.ServletHandler.start(ServletHandler.java:380)
at
org.mortbay.jetty.servlet.FilterHandler.start(FilterHandler.java:160)
at org.mortbay.http.HttpContext.startHandlers(HttpContext.java:1449)
at org.mortbay.http.HttpContext.start(HttpContext.java:1420)
at
org.mortbay.jetty.servlet.WebApplicationContext.start(WebApplicationContext.java:365)
at org.mortbay.http.HttpServer.start(HttpServer.java:186)
at org.jboss.jetty.JettyService.startService(JettyService.java:236)
at
org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:162)
at java.lang.reflect.Method.invoke(Native Method)
at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:779)
at $Proxy0.start(Unknown Source)
at
org.jboss.system.ServiceController.start(ServiceController.java:343)
at java.lang.reflect.Method.invoke(Native Method)
at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:78)
at $Proxy3.start(Unknown Source)
at org.jboss.deployment.SARDeployer.start(SARDeployer.java:270)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:470)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:347)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:327)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:309)
at java.lang.reflect.Method.invoke(Native Method)
at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:78)
at $Proxy2.deploy(Unknown Source)
at
org.jboss.deployment.scanner.DirectoryDeploymentScanner.deploy(DirectoryDeploymentScanner.java:176)
at
org.jboss.deployment.scanner.DirectoryDeploymentScanner.scan(DirectoryDeploymentScanner.java:138)
at
org.jboss.deployment.scanner.DirectoryDeploymentScanner.startService(DirectoryDeploymentScanner.java:607)
at
org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:162)
at java.lang.reflect.Method.invoke(Native Method)
at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:779)
at $Proxy0.start(Unknown Source)
at
org.jboss.system.ServiceController.start(ServiceController.java:343)
at
org.jboss.system.ServiceController.start(ServiceController.java:360)
at java.lang.reflect.Method.invoke(Native Method)
at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:331)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:211)
at org.jboss.Main.boot(Main.java:127)
at org.jboss.Main$1.run(Main.java:335)
at java.lang.Thread.run(Thread.java:484)
--jason
Scott M Stark wrote:
>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
>
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development