You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by mrdiesel <mr...@gmail.com> on 2012/01/06 00:28:28 UTC

yfor_lookup4: invalid hostname

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.

Re: yfor_lookup4: invalid hostname

Posted by Timothy Bish <ta...@gmail.com>.
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/