Hi Freeman

Thank you for your quick reply. You were right that I couldn't ping this
machine from the machine where I installed ESB. However I could ping this
machine uisng its IP. So, I updated the xbean with the IP address of the
machine and again deployed. Now the error has changed. 

<loc-message>Could not connect to broker URL: tcp://1.2.3.3:61616. Reason:
java.net.ConnectException: Connection refused</loc-message>
                                        
<stack-trace><![CDATA[javax.jms.JMSException: Could not connect to
broker URL: tcp://1.2.3.3:61616. Reason: java.net.ConnectException:
Connection refused
        at
org.apache.activemq.util.JMSExceptionSupport.create(JMSExceptionSupport.java:35)
        at
org.apache.activemq.ActiveMQConnectionFactory.createActiveMQConnection(ActiveMQConnectionFactory.java:277)
        at
org.apache.activemq.ActiveMQConnectionFactory.createActiveMQConnection(ActiveMQConnectionFactory.java:221)
        at
org.apache.activemq.ActiveMQConnectionFactory.createConnection(ActiveMQConnectionFactory.java:169)



Thanks
Sonia


Freeman Fang wrote:
> 
> Hi Sonia,
> 
> Seems like the server serviceproviders.osaccvpoc.com  is not accessible  
> from you machine.
> What you get if you "ping serviceproviders.osaccvpoc.com"? Can you get 
> the ip address resolved?
> 
> Regards
> Freeman
> 
> 
> Sonia John wrote:
>> Hi There
>>
>> I want to access a remote queue created under a jboss application server
>> through my ESB. The ESB is insatlled on a Fedora core Linux and the
>> servicemix version is fuse-esb-3.3.1.1 . My xbean.xml file looks as
>> follows
>>
>> <?xml version="1.0" encoding="UTF-8"?>
>> <!--
>>
>>     Licensed to the Apache Software Foundation (ASF) under one or more
>>     contributor license agreements.  See the NOTICE file distributed with
>>     this work for additional information regarding copyright ownership.
>>     The ASF licenses this file to You under the Apache License, Version
>> 2.0
>>     (the "License"); you may not use this file except in compliance with
>>     the License.  You may obtain a copy of the License at
>>
>>        http://www.apache.org/licenses/LICENSE-2.0
>>
>>     Unless required by applicable law or agreed to in writing, software
>>     distributed under the License is distributed on an "AS IS" BASIS,
>>     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
>> implied.
>>     See the License for the specific language governing permissions and
>>     limitations under the License.
>>
>> -->
>> <beans xmlns:jms="http://servicemix.apache.org/jms/1.0";
>>        xmlns:test="http://test";
>>        xmlns:amq="http://activemq.org/config/1.0";>
>>
>>     <!-- START SNIPPET: provider -->
>>       <jms:endpoint service="test:ExternalCCVService"
>>                   endpoint="externalCCVQue"
>>                   role="provider" 
>>                   destinationStyle="queue"
>>                   jmsProviderDestinationName="queue/CCV"
>>                   connectionFactory="#connectionFactory"/>
>>
>>    <amq:connectionFactory id="connectionFactory"
>> brokerURL="tcp://serviceproviders.osaccvpoc.com:61616" />
>>
>> </beans>
>>
>>
>> The build went successful and at the time of deployement the service
>> doesn't
>> start  http://www.nabble.com/file/p18687370/Servicemix.log Servicemix.log 
>> with the error  Could not connect to broker URL:
>> tcp://serviceproviders.osaccvpoc.com:61616. Reason:
>> java.net.UnknownHostException: serviceproviders.osaccvpoc.com. 
>>
>> I tried with the URL jnp://serviceproviders.osaccvpoc.com:1099. I still
>> get
>> the same exception. I am new to ESB. Could anyone tell me how I can
>> access a
>> remote queue from ESB. 
>>
>> Thanks
>> -Sonia
>>
>>   
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Could-not-connect-to-broker-URL-tp18687370p18687962.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to