[rabbitmq-discuss] IOException when connecting, using Glassfish

Ben Hood 0x6e6562 at gmail.com
Sat Jul 5 18:59:09 BST 2008


Everett,

On Sat, Jul 5, 2008 at 5:19 PM, everett <everett at mailinator.com> wrote:
> I am using the 1.3.0 release of RabbitMQ (on Debian Sid) along with the Java
> client. When the newConnection method on the ConnectionFactory instance is
> called within my web  application (deployed in Glassfish V2 UR2; running on
> the same machine as RabbitMQ), it throws an IOException and I get the
> following message in the rabbit.log file:
>
> =INFO REPORT==== 4-Jul-2008::16:40:02 ===
> accepted TCP connection on 0.0.0.0:5672 from 192.168.42.104:44453
>
> =ERROR REPORT==== 4-Jul-2008::16:40:04 ===
> error on TCP connection from 192.168.42.104:44453
> connection_closed_abruptly
>
> =INFO REPORT==== 4-Jul-2008::16:40:04 ===
> closing TCP connection from 192.168.42.104:44453

Are you able to run a standalone client test on the 192.168.42.104
host to try and isolate where the problem might lie? For example, the
Java client ships with some test cases that can be used to test
connectivity - look for the ProducerMain and ConsumerMain classes that
have simple main methods.

I suspect that you may be having some network related issues, so it
would be good to be able to rule this out.

HTH,

Ben




More information about the rabbitmq-discuss mailing list