|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
MQ connection not being closed |
« View previous topic :: View next topic » |
Author |
Message
|
josefh |
Posted: Sat Apr 06, 2013 2:50 am Post subject: MQ connection not being closed |
|
|
Newbie
Joined: 06 Apr 2013 Posts: 2
|
Hi everyone,
I am facing a strange problem, connections between websphere ( ND 7.0.0.19 ) and MQ Series (7.0.1) are not getting closed and this will cause the MQ connections to grow until the total connections limit is reached .I get following error in WAS ffdc log :
FFDC Exception:javax.jms.JMSException SourceId:com.ibm.ejs.jms.JMSQueueBrowserHandle.getEnumeration ProbeId:246 Reporter:com.ibm.ejs.jms.JMSQueueBrowserHandle@69f1b559
javax.jms.JMSException: MQJMS2008: failed to open MQ queue 'INCOMING_Q'.
at com.ibm.msg.client.wmq.v6.jms.internal.MQQueueServices.getQueueOpenException(MQQueueServices.java:914)
at com.ibm.msg.client.wmq.v6.jms.internal.MQQueueServices.getQueueForBrowse(MQQueueServices.java:830)
at com.ibm.msg.client.wmq.v6.jms.internal.JMSServicesMgr.getQueueForBrowse(JMSServicesMgr.java:251)
at com.ibm.msg.client.wmq.v6.jms.internal.MQQueueBrowser.getEnumeration(MQQueueBrowser.java:188)
at com.ibm.msg.client.jms.internal.JmsQueueBrowserImpl.getEnumeration(JmsQueueBrowserImpl.java:176)
at com.ibm.mq.jms.MQQueueBrowser.getEnumeration(MQQueueBrowser.java:110)
at com.ibm.ejs.jms.JMSQueueBrowserHandle.getEnumeration(JMSQueueBrowserHandle.java:298)
Linked exception:
com.ibm.mq.MQException: MQJE001: Completion Code '2', Reason '2009'.
at com.ibm.msg.client.wmq.v6.base.internal.MQQueueManager.accessQueue(MQQueueManager.java:733)
at com.ibm.msg.client.wmq.v6.base.internal.MQQueueManager.accessQueue(MQQueueManager.java:789)
at com.ibm.msg.client.wmq.v6.jms.internal.MQQueueServices.getQueueForBrowse(MQQueueServices.java:822)
at com.ibm.msg.client.wmq.v6.jms.internal.JMSServicesMgr.getQueueForBrowse(JMSServicesMgr.java:251)
at com.ibm.msg.client.wmq.v6.jms.internal.MQQueueBrowser.getEnumeration(MQQueueBrowser.java:188)
at com.ibm.msg.client.jms.internal.JmsQueueBrowserImpl.getEnumeration(JmsQueueBrowserImpl.java:176)
at com.ibm.mq.jms.MQQueueBrowser.getEnumeration(MQQueueBrowser.java:110)
at com.ibm.ejs.jms.JMSQueueBrowserHandle.getEnumeration(JMSQueueBrowserHandle.java:298)
Any advise on what could be causing this would be greatly appreciated
Thanks, |
|
Back to top |
|
 |
gbaddeley |
Posted: Sun Apr 07, 2013 3:44 pm Post subject: |
|
|
 Jedi Knight
Joined: 25 Mar 2003 Posts: 2538 Location: Melbourne, Australia
|
The application didn't close the connection when it was finished with it, or was making new connections when it already had one open ??? _________________ Glenn |
|
Back to top |
|
 |
josefh |
Posted: Mon Apr 08, 2013 3:02 am Post subject: |
|
|
Newbie
Joined: 06 Apr 2013 Posts: 2
|
Hi ,
The application was making new connections when it already had one open .
I found also this exception in ffdc log :
FFDC Exception:javax.naming.ServiceUnavailableException SourceId:com.ibm.ws.naming.util.WsnInitCtxFactory.getRootJndiContext ProbeId:912 Reporter:java.lang.Class@389c4b4d
javax.naming.ServiceUnavailableException: A communication failure occurred while attempting to obtain an initial context with the provider URL: "iiop://localhost:2815". Make sure that any bootstrap address information in the URL is correct and that the target name server is running. A bootstrap address with no port specification defaults to port 2809. Possible causes other than an incorrect bootstrap address or unavailable name server include the network environment and workstation network configuration. [Root exception is org.omg.CORBA.TRANSIENT: java.net.ConnectException: Connection refused:host=machine1,port=2815 vmcid: IBM minor code: E02 completed: No]
at com.ibm.ws.naming.util.WsnInitCtxFactory.mapInitialReferenceFailure(WsnInitCtxFactory.java:2271)
at com.ibm.ws.naming.util.WsnInitCtxFactory.getWsnNameService(WsnInitCtxFactory.java:1457)
at com.ibm.ws.naming.util.WsnInitCtxFactory.getRootContextFromServer(WsnInitCtxFactory.java:987)
at com.ibm.ws.naming.util.WsnInitCtxFactory.getRootJndiContext(WsnInitCtxFactory.java:909)
at com.ibm.ws.naming.util.WsnInitCtxFactory.getInitialContextInternal(WsnInitCtxFactory.java:581)
at com.ibm.ws.naming.util.WsnInitCtx.getContext(WsnInitCtx.java:124)
at com.ibm.ws.naming.util.WsnInitCtx.getContextIfNull(WsnInitCtx.java:799)
at com.ibm.ws.naming.util.WsnInitCtx.lookup(WsnInitCtx.java:165)
at com.ibm.ws.naming.util.WsnInitCtx.lookup(WsnInitCtx.java:180)
at com.palmyra.arch.devices.utility.Jms.getQueueConnectionFactory(Unknown Source)
at com.palmyra.arch.devices.utility.Jms.getQueueConnection(Unknown Source)
at com.palmyra.arch.devices.utility.Jms.getQueueSession(Unknown Source)
at com.palmyra.arch.devices.utility.Jms.getQueueBrowser(Unknown Source)
at com.palmyra.arch.devices.input.queue.InputQueuePrivilegedExceptionAction.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Subject.java:396)
at com.palmyra.arch.security.SecurityManager.A(Unknown Source)
at com.palmyra.arch.security.SecurityManager.contact admin(Unknown Source)
at com.palmyra.arch.devices.input.queue.InputDeviceQueueConsumer.run(Unknown Source)
Caused by: org.omg.CORBA.TRANSIENT: java.net.ConnectException: Connection refused:host=machine1,port=2815 vmcid: IBM minor code: E02 completed: No
at com.ibm.CORBA.transport.TransportConnectionBase.connect(TransportConnectionBase.java:425)
at com.ibm.ws.orbimpl.transport.WSTransport.getConnection(WSTransport.java:436)
at com.ibm.CORBA.transport.TransportBase.getConnection(TransportBase.java:187)
at com.ibm.rmi.iiop.TransportManager.get(TransportManager.java:89)
at com.ibm.rmi.iiop.GIOPImpl.getConnection(GIOPImpl.java:130)
at com.ibm.rmi.iiop.GIOPImpl.locate(GIOPImpl.java:219)
at com.ibm.rmi.corba.Corbaloc.locateUsingINS(Corbaloc.java:307)
at com.ibm.rmi.corba.Corbaloc.resolve(Corbaloc.java:378)
at com.ibm.rmi.corba.ORB.objectURLToObject(ORB.java:3751)
at com.ibm.CORBA.iiop.ORB.objectURLToObject(ORB.java:3262)
at com.ibm.rmi.corba.ORB.string_to_object(ORB.java:3649)
at com.ibm.ws.naming.util.WsnInitCtxFactory.stringToObject(WsnInitCtxFactory.java:1567)
at com.ibm.ws.naming.util.WsnInitCtxFactory.getWsnNameService(WsnInitCtxFactory.java:1432)
... 17 more
Caused by: java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:529)
at java.net.Socket.connect(Socket.java:478)
at java.net.Socket.<init>(Socket.java:375)
at java.net.Socket.<init>(Socket.java:189)
at com.ibm.ws.orbimpl.transport.WSTCPTransportConnection.createSocket(WSTCPTransportConnection.java:354)
at com.ibm.CORBA.transport.TransportConnectionBase.connect(TransportConnectionBase.java:356)
... 29 more |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|