You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by v2cg4ss <ss...@datamentors.com> on 2010/06/15 22:19:33 UTC

ActiveMQ-CPP 3.1.3 Example "No Connection..." Problem

When trying to run the example I am getting the following stacktrace message,
I am using the following URI string:  tcp://127.0.0.1:61616.  The Unit Test
application ran with no errors however, the Integration Test application had
all errors.  Any ideas why my connections are refused?



No connection could be made because the target machine actively refused it.
        FILE: ..\src\main\decaf\net\TcpSocket.cpp, LINE: 334
        FILE: ..\src\main\decaf\net\TcpSocket.cpp, LINE: 132
        FILE: ..\src\main\decaf\net\SocketFactory.cpp, LINE: 123
        FILE: ..\src\main\decaf\net\SocketFactory.cpp, LINE: 133
        FILE: ..\src\main\activemq\transport\tcp\TcpTransport.cpp, LINE: 144
        FILE: ..\src\main\activemq\transport\tcp\TcpTransportFactory.cpp,
LINE:
112
        FILE: ..\src\main\activemq\transport\tcp\TcpTransportFactory.cpp,
LINE:
66
        FILE: ..\src\main\activemq\core\ActiveMQConnectionFactory.cpp, LINE:
151
-- 
View this message in context: http://old.nabble.com/ActiveMQ-CPP-3.1.3-Example-%22No-Connection...%22-Problem-tp28895874p28895874.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Re: ActiveMQ-CPP 3.1.3 Example "No Connection..." Problem

Posted by Timothy Bish <ta...@gmail.com>.
On Tue, 2010-06-15 at 13:19 -0700, v2cg4ss wrote:
> When trying to run the example I am getting the following stacktrace message,
> I am using the following URI string:  tcp://127.0.0.1:61616.  The Unit Test
> application ran with no errors however, the Integration Test application had
> all errors.  Any ideas why my connections are refused?
> 
> 
> 
> No connection could be made because the target machine actively refused it.
>         FILE: ..\src\main\decaf\net\TcpSocket.cpp, LINE: 334
>         FILE: ..\src\main\decaf\net\TcpSocket.cpp, LINE: 132
>         FILE: ..\src\main\decaf\net\SocketFactory.cpp, LINE: 123
>         FILE: ..\src\main\decaf\net\SocketFactory.cpp, LINE: 133
>         FILE: ..\src\main\activemq\transport\tcp\TcpTransport.cpp, LINE: 144
>         FILE: ..\src\main\activemq\transport\tcp\TcpTransportFactory.cpp,
> LINE:
> 112
>         FILE: ..\src\main\activemq\transport\tcp\TcpTransportFactory.cpp,
> LINE:
> 66
>         FILE: ..\src\main\activemq\core\ActiveMQConnectionFactory.cpp, LINE:
> 151

You need to run an ActiveMQ broker in order to run the examples and
integration tests.

Regards

-- 
Tim Bish

Open Source Integration: http://fusesource.com
ActiveMQ in Action: http://www.manning.com/snyder/

Follow me on Twitter: http://twitter.com/tabish121
My Blog: http://timbish.blogspot.com/