-
1. Re: Problem using JBoss Messaging and JTS
debs Mar 10, 2009 10:29 AM (in response to debs)That is my xml files :
Destination service :<mbean code="org.jboss.jms.server.destination.QueueService" name="jboss.messaging.destination:service=Queue,name=CallBackServicesRequestQueue" xmbean-dd="xmdesc/Queue-xmbean.xml"> <depends optional-attribute-name="ServerPeer"> jboss.messaging:service=ServerPeer</depends> <depends>jboss.messaging:service=PostOffice </depends> <attribute name="SecurityConfig"> <security> <role name="guest" read="true" write="true"/> </security> </attribute> </mbean>
In messaging-service.xml i uncomment :
m3ss@g3
And in messaging-jboss-beans update suckerrPassword to:
m3ss@g3 -
2. Re: Problem using JBoss Messaging and JTS
debs Mar 10, 2009 10:31 AM (in response to debs)sorry for the mistake, i uncomment and change that in messaging-service.xml :
<attribute name="SuckerPassword">m3ss@g3</attribute>
-
3. Re: Problem using JBoss Messaging and JTS
debs Mar 10, 2009 3:54 PM (in response to debs)Nobody ?
-
4. Re: Problem using JBoss Messaging and JTS
clebert.suconic Mar 10, 2009 6:29 PM (in response to debs)I suspect there is some misconfig on the Security domains at /conf
-
5. Re: Problem using JBoss Messaging and JTS
lrgalego Mar 10, 2009 9:54 PM (in response to debs)I'm having the same problem described in this post,
There is any way to disable the authenticantion of the JBossMessaging, so this kind of problem could be ignored? -
6. Re: Problem using JBoss Messaging and JTS
gaohoward Mar 11, 2009 2:53 AM (in response to debs)Please give the full stack trace, that will help diagnose the problem.
-
7. Re: Problem using JBoss Messaging and JTS
ataylor Mar 11, 2009 4:59 AM (in response to debs)also provide the messaging security config from login-config.xml
-
8. Re: Problem using JBoss Messaging and JTS
timfox Mar 11, 2009 5:00 AM (in response to debs)What has JBM security config got to do with JTS? Nothing.
JBM does not use JTS and JTS does not use JBM, there's no dependency so I fail to see the relevance. -
9. Re: Problem using JBoss Messaging and JTS
debs Mar 11, 2009 8:30 AM (in response to debs)StackTrace :
javax.jms.JMSSecurityException: User null is NOT authenticated at org.jboss.jms.server.jbosssx.JBossASSecurityMetadataStore.authenticate(JBossASSecurityMetadataStore.java:223) 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:597) at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:93) at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:27) at com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(MBeanIntrospector.java:208) at com.sun.jmx.mbeanserver.PerInterface.invoke(PerInterface.java:120) at com.sun.jmx.mbeanserver.MBeanSupport.invoke(MBeanSupport.java:262) at javax.management.StandardMBean.invoke(StandardMBean.java:391) at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) at $Proxy110.authenticate(Unknown Source) at org.jboss.jms.server.endpoint.ServerConnectionFactoryEndpoint.createConnectionDelegateInternal(ServerConnectionFactoryEndpoint.java:233) at org.jboss.jms.server.endpoint.ServerConnectionFactoryEndpoint.createConnectionDelegate(ServerConnectionFactoryEndpoint.java:171) at org.jboss.jms.server.endpoint.advised.ConnectionFactoryAdvised.org$jboss$jms$server$endpoint$advised$ConnectionFactoryAdvised$createConnectionDelegate$aop(ConnectionFactoryAdvised.java:108) at org.jboss.jms.server.endpoint.advised.ConnectionFactoryAdvised.createConnectionDelegate(ConnectionFactoryAdvised.java) at org.jboss.jms.wireformat.ConnectionFactoryCreateConnectionDelegateRequest.serverInvoke(ConnectionFactoryCreateConnectionDelegateRequest.java:91) at org.jboss.jms.server.remoting.JMSServerInvocationHandler.invoke(JMSServerInvocationHandler.java:143) 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.jms.client.delegate.ClientConnectionFactoryDelegate.org$jboss$jms$client$delegate$ClientConnectionFactoryDelegate$createConnectionDelegate$aop(ClientConnectionFactoryDelegate.java:171) at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate$createConnectionDelegate_N3019492359065420858.invokeTarget(ClientConnectionFactoryDelegate$createConnectionDelegate_N3019492359065420858.java) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:111) at org.jboss.jms.client.container.StateCreationAspect.handleCreateConnectionDelegate(StateCreationAspect.java:81) at org.jboss.aop.advice.org.jboss.jms.client.container.StateCreationAspect_z_handleCreateConnectionDelegate_27982984.invoke(StateCreationAspect_z_handleCreateConnectionDelegate_27982984.java) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.createConnectionDelegate(ClientConnectionFactoryDelegate.java) at org.jboss.jms.client.JBossConnectionFactory.createConnectionInternal(JBossConnectionFactory.java:205) at org.jboss.jms.client.JBossConnectionFactory.createConnection(JBossConnectionFactory.java:87) at org.jboss.jms.client.JBossConnectionFactory.createConnection(JBossConnectionFactory.java:82) at org.springframework.jms.support.JmsAccessor.createConnection(JmsAccessor.java:184) at org.springframework.jms.listener.AbstractJmsListeningContainer.createSharedConnection(AbstractJmsListeningContainer.java:378) at org.springframework.jms.listener.AbstractJmsListeningContainer.establishSharedConnection(AbstractJmsListeningContainer.java:346) at org.springframework.jms.listener.DefaultMessageListenerContainer.establishSharedConnection(DefaultMessageListenerContainer.java:678) at org.springframework.jms.listener.AbstractJmsListeningContainer.doStart(AbstractJmsListeningContainer.java:258) at org.springframework.jms.listener.AbstractJmsListeningContainer.initialize(AbstractJmsListeningContainer.java:171) at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.initialize(AbstractPollingMessageListenerContainer.java:204) at org.springframework.jms.listener.DefaultMessageListenerContainer.initialize(DefaultMessageListenerContainer.java:459) at org.springframework.jms.listener.AbstractJmsListeningContainer.afterPropertiesSet(AbstractJmsListeningContainer.java:134) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1369) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1335) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409) at java.security.AccessController.doPrivileged(Native Method) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380) at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139) at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:93) at br.com.ctbc.gatewaycartao.spring.BusinessSpringManager.<init>(BusinessSpringManager.java:27) at br.com.ctbc.gatewaycartao.spring.BusinessSpringManager.getInstance(BusinessSpringManager.java:38) at br.com.ctbc.gatewaycartao.spring.BusinessSpringManager.getInstance(BusinessSpringManager.java:33) at br.com.ctbc.gatewaycartao.mbean.PaymentGatewayService.startService(PaymentGatewayService.java:43) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:376) at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:322) 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:597) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668) at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:189) at $Proxy36.start(Unknown Source) at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42) at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37) at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62) at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71) at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51) at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348) at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:286) at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598) at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934) at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062) at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984) at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822) at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553) at org.jboss.system.ServiceController.doChange(ServiceController.java:688) at org.jboss.system.ServiceController.start(ServiceController.java:460) at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:163) at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:99) at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:46) at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62) at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50) at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171) at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439) at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157) at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1178) at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1210) at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098) at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348) at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598) at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934) at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062) at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984) at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822) at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553) at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781) at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:698) at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:290) at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:221) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317) at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:181) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:205) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) 2009-03-11 09:24:59,216 DEBUG [org.jboss.jms.server.remoting.JMSServerInvocationHandler] (HDScanner) removing callback handler ServerInvokerCallbackHandler[ab45l-wblp3q-fs5z5jtx-1-fs5zhghc-ap+ab45l-wblp3q-fs5z5jtx-1-fs5zhghp-as] 2009-03-11 09:24:59,216 DEBUG [org.jboss.remoting.InvokerRegistry] (HDScanner) removed org.jboss.remoting.transport.local.LocalClientInvoker@e5987e from registry 2009-03-11 09:24:59,217 DEBUG [org.jboss.remoting.ServerInvoker] (HDScanner) ServerInvoker (SocketServerInvoker[10.11.4.201:496897359]) removing client callback handler with session id of ab45l-wblp3q-fs5z5jtx-1-fs5zhghc-ap+ab45l-wblp3q-fs5z5jtx-1-fs5zhghp-as. 2009-03-11 09:24:59,217 DEBUG [org.jboss.remoting.transport.bisocket.BisocketServerInvoker] (HDScanner) unrecognized listener ID: ab45l-wblp3q-fs5z5jtx-1-fs5zhghp-as 2009-03-11 09:24:59,217 DEBUG [org.jboss.remoting.InvokerRegistry] (HDScanner) removed org.jboss.remoting.transport.local.LocalClientInvoker@17e9a81 from registry 2009-03-11 09:24:59,217 DEBUG [org.jboss.remoting.transport.socket.SocketServerInvoker] (HDScanner) SocketServerInvoker[10.11.4.201:496897359] stopped threads in clientpool 2009-03-11 09:24:59,217 DEBUG [org.jboss.remoting.transport.socket.SocketServerInvoker] (HDScanner) SocketServerInvoker[10.11.4.201:496897359] stopped threads in threadpool 2009-03-11 09:24:59,217 DEBUG [org.jboss.remoting.transport.socket.SocketServerInvoker] (HDScanner) SocketServerInvoker[10.11.4.201:496897359] exiting 2009-03-11 09:24:59,217 DEBUG [org.jboss.remoting.ServerInvoker] (HDScanner) SocketServerInvoker[10.11.4.201:496897359] stopped 2009-03-11 09:24:59,217 DEBUG [org.jboss.remoting.InvokerRegistry] (HDScanner) decremented org.jboss.remoting.transport.local.LocalClientInvoker@d1c456's count, current count 1 2009-03-11 09:24:59,217 DEBUG [org.jboss.remoting.InvokerRegistry] (HDScanner) decremented org.jboss.remoting.transport.local.LocalClientInvoker@1b11bc2's count, current count 1 2009-03-11 09:24:59,217 DEBUG [org.springframework.jms.listener.DefaultMessageListenerContainer] (HDScanner) Could not establish shared JMS Connection - leaving it up to asynchronous invokers to establish a Connection as soon as possible
login-config.xml :<application-policy name = "messaging"> <authentication> <login-module code = "org.jboss.security.auth.spi.UsersRolesLoginModule" flag = "required" > <module-option name = "unauthenticatedIdentity">guest</module-option> <module-option name = "usersProperties">props/messaging-users.properties</module-option> <module-option name = "rolesProperties">props/messaging-roles.properties</module-option> </login-module> </authentication> </application-policy>
Thanks... -
10. Re: Problem using JBoss Messaging and JTS
ataylor Mar 11, 2009 9:02 AM (in response to debs)check that the guest user and roles are in messaging-users.properties and messaging-roles.properties
-
11. Re: Problem using JBoss Messaging and JTS
lrgalego Mar 11, 2009 4:53 PM (in response to debs)Hi folks, I'm having the same problem described in this post,
I decided to list everything that I do, so anyone who wants to help could reproduce my error.
1 -
I follow this article: http://www.jboss.org/community/docs/DOC-13179
and installed jts in my jboss 5.0.1.GA unsing the build.xml and ant that exists into the docs/examples/jts directory.
2-
changed the sucker passord into the deploy/messaging/messaging-jboss-beans.xml
3-
descomment the sucker password into the deploy/messaging/messaging-service.xml and set it the same as in the file deploy/messaging/messaging-jboss-beans.xml
4-
I implemented the follow MDB:@MessageDriven(activationConfig = { @ActivationConfigProperty(propertyName = "maxSession", propertyValue = "1"), @ActivationConfigProperty(propertyName = "destinationType", propertyValue = "javax.jms.Queue"), @ActivationConfigProperty(propertyName = "destination", propertyValue = "queue/myQueue") }) public class MyMdb implements MessageDrivenBean, MessageListener { public void onMessage(Message message) { System.out.println("Message received"); } public void ejbRemove() throws EJBException { } public void setMessageDrivenContext(MessageDrivenContext ctx) throws EJBException { } }
5-
Create a destination entry for my queue:<mbean code="org.jboss.jms.server.destination.QueueService" name="jboss.messaging.destination:service=Queue,name=myQueue" xmbean-dd="xmdesc/Queue-xmbean.xml"> <depends optional-attribute-name="ServerPeer"> jboss.messaging:service=ServerPeer</depends> <depends>jboss.messaging:service=PostOffice </depends> <attribute name="SecurityConfig"> <security> <role name="guest" read="true" write="true"/> </security> </attribute> </mbean>
6- Deployed a ear file with the mdb.
7- Then I obtain the same stacktrace that debs show to us.
I also tried to change the deploy/messaging/messaging-jboss-beans.xml changing the definition of the application policy to<application-policy xmlns="urn:jboss:security-beans:1.0" name="messaging"> <authentication> <login-module code="org.jboss.security.auth.spi.UsersRolesLoginModule" flag="required"> <module-option name="usersProperties">props/messaging-users.properties</module-option> <module-option name="rolesProperties">props/messaging-roles.properties</module-option> </login-module> </authentication> </application-policy>
But the problem was the same.
Talking in the transactions forum
http://www.jboss.org/index.html?module=bb&op=viewtopic&t=152050
a side effect of the JBossTS was listed(JBTM-466).
So what I did...
I decoreted the class org.jboss.jms.server.jbosssx.JBossASSecurityMetadataStore and made the username and the password be setted by a user present in the properties that I defined to be used in the application-policy.
The JMS works without the error message and the message seen's to be received ok.
But the first time that I received a message the follow stack trace is displayed2009-03-11 14:08:36,771 ERROR [org.jboss.resource.adapter.jms.inflow.JmsServerSession] (WorkManager(2)-3) Unexpected error delivering message delegator->JBossMessage[20263588915314688]:PERSISTENT, deliveryId=0 java.lang.NullPointerException at org.jboss.ejb3.security.SecurityActions$14.run(SecurityActions.java:415) at org.jboss.ejb3.security.SecurityActions$14.run(SecurityActions.java:412) at java.security.AccessController.doPrivileged(Native Method) at org.jboss.ejb3.security.SecurityActions.popRunAs(SecurityActions.java:410) at org.jboss.ejb3.security.RunAsSecurityInterceptorv2.invoke(RunAsSecurityInterceptorv2.java:99) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) at org.jboss.ejb3.security.Ejb3AuthenticationInterceptorv2.invoke(Ejb3AuthenticationInterceptorv2.java:80) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) at org.jboss.ejb3.BlockContainerShutdownInterceptor.invoke(BlockContainerShutdownInterceptor.java:67) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) at org.jboss.aspects.currentinvocation.CurrentInvocationInterceptor.invoke(CurrentInvocationInterceptor.java:67) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) at org.jboss.ejb3.mdb.MessagingContainer.localInvoke(MessagingContainer.java:262) at org.jboss.ejb3.mdb.inflow.MessageInflowLocalProxy.delivery(MessageInflowLocalProxy.java:270) at org.jboss.ejb3.mdb.inflow.MessageInflowLocalProxy.invoke(MessageInflowLocalProxy.java:140) at $Proxy189.onMessage(Unknown Source) at org.jboss.resource.adapter.jms.inflow.JmsServerSession.onMessage(JmsServerSession.java:178) at org.jboss.jms.client.container.ClientConsumer.callOnMessageStatic(ClientConsumer.java:160) at org.jboss.jms.client.container.SessionAspect.handleRun(SessionAspect.java:831) at org.jboss.aop.advice.org.jboss.jms.client.container.SessionAspect_z_handleRun_12144849.invoke(SessionAspect_z_handleRun_12144849.java) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) at org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:170) at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:86) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) at org.jboss.jms.client.delegate.ClientSessionDelegate.run(ClientSessionDelegate.java) at org.jboss.jms.client.JBossSession.run(JBossSession.java:199) at org.jboss.resource.adapter.jms.inflow.JmsServerSession.run(JmsServerSession.java:234) at org.jboss.resource.work.WorkWrapper.execute(WorkWrapper.java:213) at org.jboss.util.threadpool.BasicTaskWrapper.run(BasicTaskWrapper.java:260) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619)
So I think that this solution is really ugly. And maybe can create some unexpected errors.
Can anyone help me with this? Thanks for the attention.