[jboss-jira] [JBoss JIRA] Resolved: (JBAS-6799) Attempting to configure a Topic or Queue that has the "securityConfig" property unset results in an UndeclaredThrowableException
Emanuel Muckenhuber (JIRA)
jira-events at lists.jboss.org
Fri Apr 17 07:50:22 EDT 2009
[ https://jira.jboss.org/jira/browse/JBAS-6799?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Emanuel Muckenhuber resolved JBAS-6799.
---------------------------------------
Resolution: Done
> Attempting to configure a Topic or Queue that has the "securityConfig" property unset results in an UndeclaredThrowableException
> --------------------------------------------------------------------------------------------------------------------------------
>
> Key: JBAS-6799
> URL: https://jira.jboss.org/jira/browse/JBAS-6799
> Project: JBoss Application Server
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: ProfileService
> Environment: JBoss AS Branch_5_x r87449, embjopr r296
> Reporter: Farah Juma
> Assignee: Emanuel Muckenhuber
> Priority: Blocker
> Fix For: JBossAS-5.1.0.CR1
>
>
> Steps to reproduce:
> Create a Topic or Queue but leave the "securityConfig" property empty. Then, attempt to configure the resource (eg. try changing the value of "Redelivery Delay"). The following error occurs:
> 15:08:32,807 INFO [NavigationContent] Resource of type [ResourceType[id=0, category=Service, name=JBoss Service (SAR), plugin=JBossAS5]] added beneath Resource [Resource[id=-3, type=JBossAS Server, key=/opt/jboss/server/default, name=JBoss AS 5 (default), parent=tomb.yyz.redhat.com, version=5.1.0.CR1]].
> 15:09:40,115 ERROR [ManagedComponentComponent] Failed to update configuration for ResourceType[id=0, category=Service, name=Topic, plugin=JBossAS5] Resource with key [JMSDestination:Topic:TopicNoSecConfig].
> java.lang.reflect.UndeclaredThrowableException: Failed to set property 'securityConfig' on component 'jboss.messaging.destination:name=TopicNoSecConfig,service=Topic' to value [MapCompositeValueSupport: mapType=[MapCompositeMetaType{java.util.Map}] map=[{}]].
> at org.jboss.profileservice.management.KernelBusRuntimeComponentDispatcher.set(KernelBusRuntimeComponentDispatcher.java:129)
> at org.jboss.profileservice.management.ManagementViewImpl.updateComponent(ManagementViewImpl.java:1213)
> 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.aop.Dispatcher.invoke(Dispatcher.java:121)
> at org.jboss.aspects.remoting.AOPRemotingInvocationHandler.invoke(AOPRemotingInvocationHandler.java:82)
> at org.jboss.profileservice.remoting.ProfileServiceInvocationHandler.invoke(ProfileServiceInvocationHandler.java:97)
> at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:908)
> at org.jboss.remoting.transport.local.LocalClientInvoker.invoke(LocalClientInvoker.java:106)
> at org.jboss.remoting.Client.invoke(Client.java:1708)
> at org.jboss.remoting.Client.invoke(Client.java:612)
> at org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.java:60)
> at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
> at org.jboss.aspects.remoting.MergeMetaDataInterceptor.invoke(MergeMetaDataInterceptor.java:74)
> at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
> at org.jboss.aspects.security.SecurityClientInterceptor.invoke(SecurityClientInterceptor.java:65)
> at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
> at org.jboss.aop.generatedproxies.AOPProxy$2.updateComponent(AOPProxy$2.java)
> at org.rhq.plugins.jbossas5.ManagedComponentComponent.updateComponent(ManagedComponentComponent.java:171)
> at org.rhq.plugins.jbossas5.AbstractManagedComponent.updateResourceConfiguration(AbstractManagedComponent.java:90)
> 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.rhq.core.pc.inventory.ResourceContainer$ComponentInvocationThread.call(ResourceContainer.java:449)
> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
> at java.util.concurrent.FutureTask.run(FutureTask.java:123)
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
> at java.lang.Thread.run(Thread.java:595)
> Caused by: javax.management.InvalidAttributeValueException: Set attribute has class class java.util.HashMap loaded from null that is not assignable to attribute class interface org.w3c.dom.Element loaded from null
> at org.jboss.mx.interceptor.ModelMBeanAttributeInterceptor.checkAssignable(ModelMBeanAttributeInterceptor.java:229)
> at org.jboss.mx.interceptor.ModelMBeanAttributeInterceptor.invoke(ModelMBeanAttributeInterceptor.java:88)
> at org.jboss.mx.interceptor.PersistenceInterceptor.invoke(PersistenceInterceptor.java:76)
> at org.jboss.mx.server.Invocation.invoke(Invocation.java:90)
> at org.jboss.mx.server.AbstractMBeanInvoker.setAttribute(AbstractMBeanInvoker.java:461)
> at org.jboss.mx.server.MBeanServerImpl.setAttribute(MBeanServerImpl.java:617)
> at org.jboss.system.microcontainer.ServiceControllerContext.set(ServiceControllerContext.java:182)
> at org.jboss.kernel.plugins.registry.basic.BasicKernelBus$2.dispatch(BasicKernelBus.java:79)
> at org.jboss.kernel.plugins.registry.basic.BasicKernelBus$2.dispatch(BasicKernelBus.java:83)
> at org.jboss.kernel.plugins.registry.basic.BasicKernelBus.execute(BasicKernelBus.java:54)
> at org.jboss.kernel.plugins.registry.basic.BasicKernelBus.set(BasicKernelBus.java:75)
> at org.jboss.profileservice.management.KernelBusRuntimeComponentDispatcher.set(KernelBusRuntimeComponentDispatcher.java:125)
> at org.jboss.profileservice.management.ManagementViewImpl.updateComponent(ManagementViewImpl.java:1213)
> 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.aop.Dispatcher.invoke(Dispatcher.java:121)
> at org.jboss.aspects.remoting.AOPRemotingInvocationHandler.invoke(AOPRemotingInvocationHandler.java:82)
> at org.jboss.profileservice.remoting.ProfileServiceInvocationHandler.invoke(ProfileServiceInvocationHandler.java:97)
> at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:908)
> at org.jboss.remoting.transport.local.LocalClientInvoker.invoke(LocalClientInvoker.java:106)
> at org.jboss.remoting.Client.invoke(Client.java:1708)
> at org.jboss.remoting.Client.invoke(Client.java:612)
> at org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.java:60)
> at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
> at org.jboss.aspects.remoting.MergeMetaDataInterceptor.invoke(MergeMetaDataInterceptor.java:74)
> at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
> at org.jboss.aspects.security.SecurityClientInterceptor.invoke(SecurityClientInterceptor.java:65)
> at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
> at org.jboss.aop.generatedproxies.AOPProxy$2.updateComponent(AOPProxy$2.java)
> at org.rhq.plugins.jbossas5.ManagedComponentComponent.updateComponent(ManagedComponentComponent.java:171)
> at org.rhq.plugins.jbossas5.AbstractManagedComponent.updateResourceConfiguration(AbstractManagedComponent.java:90)
> 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.rhq.core.pc.inventory.ResourceContainer$ComponentInvocationThread.call(ResourceContainer.java:449)
> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
> at java.util.concurrent.FutureTask.run(FutureTask.java:123)
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
> at java.lang.Thread.run(Thread.java:595)
> at org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.java:72)
> ... 18 more
> However, configuring a Topic or Queue that has the "securityConfig" property set works fine.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list