[JBoss Messaging] - Remoting Problems... 4.2.3.GA, 1.4.2.GA
by ajstiles
I'm running JBoss AS 4.2.3.GA, JBM 1.4.2.GA. I have get the following error after my application starts (it listens on a queue) and no messaging activity.
| 2009-02-05 10:46:06,222 DEBUG [org.jboss.remoting.transport.socket.MicroSocketClientInvoker] SocketClientInvoker[1860038, bisocket://lnx119:4457] got exception java.io.IOException: Connection reset by peer: socket write error
| 2009-02-05 10:46:06,222 DEBUG [org.jboss.remoting.transport.socket.SocketWrapper] ClientSocketWrapper[Socket[addr=/10.111.12.1,port=4457,localport=1035].c82bf4] closing
| 2009-02-05 10:46:06,237 ERROR [org.jboss.remoting.transport.socket.SocketClientInvoker] Got marshalling exception, exiting
| java.io.IOException: Connection reset by peer: socket write error
| at java.net.SocketOutputStream.socketWrite0(Native Method)
| at java.net.SocketOutputStream.socketWrite(Unknown Source)
| at java.net.SocketOutputStream.write(Unknown Source)
| at java.io.BufferedOutputStream.flushBuffer(Unknown Source)
| at java.io.BufferedOutputStream.flush(Unknown Source)
| at java.io.DataOutputStream.flush(Unknown Source)
| at org.jboss.jms.wireformat.ClosingRequest.write(ClosingRequest.java:79)
| at org.jboss.jms.wireformat.JMSWireFormat.write(JMSWireFormat.java:237)
| at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.versionedWrite(MicroSocketClientInvoker.java:971)
| at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.transport(MicroSocketClientInvoker.java:606)
| at org.jboss.remoting.transport.bisocket.BisocketClientInvoker.transport(BisocketClientInvoker.java:422)
| at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:133)
| at org.jboss.remoting.Client.invoke(Client.java:1640)
| at org.jboss.remoting.Client.invoke(Client.java:554)
| at org.jboss.remoting.Client.invoke(Client.java:542)
| at org.jboss.jms.client.delegate.DelegateSupport.doInvoke(DelegateSupport.java:189)
| at org.jboss.jms.client.delegate.DelegateSupport.doInvoke(DelegateSupport.java:160)
| at org.jboss.jms.client.delegate.ClientConsumerDelegate.org$jboss$jms$client$delegate$ClientConsumerDelegate$closing$aop(ClientConsumerDelegate.java:129)
| at org.jboss.jms.client.delegate.ClientConsumerDelegate$closing_2473194355759371067.invokeNext(ClientConsumerDelegate$closing_2473194355759371067.java)
| at org.jboss.jms.client.container.ConsumerAspect.handleClosing(ConsumerAspect.java:144)
| at org.jboss.aop.advice.org.jboss.jms.client.container.ConsumerAspect_z_handleClosing_18581223.invoke(ConsumerAspect_z_handleClosing_18581223.java)
| at org.jboss.jms.client.delegate.ClientConsumerDelegate$closing_2473194355759371067.invokeNext(ClientConsumerDelegate$closing_2473194355759371067.java)
| at org.jboss.jms.client.container.FailoverValveInterceptor.invoke(FailoverValveInterceptor.java:92)
| at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:86)
| at org.jboss.jms.client.delegate.ClientConsumerDelegate$closing_2473194355759371067.invokeNext(ClientConsumerDelegate$closing_2473194355759371067.java)
| at org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:170)
| at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:86)
| at org.jboss.jms.client.delegate.ClientConsumerDelegate$closing_2473194355759371067.invokeNext(ClientConsumerDelegate$closing_2473194355759371067.java)
| at org.jboss.jms.client.delegate.ClientConsumerDelegate.closing(ClientConsumerDelegate.java)
| at org.jboss.jms.client.JBossMessageConsumer.close(JBossMessageConsumer.java:96)
| at org.springframework.jms.support.JmsUtils.closeMessageConsumer(JmsUtils.java:151)
| at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.doReceiveAndExecute(AbstractPollingMessageListenerContainer.java:356)
| at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.receiveAndExecute(AbstractPollingMessageListenerContainer.java:261)
| at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.invokeListener(DefaultMessageListenerContainer.java:982)
| at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.executeOngoingLoop(DefaultMessageListenerContainer.java:974)
| at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.run(DefaultMessageListenerContainer.java:876)
| at java.lang.Thread.run(Unknown Source)
| 2009-02-05 10:46:06,471 DEBUG [org.jboss.remoting.transport.socket.MicroSocketClientInvoker] SocketClientInvoker[1860038, bisocket://lnx119:4457] got exception java.io.IOException: Connection reset by peer: socket write error
| 2009-02-05 10:46:06,471 DEBUG [org.jboss.remoting.transport.socket.SocketWrapper] ClientSocketWrapper[Socket[addr=/10.111.12.1,port=4457,localport=1037].6ed1b2] closing
|
I've tried the updating the remoting JAR on client and server to 2.2.2.SP11 but it doesn't help.
The application continues to run but never recovers, never receives messages if sent to its queue after this point.
Any ideas?
Adam
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4207877#4207877
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4207877
17 years, 4 months
[Management, JMX/JBoss] - Error deploying EJB3 Message driven bean with upgrade to JBo
by hsathappan
Hi,
I get the following error on server startup with JBoss 5 while it works with JBoss 4.2.2.
10:24:38,457 INFO [JBossASKernel] Created KernelDeployment for: reporting.jar
10:24:38,457 INFO [JBossASKernel] installing bean: jboss.j2ee:jar=reporting.jar,name=SEMReportDataExtraction,service=EJB3
10:24:38,457 INFO [JBossASKernel] with dependencies:
10:24:38,461 INFO [JBossASKernel] and demands:
10:24:38,465 INFO [JBossASKernel] jboss.ejb:service=EJBTimerService
10:24:38,469 INFO [JBossASKernel] and supplies:
10:24:38,473 INFO [JBossASKernel] jndi:null
10:24:38,477 INFO [JBossASKernel] Class:javax.jms.MessageListener
10:24:38,481 INFO [JBossASKernel] Added bean(jboss.j2ee:jar=reporting.jar,name=SEMReportDataExtraction,service=EJB3) to KernelDeployment of: reporting.jar
10:24:38,588 INFO [EJBContainer] STARTED EJB: com.coremetrics.reporting.semtree.jms.SEMReportDataExtractionBean ejbName: SEMReportDataExtraction
10:24:38,761 WARN [JmsActivation] Failure in jms activation org.jboss.resource.adapter.jms.inflow.JmsActivationSpec@7a12f9e9(ra=org.jboss.resource.adapter.jms.JmsResourceAdapter(a)17d8ace destination=queue/SEMReportData destinationType=javax.jms.Queue tx=true durable=false reconnect=10 provider=java:/DefaultJMSProvider user=null maxMessages=1 minSession=1 maxSession=15 keepAlive=60000 useDLQ=true DLQHandler=org.jboss.resource.adapter.jms.inflow.dlq.GenericDLQHandler DLQJndiName=queue/DLQ DLQUser=null DLQMaxResent=5)
javax.naming.NameNotFoundException: SEMReportData not bound
at org.jnp.server.NamingServer.getBinding(NamingServer.java:771)
at org.jnp.server.NamingServer.getBinding(NamingServer.java:779)
at org.jnp.server.NamingServer.getObject(NamingServer.java:785)
at org.jnp.server.NamingServer.lookup(NamingServer.java:443)
at org.jnp.server.NamingServer.lookup(NamingServer.java:399)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:713)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:673)
at javax.naming.InitialContext.lookup(InitialContext.java:392)
at org.jboss.util.naming.Util.lookup(Util.java:222)
at org.jboss.resource.adapter.jms.inflow.JmsActivation.setupDestination(JmsActivation.java:464)
at org.jboss.resource.adapter.jms.inflow.JmsActivation.setup(JmsActivation.java:352)
at org.jboss.resource.adapter.jms.inflow.JmsActivation$SetupActivation.run(JmsActivation.java:729)
at org.jboss.resource.work.WorkWrapper.execute(WorkWrapper.java:204)
at org.jboss.util.threadpool.BasicTaskWrapper.run(BasicTaskWrapper.java:260)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
at java.lang.Thread.run(Thread.java:619)
--
The startup on JBoss 4.2.2 is successful:
15:00:56,591 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:jar=reporting.jar,name=SEMReportDataExtraction,service=EJB3 with dependencies:
15:00:56,702 INFO [EJBContainer] STARTED EJB: com.coremetrics.reporting.semtree.jms.SEMReportDataExtractionBean ejbName: SEMReportDataExtraction
15:00:56,707 WARN [MessagingContainer] Could not find the queue destination-jndi-name=queue/SEMReportData
15:00:56,708 WARN [MessagingContainer] destination not found: queue/SEMReportData reason: javax.naming.NameNotFoundException: SEMReportData not bound
15:00:56,713 WARN [MessagingContainer] creating a new temporary destination: queue/SEMReportData
15:00:56,727 INFO [SEMReportData] Bound to JNDI name: queue/SEMReportData
Any help is greatly appreciated.
thanks,
Hari
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4207871#4207871
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4207871
17 years, 4 months
[JBossWS] - Class cast excpetion with an RM client
by bryan.kearney
I am attempting to test a RM client as a stand alone jar file using JbossWS-native against a service which is deployed in a Jboss 5.0 container. I have a simple client which I generated using wsconsume. I am following the directions from
http://jbossws.jboss.org/mediawiki/index.php?title=WS_Reliable_Messaging
and am adding the Addressing and RM Handlers to the client port. When I run (with only jars from $JBOSS_HOME/client on my classpath) I get the following exception:
javax.xml.ws.WebServiceException: java.lang.ClassCastException: com.sun.xml.ws.handler.SOAPMessageContextImpl cannot be cast to org.jboss.ws.core.CommonMessageContext
at com.sun.xml.ws.handler.ClientSOAPHandlerTube.callHandlersOnRequest(ClientSOAPHandlerTube.java:168)
at com.sun.xml.ws.handler.HandlerTube.processRequest(HandlerTube.java:100)
at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:559)
at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:518)
at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:503)
at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:400)
at com.sun.xml.ws.client.Stub.process(Stub.java:235)
at com.sun.xml.ws.client.sei.SEIStub.doProcess(SEIStub.java:120)
at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:230)
at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:210)
at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:103)
at $Proxy27.runAction(Unknown Source)
I appear to be doing the same code as the samples. Are thee other examples I could look at?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4207869#4207869
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4207869
17 years, 4 months
[JBoss Messaging] - Re: Upgrading AS5 to use messaging 1.4.2.GA
by rnicholson10
If I now delete "speQueueB" on the local bridge instance it will now attempt to deliver the message:
| 2009-02-06 21:38:02,087 ERROR [org.jboss.messaging.util.ExceptionUtil] (Thread-47) ConnectionEndpoint[3g-zukpdvqf-1-qkp2dvqf-f20a68-e6u1gs4] sendTransaction [ig-bvkpdvqf-1-qkp2dvqf-f20a68-e6u1gs4]
| javax.jms.JMSException: Failed to route Reference[20217139725713415]:RELIABLE to speQueueB
| at org.jboss.jms.server.endpoint.ServerConnectionEndpoint.sendMessage(ServerConnectionEndpoint.java:757)
| at org.jboss.jms.server.endpoint.ServerConnectionEndpoint.processTransaction(ServerConnectionEndpoint.java:815)
| at org.jboss.jms.server.endpoint.ServerConnectionEndpoint.sendTransaction(ServerConnectionEndpoint.java:489)
| 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.invokeTarget(ConnectionAdvised$sendTransaction_N3268650789275322226.java)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:111)
| at org.jboss.jms.server.container.SecurityAspect.handleSendTransaction(SecurityAspect.java:195)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at org.jboss.aop.advice.PerInstanceAdvice.invoke(PerInstanceAdvice.java:122)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
| at org.jboss.jms.server.container.ServerLogInterceptor.invoke(ServerLogInterceptor.java:105)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
| 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: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.remoting.Client.invoke(Client.java:600)
| at org.jboss.jms.client.delegate.DelegateSupport.doInvoke(DelegateSupport.java:189)
| at org.jboss.jms.client.delegate.DelegateSupport.doInvoke(DelegateSupport.java:160)
| at org.jboss.jms.client.delegate.ClientConnectionDelegate.org$jboss$jms$client$delegate$ClientConnectionDelegate$sendTransaction$aop(ClientConnectionDelegate.java:221)
| at org.jboss.jms.client.delegate.ClientConnectionDelegate$sendTransaction_N3268650789275322226.invokeTarget(ClientConnectionDelegate$sendTransaction_N3268650789275322226.java)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:111)
| at org.jboss.jms.client.container.FailoverValveInterceptor.invoke(FailoverValveInterceptor.java:92)
| 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.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.ClientConnectionDelegate.sendTransaction(ClientConnectionDelegate.java)
| at org.jboss.jms.tx.ResourceManager.sendTransactionXA(ResourceManager.java:662)
| at org.jboss.jms.tx.ResourceManager.commit(ResourceManager.java:367)
| at org.jboss.jms.tx.MessagingXAResource.commit(MessagingXAResource.java:254)
| at com.arjuna.ats.internal.jta.resources.arjunacore.XAResourceRecord.topLevelOnePhaseCommit(XAResourceRecord.java:800)
| at com.arjuna.ats.arjuna.coordinator.BasicAction.onePhaseCommit(BasicAction.java:2639)
| at com.arjuna.ats.arjuna.coordinator.BasicAction.End(BasicAction.java:1784)
| at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.end(TwoPhaseCoordinator.java:88)
| at com.arjuna.ats.arjuna.AtomicAction.end(AtomicAction.java:216)
| at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commit(TransactionImple.java:240)
| at org.jboss.jms.server.bridge.Bridge.sendBatchXA(Bridge.java:1294)
| at org.jboss.jms.server.bridge.Bridge.sendBatch(Bridge.java:1354)
| at org.jboss.jms.server.bridge.Bridge.access$1900(Bridge.java:68)
| at org.jboss.jms.server.bridge.Bridge$SourceListener.onMessage(Bridge.java:1677)
| at org.jboss.jms.client.container.ClientConsumer.callOnMessage(ClientConsumer.java:229)
| at org.jboss.jms.client.container.ClientConsumer$ListenerRunner.run(ClientConsumer.java:1043)
| at org.jboss.messaging.util.OrderedExecutorFactory$ChildExecutor.run(OrderedExecutorFactory.java:120)
| at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
| at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
| at java.lang.Thread.run(Unknown Source)
| 2009-02-06 21:38:02,087 WARN [org.jboss.jms.server.bridge.Bridge] (Thread-47) null 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] Could not commit transaction.
| at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commit(TransactionImple.java:255)
| at org.jboss.jms.server.bridge.Bridge.sendBatchXA(Bridge.java:1294)
| at org.jboss.jms.server.bridge.Bridge.sendBatch(Bridge.java:1354)
| at org.jboss.jms.server.bridge.Bridge.access$1900(Bridge.java:68)
| at org.jboss.jms.server.bridge.Bridge$SourceListener.onMessage(Bridge.java:1677)
| at org.jboss.jms.client.container.ClientConsumer.callOnMessage(ClientConsumer.java:229)
| at org.jboss.jms.client.container.ClientConsumer$ListenerRunner.run(ClientConsumer.java:1043)
| at org.jboss.messaging.util.OrderedExecutorFactory$ChildExecutor.run(OrderedExecutorFactory.java:120)
| at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
| at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
| at java.lang.Thread.run(Unknown Source)
| 2009-02-06 21:38:02,089 DEBUG [org.jboss.jms.server.connectionmanager.SimpleConnectionManager] (Thread-50) unregistered connection ConnectionEndpoint[3g-zukpdvqf-1-qkp2dvqf-f20a68-e6u1gs4] with remoting session ID ...-fqvdpkus-fx
| 2009-02-06 21:38:02,089 DEBUG [org.jboss.jms.server.remoting.JMSServerInvocationHandler] (Thread-50) removing callback handler ServerInvokerCallbackHandler[4sg1u6e-86a02f-fqvd2pkq-1-fqvdpkus-fx+4sg1u6e-86a02f-fqvd2pkq-1-fqvdpkuz-g0]
| 2009-02-06 21:38:02,089 DEBUG [org.jboss.remoting.InvokerRegistry] (Thread-50) removed org.jboss.remoting.transport.local.LocalClientInvoker@102f380 from registry
| 2009-02-06 21:38:02,089 DEBUG [org.jboss.remoting.ServerInvoker] (Thread-50) ServerInvoker (SocketServerInvoker[172.16.66.230:1603445283]) removing client callback handler with session id of 4sg1u6e-86a02f-fqvd2pkq-1-fqvdpkus-fx+4sg1u6e-86a02f-fqvd2pkq-1-fqvdpkuz-g0.
| 2009-02-06 21:38:02,090 DEBUG [org.jboss.remoting.transport.bisocket.BisocketServerInvoker] (Thread-50) unrecognized listener ID: 4sg1u6e-86a02f-fqvd2pkq-1-fqvdpkuz-g0
| 2009-02-06 21:38:02,090 DEBUG [org.jboss.remoting.InvokerRegistry] (Thread-50) removed org.jboss.remoting.transport.local.LocalClientInvoker@c0958a from registry
| 2009-02-06 21:38:02,090 DEBUG [org.jboss.remoting.transport.socket.SocketServerInvoker] (Thread-50) SocketServerInvoker[172.16.66.230:1603445283] stopped threads in clientpool
| 2009-02-06 21:38:02,090 DEBUG [org.jboss.remoting.transport.socket.SocketServerInvoker] (Thread-50) SocketServerInvoker[172.16.66.230:1603445283] stopped threads in threadpool
| 2009-02-06 21:38:02,090 DEBUG [org.jboss.remoting.transport.socket.SocketServerInvoker] (Thread-50) SocketServerInvoker[172.16.66.230:1603445283] exiting
| 2009-02-06 21:38:02,090 DEBUG [org.jboss.remoting.ServerInvoker] (Thread-50) SocketServerInvoker[172.16.66.230:1603445283] stopped
| 2009-02-06 21:38:02,090 DEBUG [org.jboss.remoting.InvokerRegistry] (Thread-50) decremented org.jboss.remoting.transport.local.LocalClientInvoker@193e3d0's count, current count 3
| 2009-02-06 21:38:02,090 DEBUG [org.jboss.remoting.InvokerRegistry] (Thread-50) decremented org.jboss.remoting.transport.local.LocalClientInvoker@51a0c9's count, current count 3
| 2009-02-06 21:38:02,090 DEBUG [org.jboss.jms.server.connectionmanager.SimpleConnectionManager] (Thread-50) unregistered connection ConnectionEndpoint[ag-7vkpdvqf-1-qkp2dvqf-f20a68-e6u1gs4] with remoting session ID ...-fqvdpkv0-g4
| 2009-02-06 21:38:02,090 DEBUG [org.jboss.jms.server.remoting.JMSServerInvocationHandler] (Thread-50) removing callback handler ServerInvokerCallbackHandler[4sg1u6e-86a02f-fqvd2pkq-1-fqvdpkv0-g4+4sg1u6e-86a02f-fqvd2pkq-1-fqvdpkv6-g7]
| 2009-02-06 21:38:02,090 DEBUG [org.jboss.remoting.InvokerRegistry] (Thread-50) removed org.jboss.remoting.transport.local.LocalClientInvoker@187650e from registry
| 2009-02-06 21:38:02,090 DEBUG [org.jboss.remoting.ServerInvoker] (Thread-50) ServerInvoker (SocketServerInvoker[172.16.66.230:1604517796]) removing client callback handler with session id of 4sg1u6e-86a02f-fqvd2pkq-1-fqvdpkv0-g4+4sg1u6e-86a02f-fqvd2pkq-1-fqvdpkv6-g7.
| 2009-02-06 21:38:02,090 DEBUG [org.jboss.remoting.transport.bisocket.BisocketServerInvoker] (Thread-50) unrecognized listener ID: 4sg1u6e-86a02f-fqvd2pkq-1-fqvdpkv6-g7
| 2009-02-06 21:38:02,090 DEBUG [org.jboss.remoting.InvokerRegistry] (Thread-50) removed org.jboss.remoting.transport.local.LocalClientInvoker@1fb9ed2 from registry
| 2009-02-06 21:38:02,090 DEBUG [org.jboss.remoting.transport.socket.SocketServerInvoker] (Thread-50) SocketServerInvoker[172.16.66.230:1604517796] stopped threads in clientpool
| 2009-02-06 21:38:02,090 DEBUG [org.jboss.remoting.transport.socket.SocketServerInvoker] (Thread-50) SocketServerInvoker[172.16.66.230:1604517796] stopped threads in threadpool
| 2009-02-06 21:38:02,090 DEBUG [org.jboss.remoting.transport.socket.SocketServerInvoker] (Thread-50) SocketServerInvoker[172.16.66.230:1604517796] exiting
| 2009-02-06 21:38:02,091 DEBUG [org.jboss.remoting.ServerInvoker] (Thread-50) SocketServerInvoker[172.16.66.230:1604517796] stopped
| 2009-02-06 21:38:02,091 DEBUG [org.jboss.remoting.InvokerRegistry] (Thread-50) decremented org.jboss.remoting.transport.local.LocalClientInvoker@193e3d0's count, current count 2
| 2009-02-06 21:38:02,091 DEBUG [org.jboss.remoting.InvokerRegistry] (Thread-50) decremented org.jboss.remoting.transport.local.LocalClientInvoker@51a0c9's count, current count 2
| 2009-02-06 21:38:02,091 ERROR [org.jboss.jms.client.container.ClosedInterceptor] (Thread-50) ClosedInterceptor.ClientSessionDelegate[bg-7vkpdvqf-1-qkp2dvqf-f20a68-e6u1gs4]: method getXAResource() did not go through, the interceptor is CLOSED
| 2009-02-06 21:38:02,091 WARN [org.jboss.jms.server.bridge.Bridge] (Thread-50) null Will retry after a pause of 5000 ms
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4207863#4207863
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4207863
17 years, 4 months
[JBoss Messaging] - Re: Upgrading AS5 to use messaging 1.4.2.GA
by rnicholson10
Hmm, this is strange. If I create a queue call "speQueueB" on the instance running the bridge, then the bridge will forward the messages to this queue instead of attempting to move it to the remote queue?
Here's the bridge config:
| <mbean code="org.jboss.jms.server.bridge.BridgeService" name="jboss.messaging:service=Bridge,name=TestBridge" xmbean-dd="xmdesc/Bridge-xmbean.xml">
|
| <depends optional-attribute-name="SourceProviderLoader">jboss.messaging:service=JMSProviderLoader,name=JMSProvider</depends>
| <depends optional-attribute-name="TargetProviderLoader">jboss.messaging:service=JMSProviderLoader,name=RemoteJMSProvider</depends>
|
| <attribute name="SourceDestinationLookup">/queue/speQueue</attribute>
| <attribute name="TargetDestinationLookup">/queue/speQueueB</attribute>
| <attribute name="QualityOfServiceMode">2</attribute>
| <attribute name="MaxBatchSize">1</attribute>
| <attribute name="MaxBatchTime">-1</attribute>
| <attribute name="FailureRetryInterval">5000</attribute>
| <attribute name="MaxRetries">-1</attribute>
| <attribute name="AddMessageIDInHeader">false</attribute>
| </mbean>
|
Why would the bridge deliver locally?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4207862#4207862
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4207862
17 years, 4 months
[JBoss Messaging] - Re: Upgrading AS5 to use messaging 1.4.2.GA
by rnicholson10
I've built the libraries for AS5, once more everything works locally and so does the bridge but only locally. If the bridge is connecting to a remote server then we once more have problems.
If I kill the remote jboss instance that the bridge points too it behaves as you expect:
| 2009-02-06 20:50:38,957 WARN [org.jboss.jms.server.bridge.Bridge] (Thread-18) null Failed to set up connections
| javax.naming.CommunicationException: Could not obtain connection to any of these urls: 172.16.8.52:1099 and discovery failed with error: javax.naming.CommunicationException: Receive timed out [Root exception is java.net.SocketTimeoutException: Receive timed out] [Root exception is javax.naming.CommunicationException: Failed to connect to server 172.16.8.52:1099 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server 172.16.8.52:1099 [Root exception is java.net.ConnectException: Connection refused]]]
| at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1727)
| at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:680)
| at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:673)
| at javax.naming.InitialContext.lookup(Unknown Source)
| at org.jboss.jms.server.bridge.JNDIFactorySupport.createObject(JNDIFactorySupport.java:66)
| at org.jboss.jms.server.bridge.JNDIDestinationFactory.createDestination(JNDIDestinationFactory.java:45)
| at org.jboss.jms.server.bridge.Bridge.setupJMSObjects(Bridge.java:939)
| at org.jboss.jms.server.bridge.Bridge.setupJMSObjectsWithRetry(Bridge.java:1206)
| at org.jboss.jms.server.bridge.Bridge.access$1600(Bridge.java:68)
| at org.jboss.jms.server.bridge.Bridge$FailureHandler.run(Bridge.java:1552)
| at java.lang.Thread.run(Unknown Source)
| Caused by: javax.naming.CommunicationException: Failed to connect to server 172.16.8.52:1099 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server 172.16.8.52:1099 [Root exception is java.net.ConnectException: Connection refused]]
| at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:311)
| at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1698)
| ... 10 more
| Caused by: javax.naming.ServiceUnavailableException: Failed to connect to server 172.16.8.52:1099 [Root exception is java.net.ConnectException: Connection refused]
| at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:281)
| ... 11 more
| Caused by: java.net.ConnectException: Connection refused
| at java.net.PlainSocketImpl.socketConnect(Native Method)
| at java.net.PlainSocketImpl.doConnect(Unknown Source)
| at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
| at java.net.PlainSocketImpl.connect(Unknown Source)
| at java.net.SocksSocketImpl.connect(Unknown Source)
| at java.net.Socket.connect(Unknown Source)
| at org.jnp.interfaces.TimedSocketFactory.createSocket(TimedSocketFactory.java:97)
| at org.jnp.interfaces.TimedSocketFactory.createSocket(TimedSocketFactory.java:82)
| at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:277)
| ... 11 more
| 2009-02-06 20:50:38,958 WARN [org.jboss.jms.server.bridge.Bridge] (Thread-18) null Failed to set up connections, will retry after a pause of 5000 ms
|
But once this instance is available then neither of the queue's appear to be bound as far as the bridge is concerned (speQueue is local, speQueueB is remote):
| 2009-02-06 20:49:03,329 WARN [org.jboss.jms.server.bridge.Bridge] (Thread-33) null Failed to set up connections
| javax.naming.NameNotFoundException: speQueueB not bound
| at org.jnp.server.NamingServer.getBinding(NamingServer.java:771)
| at org.jnp.server.NamingServer.getBinding(NamingServer.java:779)
| at org.jnp.server.NamingServer.getObject(NamingServer.java:785)
| at org.jnp.server.NamingServer.lookup(NamingServer.java:443)
| at org.jnp.server.NamingServer.lookup(NamingServer.java:399)
| at sun.reflect.GeneratedMethodAccessor266.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at sun.rmi.server.UnicastServerRef.dispatch(Unknown Source)
| at sun.rmi.transport.Transport$1.run(Unknown Source)
| at java.security.AccessController.doPrivileged(Native Method)
| at sun.rmi.transport.Transport.serviceCall(Unknown Source)
| at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown Source)
| at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown Source)
| at java.lang.Thread.run(Unknown Source)
| at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Unknown Source)
| at sun.rmi.transport.StreamRemoteCall.executeCall(Unknown Source)
| at sun.rmi.server.UnicastRef.invoke(Unknown Source)
| at org.jnp.server.NamingServer_Stub.lookup(Unknown Source)
| at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:713)
| at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:673)
| at javax.naming.InitialContext.lookup(Unknown Source)
| at org.jboss.jms.server.bridge.JNDIFactorySupport.createObject(JNDIFactorySupport.java:66)
| at org.jboss.jms.server.bridge.JNDIDestinationFactory.createDestination(JNDIDestinationFactory.java:45)
| at org.jboss.jms.server.bridge.Bridge.setupJMSObjects(Bridge.java:939)
| at org.jboss.jms.server.bridge.Bridge.setupJMSObjectsWithRetry(Bridge.java:1206)
| at org.jboss.jms.server.bridge.Bridge.access$1600(Bridge.java:68)
| at org.jboss.jms.server.bridge.Bridge$FailureHandler.run(Bridge.java:1552)
| at java.lang.Thread.run(Unknown Source)
| 2009-02-06 20:49:03,329 WARN [org.jboss.jms.server.bridge.Bridge] (Thread-33) null Failed to set up connections, will retry after a pause of 5000 ms
| 2009-02-06 20:49:05,448 WARN [org.jboss.jms.server.bridge.Bridge] (Thread-18) null Failed to set up connections
| javax.naming.NameNotFoundException: speQueue not bound
| at org.jnp.server.NamingServer.getBinding(NamingServer.java:771)
| at org.jnp.server.NamingServer.getBinding(NamingServer.java:779)
| at org.jnp.server.NamingServer.getObject(NamingServer.java:785)
| at org.jnp.server.NamingServer.lookup(NamingServer.java:443)
| at org.jnp.server.NamingServer.lookup(NamingServer.java:399)
| at sun.reflect.GeneratedMethodAccessor266.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at sun.rmi.server.UnicastServerRef.dispatch(Unknown Source)
| at sun.rmi.transport.Transport$1.run(Unknown Source)
| at java.security.AccessController.doPrivileged(Native Method)
| at sun.rmi.transport.Transport.serviceCall(Unknown Source)
| at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown Source)
| at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown Source)
| at java.lang.Thread.run(Unknown Source)
| at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Unknown Source)
| at sun.rmi.transport.StreamRemoteCall.executeCall(Unknown Source)
| at sun.rmi.server.UnicastRef.invoke(Unknown Source)
| at org.jnp.server.NamingServer_Stub.lookup(Unknown Source)
| at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:713)
| at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:673)
| at javax.naming.InitialContext.lookup(Unknown Source)
| at org.jboss.jms.server.bridge.JNDIFactorySupport.createObject(JNDIFactorySupport.java:66)
| at org.jboss.jms.server.bridge.JNDIDestinationFactory.createDestination(JNDIDestinationFactory.java:45)
| at org.jboss.jms.server.bridge.Bridge.setupJMSObjects(Bridge.java:939)
| at org.jboss.jms.server.bridge.Bridge.setupJMSObjectsWithRetry(Bridge.java:1206)
| at org.jboss.jms.server.bridge.Bridge.access$1600(Bridge.java:68)
| at org.jboss.jms.server.bridge.Bridge$FailureHandler.run(Bridge.java:1552)
| at java.lang.Thread.run(Unknown Source)
| 2009-02-06 20:49:05,448 WARN [org.jboss.jms.server.bridge.Bridge] (Thread-18) null Failed to set up connections, will retry after a pause of 5000 ms
|
And we still have null references in the logs even when the bridge is running locally.
Any ideas what to try next?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4207858#4207858
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4207858
17 years, 4 months