On shutdown of the jbossas server I'm seeing these spurious errors due to the
Connector trying to unregister itself or some other mbean:
| 13:00:10,081 INFO [TomcatDeployment] undeploy, ctxPath=/web-console,
vfsUrl=management/console-mgr.sar/web-console.war
| 13:00:10,092 ERROR [Connector] invalid Object Name
| javax.management.InstanceNotFoundException: jboss.remoting:service=invoker,transport=
bisocket,host=succubus.starkinternational.com,port=4457,clientMaxPoolSize=50,clientSocketClass=org.jboss.jms.client.remoting.ClientSocketWrapper,dataType=jms,marshaller=org.jboss.jms.wireformat.JMSWireFormat,numberOfCallRetries=1,numberOfRetries=1,serverSocketClass=org.jboss.jms.server.remoting.ServerSocketWrapper,socket.check_connection=false,timeout=0,unmarshaller=org.jboss.jms.wireformat.JMSWireFormat
is not registered.
| at
org.jboss.mx.server.registry.BasicMBeanRegistry.get(BasicMBeanRegistry.java:529)
| at
org.jboss.mx.server.MBeanServerImpl.unregisterMBean(MBeanServerImpl.java:383)
| at org.jboss.remoting.transport.Connector.stop(Connector.java:744)
| 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:585)
| at
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:184)
| at $Proxy4.stop(Unknown Source)
| at
org.jboss.system.microcontainer.StartStopLifecycleAction.uninstallAction(StartStopLifecycleAction.java:56)
| at
org.jboss.system.microcontainer.ServiceControllerContextAction.uninstall(ServiceControllerContextAction.java:90)
| at
org.jboss.dependency.plugins.AbstractControllerContextActions.uninstall(AbstractControllerContextActions.java:58)
| at
org.jboss.dependency.plugins.AbstractControllerContext.uninstall(AbstractControllerContext.java:334)
| at
org.jboss.dependency.plugins.AbstractController.uninstall(AbstractController.java:1323)
| at
org.jboss.dependency.plugins.AbstractController.uninstallContext(AbstractController.java:1009)
| at
org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:627)
| at
org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:411)
| at org.jboss.system.ServiceController.doChange(ServiceController.java:659)
| at org.jboss.system.ServiceController.stop(ServiceController.java:481)
| at org.jboss.system.deployers.ServiceDeployer.stop(ServiceDeployer.java:156)
| at
org.jboss.system.deployers.ServiceDeployer.undeploy(ServiceDeployer.java:136)
| at
org.jboss.system.deployers.ServiceDeployer.undeploy(ServiceDeployer.java:46)
| at
org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.undeploy(AbstractSimpleRealDeployer.java:73)
| at
org.jboss.deployers.plugins.deployers.DeployerWrapper.undeploy(DeployerWrapper.java:187)
| at
org.jboss.deployers.plugins.deployers.DeployersImpl.doUninstallParentLast(DeployersImpl.java:947)
| at
org.jboss.deployers.plugins.deployers.DeployersImpl.doUninstallParentLast(DeployersImpl.java:940)
| at
org.jboss.deployers.plugins.deployers.DeployersImpl.uninstall(DeployersImpl.java:902)
| at
org.jboss.dependency.plugins.AbstractControllerContext.uninstall(AbstractControllerContext.java:334)
| at
org.jboss.dependency.plugins.AbstractController.uninstall(AbstractController.java:1323)
| at
org.jboss.dependency.plugins.AbstractController.uninstallContext(AbstractController.java:1009)
| at
org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:627)
| at
org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:411)
| at
org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:420)
| at
org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:354)
| at
org.jboss.deployers.plugins.main.MainDeployerImpl.shutdown(MainDeployerImpl.java:382)
| at
org.jboss.system.server.profileservice.ProfileServiceBootstrap.shutdown(ProfileServiceBootstrap.java:151)
| at
org.jboss.bootstrap.AbstractServerImpl.shutdownServer(AbstractServerImpl.java:482)
| at
org.jboss.bootstrap.AbstractServerImpl$ShutdownHook.run(AbstractServerImpl.java:778)
|
It should not be doing that. Registration is handled by the deployer layer. The Connector
source is not in the jboss thirdparty repository (it should be as a
jboss-remoting-sources.jar), so I can't check what is going on.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4098531#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...