When trying to create a new topic in Admin Console the following exception is displayed in the browser:
Failed to add Resource (see app server log for additional details): Failed to invoke method 'createTopic' on component 'JMSTopicManageMO' with parameters [SimpleMetaType:java.lang.String:tomrTopic, SimpleMetaType:java.lang.String:tomrTopic, SimpleMetaType:java.lang.String:null, SimpleMetaType:java.lang.String:null, SimpleMetaType:int:-1, SimpleMetaType:int:10485760, SimpleMetaType:int:5, 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:, SimpleMetaType:java.lang.String:, SimpleMetaType:java.lang.String:, SimpleMetaType:java.lang.String:, SimpleMetaType:java.lang.String:]
The JBoss server log file shows following exception:
15:07:29,849 ERROR [STDERR] java.lang.reflect.UndeclaredThrowableException: Failed to invoke method 'createTopic' on component 'JMSTopicManageMO' with parameters [SimpleMetaType:java.lang.String:tomrTopic, SimpleMetaType:java.lang.String:tomrTopic, SimpleMetaType:java.lang.String:null, SimpleMetaType:java.lang.String:null, SimpleMetaType:int:-1, SimpleMetaType:int:10485760, SimpleMetaType:int:5, 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:, SimpleMetaType:java.lang.String:, SimpleMetaType:java.lang.String:, SimpleMetaType:java.lang.String:, SimpleMetaType:java.lang.String:].
15:07:29,849 ERROR [STDERR] at org.jboss.profileservice.management.KernelBusRuntimeComponentDispatcher.invoke(KernelBusRuntimeComponentDispatcher.java:201)
15:07:29,849 ERROR [STDERR] at org.jboss.profileservice.management.DelegatingComponentDispatcherImpl.invoke(DelegatingComponentDispatcherImpl.java:103)
15:07:29,849 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor329.invoke(Unknown Source)
15:07:29,850 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
15:07:29,850 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:597)
15:07:29,850 ERROR [STDERR] at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:121)
15:07:29,850 ERROR [STDERR] at org.jboss.aspects.remoting.AOPRemotingInvocationHandler.invoke(AOPRemotingInvocationHandler.java:82)
15:07:29,850 ERROR [STDERR] at org.jboss.profileservice.remoting.ProfileServiceInvocationHandler.invoke(ProfileServiceInvocationHandler.java:99)
15:07:29,850 ERROR [STDERR] at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:967)
15:07:29,850 ERROR [STDERR] at org.jboss.remoting.transport.local.LocalClientInvoker.invoke(LocalClientInvoker.java:106)
15:07:29,850 ERROR [STDERR] at org.jboss.remoting.Client.invoke(Client.java:2070)
15:07:29,850 ERROR [STDERR] at org.jboss.remoting.Client.invoke(Client.java:879)
15:07:29,850 ERROR [STDERR] at org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.java:60)
15:07:29,850 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
15:07:29,850 ERROR [STDERR] at org.jboss.aspects.remoting.MergeMetaDataInterceptor.invoke(MergeMetaDataInterceptor.java:74)
15:07:29,850 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
15:07:29,851 ERROR [STDERR] at org.jboss.aspects.security.SecurityClientInterceptor.invoke(SecurityClientInterceptor.java:65)
15:07:29,851 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
15:07:29,851 ERROR [STDERR] at org.jboss.aop.generatedproxies.AOPProxy$0.invoke(AOPProxy$0.java)
15:07:29,851 ERROR [STDERR] at org.jboss.profileservice.management.client.ManagedOperationDelegate.invoke(ManagedOperationDelegate.java:63)
15:07:29,851 ERROR [STDERR] at org.jboss.as.integration.hornetq.jopr.JMSManagerComponent.createTopic(JMSManagerComponent.java:302)
15:07:29,851 ERROR [STDERR] at org.jboss.as.integration.hornetq.jopr.JMSManagerComponent.createResource(JMSManagerComponent.java:154)
15:07:29,851 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
15:07:29,851 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
15:07:29,851 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
15:07:29,851 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:597)
15:07:29,851 ERROR [STDERR] at org.rhq.core.pc.inventory.ResourceContainer$ComponentInvocationThread.call(ResourceContainer.java:525)
15:07:29,851 ERROR [STDERR] at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
15:07:29,851 ERROR [STDERR] at java.util.concurrent.FutureTask.run(FutureTask.java:138)
15:07:29,851 ERROR [STDERR] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
15:07:29,851 ERROR [STDERR] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
15:07:29,851 ERROR [STDERR] at java.lang.Thread.run(Thread.java:680)
15:07:29,851 ERROR [STDERR] Caused by: java.lang.IllegalStateException: pageSize has to be lower than maxSizeBytes. Invalid argument (10485760 < -1)
15:07:29,851 ERROR [STDERR] at org.hornetq.core.management.impl.HornetQServerControlImpl.addAddressSettings(HornetQServerControlImpl.java:1526)
15:07:29,851 ERROR [STDERR] at org.jboss.as.integration.hornetq.management.jms.TopicManageMO.createTopic(TopicManageMO.java:128)
15:07:29,851 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
15:07:29,851 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
15:07:29,851 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
15:07:29,851 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:597)
15:07:29,851 ERROR [STDERR] at org.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:59)
15:07:29,852 ERROR [STDERR] at org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:150)
15:07:29,852 ERROR [STDERR] at org.jboss.joinpoint.plugins.BasicMethodJoinPoint.dispatch(BasicMethodJoinPoint.java:66)
15:07:29,852 ERROR [STDERR] at org.jboss.beans.info.plugins.AbstractBeanInfo.invoke(AbstractBeanInfo.java:300)
15:07:29,852 ERROR [STDERR] at org.jboss.kernel.plugins.dependency.AbstractKernelControllerContext.invoke(AbstractKernelControllerContext.java:291)
15:07:29,852 ERROR [STDERR] at org.jboss.kernel.plugins.registry.basic.LifecycleAwareKernelBus$1.dispatch(LifecycleAwareKernelBus.java:61)
15:07:29,852 ERROR [STDERR] at org.jboss.kernel.plugins.registry.basic.LifecycleAwareKernelBus$1.dispatch(LifecycleAwareKernelBus.java:58)
15:07:29,852 ERROR [STDERR] at org.jboss.kernel.plugins.registry.basic.BasicKernelBus.execute(BasicKernelBus.java:71)
15:07:29,852 ERROR [STDERR] at org.jboss.kernel.plugins.registry.basic.LifecycleAwareKernelBus.invoke(LifecycleAwareKernelBus.java:57)
15:07:29,852 ERROR [STDERR] at org.jboss.profileservice.management.KernelBusRuntimeComponentDispatcher.invoke(KernelBusRuntimeComponentDispatcher.java:186)
15:07:29,852 ERROR [STDERR] at org.jboss.profileservice.management.DelegatingComponentDispatcherImpl.invoke(DelegatingComponentDispatcherImpl.java:103)
15:07:29,852 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor329.invoke(Unknown Source)
15:07:29,852 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
15:07:29,852 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:597)
15:07:29,852 ERROR [STDERR] at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:121)
15:07:29,852 ERROR [STDERR] at org.jboss.aspects.remoting.AOPRemotingInvocationHandler.invoke(AOPRemotingInvocationHandler.java:82)
15:07:29,852 ERROR [STDERR] at org.jboss.profileservice.remoting.ProfileServiceInvocationHandler.invoke(ProfileServiceInvocationHandler.java:99)
15:07:29,852 ERROR [STDERR] at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:967)
15:07:29,852 ERROR [STDERR] at org.jboss.remoting.transport.local.LocalClientInvoker.invoke(LocalClientInvoker.java:106)
15:07:29,852 ERROR [STDERR] at org.jboss.remoting.Client.invoke(Client.java:2070)
15:07:29,852 ERROR [STDERR] at org.jboss.remoting.Client.invoke(Client.java:879)
15:07:29,852 ERROR [STDERR] at org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.java:60)
15:07:29,852 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
15:07:29,852 ERROR [STDERR] at org.jboss.aspects.remoting.MergeMetaDataInterceptor.invoke(MergeMetaDataInterceptor.java:74)
15:07:29,852 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
15:07:29,852 ERROR [STDERR] at org.jboss.aspects.security.SecurityClientInterceptor.invoke(SecurityClientInterceptor.java:65)
15:07:29,853 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
15:07:29,853 ERROR [STDERR] at org.jboss.aop.generatedproxies.AOPProxy$0.invoke(AOPProxy$0.java)
15:07:29,853 ERROR [STDERR] at org.jboss.profileservice.management.client.ManagedOperationDelegate.invoke(ManagedOperationDelegate.java:63)
15:07:29,853 ERROR [STDERR] at org.jboss.as.integration.hornetq.jopr.JMSManagerComponent.createTopic(JMSManagerComponent.java:302)
15:07:29,853 ERROR [STDERR] at org.jboss.as.integration.hornetq.jopr.JMSManagerComponent.createResource(JMSManagerComponent.java:154)
15:07:29,853 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
15:07:29,853 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
15:07:29,853 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
15:07:29,853 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:597)
15:07:29,853 ERROR [STDERR] at org.rhq.core.pc.inventory.ResourceContainer$ComponentInvocationThread.call(ResourceContainer.java:525)
15:07:29,853 ERROR [STDERR] at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
15:07:29,853 ERROR [STDERR] at java.util.concurrent.FutureTask.run(FutureTask.java:138)
15:07:29,853 ERROR [STDERR] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
15:07:29,853 ERROR [STDERR] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
15:07:29,853 ERROR [STDERR] at java.lang.Thread.run(Thread.java:680)
15:07:29,853 ERROR [STDERR] at org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.java:72)
15:07:29,853 ERROR [STDERR] ... 19 more