tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Olivier Lamy (*$^¨%`£) (JIRA) <j...@apache.org>
Subject [jira] [Closed] (MTOMCAT-146) Multiple executions of run-war-only has Valve problems at shutdown
Date Mon, 04 Nov 2013 01:53:17 GMT

     [ https://issues.apache.org/jira/browse/MTOMCAT-146?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Olivier Lamy (*$^¨%`£) closed MTOMCAT-146.
------------------------------------------

    Resolution: Won't Fix

the first shutdown already shutdown some jmx. Nothing we can really fix here.
You must configure:
<skipErrorOnShutdown>true</skipErrorOnShutdown>

> 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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message