ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ Java / JMS » Server Connection channel is not disconnecting

Post new topic  Reply to topic
 Server Connection channel is not disconnecting « View previous topic :: View next topic » 
Author Message
ranjan1247
PostPosted: Thu Jul 09, 2015 11:41 am    Post subject: Server Connection channel is not disconnecting Reply with quote

Novice

Joined: 17 Feb 2014
Posts: 20

We have a issue here that server connection channel is not disconnection after the reaching the HBINT. in Configuaration file keepalive is set to yes.I dont have clue wat is issue that the server connetion channel is not disconnecting.Application is using jms connection factory and for disconneting JMSConnectionFactory.getInstance().closeConnection(connection); is using
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Fri Jul 10, 2015 8:17 am    Post subject: Re: Server Connection channel is not disconnecting Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20696
Location: LI,NY

ranjan1247 wrote:
We have a issue here that server connection channel is not disconnection after the reaching the HBINT. in Configuaration file keepalive is set to yes.I dont have clue wat is issue that the server connetion channel is not disconnecting.Application is using jms connection factory and for disconneting JMSConnectionFactory.getInstance().closeConnection(connection); is using

This is not a way to close the JMS Connection.
JMSConnectionFactory.getInstance() returns an instance of a ConnectionFactory. You use this ConnectionFactory to create a Connection.
This is the object you need to call close on. There is no close method on the factory object!

Also be careful about creating too many connection factory objects. Don't remember which level of MQ and FP is needed but there was a memory leak in the creation of the connection factory... Maybe you need to apply maintenance??

_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » Server Connection channel is not disconnecting
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.