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: Memory Error while create Connection
Date Tue, 17 Apr 2007 11:11:12 GMT
My guess is that you're using a 1.x release of activemq-cpp, because it
is defaulting to the stomp protocol.  In order to talk stomp to the
broker, you need to specify port 61613 in the connection url (you are
using 61616, which is the openwire port).

Regards,
Nate 

> -----Original Message-----
> From: Jibin Raju [mailto:jibinraju@gmail.com] 
> Sent: Tuesday, April 17, 2007 2:18 AM
> To: dev@activemq.apache.org
> Subject: Memory Error while create Connection
> 
> 
> my code :
> 
> ActiveMQConnectionFactory* connectionFactory = new 
> ActiveMQConnectionFactory("tcp://192.168.29.200:61616");
> Connection* connection = 
> connectionFactory->createConnection(); //get Error
> 
> //Error
> WARNING: activemq::io::SocketInputStream::read - The 
> connection is broken
>         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: 2020
> 
> //Then got an Exception (ActiveMQConnectionFactory.cpp, 
> stompconnector.cpp) Unhandled exception at 0x7c59bc3f 
> (KERNEL32.DLL) in ActiveMq_Test.exe:
> Microsoft C++ exception: 
> activemq::exceptions::ActiveMQException at memory location 
> 0x0012fd8c..
> 
> pls suggest soultion
> --
> View this message in context: 
> http://www.nabble.com/Memory-Error-while-create-Connection-tf3
> 589021s2354.html#a10029847
> Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.
> 
> 

Mime
View raw message