I'm sorry, didn't mean to mix anything up... The server picks up 4 messages, from
there it throws exceptions. Here's the server log:
16:24:04,390 INFO [STDOUT] TREMessageEJB got TextMessage: Y10001
16:24:04,421 INFO [STDOUT] TREMessageEJB got TextMessage: Y10002
16:24:04,453 INFO [STDOUT] TREMessageEJB got TextMessage: Y10003
16:24:04,484 INFO [STDOUT] TREMessageEJB got TextMessage: Y10004
16:24:04,484 INFO [STDOUT] MessageHelper generated a JMSException:
16:24:04,484 INFO [STDOUT] MessageHelper generated a JMSException:
16:24:04,484 INFO [STDOUT] MessageHelper generated a JMSException:
16:24:04,484 INFO [STDOUT] Invalid transaction id.
16:24:04,484 INFO [STDOUT] Invalid transaction id.
16:24:04,484 INFO [STDOUT] Invalid transaction id.
16:24:04,484 ERROR [STDERR] javax.jms.JMSException: Invalid transaction id.
16:24:04,484 ERROR [STDERR] at
org.jboss.mq.SpyXAResourceManager.addMessage(SpyXAResourceManager.java:95)
16:24:04,484 ERROR [STDERR] at
org.jboss.mq.SpySession.sendMessage(SpySession.java:728)
16:24:04,484 ERROR [STDERR] at
org.jboss.mq.SpyQueueSender.internalSend(SpyQueueSender.java:118)
16:24:04,484 ERROR [STDERR] at
org.jboss.mq.SpyQueueSender.send(SpyQueueSender.java:68)
16:24:04,484 ERROR [STDERR] at
helloworld.messagebeanserver.MessageHelper.sendMessage(MessageHelper.java:60)
16:24:04,484 ERROR [STDERR] at
helloworld.messagebeanserver.TREMessageEJB.onMessage(TREMessageEJB.java:95)
16:24:04,484 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
16:24:04,484 ERROR [STDERR] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
16:24:04,484 ERROR [STDERR] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
16:24:04,500 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:324)
16:24:04,515 ERROR [STDERR] at
org.jboss.ejb.MessageDrivenContainer$ContainerInterceptor.invoke(MessageDrivenContainer.java:460)
16:24:04,515 ERROR [STDERR] at
org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionIntercept
or.java:185)
16:24:04,515 ERROR [STDERR] at
org.jboss.ejb.plugins.MessageDrivenInstanceInterceptor.invoke(MessageDrivenInstanceInterceptor.ja
va:62)
16:24:04,515 ERROR [STDERR] at
org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:84)
16:24:04,515 ERROR [STDERR] at
org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:240)
16:24:04,515 ERROR [STDERR] at
org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:128)
16:24:04,515 ERROR [STDERR] at
org.jboss.ejb.plugins.RunAsSecurityInterceptor.invoke(RunAsSecurityInterceptor.java:90)
16:24:04,515 ERROR [STDERR] at
org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191)
16:24:04,515 ERROR [STDERR] at
org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122
)
16:24:04,515 ERROR [STDERR] at
org.jboss.ejb.MessageDrivenContainer.internalInvoke(MessageDrivenContainer.java:374)
16:24:04,515 ERROR [STDERR] at org.jboss.ejb.Container.invoke(Container.java:700)
16:24:04,515 ERROR [STDERR] at
org.jboss.ejb.plugins.jms.JMSContainerInvoker.invoke(JMSContainerInvoker.java:824)
16:24:04,515 ERROR [STDERR] at
org.jboss.ejb.plugins.jms.JMSContainerInvoker$MessageListenerImpl.onMessage(JMSContainerInvoker.j
ava:1114)
16:24:04,515 ERROR [STDERR] at
org.jboss.jms.asf.StdServerSession.onMessage(StdServerSession.java:256)
16:24:04,515 ERROR [STDERR] at
org.jboss.mq.SpyMessageConsumer.sessionConsumerProcessMessage(SpyMessageConsumer.java:633)
16:24:04,515 ERROR [STDERR] at
org.jboss.mq.SpyMessageConsumer.addMessage(SpyMessageConsumer.java:433)
16:24:04,515 INFO [STDOUT] MessageHelper generated a JMSException:
16:24:04,515 INFO [STDOUT] Invalid transaction id.
16:24:04,515 ERROR [STDERR] at org.jboss.mq.SpySession.run(SpySession.java:298)
16:24:04,515 INFO [STDOUT] TREMessageEJB got TextMessage: Y10005
16:24:04,515 ERROR [STDERR] at
org.jboss.jms.asf.StdServerSession.run(StdServerSession.java:180)
16:24:04,515 ERROR [STDERR] at
EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:727)
16:24:04,515 ERROR [STDERR] at java.lang.Thread.run(Thread.java:534)
16:24:04,515 ERROR [STDERR] javax.jms.JMSException: Invalid transaction id.
16:24:04,515 INFO [STDOUT] MessageHelper - Connection not closed, reclosing connection
16:24:04,515 ERROR [STDERR] at
org.jboss.mq.SpyXAResourceManager.addMessage(SpyXAResourceManager.java:95)
16:24:04,515 ERROR [STDERR] at
org.jboss.mq.SpySession.sendMessage(SpySession.java:728)
16:24:04,515 ERROR [STDERR] at
org.jboss.mq.SpyQueueSender.internalSend(SpyQueueSender.java:118)
16:24:04,515 ERROR [STDERR] at
org.jboss.mq.SpyQueueSender.send(SpyQueueSender.java:68)
16:24:04,515 ERROR [STDERR] at
helloworld.messagebeanserver.MessageHelper.sendMessage(MessageHelper.java:60)
16:24:04,515 ERROR [STDERR] at
helloworld.messagebeanserver.TREMessageEJB.onMessage(TREMessageEJB.java:95)
16:24:04,515 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
16:24:04,515 ERROR [STDERR] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
16:24:04,515 ERROR [STDERR] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
16:24:04,515 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:324)
16:24:04,515 ERROR [STDERR] at
org.jboss.ejb.MessageDrivenContainer$ContainerInterceptor.invoke(MessageDrivenContainer.java:460)
16:24:04,531 ERROR [STDERR] at
org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionIntercept
or.java:185)
16:24:04,546 ERROR [STDERR] at
org.jboss.ejb.plugins.MessageDrivenInstanceInterceptor.invoke(MessageDrivenInstanceInterceptor.ja
va:62)
16:24:04,546 INFO [CachedConnectionManager] Closing a connection for you. Please
close them yourself: org.jboss.resource.adapter.j
[EMAIL PROTECTED]
java.lang.Exception: STACKTRACE
at
org.jboss.resource.connectionmanager.CachedConnectionManager.registerConnection(CachedConnectionManager.java:282)
at
org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:506)
at
org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManag
er2.java:814)
at
org.jboss.resource.adapter.jms.JmsSessionFactoryImpl.createQueueSession(JmsSessionFactoryImpl.java:119)
at
helloworld.messagebeanserver.MessageHelper.sendMessage(MessageHelper.java:57)
at helloworld.messagebeanserver.TREMessageEJB.onMessage(TREMessageEJB.java:95)
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:324)
at
org.jboss.ejb.MessageDrivenContainer$ContainerInterceptor.invoke(MessageDrivenContainer.java:460)
at
org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:185)
at
org.jboss.ejb.plugins.MessageDrivenInstanceInterceptor.invoke(MessageDrivenInstanceInterceptor.java:62)
at
org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:84)
at
org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:240)
at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:128)
at
org.jboss.ejb.plugins.RunAsSecurityInterceptor.invoke(RunAsSecurityInterceptor.java:90)
at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191)
at
org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)
at
org.jboss.ejb.MessageDrivenContainer.internalInvoke(MessageDrivenContainer.java:374)
at org.jboss.ejb.Container.invoke(Container.java:700)
at
org.jboss.ejb.plugins.jms.JMSContainerInvoker.invoke(JMSContainerInvoker.java:824)
at
org.jboss.ejb.plugins.jms.JMSContainerInvoker$MessageListenerImpl.onMessage(JMSContainerInvoker.java:1114)
at org.jboss.jms.asf.StdServerSession.onMessage(StdServerSession.java:256)
at
org.jboss.mq.SpyMessageConsumer.sessionConsumerProcessMessage(SpyMessageConsumer.java:633)
at org.jboss.mq.SpyMessageConsumer.addMessage(SpyMessageConsumer.java:433)
at org.jboss.mq.SpySession.run(SpySession.java:298)
at org.jboss.jms.asf.StdServerSession.run(StdServerSession.java:180)
at
EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:727)
at java.lang.Thread.run(Thread.java:534)
16:24:04,546 INFO [STDOUT] MessageHelper generated a JMSException:
16:24:04,546 ERROR [STDERR] at
org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:84)
<a
href="http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3824989#3824989">View
the original post</a>
<a
href="http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3824989>Reply
to the post</a>
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user