[jboss-user] [JBoss Messaging] - Re: JMS Bridge Question
mclu
do-not-reply at jboss.com
Thu Aug 30 08:14:46 EDT 2007
Hi Tim!
I think I have the same issue.
I am using 2 instances of jboss 4.2.1GA with messaging 1.3
The source is a remote server (on my local machine).
| <mbean code="org.jboss.jms.jndi.JMSProviderLoader" name="jboss.messaging:service=JMSProviderLoaderRemote,name=RemoteJMSProvider_A">
| <attribute name="ProviderName">RemoteJMSProvider_A</attribute>
| <attribute name="ProviderAdapterClass">org.jboss.jms.jndi.JNDIProviderAdapter</attribute>
| <!-- The combined connection factory -->
| <attribute name="FactoryRef">XAConnectionFactory</attribute>
| <!-- The queue connection factory -->
| <attribute name="QueueFactoryRef">XAConnectionFactory</attribute>
| <!-- The topic factory -->
| <attribute name="TopicFactoryRef">XAConnectionFactory</attribute>
| <attribute name="Properties">
| java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
| java.naming.factory.url.pkgs=org.jnp.interfaces
| java.naming.provider.url=localhost:2099
| </attribute>
| </mbean>
|
As you can see I am not using "java:" but the error is the same.
My error only occurs if I am using "QOS_ONCE_AND_ONLY_ONCE". Settings to 1 works.
On the source I get:
| 14:04:59,328 ERROR [ExceptionUtil] ConnectionEndpoint[76] sendTransaction [a42z4q-jbavvr-f5z5x8i7-1-f5z7mkao-3l]
| javax.jms.JMSException: Failed to route Reference[8]:RELIABLE to incomingSyncRequests
| at org.jboss.jms.server.endpoint.ServerConnectionEndpoint.sendMessage(ServerConnectionEndpoint.java:694)
| at org.jboss.jms.server.endpoint.ServerConnectionEndpoint.processTransaction(ServerConnectionEndpoint.java:786)
| at org.jboss.jms.server.endpoint.ServerConnectionEndpoint.sendTransaction(ServerConnectionEndpoint.java:456)
| at org.jboss.jms.server.endpoint.advised.ConnectionAdvised.org$jboss$jms$server$endpoint$advised$ConnectionAdvised$sendTransaction$aop(ConnectionAdvised.java:101)
| at org.jboss.jms.server.endpoint.advised.ConnectionAdvised$sendTransaction_N3268650789275322226.invokeNext(ConnectionAdvised$sendTransaction_N3268650789275322226.java)
| at org.jboss.jms.server.container.ServerLogInterceptor.invoke(ServerLogInterceptor.java:105)
| at org.jboss.jms.server.endpoint.advised.ConnectionAdvised$sendTransaction_N3268650789275322226.invokeNext(ConnectionAdvised$sendTransaction_N3268650789275322226.java)
| at org.jboss.jms.server.endpoint.advised.ConnectionAdvised.sendTransaction(ConnectionAdvised.java)
| at org.jboss.jms.wireformat.ConnectionSendTransactionRequest.serverInvoke(ConnectionSendTransactionRequest.java:82)
| at org.jboss.jms.server.remoting.JMSServerInvocationHandler.invoke(JMSServerInvocationHandler.java:141)
| at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:734)
| at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:560)
| at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:383)
| at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:165)
|
On my destination (where bridging is installed) I get:
| 14:04:59,328 WARN [Bridge] Failed to send + acknowledge batch, closing JMS objects
| javax.transaction.RollbackException: [com.arjuna.ats.internal.jta.transaction.arjunacore.commitwhenaborted] [com.arjuna.ats.internal.jta.transaction.arjunacore.commitwhenaborted] Can't commit because the transaction is in aborted state
| at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commit(TransactionImple.java:253)
| at org.jboss.jms.server.bridge.Bridge.sendBatch(Bridge.java:1221)
| at org.jboss.jms.server.bridge.Bridge.access$1600(Bridge.java:59)
| at org.jboss.jms.server.bridge.Bridge$BatchTimeChecker.run(Bridge.java:1336)
| at java.lang.Thread.run(Thread.java:619)
| 14:04:59,359 ERROR [ClosedInterceptor] ClosedInterceptor.ClientSessionDelegate[77]: method getXAResource() did not go through, the interceptor is CLOSED
| 14:04:59,359 WARN [Bridge] Will retry after a pause of 50000 ms
|
Any Ideas?
If there is already a known problem... Is there a Jira Bug filed?
THX a lot!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4079581#4079581
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4079581
More information about the jboss-user
mailing list