Author |
Message |
Topic: Failed connection attempts leak memory? |
terlisimo
Replies: 10 Views: 12661
|
Forum: IBM MQ Java / JMS Posted: Mon Feb 01, 2010 1:01 am Subject: Failed connection attempts leak memory? |
I think it was one of these:
http://www-01.ibm.com/support/docview.wss?rs=171&uid=swg1IZ56280
http://www-01.ibm.com/support/docview.wss?rs=171&uid=swg1IC61714
http://www-01.ibm.com/su ... |
Topic: Failed connection attempts leak memory? |
terlisimo
Replies: 10 Views: 12661
|
Forum: IBM MQ Java / JMS Posted: Sun Jan 31, 2010 11:22 pm Subject: Failed connection attempts leak memory? |
I can confirm that this was a real memory leak and that it is fixed in Websphere Client 7.0.1.1
 |
Topic: Failed connection attempts leak memory? |
terlisimo
Replies: 10 Views: 12661
|
Forum: IBM MQ Java / JMS Posted: Sun Dec 27, 2009 6:08 am Subject: Failed connection attempts leak memory? |
There is a leak after all, even when using only one connection factory.
If ConnectionFactory.createConnection method is called and the remote system refuses TCP connection, the application keeps re ... |
Topic: Failed connection attempts leak memory? |
terlisimo
Replies: 10 Views: 12661
|
Forum: IBM MQ Java / JMS Posted: Thu Dec 24, 2009 5:41 am Subject: Failed connection attempts leak memory? |
I am stupid.
My app leaked memory because every time it tried to connect it would create a new ConnectionFactory object. Simplified code is too simplified
The old ConnectionFactory would be ... |
Topic: Failed connection attempts leak memory? |
terlisimo
Replies: 10 Views: 12661
|
Forum: IBM MQ Java / JMS Posted: Thu Dec 24, 2009 3:56 am Subject: Failed connection attempts leak memory? |
Tried that but in practice if connectionFactory.createConnection() throws an Exception then the connection object is never really created so it remains remains null and there's nothing to close. |
Topic: Failed connection attempts leak memory? |
terlisimo
Replies: 10 Views: 12661
|
Forum: IBM MQ Java / JMS Posted: Wed Dec 23, 2009 11:49 pm Subject: Failed connection attempts leak memory? |
Hello,
If the queue manager is unavailable due to service being offline or network connectivity problems, the application should be attempting to reconnect forever.
I found that MQ classes leak ... |
Topic: Number of TCP/IP connections in a JMS Topic session |
terlisimo
Replies: 3 Views: 5390
|
Forum: IBM MQ Java / JMS Posted: Tue Dec 01, 2009 3:43 pm Subject: Number of TCP/IP connections in a JMS Topic session |
you could do connectionFactory.setUseConnectionPooling(true); |
Topic: The type JMSC is deprecated? |
terlisimo
Replies: 9 Views: 19210
|
Forum: IBM MQ Java / JMS Posted: Mon Nov 09, 2009 5:36 pm Subject: The type JMSC is deprecated? |
An obvious replacement for MQJMS_TP_CLIENT_MQ_TCPIP doesnt present itself to someone of my weak wmq knowledge.
Had the same problem, google brought me here. This thread helped, thank you!
Appa ... |