Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 76227 invoked from network); 5 Nov 2009 14:37:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 5 Nov 2009 14:37:51 -0000 Received: (qmail 73440 invoked by uid 500); 5 Nov 2009 14:37:50 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 73414 invoked by uid 500); 5 Nov 2009 14:37:50 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Received: (qmail 73404 invoked by uid 99); 5 Nov 2009 14:37:50 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Nov 2009 14:37:50 +0000 X-ASF-Spam-Status: No, hits=-0.3 required=5.0 tests=BAYES_00,FORGED_YAHOO_RCVD X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Nov 2009 14:37:47 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1N63So-0004Pf-I4 for users@activemq.apache.org; Thu, 05 Nov 2009 06:37:26 -0800 Message-ID: <26215722.post@talk.nabble.com> Date: Thu, 5 Nov 2009 06:37:26 -0800 (PST) From: Benoitx To: users@activemq.apache.org Subject: Re: 5.2 config not working with 5.3 In-Reply-To: <36e91d9d0911050626v467428c7o5e009a85038410@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: benoitx@yahoo.com References: <26210281.post@talk.nabble.com> <36e91d9d0911050301q51c543b5k80acf5303bdea3bf@mail.gmail.com> <26214523.post@talk.nabble.com> <36e91d9d0911050626v467428c7o5e009a85038410@mail.gmail.com> Hi, I'm not sure that I understand the question: "Does it only affects network connectors or your clients cannot connect to the transport connector as well?" Sorry. It seems that both Mule and JBoss are saying that they cannot establish the bridge. IP ok, hostname not ok (that resolves to the IP correctly) localhost ok. Benoit Dejan Bosanac wrote: > > Hi, > > the only change I'm aware of in that area is > https://issues.apache.org/activemq/browse/AMQ-2094 that affects > "localhost" > in the connector address. But this doesn't sound like it. > > BTW. Does it only affects network connectors or your clients cannot > connect > to the transport connector as well? > > Cheers > -- > Dejan Bosanac - http://twitter.com/dejanb > > Open Source Integration - http://fusesource.com/ > ActiveMQ in Action - http://www.manning.com/snyder/ > Blog - http://www.nighttale.net > > > On Thu, Nov 5, 2009 at 2:31 PM, Benoitx wrote: > >> >> Hi Dejan, >> >> Thanks for replying. Yes the machine is in /etc/hosts >> >> It seems to work with IP address (glad!) but it worked with the hostname >> with ActveMQ 5.2... so something in amq has changed... >> >> suggestions? >> >> Thanks >> >> Benoit >> >> >> >> Dejan Bosanac wrote: >> > >> > Hi Benoit, >> > >> > I'd first check if you can telnet to those ports on the specified >> machine. >> > Also, it might be a dns issue; do you have speedy in /etc/hosts or >> > something? Also, did you try using ip address insted of server alias? >> > >> > Cheers >> > -- >> > Dejan Bosanac - http://twitter.com/dejanb >> > >> > Open Source Integration - http://fusesource.com/ >> > ActiveMQ in Action - http://www.manning.com/snyder/ >> > Blog - http://www.nighttale.net >> > >> > >> > On Thu, Nov 5, 2009 at 11:49 AM, Benoitx wrote: >> > >> >> >> >> Hi >> >> >> >> I've just tried to upgrade to 5.3 and I do not have any communication >> >> between 2 servers under Unix (seems ok under XP). >> >> >> >> The installation was working ok with 5.2 (except for large files split >> in >> >> multi messages). >> >> >> >> I have JBoss with embedded ActiveMQ listening on port 27000 >> >> I have Mule with embedded ActiveMQ listening on port 28000; both >> static >> >> tcp. >> >> >> >> Both running on the same Solaris machine (called speedy) >> >> >> >> I'd be extremely grateful if someone could make a suggestion... >> >> >> >> I'm more than happy to help debugging if required... >> >> >> >> I now get this with DEBUG level on the Mule log which is trying to >> send >> >> something to JBoss: >> >> (more config info below) >> >> >> >> 2009-11-05 10:32:12,356 WARN [network.DiscoveryNetworkConnector#?] >> >> (Simple >> >> Discovery Agent: java.util.concurrent.ThreadPoolExecutor$Worker@e0ada6 >> :) >> >> Could not start network bridge between: vm://appendium-esb-server and: >> >> tcp://speedy:28000 due to: java.net.ConnectException: Connection >> refused >> >> 2009-11-05 10:32:12,356 DEBUG [network.DiscoveryNetworkConnector#?] >> >> (Simple >> >> Discovery Agent: java.util.concurrent.ThreadPoolExecutor$Worker@e0ada6 >> :) >> >> Start failure exception: java.net.ConnectException: Connection refused >> >> java.net.ConnectException: Connection refused >> >> at java.net.PlainSocketImpl.socketConnect(Native Method) >> >> at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333) >> >> at >> >> java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195) >> >> at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182) >> >> at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366) >> >> at java.net.Socket.connect(Socket.java:519) >> >> at >> >> >> >> >> org.apache.activemq.transport.tcp.TcpTransport.connect(TcpTransport.java:435) >> >> at >> >> >> >> >> org.apache.activemq.transport.tcp.TcpTransport.doStart(TcpTransport.java:401) >> >> at >> >> org.apache.activemq.util.ServiceSupport.start(ServiceSupport.java:53) >> >> at >> >> >> >> >> org.apache.activemq.transport.TransportFilter.start(TransportFilter.java:57) >> >> at >> >> >> >> >> org.apache.activemq.transport.TransportFilter.start(TransportFilter.java:57) >> >> at >> >> >> >> >> org.apache.activemq.transport.WireFormatNegotiator.start(WireFormatNegotiator.java:72) >> >> at >> >> >> >> >> org.apache.activemq.transport.TransportFilter.start(TransportFilter.java:57) >> >> at >> >> >> >> >> org.apache.activemq.transport.TransportFilter.start(TransportFilter.java:57) >> >> at >> >> >> >> >> org.apache.activemq.network.DemandForwardingBridgeSupport.start(DemandForwardingBridgeSupport.java:225) >> >> at >> >> >> >> >> org.apache.activemq.network.DiscoveryNetworkConnector.onServiceAdd(DiscoveryNetworkConnector.java:130) >> >> at >> >> >> >> >> org.apache.activemq.transport.discovery.simple.SimpleDiscoveryAgent$1.run(SimpleDiscoveryAgent.java:164) >> >> 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-11-05 10:32:12,356 DEBUG [simple.SimpleDiscoveryAgent#?] (Simple >> >> Discovery Agent: java.util.concurrent.ThreadPoolExecutor$Worker@8c39d7 >> :) >> >> Failure occured soon after the discovery event was generated. It will >> be >> >> clasified as a connection failure: >> >> >> >> >> org.apache.activemq.transport.discovery.simple.SimpleDiscoveryAgent$SimpleDiscoveryEvent@7bacb >> >> 2009-11-05 10:32:12,356 DEBUG [simple.SimpleDiscoveryAgent#?] (Simple >> >> Discovery Agent: java.util.concurrent.ThreadPoolExecutor$Worker@8c39d7 >> :) >> >> Waiting 8000 ms before attepting to reconnect. >> >> 2009-11-05 10:32:20,364 INFO [network.DiscoveryNetworkConnector#?] >> >> (Simple >> >> Discovery Agent: java.util.concurrent.ThreadPoolExecutor$Worker@8c39d7 >> :) >> >> Establishing network connection from vm://appendium-esb-server to >> >> tcp://speedy:28000 >> >> 2009-11-05 10:32:20,366 DEBUG [tcp.TcpTransport#?] (Simple Discovery >> >> Agent: >> >> java.util.concurrent.ThreadPoolExecutor$Worker@8c39d7:) Stopping >> >> transport >> >> tcp://null:0 >> >> 2009-11-05 10:32:20,366 WARN [network.DiscoveryNetworkConnector#?] >> >> (Simple >> >> Discovery Agent: java.util.concurrent.ThreadPoolExecutor$Worker@8c39d7 >> :) >> >> Could not start network bridge between: vm://appendium-esb-server and: >> >> tcp://speedy:28000 due to: java.net.ConnectException: Connection >> refused >> >> 2009-11-05 10:32:20,366 DEBUG [network.DiscoveryNetworkConnector#?] >> >> (Simple >> >> Discovery Agent: java.util.concurrent.ThreadPoolExecutor$Worker@8c39d7 >> :) >> >> Start failure exception: java.net.ConnectException: Connection refused >> >> java.net.ConnectException: Connection refused >> >> at java.net.PlainSocketImpl.socketConnect(Native Method) >> >> at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333) >> >> at >> >> java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195) >> >> at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182) >> >> at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366) >> >> at java.net.Socket.connect(Socket.java:519) >> >> at >> >> >> >> >> org.apache.activemq.transport.tcp.TcpTransport.connect(TcpTransport.java:435) >> >> at >> >> >> >> >> org.apache.activemq.transport.tcp.TcpTransport.doStart(TcpTransport.java:401) >> >> at >> >> org.apache.activemq.util.ServiceSupport.start(ServiceSupport.java:53) >> >> at >> >> >> >> >> org.apache.activemq.transport.TransportFilter.start(TransportFilter.java:57) >> >> at >> >> >> >> >> org.apache.activemq.transport.TransportFilter.start(TransportFilter.java:57) >> >> at >> >> >> >> >> org.apache.activemq.transport.WireFormatNegotiator.start(WireFormatNegotiator.java:72) >> >> at >> >> >> >> >> org.apache.activemq.transport.TransportFilter.start(TransportFilter.java:57) >> >> at >> >> >> >> >> org.apache.activemq.transport.TransportFilter.start(TransportFilter.java:57) >> >> at >> >> >> >> >> org.apache.activemq.network.DemandForwardingBridgeSupport.start(DemandForwardingBridgeSupport.java:225) >> >> at >> >> >> >> >> org.apache.activemq.network.DiscoveryNetworkConnector.onServiceAdd(DiscoveryNetworkConnector.java:130) >> >> at >> >> >> >> >> org.apache.activemq.transport.discovery.simple.SimpleDiscoveryAgent$1.run(SimpleDiscoveryAgent.java:164) >> >> 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-11-05 10:32:20,366 DEBUG [simple.SimpleDiscoveryAgent#?] (Simple >> >> Discovery Agent: java.util.concurrent.ThreadPoolExecutor$Worker@e0ada6 >> :) >> >> Failure occured soon after the discovery event was generated. It will >> be >> >> clasified as a connection failure: >> >> >> >> >> org.apache.activemq.transport.discovery.simple.SimpleDiscoveryAgent$SimpleDiscoveryEvent@7bacb >> >> >> >> >> >> In Mule activemq-broker-config xml, I have: >> >> >> >> >> >> >> >> >> >> >> >> and >> >> > >> uri="static:(tcp://speedy:28000)" dynamicOnly="true"> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> The JBoss config is in an RAR inside the EAR >> >> with activeio-core-3.1.0.jar (is this the correct version? Do I need >> >> this?) >> >> and activemq-core-5.3.0.jar and activemq-ra-5.3.0.jar >> >> xbean-spring-3.4.jar >> >> >> >> the JBoss broker config is: >> >> >> >> > /> >> >> >> >> >> >> >> >> > >> >> uri="static://(tcp://${esb.server.host}:${esb.server.amq.transportPort})" >> >> dynamicOnly="true"> >> >> >> >> >> >> >> >> >> >> >> >> >> >> JBoss is started with >> >> server.host=speedy >> >> amq.transportPort=28000 >> >> esb.server.host=speedy >> >> esb.server.amq.transportPort=27000 >> >> >> >> Am I missing something in my config? >> >> >> >> Has something dramatically changed between 5.2 and 5.3? >> >> >> >> Many thanks >> >> >> >> Benoit >> >> >> >> >> >> >> >> >> >> >> >> ----- >> >> Thanks & Regards, >> >> >> >> Benoit >> >> >> >> http://www.Appendium.com http://objectlab.blogspot.com >> >> >> >> -- >> >> View this message in context: >> >> >> http://old.nabble.com/5.2-config-not-working-with-5.3-tp26210281p26210281.html >> >> Sent from the ActiveMQ - User mailing list archive at Nabble.com. >> >> >> >> >> > >> > >> > ----- >> > Dejan Bosanac >> > >> > Open Source Integration - http://fusesource.com/ >> > ActiveMQ in Action - http://www.manning.com/snyder/ >> > Blog - http://www.nighttale.net >> > >> >> >> ----- >> Thanks & Regards, >> >> Benoit >> >> http://www.Appendium.com http://objectlab.blogspot.com >> >> -- >> View this message in context: >> http://old.nabble.com/5.2-config-not-working-with-5.3-tp26210281p26214523.html >> Sent from the ActiveMQ - User mailing list archive at Nabble.com. >> >> > > > ----- > Dejan Bosanac > > Open Source Integration - http://fusesource.com/ > ActiveMQ in Action - http://www.manning.com/snyder/ > Blog - http://www.nighttale.net > ----- Thanks & Regards, Benoit http://www.Appendium.com http://objectlab.blogspot.com -- View this message in context: http://old.nabble.com/5.2-config-not-working-with-5.3-tp26210281p26215722.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.