Posted: Thu Jul 09, 2015 11:41 am Post subject: Server Connection channel is not disconnecting
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
Posted: Fri Jul 10, 2015 8:17 am Post subject: Re: Server Connection channel is not disconnecting
Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 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
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