activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mittler, Nathan" <nathan.mitt...@sensis.com>
Subject RE: Error while create connection at c++
Date Mon, 16 Apr 2007 13:28:25 GMT
There's not much to go on here.  Typically you should see an error
message at the beginning of a  stack trace that should help clue you in
to the problem.

The most common cause of a connection problem is either that no broker
is running or that there is a configuration mismatch when attempting to
access a broker's transport from the client ...

For activemq-cpp < v2.0 only stomp is supported and it is the default
transport.  In this case, you need a stomp transport configured on the
broker (typically port 61613) ... And you will need to make your
connection url in your client match up (e.g. "tcp://localhost:61613");

For activemq-cpp v2.0 (not yet released) openwire is the default
transport and you'll need to connect it to the openwire transport on the
broker (typically port 61616) ... (e.g. "tcp://localhost:61616").

Regards,
Nate

> -----Original Message-----
> From: jibin54 [mailto:jibinraju@gmail.com] 
> Sent: Monday, April 16, 2007 8:18 AM
> To: dev@activemq.apache.org
> Subject: Error while create connection at c++
> 
> 
>         FILE: 
> ..\src\main\activemq\network\SocketInputStream.cpp, LINE: 139
>         FILE: 
> ..\src\main\activemq\io\BufferedInputStream.cpp, LINE: 158
>         FILE: 
> ..\src\main\activemq\io\BufferedInputStream.cpp, LINE: 81
>         FILE: 
> ..\src\main\activemq\connector\stomp\StompCommandReader.cpp,
> LINE:
>  216
>         FILE: 
> ..\src\main\activemq\connector\stomp\StompCommandReader.cpp,
> LINE:
>  120
>         FILE: 
> ..\src\main\activemq\connector\stomp\StompCommandReader.cpp,
> LINE:
>  71
>         FILE: ..\src\main\activemq\transport\IOTransport.cpp, 
> LINE: 165
>  - tid: 1684
> 
> --
> View this message in context: 
> http://www.nabble.com/Error-while-create-connection-at-c%2B%2B
> -tf3584121s2354.html#a10015008
> Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.
> 
> 

Mime
View raw message