Jason,
Can you please post some more details on your exact scenario, viz:
+ is this a hot redeploy of Jetty, especially is it a hot redeploy
when some webapps were already deployed?
+ have you modified your jetty jboss-service.xml file to include a
webapp (long shot, but I have to ask)?
+ what code base are you running off?
+ what kind of log trace do you see?
Jetty does not do anything with JSP unless we have got webapp contexts
already registered when we receive a start. This could occur, for
example, if you deployed Jetty, deployed some webapps, did a stop and
restart on the Jetty service using JMX.
Jan
Scott M Stark wrote:
> This is the start of the JettyService which is a subclass of
> AbstractWebContainer. This is before the web app URLClassLoader
> has been created. This does not occur until the
> performDeploy(String path, String warUrl, WebDescriptorParser parser)
> call. Apparently Jetty initializes the JSP servlet before this call
> and its integration API expects a URLClassLoader.
>
> I don't know what web context is being started here as there really
> is not one. Its probably some default setup that is irrelevant but
> the Jetty guys will have to determine if that is the case. If need be
> an empty URLClassLoader can be created for the startService
> context.
>
> xxxxxxxxxxxxxxxxxxxxxxxx
> Scott Stark
> Chief Technology Officer
> JBoss Group, LLC
> xxxxxxxxxxxxxxxxxxxxxxxx
> ----- Original Message -----
> From: "Jason Dillon" <[EMAIL PROTECTED]>
> To: "Scott M Stark" <[EMAIL PROTECTED]>
> Cc: <[EMAIL PROTECTED]>
> Sent: Friday, March 01, 2002 6:24 PM
> Subject: Re: [JBoss-dev] Jetty, Jasper JspServlet, URLClassLoader and
> MBeanClassLoader
>
>
>
>>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.jav
> a: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(DirectoryDepl
> oymentScanner.java:176)
>
>> at
>>
>>
> org.jboss.deployment.scanner.DirectoryDeploymentScanner.scan(DirectoryDeploy
> mentScanner.java:138)
>
>> at
>>
>>
> org.jboss.deployment.scanner.DirectoryDeploymentScanner.startService(Directo
> ryDeploymentScanner.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.jav
> a: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
>>
>>
>
>
>
> _______________________________________________
> 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