glassfish
  1. glassfish
  2. GLASSFISH-19961

ServletContext#addFilter(String, Filter) causes Exception to be logged when web app is undeployed

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.0_b81
    • Component/s: web_container
    • Labels:
      None

      Description

      [#|2013-02-27T17:48:48.620+0100|SEVERE|glassfish 4.0|javax.enterprise.web|_ThreadID=60;_ThreadName=admin-listener(1);_TimeMillis=1361983728620;_LevelValue=1000;|Exception during invocation of InjectionManager.destroyManagedObject on org.glassfish.tyrus.servlet.TyrusServletFilter@1fe7f184 of web module StandardEngine[glassfish-web].StandardHost[server].StandardContext[/sample-cdi]
      java.lang.IllegalStateException: Unknown JCDI-enabled managed bean org.glassfish.tyrus.servlet.TyrusServletFilter@1fe7f184 of class class org.glassfish.tyrus.servlet.TyrusServletFilter
      at com.sun.enterprise.container.common.impl.managedbean.ManagedBeanManagerImpl.destroyManagedBean(ManagedBeanManagerImpl.java:628)
      at com.sun.enterprise.container.common.impl.util.InjectionManagerImpl.destroyManagedObject(InjectionManagerImpl.java:439)
      at com.sun.enterprise.container.common.impl.util.InjectionManagerImpl.destroyManagedObject(InjectionManagerImpl.java:414)
      at com.sun.web.server.WebContainerListener.preDestroy(WebContainerListener.java:186)
      at com.sun.web.server.WebContainerListener.containerEvent(WebContainerListener.java:151)
      at org.apache.catalina.core.ContainerBase.fireContainerEvent(ContainerBase.java:1579)
      at org.apache.catalina.core.ApplicationFilterConfig.release(ApplicationFilterConfig.java:334)
      at org.apache.catalina.core.StandardContext.filterStop(StandardContext.java:5319)
      at org.apache.catalina.core.StandardContext.stop(StandardContext.java:6082)
      at com.sun.enterprise.web.WebModule.stop(WebModule.java:725)
      at org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:1172)
      at com.sun.enterprise.web.WebContainer.unloadWebModule(WebContainer.java:2438)
      at com.sun.enterprise.web.WebContainer.unloadWebModule(WebContainer.java:2393)
      at com.sun.enterprise.web.WebApplication.stop(WebApplication.java:191)
      at org.glassfish.internal.data.EngineRef.stop(EngineRef.java:161)
      at org.glassfish.internal.data.ModuleInfo.stop(ModuleInfo.java:324)
      at org.glassfish.internal.data.ApplicationInfo.stop(ApplicationInfo.java:380)
      at com.sun.enterprise.v3.server.ApplicationLifecycle.unload(ApplicationLifecycle.java:1056)
      at com.sun.enterprise.v3.server.ApplicationLifecycle.disable(ApplicationLifecycle.java:2121)
      at com.sun.enterprise.v3.server.ApplicationLifecycle.disable(ApplicationLifecycle.java:113)
      at org.glassfish.deployment.admin.DisableCommand.execute(DisableCommand.java:375)
      at com.sun.enterprise.v3.admin.CommandRunnerImpl$2.execute(CommandRunnerImpl.java:538)
      at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:547)
      at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1424)
      at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1500(CommandRunnerImpl.java:108)
      at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1759)
      at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1675)
      at org.glassfish.deployment.admin.UndeployCommand.execute(UndeployCommand.java:367)
      at com.sun.enterprise.v3.admin.CommandRunnerImpl$2$1.run(CommandRunnerImpl.java:528)
      at com.sun.enterprise.v3.admin.CommandRunnerImpl$2$1.run(CommandRunnerImpl.java:524)
      at java.security.AccessController.doPrivileged(Native Method)
      at javax.security.auth.Subject.doAs(Subject.java:356)
      at com.sun.enterprise.v3.admin.CommandRunnerImpl$2.execute(CommandRunnerImpl.java:523)
      at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:547)
      at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1424)
      at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1500(CommandRunnerImpl.java:108)
      at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1759)
      at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1675)
      at org.glassfish.admin.rest.utils.ResourceUtil.runCommand(ResourceUtil.java:233)
      at org.glassfish.admin.rest.utils.ResourceUtil.runCommand(ResourceUtil.java:255)
      at org.glassfish.admin.rest.resources.TemplateRestResource.runCommand(TemplateRestResource.java:560)
      at org.glassfish.admin.rest.resources.TemplateRestResource.doDelete(TemplateRestResource.java:301)
      at org.glassfish.admin.rest.resources.TemplateRestResource.delete(TemplateRestResource.java:186)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:601)
      at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)
      at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:125)
      at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:152)
      at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:93)
      at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:350)
      at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:345)
      at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)
      at org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:207)
      at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)
      at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:183)
      at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:852)
      at org.glassfish.jersey.grizzly2.httpserver.GrizzlyHttpContainer.service(GrizzlyHttpContainer.java:321)
      at org.glassfish.admin.rest.adapter.RestAdapter$2.service(RestAdapter.java:318)
      at org.glassfish.admin.rest.adapter.RestAdapter.service(RestAdapter.java:181)
      at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:246)
      at org.glassfish.grizzly.http.server.HttpHandler.doHandle(HttpHandler.java:164)
      at org.glassfish.grizzly.http.server.HttpServerFilter.handleRead(HttpServerFilter.java:175)
      at org.glassfish.grizzly.filterchain.ExecutorResolver$9.execute(ExecutorResolver.java:119)
      at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter(DefaultFilterChain.java:273)
      at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart(DefaultFilterChain.java:200)
      at org.glassfish.grizzly.filterchain.DefaultFilterChain.execute(DefaultFilterChain.java:134)
      at org.glassfish.grizzly.filterchain.DefaultFilterChain.process(DefaultFilterChain.java:112)
      at org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:77)
      at org.glassfish.grizzly.nio.transport.TCPNIOTransport.fireIOEvent(TCPNIOTransport.java:820)
      at org.glassfish.grizzly.strategies.AbstractIOStrategy.fireIOEvent(AbstractIOStrategy.java:113)
      at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.run0(WorkerThreadIOStrategy.java:115)
      at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.access$100(WorkerThreadIOStrategy.java:55)
      at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy$WorkerThreadRunnable.run(WorkerThreadIOStrategy.java:135)
      at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:564)
      at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:544)
      at java.lang.Thread.run(Thread.java:722)

      #]

        Issue Links

          Activity

          Hide
          Shing Wai Chan added a comment -

          Sending web-glue/src/main/java/com/sun/web/server/WebContainerListener.java
          Transmitting file data .
          Committed revision 60633.

          Show
          Shing Wai Chan added a comment - Sending web-glue/src/main/java/com/sun/web/server/WebContainerListener.java Transmitting file data . Committed revision 60633.

            People

            • Assignee:
              Shing Wai Chan
              Reporter:
              jjsnyder83
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: