[ https://issues.apache.org/jira/browse/MTOMCAT-146?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13813364#comment-13813364 ]
Konstantin Kolinko commented on MTOMCAT-146: -------------------------------------------- Does it really fail so that it needs <skipErrorOnShutdown>? All I see is an INFO message printed by StandardPipeline.unregisterValve() method of Tomcat 6. It may still be fixed at Tomcat side. Is this is reproducible with the latest Tomcat 6, 6.0.37 ? (Just from code inspection, I do not know what is going here, as I do not see any asymmetry between start and stop code of StandardPipeline of the current Tomcat 6). > Multiple executions of run-war-only has Valve problems at shutdown > ------------------------------------------------------------------ > > Key: MTOMCAT-146 > URL: https://issues.apache.org/jira/browse/MTOMCAT-146 > Project: Apache Tomcat Maven Plugin > Issue Type: Bug > Components: tomcat6 > Affects Versions: 2.0-beta-1 > Reporter: Benson Margulies > Assignee: Olivier Lamy (*$^¨%`£) > > {noformat} > INFO: Stopping Coyote HTTP/1.1 on http-51155 > Apr 18, 2012 8:19:17 AM org.apache.catalina.core.StandardPipeline > unregisterValve > INFO: Can't unregister valve > org.apache.catalina.core.StandardEngineValve[localEngine] > javax.management.InstanceNotFoundException: > localEngine:type=Valve,name=StandardEngineValve > at > com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getMBean(DefaultMBeanServerInterceptor.java:1094) > at > com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.exclusiveUnregisterMBean(DefaultMBeanServerInterceptor.java:415) > at > com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.unregisterMBean(DefaultMBeanServerInterceptor.java:403) > at > com.sun.jmx.mbeanserver.JmxMBeanServer.unregisterMBean(JmxMBeanServer.java:506) > at > org.apache.catalina.core.StandardPipeline.unregisterValve(StandardPipeline.java:322) > at > org.apache.catalina.core.StandardPipeline.stop(StandardPipeline.java:275) > at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1103) > at org.apache.catalina.core.StandardEngine.stop(StandardEngine.java:468) > at org.apache.catalina.startup.Embedded.stop(Embedded.java:867) > 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.tomcat.maven.common.run.EmbeddedRegistry.shutdownAll(EmbeddedRegistry.java:110) > at > org.apache.tomcat.maven.plugin.tomcat6.ShutdownMojo.execute(ShutdownMojo.java:63) > {noformat} > {code} > <plugin> > <groupId>org.apache.tomcat.maven</groupId> > <artifactId>tomcat6-maven-plugin</artifactId> > <version>2.0-beta-1</version> > <executions> > <execution> > <id>tomcat-run</id> > <goals> > <goal>run-war-only</goal> > </goals> > <phase>pre-integration-test</phase> > <configuration> > <path>/</path> > <port>${tomcat.port}</port> > <uriEncoding>UTF-8</uriEncoding> > > <warDirectory>${project.build.directory}/webapps/solr/</warDirectory> > <fork>true</fork> > <ignorePackaging>true</ignorePackaging> > <contextFile>src/test/context.xml</contextFile> > <systemProperties> > > <solr.solr.home>${project.build.directory}/solr_home</solr.solr.home> > > <bt.test.plugin.jar>${project.build.directory}/bt-rni-solr3x-plugins.jar</bt.test.plugin.jar> > <bt.root>../../../../..</bt.root> > </systemProperties> > </configuration> > </execution> > <execution> > <id>tomcat2-run</id> > <goals> > <goal>run-war-only</goal> > </goals> > <phase>pre-integration-test</phase> > <configuration> > <path>/</path> > <port>${tomcat2.port}</port> > <uriEncoding>UTF-8</uriEncoding> > > <warDirectory>${project.build.directory}/webapps/solr2/</warDirectory> > > <configurationDir>${project.build.directory}/tomcat2</configurationDir> > <fork>true</fork> > <ignorePackaging>true</ignorePackaging> > <contextFile>src/test/context.xml</contextFile> > <systemProperties> > > <solr.solr.home>${project.build.directory}/solr2</solr.solr.home> > > <bt.test.plugin.jar>${project.build.directory}/bt-rni-solr3x-plugins.jar</bt.test.plugin.jar> > <bt.root>../../../../..</bt.root> > </systemProperties> > </configuration> > </execution> > <execution> > <id>tomcat-shutdown</id> > <goals> > <!-- shuts down all --> > <goal>shutdown</goal> > </goals> > <phase>post-integration-test</phase> > </execution> > </executions> > </plugin> > {code} -- This message was sent by Atlassian JIRA (v6.1#6144) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org