You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomee.apache.org by David Blevins <da...@gmail.com> on 2013/08/14 06:23:39 UTC

Warnings on shutdown in Arquillian Remote

Looks like in the recent code we're getting a bunch of issues in the Arquillian Remote adapter on undeploy:


    WARNING: Failed to unregister MBean with name [Catalina:type=NamingResources,context=/tomee,host=localhost] during component destruction
    WARNING: Failed to unregister MBean with name [Catalina:type=Manager,context=/tomee,host=localhost] during component destruction
    WARNING: Failed to unregister MBean with name [Catalina:type=Valve,context=/tomee,host=localhost,name=OpenEJBValve] during component destruction
    WARNING: Failed to unregister MBean with name [Catalina:type=Valve,context=/tomee,host=localhost,name=StandardContextValve] during component destruction
    
All of them have a JMX InstanceNotFoundException like the following:

    javax.management.InstanceNotFoundException: Catalina:type=NamingResources,context=/tomee,host=localhost
    	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:507)
    	at org.apache.catalina.util.LifecycleMBeanBase.unregister(LifecycleMBeanBase.java:194)
    	at org.apache.catalina.util.LifecycleMBeanBase.destroyInternal(LifecycleMBeanBase.java:73)
    	at org.apache.catalina.deploy.NamingResources.destroyInternal(NamingResources.java:1091)
    	at org.apache.catalina.util.LifecycleBase.destroy(LifecycleBase.java:305)
    	at org.apache.catalina.core.StandardContext.destroyInternal(StandardContext.java:5731)
    	at org.apache.catalina.util.LifecycleBase.destroy(LifecycleBase.java:305)
    	at org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:1041)
    	at org.apache.catalina.core.ContainerBase.destroyInternal(ContainerBase.java:1234)
    	at org.apache.catalina.util.LifecycleBase.destroy(LifecycleBase.java:305)
    	at org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:1041)
    	at org.apache.catalina.core.ContainerBase.destroyInternal(ContainerBase.java:1234)
    	at org.apache.catalina.util.LifecycleBase.destroy(LifecycleBase.java:305)
    	at org.apache.catalina.core.StandardService.destroyInternal(StandardService.java:593)
    	at org.apache.catalina.util.LifecycleBase.destroy(LifecycleBase.java:305)
    	at org.apache.catalina.core.StandardServer.destroyInternal(StandardServer.java:822)
    	at org.apache.catalina.util.LifecycleBase.destroy(LifecycleBase.java:305)
    	at org.apache.catalina.startup.Catalina.stop(Catalina.java:765)
    	at org.apache.catalina.startup.Catalina.start(Catalina.java:726)
    	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.catalina.startup.Bootstrap.start(Bootstrap.java:322)
    	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:456)


What changed to cause this?


-David


Re: Warnings on shutdown in Arquillian Remote

Posted by Romain Manni-Bucau <rm...@gmail.com>.
surely an issue with fake tomee webapp to ensure we have ejbd transport
without any webapp. I saw it on monday (no link with arquillian), it is on
my todo list.

*Romain Manni-Bucau*
*Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
*Blog: **http://rmannibucau.wordpress.com/*<http://rmannibucau.wordpress.com/>
*LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
*Github: https://github.com/rmannibucau*



2013/8/14 David Blevins <da...@gmail.com>

> Looks like in the recent code we're getting a bunch of issues in the
> Arquillian Remote adapter on undeploy:
>
>
>     WARNING: Failed to unregister MBean with name
> [Catalina:type=NamingResources,context=/tomee,host=localhost] during
> component destruction
>     WARNING: Failed to unregister MBean with name
> [Catalina:type=Manager,context=/tomee,host=localhost] during component
> destruction
>     WARNING: Failed to unregister MBean with name
> [Catalina:type=Valve,context=/tomee,host=localhost,name=OpenEJBValve]
> during component destruction
>     WARNING: Failed to unregister MBean with name
> [Catalina:type=Valve,context=/tomee,host=localhost,name=StandardContextValve]
> during component destruction
>
> All of them have a JMX InstanceNotFoundException like the following:
>
>     javax.management.InstanceNotFoundException:
> Catalina:type=NamingResources,context=/tomee,host=localhost
>         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:507)
>         at
> org.apache.catalina.util.LifecycleMBeanBase.unregister(LifecycleMBeanBase.java:194)
>         at
> org.apache.catalina.util.LifecycleMBeanBase.destroyInternal(LifecycleMBeanBase.java:73)
>         at
> org.apache.catalina.deploy.NamingResources.destroyInternal(NamingResources.java:1091)
>         at
> org.apache.catalina.util.LifecycleBase.destroy(LifecycleBase.java:305)
>         at
> org.apache.catalina.core.StandardContext.destroyInternal(StandardContext.java:5731)
>         at
> org.apache.catalina.util.LifecycleBase.destroy(LifecycleBase.java:305)
>         at
> org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:1041)
>         at
> org.apache.catalina.core.ContainerBase.destroyInternal(ContainerBase.java:1234)
>         at
> org.apache.catalina.util.LifecycleBase.destroy(LifecycleBase.java:305)
>         at
> org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:1041)
>         at
> org.apache.catalina.core.ContainerBase.destroyInternal(ContainerBase.java:1234)
>         at
> org.apache.catalina.util.LifecycleBase.destroy(LifecycleBase.java:305)
>         at
> org.apache.catalina.core.StandardService.destroyInternal(StandardService.java:593)
>         at
> org.apache.catalina.util.LifecycleBase.destroy(LifecycleBase.java:305)
>         at
> org.apache.catalina.core.StandardServer.destroyInternal(StandardServer.java:822)
>         at
> org.apache.catalina.util.LifecycleBase.destroy(LifecycleBase.java:305)
>         at org.apache.catalina.startup.Catalina.stop(Catalina.java:765)
>         at org.apache.catalina.startup.Catalina.start(Catalina.java:726)
>         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.catalina.startup.Bootstrap.start(Bootstrap.java:322)
>         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:456)
>
>
> What changed to cause this?
>
>
> -David
>
>