java.lang.reflect.UndeclaredThrowableException: Failed to invoke method 'createQueue' on component 'JMSQueueManageMO' with parameters [SimpleMetaType:java.lang.String:TestQueue, SimpleMetaType:java.lang.String:queue/TestQueue, SimpleMetaType:java.lang.String:null, SimpleMetaType:java.lang.String:null, SimpleMetaType:int:-1, SimpleMetaType:int:10485760, SimpleMetaType:int:10, SimpleMetaType:long:0, SimpleMetaType:boolean:false, SimpleMetaType:long:-1, SimpleMetaType:boolean:false, SimpleMetaType:java.lang.String:PAGE, SimpleMetaType:java.lang.String:, SimpleMetaType:java.lang.String:].

JBoss Issue Tracker | Jarod Rose | 6 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    When attempting to create a queue via the JMS Manager in the Admin Console of JBoss 6.1.0-SNAPSHOT (Revision 111808) an error occurs and the queue is not created. Steps to reproduce: 1) Start creating a JMS queue off of the default template. 2) Fill in the minimum values to create a queue (Name and JNDI Name) In my case it was TestQueue and queue/TestQueue 3) Click Save At the Top of the page this error appears... Failed to add Resource (see app server log for additional details): Failed to invoke method 'createQueue' on component 'JMSQueueManageMO' with parameters [SimpleMetaType:java.lang.String:TestQueue, SimpleMetaType:java.lang.String:queue/TestQueue, SimpleMetaType:java.lang.String:null, SimpleMetaType:java.lang.String:null, SimpleMetaType:int:-1, SimpleMetaType:int:10485760, SimpleMetaType:int:10, SimpleMetaType:long:0, SimpleMetaType:boolean:false, SimpleMetaType:long:-1, SimpleMetaType:boolean:false, SimpleMetaType:java.lang.String:PAGE, SimpleMetaType:java.lang.String:, SimpleMetaType:java.lang.String:]. And this stack trace appears in the server.log... 2011-07-21 09:38:55,270 INFO [org.rhq.core.pc.inventory.RuntimeDiscoveryExecutor] (InventoryManager.discovery-1) Running runtime discovery scan rooted at [platform] 2011-07-21 09:38:55,489 INFO [org.rhq.core.pc.inventory.RuntimeDiscoveryExecutor] (InventoryManager.discovery-1) Scanned [0] servers and found [0] total descendant Resources. 2011-07-21 09:40:03,179 INFO [org.rhq.core.pc.inventory.CreateResourceRunner] (ResourceFactory.executor-1) Creating resource through report: CreateResourceReport: ResourceType=[ResourceType[id=0, category=Service, name=JMS Queue, plugin=HornetQ]], ResourceKey=[null] 2011-07-21 09:40:03,179 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) java.lang.reflect.UndeclaredThrowableException: Failed to invoke method 'createQueue' on component 'JMSQueueManageMO' with parameters [SimpleMetaType:java.lang.String:TestQueue, SimpleMetaType:java.lang.String:queue/TestQueue, SimpleMetaType:java.lang.String:null, SimpleMetaType:java.lang.String:null, SimpleMetaType:int:-1, SimpleMetaType:int:10485760, SimpleMetaType:int:10, SimpleMetaType:long:0, SimpleMetaType:boolean:false, SimpleMetaType:long:-1, SimpleMetaType:boolean:false, SimpleMetaType:java.lang.String:PAGE, SimpleMetaType:java.lang.String:, SimpleMetaType:java.lang.String:]. 2011-07-21 09:40:03,179 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at org.jboss.profileservice.plugins.management.util.AbstractManagedComponentRuntimeDispatcher.invoke(AbstractManagedComponentRuntimeDispatcher.java:148) 2011-07-21 09:40:03,179 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at org.jboss.profileservice.management.DelegatingComponentDispatcherImpl.invoke(DelegatingComponentDispatcherImpl.java:93) 2011-07-21 09:40:03,179 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at sun.reflect.GeneratedMethodAccessor446.invoke(Unknown Source) 2011-07-21 09:40:03,179 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 2011-07-21 09:40:03,179 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at java.lang.reflect.Method.invoke(Method.java:597) 2011-07-21 09:40:03,179 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:121) 2011-07-21 09:40:03,179 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at org.jboss.aspects.remoting.AOPRemotingInvocationHandler.invoke(AOPRemotingInvocationHandler.java:82) 2011-07-21 09:40:03,179 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at org.jboss.profileservice.remoting.ProfileServiceInvocationHandler.invoke(ProfileServiceInvocationHandler.java:99) 2011-07-21 09:40:03,179 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:967) 2011-07-21 09:40:03,179 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at org.jboss.remoting.transport.local.LocalClientInvoker.invoke(LocalClientInvoker.java:106) 2011-07-21 09:40:03,179 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at org.jboss.remoting.Client.invoke(Client.java:2070) 2011-07-21 09:40:03,179 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at org.jboss.remoting.Client.invoke(Client.java:879) 2011-07-21 09:40:03,179 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.java:60) 2011-07-21 09:40:03,179 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) 2011-07-21 09:40:03,179 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at org.jboss.aspects.remoting.MergeMetaDataInterceptor.invoke(MergeMetaDataInterceptor.java:74) 2011-07-21 09:40:03,179 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) 2011-07-21 09:40:03,179 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at org.jboss.aspects.security.SecurityClientInterceptor.invoke(SecurityClientInterceptor.java:65) 2011-07-21 09:40:03,179 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) 2011-07-21 09:40:03,179 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at org.jboss.aop.generatedproxies.AOPProxy$0.invoke(AOPProxy$0.java) 2011-07-21 09:40:03,179 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at org.jboss.profileservice.management.client.ManagedOperationDelegate.invoke(ManagedOperationDelegate.java:63) 2011-07-21 09:40:03,179 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at org.jboss.as.integration.hornetq.jopr.JMSManagerComponent.createQueue(JMSManagerComponent.java:267) 2011-07-21 09:40:03,179 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at org.jboss.as.integration.hornetq.jopr.JMSManagerComponent.createResource(JMSManagerComponent.java:149) 2011-07-21 09:40:03,179 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2011-07-21 09:40:03,179 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 2011-07-21 09:40:03,179 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 2011-07-21 09:40:03,179 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at java.lang.reflect.Method.invoke(Method.java:597) 2011-07-21 09:40:03,179 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at org.rhq.core.pc.inventory.ResourceContainer$ComponentInvocationThread.call(ResourceContainer.java:525) 2011-07-21 09:40:03,179 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) 2011-07-21 09:40:03,179 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at java.util.concurrent.FutureTask.run(FutureTask.java:138) 2011-07-21 09:40:03,179 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) 2011-07-21 09:40:03,179 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) 2011-07-21 09:40:03,179 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at java.lang.Thread.run(Thread.java:619) 2011-07-21 09:40:03,179 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) Caused by: org.jboss.joinpoint.spi.JoinpointException: Method not found createQueue[java.lang.String, java.lang.String, java.lang.String, java.lang.String, long, int, int, int, long, boolean, long, boolean, java.lang.String, java.lang.String] for class org.jboss.as.integration.hornetq.management.jms.QueueManageMO 2011-07-21 09:40:03,179 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at org.jboss.joinpoint.plugins.Config.findMethodInfo(Config.java:400) 2011-07-21 09:40:03,179 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at org.jboss.joinpoint.plugins.Config.findMethodInfo(Config.java:366) 2011-07-21 09:40:03,179 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at org.jboss.joinpoint.plugins.Config.findMethodInfo(Config.java:335) 2011-07-21 09:40:03,179 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at org.jboss.joinpoint.plugins.Config.getMethodJoinpoint(Config.java:223) 2011-07-21 09:40:03,179 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at org.jboss.beans.info.plugins.AbstractBeanInfo.invoke(AbstractBeanInfo.java:299) 2011-07-21 09:40:03,179 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at org.jboss.kernel.plugins.dependency.AbstractKernelControllerContext.invoke(AbstractKernelControllerContext.java:305) 2011-07-21 09:40:03,179 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at org.jboss.kernel.plugins.registry.basic.LifecycleAwareKernelBus$1.dispatch(LifecycleAwareKernelBus.java:61) 2011-07-21 09:40:03,179 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at org.jboss.kernel.plugins.registry.basic.LifecycleAwareKernelBus$1.dispatch(LifecycleAwareKernelBus.java:58) 2011-07-21 09:40:03,179 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at org.jboss.kernel.plugins.registry.basic.BasicKernelBus.execute(BasicKernelBus.java:71) 2011-07-21 09:40:03,179 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at org.jboss.kernel.plugins.registry.basic.LifecycleAwareKernelBus.invoke(LifecycleAwareKernelBus.java:57) 2011-07-21 09:40:03,179 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at org.jboss.profileservice.management.KernelBusRuntimeComponentDispatcher.invoke(KernelBusRuntimeComponentDispatcher.java:85) 2011-07-21 09:40:03,194 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at org.jboss.profileservice.plugins.management.util.AbstractManagedComponentRuntimeDispatcher.invoke(AbstractManagedComponentRuntimeDispatcher.java:135) 2011-07-21 09:40:03,194 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at org.jboss.profileservice.management.DelegatingComponentDispatcherImpl.invoke(DelegatingComponentDispatcherImpl.java:93) 2011-07-21 09:40:03,194 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at sun.reflect.GeneratedMethodAccessor446.invoke(Unknown Source) 2011-07-21 09:40:03,194 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 2011-07-21 09:40:03,194 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at java.lang.reflect.Method.invoke(Method.java:597) 2011-07-21 09:40:03,194 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:121) 2011-07-21 09:40:03,194 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at org.jboss.aspects.remoting.AOPRemotingInvocationHandler.invoke(AOPRemotingInvocationHandler.java:82) 2011-07-21 09:40:03,194 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at org.jboss.profileservice.remoting.ProfileServiceInvocationHandler.invoke(ProfileServiceInvocationHandler.java:99) 2011-07-21 09:40:03,194 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:967) 2011-07-21 09:40:03,194 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at org.jboss.remoting.transport.local.LocalClientInvoker.invoke(LocalClientInvoker.java:106) 2011-07-21 09:40:03,194 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at org.jboss.remoting.Client.invoke(Client.java:2070) 2011-07-21 09:40:03,194 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at org.jboss.remoting.Client.invoke(Client.java:879) 2011-07-21 09:40:03,194 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.java:60) 2011-07-21 09:40:03,194 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) 2011-07-21 09:40:03,194 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at org.jboss.aspects.remoting.MergeMetaDataInterceptor.invoke(MergeMetaDataInterceptor.java:74) 2011-07-21 09:40:03,194 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) 2011-07-21 09:40:03,194 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at org.jboss.aspects.security.SecurityClientInterceptor.invoke(SecurityClientInterceptor.java:65) 2011-07-21 09:40:03,194 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) 2011-07-21 09:40:03,194 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at org.jboss.aop.generatedproxies.AOPProxy$0.invoke(AOPProxy$0.java) 2011-07-21 09:40:03,194 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at org.jboss.profileservice.management.client.ManagedOperationDelegate.invoke(ManagedOperationDelegate.java:63) 2011-07-21 09:40:03,194 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at org.jboss.as.integration.hornetq.jopr.JMSManagerComponent.createQueue(JMSManagerComponent.java:267) 2011-07-21 09:40:03,194 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at org.jboss.as.integration.hornetq.jopr.JMSManagerComponent.createResource(JMSManagerComponent.java:149) 2011-07-21 09:40:03,194 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2011-07-21 09:40:03,194 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 2011-07-21 09:40:03,194 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 2011-07-21 09:40:03,194 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at java.lang.reflect.Method.invoke(Method.java:597) 2011-07-21 09:40:03,194 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at org.rhq.core.pc.inventory.ResourceContainer$ComponentInvocationThread.call(ResourceContainer.java:525) 2011-07-21 09:40:03,194 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) 2011-07-21 09:40:03,194 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at java.util.concurrent.FutureTask.run(FutureTask.java:138) 2011-07-21 09:40:03,194 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) 2011-07-21 09:40:03,194 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) 2011-07-21 09:40:03,194 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at java.lang.Thread.run(Thread.java:619) 2011-07-21 09:40:03,194 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.java:72) 2011-07-21 09:40:03,194 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) ... 19 more 2011-07-21 09:40:03,194 INFO [org.rhq.core.pc.inventory.CreateResourceRunner] (ResourceFactory.executor-1) Sending create response to server: CreateResourceResponse[RequestId=1, Status=Failure]

    JBoss Issue Tracker | 6 years ago | Jarod Rose
    java.lang.reflect.UndeclaredThrowableException: Failed to invoke method 'createQueue' on component 'JMSQueueManageMO' with parameters [SimpleMetaType:java.lang.String:TestQueue, SimpleMetaType:java.lang.String:queue/TestQueue, SimpleMetaType:java.lang.String:null, SimpleMetaType:java.lang.String:null, SimpleMetaType:int:-1, SimpleMetaType:int:10485760, SimpleMetaType:int:10, SimpleMetaType:long:0, SimpleMetaType:boolean:false, SimpleMetaType:long:-1, SimpleMetaType:boolean:false, SimpleMetaType:java.lang.String:PAGE, SimpleMetaType:java.lang.String:, SimpleMetaType:java.lang.String:].

    Root Cause Analysis

    1. org.jboss.joinpoint.spi.JoinpointException

      Method not found createQueue[java.lang.String, java.lang.String, java.lang.String, java.lang.String, long, int, int, int, long, boolean, long, boolean, java.lang.String, java.lang.String] for class org.jboss.as.integration.hornetq.management.jms.QueueManageMO

      at org.jboss.joinpoint.plugins.Config.findMethodInfo()
    2. JBoss Reflection
      AbstractBeanInfo.invoke
      1. org.jboss.joinpoint.plugins.Config.findMethodInfo(Config.java:400)
      2. org.jboss.joinpoint.plugins.Config.findMethodInfo(Config.java:366)
      3. org.jboss.joinpoint.plugins.Config.findMethodInfo(Config.java:335)
      4. org.jboss.joinpoint.plugins.Config.getMethodJoinpoint(Config.java:223)
      5. org.jboss.beans.info.plugins.AbstractBeanInfo.invoke(AbstractBeanInfo.java:299)
      5 frames
    3. JBoss Microcontainer Kernel
      LifecycleAwareKernelBus.invoke
      1. org.jboss.kernel.plugins.dependency.AbstractKernelControllerContext.invoke(AbstractKernelControllerContext.java:305)
      2. org.jboss.kernel.plugins.registry.basic.LifecycleAwareKernelBus$1.dispatch(LifecycleAwareKernelBus.java:61)
      3. org.jboss.kernel.plugins.registry.basic.LifecycleAwareKernelBus$1.dispatch(LifecycleAwareKernelBus.java:58)
      4. org.jboss.kernel.plugins.registry.basic.BasicKernelBus.execute(BasicKernelBus.java:71)
      5. org.jboss.kernel.plugins.registry.basic.LifecycleAwareKernelBus.invoke(LifecycleAwareKernelBus.java:57)
      5 frames
    4. org.jboss.profileservice
      KernelBusRuntimeComponentDispatcher.invoke
      1. org.jboss.profileservice.management.KernelBusRuntimeComponentDispatcher.invoke(KernelBusRuntimeComponentDispatcher.java:85)
      1 frame