geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shenghao Fang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (GERONIMO-6041) Exception thrown when delete a connector via admin console
Date Fri, 02 Sep 2011 02:50:09 GMT

    [ https://issues.apache.org/jira/browse/GERONIMO-6041?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13095731#comment-13095731
] 

Shenghao Fang commented on GERONIMO-6041:
-----------------------------------------

doStop() is invoked twice and when it is invoked the second time, the state of the connector
has been changed to 'DESTROYED' so that LifecycleException is thrown.

The first time is by kernel.invoke(connectorAbstractName, "doStop") (TomcatManagerImpl:249)
and the second time is by kernel.unloadGBean(connectorAbstractName) (TomcatManagerImpl:252).

kernel.invoke(connectorAbstractName, "doStop") is unnecessary since doFail() will always be
invoked by unloadGBean() and doFail() will always invoke doStop().

> Exception thrown when delete a connector via admin console
> ----------------------------------------------------------
>
>                 Key: GERONIMO-6041
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-6041
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: console
>            Reporter: Shenghao Fang
>            Assignee: Shenghao Fang
>            Priority: Minor
>
> Following exception thrown when delete a connector via admin console.
> 2011-07-01 17:35:18,484 ERROR [ConnectorGBean] fail to stop connector
> org.apache.catalina.LifecycleException: An invalid Lifecycle transition was attempted
([before_stop]) for component [Connector[AJP/1.3-8100]] in state [DESTROYED]
> 	at org.apache.catalina.util.LifecycleBase.invalidTransition(LifecycleBase.java:351)
> 	at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:216)
> 	at org.apache.geronimo.tomcat.connector.ConnectorGBean.doStop(ConnectorGBean.java:209)
> 	at org.apache.geronimo.tomcat.connector.ConnectorGBean.doFail(ConnectorGBean.java:133)
> 	at org.apache.geronimo.gbean.runtime.GBeanInstance.destroyInstance(GBeanInstance.java:1177)
> 	at org.apache.geronimo.gbean.runtime.GBeanInstanceState.fail(GBeanInstanceState.java:213)
> 	at org.apache.geronimo.gbean.runtime.GBeanInstance.die(GBeanInstance.java:411)
> 	at org.apache.geronimo.kernel.basic.BasicKernel.unloadGBean(BasicKernel.java:448)
> 	at org.apache.geronimo.tomcat.TomcatManagerImpl.removeConnector(TomcatManagerImpl.java:252)
> 	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:597)
> 	at org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
> 	at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:131)
> 	at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:844)
> 	at org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
> 	at org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35)
> 	at org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
> 	at org.apache.geronimo.management.geronimo.WebManager$$EnhancerByCGLIB$$5a33021c.removeConnector(<generated>)
> 	at org.apache.geronimo.console.webmanager.ConnectorPortlet.processAction(ConnectorPortlet.java:291)
> 	at org.apache.pluto.driver.services.container.FilterChainImpl.doFilter(FilterChainImpl.java:117)
> 	at org.apache.pluto.driver.services.container.FilterChainImpl.processFilter(FilterChainImpl.java:84)
> 	at org.apache.pluto.driver.services.container.FilterManagerImpl.processFilter(FilterManagerImpl.java:112)
> 	at org.apache.pluto.container.driver.PortletServlet.dispatch(PortletServlet.java:359)
> 	at org.apache.pluto.container.driver.PortletServlet.doGet(PortletServlet.java:261)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:575)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
> 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:306)
> 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> 	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
> 	at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:581)
> 	at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:518)
> 	at org.apache.pluto.driver.container.DefaultPortletInvokerService.invoke(DefaultPortletInvokerService.java:233)
> 	at org.apache.pluto.driver.container.DefaultPortletInvokerService.action(DefaultPortletInvokerService.java:101)
> 	at org.apache.pluto.container.impl.PortletContainerImpl.doAction(PortletContainerImpl.java:251)
> 	at org.apache.pluto.driver.PortalDriverServlet.doGet(PortalDriverServlet.java:135)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:575)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
> 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:306)
> 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> 	at org.apache.geronimo.console.filter.RedirectByHashFilter.doFilter(RedirectByHashFilter.java:116)
> 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:244)
> 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> 	at org.apache.geronimo.console.filter.PortalURLValidateFilter.doFilter(PortalURLValidateFilter.java:72)
> 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:244)
> 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> 	at org.apache.geronimo.console.filter.PlutoURLRebuildFilter.doFilter(PlutoURLRebuildFilter.java:48)
> 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:244)
> 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> 	at org.apache.geronimo.console.filter.XSSXSRFFilter.doFilter(XSSXSRFFilter.java:130)
> 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:244)
> 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> 	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:240)
> 	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
> 	at org.apache.geronimo.tomcat.security.SecurityValve.invoke(SecurityValve.java:87)
> 	at org.apache.geronimo.tomcat.security.jacc.JACCSecurityValve.invoke(JACCSecurityValve.java:54)
> 	at org.apache.geronimo.tomcat.GeronimoStandardContext$SystemMethodValve.invoke(GeronimoStandardContext.java:700)
> 	at org.apache.geronimo.tomcat.valve.GeronimoBeforeAfterValve.invoke(GeronimoBeforeAfterValve.java:48)
> 	at org.apache.geronimo.tomcat.valve.ProtectedTargetValve.invoke(ProtectedTargetValve.java:53)
> 	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
> 	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
> 	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:550)
> 	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
> 	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:380)
> 	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:243)
> 	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:188)
> 	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:166)
> 	at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:288)
> 	at org.apache.geronimo.pool.ThreadPool$1.run(ThreadPool.java:243)
> 	at org.apache.geronimo.pool.ThreadPool$ContextClassLoaderRunnable.run(ThreadPool.java:373)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> 	at java.lang.Thread.run(Thread.java:662)

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message