users@glassfish.java.net

Grizzly 1.0.30 jar-issue

From: <glassfish_at_javadesktop.org>
Date: Thu, 20 Aug 2009 04:12:42 PDT

Hi All,

with reference to the thread:
http://forums.java.net/jive/thread.jspa?messageID=354643

Im getting the same issue when i try to perform load test using glassfish. To workaround the solution as per the above thread.

I have updated the domain.xml with the attribute classpath-prefix by referring the jar file
grizzly-framework-http-1.0.30-SNAPSHOT.jar

But once i restart my Glassfish server, i could not able to see the login screen. i.e getting a blank screen. When i checked the server.log i get the below error:
[#|2009-08-20T15:08:00.843+0530|WARNING|sun-appserver9.1|org.apache.coyote.tomcat5.MapperListener|_ThreadID=10;_ThreadName=main;_RequestID=f31d314b-dbf6-48fa-91ac-ef770a146794;|Error registering Context com.sun.appserv:j2eeType=WebModule,name=//__asadmin/web1,J2EEApplication=null,J2EEServer=server
java.lang.NoSuchMethodError: org.apache.tomcat.util.http.mapper.Mapper.addContext(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Object;[Ljava/lang/String;Ljavax/naming/Context;)V
        at org.apache.coyote.tomcat5.MapperListener.registerContext(MapperListener.java:587)
        at org.apache.coyote.tomcat5.MapperListener.handleNotification(MapperListener.java:357)
        at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor$ListenerWrapper.handleNotification(DefaultMBeanServerInterceptor.java:1652)
        at javax.management.NotificationBroadcasterSupport.handleNotification(NotificationBroadcasterSupport.java:221)
        at javax.management.NotificationBroadcasterSupport.sendNotification(NotificationBroadcasterSupport.java:184)
        at javax.management.MBeanServerDelegate.sendNotification(MBeanServerDelegate.java:189)
        at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.sendNotification(DefaultMBeanServerInterceptor.java:1450)
        at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.internal_addObject(DefaultMBeanServerInterceptor.java:1427)
        at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:936)
        at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:337)
        at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:497)
        at com.sun.enterprise.interceptor.DynamicInterceptor.registerMBean(DynamicInterceptor.java:263)
        at com.sun.org.apache.commons.modeler.Registry.registerComponent(Registry.java:871)
        at org.apache.catalina.core.StandardContext.registerJMX(StandardContext.java:6256)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:5219)
        at com.sun.enterprise.web.WebModule.start(WebModule.java:326)
        at com.sun.enterprise.web.LifecycleStarter.doRun(LifecycleStarter.java:58)
        at com.sun.appserv.management.util.misc.RunnableBase.runSync(RunnableBase.java:304)
        at com.sun.appserv.management.util.misc.RunnableBase._submit(RunnableBase.java:176)
        at com.sun.appserv.management.util.misc.RunnableBase.submit(RunnableBase.java:192)
        at com.sun.enterprise.web.VirtualServer.startChildren(VirtualServer.java:1672)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1231)
        at org.apache.catalina.core.StandardHost.start(StandardHost.java:955)
        at com.sun.enterprise.web.LifecycleStarter.doRun(LifecycleStarter.java:58)
        at com.sun.appserv.management.util.misc.RunnableBase.runSync(RunnableBase.java:304)
        at com.sun.appserv.management.util.misc.RunnableBase._submit(RunnableBase.java:176)
        at com.sun.appserv.management.util.misc.RunnableBase.submit(RunnableBase.java:192)
        at com.sun.enterprise.web.EmbeddedWebContainer$WebEngine.startChildren(EmbeddedWebContainer.java:453)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1231)
        at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:533)
        at org.apache.catalina.startup.Embedded.start(Embedded.java:936)
        at com.sun.enterprise.web.WebContainer.start(WebContainer.java:873)
        at com.sun.enterprise.web.PEWebContainer.startInstance(PEWebContainer.java:790)
        at com.sun.enterprise.web.PEWebContainerLifecycle.onStartup(PEWebContainerLifecycle.java:84)
        at com.sun.enterprise.server.ApplicationServer.onStartup(ApplicationServer.java:442)
        at com.sun.enterprise.server.ondemand.OnDemandServer.onStartup(OnDemandServer.java:120)
        at com.sun.enterprise.server.PEMain.run(PEMain.java:411)
        at com.sun.enterprise.server.PEMain.main(PEMain.java:338)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at com.sun.enterprise.server.PELaunch.main(PELaunch.java:412)


Please let me know, how to proceed. Im stuck at this point.
I tried other way around, i.e added the classpath prefix from admin console. But after i restart, im getting the same error and could not view the glassfish console.

Awaiting your suggestions..

Thanks&Regards,
Ganesh.G
[Message sent by forum member 'ganpx001' (ganpx001)]

http://forums.java.net/jive/thread.jspa?messageID=361342