MQSeries not closing connections
I got this error while connecting to MQSeries:
MQJE001: An MQException occurred: Completion Code 2, Reason 2009 MQJE016: MQ queue manager closed channel immediately during connect Closure reason = 2009
After some trial-and-error, I found the problem: MQ's InitialContext opens a connection, but only closes it if I close the IC itself:
ic.close();
Since my application creates a lot of instances of InitialContext, a lot of connections got leaked, giving that annoying error.
+1 to the IBM's hall-of-shame, section "useless error messages".
One more reason to love NetBeans
I'm trying NetBeans 6.1 Beta. It is pretty stable to a beta, but I got a little problem: the "Find Usages" resource has some kind of memory leak. I sent the log using NetBeans' built-in feature and voilá: it was sent successfully, and, like a charm, the server told me the issue was already sent by another user and is FIXED - yup, they are quick.
For the folks that laugh at Windows "send error" button, just take a look at the screenshot:
And, if you want to, you can see the report number 13304, and the issue #125531.
