activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Tully <gary.tu...@gmail.com>
Subject Re: Exception all of a sudden deployment in weblogic
Date Mon, 21 Feb 2011 16:43:20 GMT
when the broker started, was it able to register mbeans with the
weblogic jmx mbean server?

either the credentials are no longer available on the stop, or the
exception should be trapped.

Is it possible that the credentials for jmx changed?


On 16 February 2011 20:56, fachhoch <fachhoch@gmail.com> wrote:
>
> here again the complete stack trace
>
>
> 2011-02-16 14:23:23,797 [[ACTIVE] ExecuteThread: '2' for queue:
> 'weblogic.kernel.Default (self-tuning)'] ERROR
> org.apache.activemq.broker.jmx.ManagedRegionBroker - Could not stop service:
> org.apache.activemq.broker.jmx.ManagedRegionBroker@1cd726b. Reason:
> weblogic.management.NoAccessRuntimeException: Access not allowed for
> subject: principals=[], on ResourceType: Queue Action: unregister, Target:
> null
> weblogic.management.NoAccessRuntimeException: Access not allowed for
> subject: principals=[], on ResourceType: Queue Action: unregister, Target:
> null
>        at
> weblogic.management.internal.SecurityHelper$IsAccessAllowedPrivilegeAction.wlsRun(SecurityHelper.java:819)
>        at
> weblogic.management.internal.SecurityHelper$IsAccessAllowedPrivilegeAction.run(SecurityHelper.java:682)
>        at
> weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
>        at
> weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
>        at
> weblogic.management.internal.SecurityHelper.isAccessAllowed(SecurityHelper.java:269)
>        at
> weblogic.management.internal.SecurityHelper.isAccessAllowed(SecurityHelper.java:157)
>        at
> weblogic.management.mbeanservers.internal.SecurityInterceptor.checkUnregisterSecurity(SecurityInterceptor.java:672)
>        at
> weblogic.management.mbeanservers.internal.SecurityInterceptor.unregisterMBean(SecurityInterceptor.java:321)
>        at
> weblogic.management.jmx.mbeanserver.WLSMBeanServer.unregisterMBean(WLSMBeanServer.java:210)
>        at
> org.apache.activemq.broker.jmx.ManagementContext.unregisterMBean(ManagementContext.java:322)
>        at
> org.apache.activemq.broker.jmx.ManagedRegionBroker.doStop(ManagedRegionBroker.java:111)
>        at
> org.apache.activemq.broker.region.RegionBroker.stop(RegionBroker.java:187)
>        at
> org.apache.activemq.broker.TransactionBroker.stop(TransactionBroker.java:117)
>        at
> org.apache.activemq.broker.BrokerFilter.stop(BrokerFilter.java:158)
>        at
> org.apache.activemq.broker.BrokerFilter.stop(BrokerFilter.java:158)
>        at
> org.apache.activemq.broker.BrokerService$3.stop(BrokerService.java:1700)
>        at
> org.apache.activemq.util.ServiceStopper.stop(ServiceStopper.java:41)
>        at
> org.apache.activemq.broker.BrokerService.stop(BrokerService.java:552)
>        at
> org.apache.activemq.util.ServiceSupport.dispose(ServiceSupport.java:43)
>        at
> org.apache.activemq.transport.vm.VMTransportFactory.stopped(VMTransportFactory.java:216)
>        at
> org.apache.activemq.transport.vm.VMTransportServer.stop(VMTransportServer.java:120)
>        at
> org.apache.activemq.transport.vm.VMTransportServer$1.stop(VMTransportServer.java:83)
>        at
> org.apache.activemq.transport.TransportFilter.stop(TransportFilter.java:64)
>        at
> org.apache.activemq.transport.TransportFilter.stop(TransportFilter.java:64)
>        at
> org.apache.activemq.transport.ResponseCorrelator.stop(ResponseCorrelator.java:132)
>        at
> org.apache.activemq.util.ServiceSupport.dispose(ServiceSupport.java:43)
>        at
> org.apache.activemq.ActiveMQConnection.close(ActiveMQConnection.java:642)
>        at
> org.springframework.jms.connection.SingleConnectionFactory.closeConnection(SingleConnectionFactory.java:426)
>        at
> org.springframework.jms.connection.SingleConnectionFactory.resetConnection(SingleConnectionFactory.java:321)
>        at
> org.springframework.jms.connection.CachingConnectionFactory.resetConnection(CachingConnectionFactory.java:197)
>        at
> org.springframework.jms.connection.SingleConnectionFactory.destroy(SingleConnectionFactory.java:312)
>        at
> org.springframework.beans.factory.support.DisposableBeanAdapter.destroy(DisposableBeanAdapter.java:184)
>        at
> org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroyBean(DefaultSingletonBeanRegistry.java:487)
>        at
> org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroySingleton(DefaultSingletonBeanRegistry.java:463)
>        at
> org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroySingletons(DefaultSingletonBeanRegistry.java:431)
>        at
> org.springframework.context.support.AbstractApplicationContext.destroyBeans(AbstractApplicationContext.java:1048)
>        at
> org.springframework.context.support.AbstractApplicationContext.doClose(AbstractApplicationContext.java:1022)
>        at
> org.springframework.context.support.AbstractApplicationContext.close(AbstractApplicationContext.java:970)
>        at
> org.springframework.web.context.ContextLoader.closeWebApplicationContext(ContextLoader.java:378)
>        at
> org.springframework.web.context.ContextLoaderListener.contextDestroyed(ContextLoaderListener.java:78)
>        at
> weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:482)
>        at
> weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
>        at
> weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
>        at
> weblogic.servlet.internal.EventsManager.notifyContextDestroyedEvent(EventsManager.java:200)
>        at
> weblogic.servlet.internal.WebAppServletContext.destroy(WebAppServletContext.java:3193)
>        at
> weblogic.servlet.internal.ServletContextManager.destroyContext(ServletContextManager.java:240)
>        at
> weblogic.servlet.internal.HttpServer.unloadWebApp(HttpServer.java:461)
>        at
> weblogic.servlet.internal.WebAppModule.destroyContexts(WebAppModule.java:1539)
>        at
> weblogic.servlet.internal.WebAppModule.deactivate(WebAppModule.java:511)
>        at
> weblogic.application.internal.flow.ModuleStateDriver$2.previous(ModuleStateDriver.java:387)
>        at
> weblogic.application.utils.StateMachineDriver.previousState(StateMachineDriver.java:167)
>        at
> weblogic.application.utils.StateMachineDriver.previousState(StateMachineDriver.java:159)
>        at
> weblogic.application.internal.flow.ModuleStateDriver.deactivate(ModuleStateDriver.java:141)
>        at
> weblogic.application.internal.flow.ScopedModuleDriver.deactivate(ScopedModuleDriver.java:206)
>        at
> weblogic.application.internal.flow.ModuleListenerInvoker.deactivate(ModuleListenerInvoker.java:261)
>        at
> weblogic.application.internal.flow.DeploymentCallbackFlow$2.previous(DeploymentCallbackFlow.java:537)
>        at
> weblogic.application.utils.StateMachineDriver.previousState(StateMachineDriver.java:167)
>        at
> weblogic.application.utils.StateMachineDriver.previousState(StateMachineDriver.java:159)
>        at
> weblogic.application.internal.flow.DeploymentCallbackFlow.deactivate(DeploymentCallbackFlow.java:182)
>        at
> weblogic.application.internal.flow.DeploymentCallbackFlow.deactivate(DeploymentCallbackFlow.java:174)
>        at
> weblogic.application.internal.BaseDeployment$2.previous(BaseDeployment.java:1279)
>        at
> weblogic.application.utils.StateMachineDriver.previousState(StateMachineDriver.java:167)
>        at
> weblogic.application.utils.StateMachineDriver.previousState(StateMachineDriver.java:159)
>        at
> weblogic.application.internal.BaseDeployment.deactivate(BaseDeployment.java:453)
>        at
> weblogic.application.internal.EarDeployment.deactivate(EarDeployment.java:58)
>        at
> weblogic.application.internal.DeploymentStateChecker.deactivate(DeploymentStateChecker.java:198)
>        at
> weblogic.deploy.internal.targetserver.AppContainerInvoker.deactivate(AppContainerInvoker.java:98)
>        at
> weblogic.deploy.internal.targetserver.BasicDeployment.deactivate(BasicDeployment.java:263)
>        at
> weblogic.deploy.internal.targetserver.BasicDeployment.deactivateFromServerLifecycle(BasicDeployment.java:458)
>        at
> weblogic.management.deploy.internal.DeploymentAdapter$1.doDeactivate(DeploymentAdapter.java:73)
>        at
> weblogic.management.deploy.internal.DeploymentAdapter.deactivate(DeploymentAdapter.java:215)
>        at
> weblogic.management.deploy.internal.AppTransition$6.transitionApp(AppTransition.java:66)
>        at
> weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:240)
>        at
> weblogic.management.deploy.internal.ConfiguredDeployments.deactivate(ConfiguredDeployments.java:198)
>        at
> weblogic.management.deploy.internal.ConfiguredDeployments.undeploy(ConfiguredDeployments.java:191)
>        at
> weblogic.management.deploy.internal.DeploymentServerService.shutdownApps(DeploymentServerService.java:195)
>        at
> weblogic.management.deploy.internal.DeploymentServerService.shutdownHelper(DeploymentServerService.java:127)
>        at
> weblogic.application.ApplicationShutdownService.halt(ApplicationShutdownService.java:142)
>        at
> weblogic.t3.srvr.ServerServicesManager.haltInternal(ServerServicesManager.java:504)
>        at
> weblogic.t3.srvr.ServerServicesManager.halt(ServerServicesManager.java:336)
>        at weblogic.t3.srvr.T3Srvr.shutdown(T3Srvr.java:1039)
>        at weblogic.t3.srvr.T3Srvr.forceShutdown(T3Srvr.java:945)
>        at
> weblogic.t3.srvr.ServerRuntime.forceShutdown(ServerRuntime.java:351)
>        at
> weblogic.server.RemoteLifeCycleOperationsImpl.forceShutdown(RemoteLifeCycleOperationsImpl.java:57)
>        at
> weblogic.server.RemoteLifeCycleOperationsImpl_WLSkel.invoke(Unknown Source)
>        at
> weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:589)
>        at
> weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:477)
>        at
> weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
>        at
> weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
>        at
> weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:473)
>        at
> weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
>        at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
>        at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
>
>
>
> 2011-02-16 14:23:23,797 [[ACTIVE] ExecuteThread: '2' for queue:
> 'weblogic.kernel.Default (self-tuning)'] ERROR
> org.apache.activemq.broker.jmx.ManagedRegionBroker - Could not stop service:
> org.apache.activemq.broker.jmx.ManagedRegionBroker@1cd726b. Reason:
> weblogic.management.NoAccessRuntimeException: Access not allowed for
> subject: principals=[], on ResourceType: Queue Action: unregister, Target:
> null
> weblogic.management.NoAccessRuntimeException: Access not allowed for
> subject: principals=[], on ResourceType: Queue Action: unregister, Target:
> null
>        at
> weblogic.management.internal.SecurityHelper$IsAccessAllowedPrivilegeAction.wlsRun(SecurityHelper.java:819)
>        at
> weblogic.management.internal.SecurityHelper$IsAccessAllowedPrivilegeAction.run(SecurityHelper.java:682)
>        at
> weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
>        at
> weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
>        at
> weblogic.management.internal.SecurityHelper.isAccessAllowed(SecurityHelper.java:269)
>        at
> weblogic.management.internal.SecurityHelper.isAccessAllowed(SecurityHelper.java:157)
>        at
> weblogic.management.mbeanservers.internal.SecurityInterceptor.checkUnregisterSecurity(SecurityInterceptor.java:672)
>        at
> weblogic.management.mbeanservers.internal.SecurityInterceptor.unregisterMBean(SecurityInterceptor.java:321)
>        at
> weblogic.management.jmx.mbeanserver.WLSMBeanServer.unregisterMBean(WLSMBeanServer.java:210)
>        at
> org.apache.activemq.broker.jmx.ManagementContext.unregisterMBean(ManagementContext.java:322)
>        at
> org.apache.activemq.broker.jmx.ManagedRegionBroker.doStop(ManagedRegionBroker.java:111)
>        at
> org.apache.activemq.broker.region.RegionBroker.stop(RegionBroker.java:187)
>        at
> org.apache.activemq.broker.TransactionBroker.stop(TransactionBroker.java:117)
>        at
> org.apache.activemq.broker.BrokerFilter.stop(BrokerFilter.java:158)
>        at
> org.apache.activemq.broker.BrokerFilter.stop(BrokerFilter.java:158)
>        at
> org.apache.activemq.broker.BrokerService$3.stop(BrokerService.java:1700)
>        at
> org.apache.activemq.util.ServiceStopper.stop(ServiceStopper.java:41)
>        at
> org.apache.activemq.broker.BrokerService.stop(BrokerService.java:552)
>        at
> org.apache.activemq.util.ServiceSupport.dispose(ServiceSupport.java:43)
>        at
> org.apache.activemq.transport.vm.VMTransportFactory.stopped(VMTransportFactory.java:216)
>        at
> org.apache.activemq.transport.vm.VMTransportServer.stop(VMTransportServer.java:120)
>        at
> org.apache.activemq.transport.vm.VMTransportServer$1.stop(VMTransportServer.java:83)
>        at
> org.apache.activemq.transport.TransportFilter.stop(TransportFilter.java:64)
>        at
> org.apache.activemq.transport.TransportFilter.stop(TransportFilter.java:64)
>        at
> org.apache.activemq.transport.ResponseCorrelator.stop(ResponseCorrelator.java:132)
>        at
> org.apache.activemq.util.ServiceSupport.dispose(ServiceSupport.java:43)
>        at
> org.apache.activemq.ActiveMQConnection.close(ActiveMQConnection.java:642)
>        at
> org.springframework.jms.connection.SingleConnectionFactory.closeConnection(SingleConnectionFactory.java:426)
>        at
> org.springframework.jms.connection.SingleConnectionFactory.resetConnection(SingleConnectionFactory.java:321)
>        at
> org.springframework.jms.connection.CachingConnectionFactory.resetConnection(CachingConnectionFactory.java:197)
>        at
> org.springframework.jms.connection.SingleConnectionFactory.destroy(SingleConnectionFactory.java:312)
>        at
> org.springframework.beans.factory.support.DisposableBeanAdapter.destroy(DisposableBeanAdapter.java:184)
>        at
> org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroyBean(DefaultSingletonBeanRegistry.java:487)
>        at
> org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroySingleton(DefaultSingletonBeanRegistry.java:463)
>        at
> org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroySingletons(DefaultSingletonBeanRegistry.java:431)
>        at
> org.springframework.context.support.AbstractApplicationContext.destroyBeans(AbstractApplicationContext.java:1048)
>        at
> org.springframework.context.support.AbstractApplicationContext.doClose(AbstractApplicationContext.java:1022)
>        at
> org.springframework.context.support.AbstractApplicationContext.close(AbstractApplicationContext.java:970)
>        at
> org.springframework.web.context.ContextLoader.closeWebApplicationContext(ContextLoader.java:378)
>        at
> org.springframework.web.context.ContextLoaderListener.contextDestroyed(ContextLoaderListener.java:78)
>        at
> weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:482)
>        at
> weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
>        at
> weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
>        at
> weblogic.servlet.internal.EventsManager.notifyContextDestroyedEvent(EventsManager.java:200)
>        at
> weblogic.servlet.internal.WebAppServletContext.destroy(WebAppServletContext.java:3193)
>        at
> weblogic.servlet.internal.ServletContextManager.destroyContext(ServletContextManager.java:240)
>        at
> weblogic.servlet.internal.HttpServer.unloadWebApp(HttpServer.java:461)
>        at
> weblogic.servlet.internal.WebAppModule.destroyContexts(WebAppModule.java:1539)
>        at
> weblogic.servlet.internal.WebAppModule.deactivate(WebAppModule.java:511)
>        at
> weblogic.application.internal.flow.ModuleStateDriver$2.previous(ModuleStateDriver.java:387)
>        at
> weblogic.application.utils.StateMachineDriver.previousState(StateMachineDriver.java:167)
>        at
> weblogic.application.utils.StateMachineDriver.previousState(StateMachineDriver.java:159)
>        at
> weblogic.application.internal.flow.ModuleStateDriver.deactivate(ModuleStateDriver.java:141)
>        at
> weblogic.application.internal.flow.ScopedModuleDriver.deactivate(ScopedModuleDriver.java:206)
>        at
> weblogic.application.internal.flow.ModuleListenerInvoker.deactivate(ModuleListenerInvoker.java:261)
>        at
> weblogic.application.internal.flow.DeploymentCallbackFlow$2.previous(DeploymentCallbackFlow.java:537)
>        at
> weblogic.application.utils.StateMachineDriver.previousState(StateMachineDriver.java:167)
>        at
> weblogic.application.utils.StateMachineDriver.previousState(StateMachineDriver.java:159)
>        at
> weblogic.application.internal.flow.DeploymentCallbackFlow.deactivate(DeploymentCallbackFlow.java:182)
>        at
> weblogic.application.internal.flow.DeploymentCallbackFlow.deactivate(DeploymentCallbackFlow.java:174)
>        at
> weblogic.application.internal.BaseDeployment$2.previous(BaseDeployment.java:1279)
>        at
> weblogic.application.utils.StateMachineDriver.previousState(StateMachineDriver.java:167)
>        at
> weblogic.application.utils.StateMachineDriver.previousState(StateMachineDriver.java:159)
>        at
> weblogic.application.internal.BaseDeployment.deactivate(BaseDeployment.java:453)
>        at
> weblogic.application.internal.EarDeployment.deactivate(EarDeployment.java:58)
>        at
> weblogic.application.internal.DeploymentStateChecker.deactivate(DeploymentStateChecker.java:198)
>        at
> weblogic.deploy.internal.targetserver.AppContainerInvoker.deactivate(AppContainerInvoker.java:98)
>        at
> weblogic.deploy.internal.targetserver.BasicDeployment.deactivate(BasicDeployment.java:263)
>        at
> weblogic.deploy.internal.targetserver.BasicDeployment.deactivateFromServerLifecycle(BasicDeployment.java:458)
>        at
> weblogic.management.deploy.internal.DeploymentAdapter$1.doDeactivate(DeploymentAdapter.java:73)
>        at
> weblogic.management.deploy.internal.DeploymentAdapter.deactivate(DeploymentAdapter.java:215)
>        at
> weblogic.management.deploy.internal.AppTransition$6.transitionApp(AppTransition.java:66)
>        at
> weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:240)
>        at
> weblogic.management.deploy.internal.ConfiguredDeployments.deactivate(ConfiguredDeployments.java:198)
>        at
> weblogic.management.deploy.internal.ConfiguredDeployments.undeploy(ConfiguredDeployments.java:191)
>        at
> weblogic.management.deploy.internal.DeploymentServerService.shutdownApps(DeploymentServerService.java:195)
>        at
> weblogic.management.deploy.internal.DeploymentServerService.shutdownHelper(DeploymentServerService.java:127)
>        at
> weblogic.application.ApplicationShutdownService.halt(ApplicationShutdownService.java:142)
>        at
> weblogic.t3.srvr.ServerServicesManager.haltInternal(ServerServicesManager.java:504)
>        at
> weblogic.t3.srvr.ServerServicesManager.halt(ServerServicesManager.java:336)
>        at weblogic.t3.srvr.T3Srvr.shutdown(T3Srvr.java:1039)
>        at weblogic.t3.srvr.T3Srvr.forceShutdown(T3Srvr.java:945)
>        at
> weblogic.t3.srvr.ServerRuntime.forceShutdown(ServerRuntime.java:351)
>        at
> weblogic.server.RemoteLifeCycleOperationsImpl.forceShutdown(RemoteLifeCycleOperationsImpl.java:57)
>        at
> weblogic.server.RemoteLifeCycleOperationsImpl_WLSkel.invoke(Unknown Source)
>        at
> weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:589)
>        at
> weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:477)
>        at
> weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
>        at
> weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
>        at
> weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:473)
>        at
> weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
>        at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
>        at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
>
>
>
>
>
> --
> View this message in context: http://activemq.2283324.n4.nabble.com/Exception-all-of-a-sudden-deployment-in-weblogic-tp3309662p3309711.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>



-- 
http://blog.garytully.com
http://fusesource.com

Mime
View raw message