You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by "Benson Margulies (Created) (JIRA)" <ji...@apache.org> on 2012/04/18 14:23:43 UTC

[jira] [Created] (MTOMCAT-146) Multiple executions of run-war-only has Valve problems at shutdown

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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org