[rabbitmq-discuss] AlreadyClosedException in Java client

jiri at krutil.com jiri at krutil.com
Wed Nov 3 11:27:27 GMT 2010


Matthias,

>> Our Java client sometimes (randomly) can't publish a message:
>> AlreadyClosedException: clean connection shutdown; reason: Attempt to
>> use closed channel
>
> Is there any error message in the server log?

There are errors like this on the server, which might very well be related:

=ERROR REPORT==== 3-Nov-2010::11:04:24 ===
connection <0.17229.0> (running), channel 4 - error:
{amqp_error,not_found,
             "no exchange 'foo' in vhost '/capacity/development'",
             'basic.publish'}

Is it possible that this is the actual problem and the Java client is  
only reporting misleading error messages?

Cheers
Jiri



More information about the rabbitmq-discuss mailing list