]
Ian Springer updated EMBJOPR-357:
---------------------------------
Assignee: Andy Taylor
This looks like an issue with the hornetq plugin - looks as if the hornetq profileservice
API changed at some point, and the plugin is still trying to use the old API. Andy,
I'm assigning to you so you can look into it. Besides looking at it with AS6, you
should also see if it's an issue on EAP 5.1 + HornetQ.
Error when creating connection factory
--------------------------------------
Key: EMBJOPR-357
URL:
https://issues.jboss.org/browse/EMBJOPR-357
Project: Embedded Jopr
Issue Type: Bug
Reporter: John Ament
Assignee: Andy Taylor
When creating a new JMS ConnectionFactory, an exception gets thrown by the application.
Stack trace:
08:31:14,535 INFO [org.rhq.core.pc.inventory.CreateResourceRunner] Creating resource
through report: CreateResourceReport: ResourceType=[ResourceType[id=0, category=Service,
name=JMS Connection Factory, plugin=HornetQ]], ResourceKey=[null]
08:31:14,538 ERROR [STDERR] java.lang.reflect.UndeclaredThrowableException: Failed to
invoke method 'createConnectionFactory' on component
'JMSConnectionFactoryManageMO' with parameters
[SimpleMetaType:java.lang.String:FlashSalesMQ, SimpleMetaType:boolean:true,
SimpleMetaType:boolean:false, SimpleMetaType:int:2, SimpleMetaType:java.lang.String:netty,
SimpleMetaType:java.lang.String:jms/FlashMQ, SimpleMetaType:java.lang.String:null,
SimpleMetaType:int:1048576, SimpleMetaType:int:1048576, SimpleMetaType:long:30000,
SimpleMetaType:long:60000, SimpleMetaType:long:30000, SimpleMetaType:int:1048576,
SimpleMetaType:int:-1, SimpleMetaType:int:-1, SimpleMetaType:int:65536,
SimpleMetaType:boolean:false, SimpleMetaType:int:102400, SimpleMetaType:boolean:false,
SimpleMetaType:boolean:false, SimpleMetaType:boolean:true, SimpleMetaType:boolean:true,
SimpleMetaType:boolean:true, SimpleMetaType:long:2000, SimpleMetaType:double:1.0,
SimpleMetaType:int:0, SimpleMetaType:int:5, SimpleMetaType:int:-1,
SimpleMetaType:java.lang.String:null, SimpleMetaType:int:1500,
SimpleMetaType:boolean:true, SimpleMetaType:long:2000,
SimpleMetaType:java.lang.String:org.hornetq.api.core.client.loadbalance.RoundRobinConnectionLoadBalancingPolicy].
08:31:14,539 ERROR [STDERR] at
org.jboss.profileservice.plugins.management.util.AbstractManagedComponentRuntimeDispatcher.invoke(AbstractManagedComponentRuntimeDispatcher.java:148)
08:31:14,539 ERROR [STDERR] at
org.jboss.profileservice.management.DelegatingComponentDispatcherImpl.invoke(DelegatingComponentDispatcherImpl.java:93)
08:31:14,539 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
08:31:14,539 ERROR [STDERR] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
08:31:14,539 ERROR [STDERR] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
08:31:14,540 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:597)
08:31:14,540 ERROR [STDERR] at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:121)
08:31:14,540 ERROR [STDERR] at
org.jboss.aspects.remoting.AOPRemotingInvocationHandler.invoke(AOPRemotingInvocationHandler.java:82)
08:31:14,540 ERROR [STDERR] at
org.jboss.profileservice.remoting.ProfileServiceInvocationHandler.invoke(ProfileServiceInvocationHandler.java:99)
08:31:14,540 ERROR [STDERR] at
org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:898)
08:31:14,540 ERROR [STDERR] at
org.jboss.remoting.transport.local.LocalClientInvoker.invoke(LocalClientInvoker.java:106)
08:31:14,540 ERROR [STDERR] at org.jboss.remoting.Client.invoke(Client.java:1961)
08:31:14,541 ERROR [STDERR] at org.jboss.remoting.Client.invoke(Client.java:804)
08:31:14,541 ERROR [STDERR] at
org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.java:60)
08:31:14,541 ERROR [STDERR] at
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
08:31:14,541 ERROR [STDERR] at
org.jboss.aspects.remoting.MergeMetaDataInterceptor.invoke(MergeMetaDataInterceptor.java:74)
08:31:14,541 ERROR [STDERR] at
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
08:31:14,541 ERROR [STDERR] at
org.jboss.aspects.security.SecurityClientInterceptor.invoke(SecurityClientInterceptor.java:65)
08:31:14,541 ERROR [STDERR] at
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
08:31:14,541 ERROR [STDERR] at
org.jboss.aop.generatedproxies.AOPProxy$1.invoke(AOPProxy$1.java)
08:31:14,542 ERROR [STDERR] at
org.jboss.profileservice.management.client.ManagedOperationDelegate.invoke(ManagedOperationDelegate.java:63)
08:31:14,542 ERROR [STDERR] at
org.jboss.as.integration.hornetq.jopr.JMSManagerComponent.createConnectionFactory(JMSManagerComponent.java:219)
08:31:14,542 ERROR [STDERR] at
org.jboss.as.integration.hornetq.jopr.JMSManagerComponent.createResource(JMSManagerComponent.java:130)
08:31:14,542 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
08:31:14,542 ERROR [STDERR] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
08:31:14,542 ERROR [STDERR] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
08:31:14,543 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:597)
08:31:14,543 ERROR [STDERR] at
org.rhq.core.pc.inventory.ResourceContainer$ComponentInvocationThread.call(ResourceContainer.java:525)
08:31:14,543 ERROR [STDERR] at
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
08:31:14,543 ERROR [STDERR] at
java.util.concurrent.FutureTask.run(FutureTask.java:138)
08:31:14,543 ERROR [STDERR] at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
08:31:14,543 ERROR [STDERR] at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
08:31:14,543 ERROR [STDERR] at java.lang.Thread.run(Thread.java:619)
08:31:14,544 ERROR [STDERR] Caused by: org.jboss.joinpoint.spi.JoinpointException: Method
not found createConnectionFactory[java.lang.String, java.lang.String, java.lang.String,
java.lang.String, java.lang.String, java.lang.String, java.lang.String, int, long,
java.lang.String, int, int, long, long, long, int, int, int, int, boolean, int, boolean,
boolean, boolean, boolean, boolean, long, double, int, boolean, int, int,
java.lang.String] for class
org.jboss.as.integration.hornetq.management.jms.ConnectionFactoryManageMO
08:31:14,544 ERROR [STDERR] at
org.jboss.joinpoint.plugins.Config.findMethodInfo(Config.java:400)
08:31:14,544 ERROR [STDERR] at
org.jboss.joinpoint.plugins.Config.findMethodInfo(Config.java:366)
08:31:14,544 ERROR [STDERR] at
org.jboss.joinpoint.plugins.Config.findMethodInfo(Config.java:335)
08:31:14,544 ERROR [STDERR] at
org.jboss.joinpoint.plugins.Config.getMethodJoinpoint(Config.java:223)
08:31:14,544 ERROR [STDERR] at
org.jboss.beans.info.plugins.AbstractBeanInfo.invoke(AbstractBeanInfo.java:299)
08:31:14,544 ERROR [STDERR] at
org.jboss.kernel.plugins.dependency.AbstractKernelControllerContext.invoke(AbstractKernelControllerContext.java:305)
08:31:14,544 ERROR [STDERR] at
org.jboss.kernel.plugins.registry.basic.LifecycleAwareKernelBus$1.dispatch(LifecycleAwareKernelBus.java:61)
08:31:14,545 ERROR [STDERR] at
org.jboss.kernel.plugins.registry.basic.LifecycleAwareKernelBus$1.dispatch(LifecycleAwareKernelBus.java:58)
08:31:14,545 ERROR [STDERR] at
org.jboss.kernel.plugins.registry.basic.BasicKernelBus.execute(BasicKernelBus.java:71)
08:31:14,545 ERROR [STDERR] at
org.jboss.kernel.plugins.registry.basic.LifecycleAwareKernelBus.invoke(LifecycleAwareKernelBus.java:57)
08:31:14,545 ERROR [STDERR] at
org.jboss.profileservice.management.KernelBusRuntimeComponentDispatcher.invoke(KernelBusRuntimeComponentDispatcher.java:85)
08:31:14,545 ERROR [STDERR] at
org.jboss.profileservice.plugins.management.util.AbstractManagedComponentRuntimeDispatcher.invoke(AbstractManagedComponentRuntimeDispatcher.java:135)
08:31:14,545 ERROR [STDERR] at
org.jboss.profileservice.management.DelegatingComponentDispatcherImpl.invoke(DelegatingComponentDispatcherImpl.java:93)
08:31:14,545 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
08:31:14,546 ERROR [STDERR] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
08:31:14,546 ERROR [STDERR] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
08:31:14,546 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:597)
08:31:14,546 ERROR [STDERR] at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:121)
08:31:14,550 ERROR [STDERR] at
org.jboss.aspects.remoting.AOPRemotingInvocationHandler.invoke(AOPRemotingInvocationHandler.java:82)
08:31:14,550 ERROR [STDERR] at
org.jboss.profileservice.remoting.ProfileServiceInvocationHandler.invoke(ProfileServiceInvocationHandler.java:99)
08:31:14,550 ERROR [STDERR] at
org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:898)
08:31:14,550 ERROR [STDERR] at
org.jboss.remoting.transport.local.LocalClientInvoker.invoke(LocalClientInvoker.java:106)
08:31:14,550 ERROR [STDERR] at org.jboss.remoting.Client.invoke(Client.java:1961)
08:31:14,551 ERROR [STDERR] at org.jboss.remoting.Client.invoke(Client.java:804)
08:31:14,551 ERROR [STDERR] at
org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.java:60)
08:31:14,551 ERROR [STDERR] at
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
08:31:14,551 ERROR [STDERR] at
org.jboss.aspects.remoting.MergeMetaDataInterceptor.invoke(MergeMetaDataInterceptor.java:74)
08:31:14,551 ERROR [STDERR] at
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
08:31:14,551 ERROR [STDERR] at
org.jboss.aspects.security.SecurityClientInterceptor.invoke(SecurityClientInterceptor.java:65)
08:31:14,551 ERROR [STDERR] at
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
08:31:14,552 ERROR [STDERR] at
org.jboss.aop.generatedproxies.AOPProxy$1.invoke(AOPProxy$1.java)
08:31:14,552 ERROR [STDERR] at
org.jboss.profileservice.management.client.ManagedOperationDelegate.invoke(ManagedOperationDelegate.java:63)
08:31:14,552 ERROR [STDERR] at
org.jboss.as.integration.hornetq.jopr.JMSManagerComponent.createConnectionFactory(JMSManagerComponent.java:219)
08:31:14,552 ERROR [STDERR] at
org.jboss.as.integration.hornetq.jopr.JMSManagerComponent.createResource(JMSManagerComponent.java:130)
08:31:14,552 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
08:31:14,552 ERROR [STDERR] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
08:31:14,552 ERROR [STDERR] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
08:31:14,553 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:597)
08:31:14,553 ERROR [STDERR] at
org.rhq.core.pc.inventory.ResourceContainer$ComponentInvocationThread.call(ResourceContainer.java:525)
08:31:14,553 ERROR [STDERR] at
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
08:31:14,553 ERROR [STDERR] at
java.util.concurrent.FutureTask.run(FutureTask.java:138)
08:31:14,553 ERROR [STDERR] at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
08:31:14,553 ERROR [STDERR] at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
08:31:14,553 ERROR [STDERR] at java.lang.Thread.run(Thread.java:619)
08:31:14,554 ERROR [STDERR] at
org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.java:72)
08:31:14,554 ERROR [STDERR] ... 19 more
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: