activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Timothy Bish <tabish...@gmail.com>
Subject Re: yfor_lookup4: invalid hostname
Date Thu, 05 Jan 2012 23:35:08 GMT
On Thu, 2012-01-05 at 15:28 -0800, mrdiesel wrote:
> I m getting the following exception. and not sure what s causing it. 
> 
> any ideas? 
> 
> here is my connection string:
> 
> std::string brokerURI = "tcp://127.0.0.1:61613?wireFormat=stomp"; 
> 
> and this is the error:
> 
> E 05-150926.792540  4680 yfor_lookup4: invalid hostname: <(null)>
> Invalid argument
>         FILE: decaf/internal/net/tcp/TcpSocket.cpp, LINE: 222
>         FILE: decaf/internal/net/tcp/TcpSocket.cpp, LINE: 251
>         FILE: decaf/net/Socket.cpp, LINE: 327
>         FILE: activemq/transport/tcp/TcpTransport.cpp, LINE: 154
>         FILE: activemq/transport/tcp/TcpTransportFactory.cpp, LINE: 117
>         FILE: activemq/transport/tcp/TcpTransportFactory.cpp, LINE: 59
>         FILE: activemq/core/ActiveMQConnectionFactory.cpp, LINE: 322
> terminate called after throwing an instance of 'std::length_error'
>   what():  basic_string::_S_create
> Aborted (core dumped)
> 
> 
> --
> View this message in context: http://activemq.2283324.n4.nabble.com/yfor-lookup4-invalid-hostname-tp4267490p4267490.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Your best bet is to do some debugging in the code bits shown in the
Exception stack trace.  Not sure what would be causing this off hand.

Regards

-- 
Tim Bish
------------
FuseSource
Email: tim.bish@fusesource.com
Web: http://fusesource.com
Twitter: tabish121
Blog: http://timbish.blogspot.com/




Mime
View raw message