QueueConnectionFactory createQueueConnection hangs in Version 8.1.1

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

QueueConnectionFactory createQueueConnection hangs in Version 8.1.1

Kiran
We are using SwiftMQ 8.1.1 Version. I am trying to run P2PSender.java that is part of samples on swiftmq 8.1.1 packge, it was running fine for couple of days but it started hanging all of sudden. It hangs whenever connecfatory calls createQueueConnection();
method

....
javax.jms.Queue queue = (javax.jms.Queue)ctx.lookup(queueName);
ctx.close();
// Create connection, session & sender
>>Hangs here ---> QueueConnection connection = connectionFactory.createQueueConnection();
QueueSession session = connection.createQueueSession(false,Session.AUTO_ACKNOWLEDGE);
QueueSender sender = session.createSender(queue);
                       
Reply | Threaded
Open this post in threaded view
|

Re: QueueConnectionFactory createQueueConnection hangs in Version 8.1.1

Kiran
Also, I see no errors and no connectiontimeout errors, it just hangs
Reply | Threaded
Open this post in threaded view
|

Re: QueueConnectionFactory createQueueConnection hangs in Version 8.1.1

IIT Software
Administrator
Anything in the router error or warning log? I suggest to use the latest release and rerun your test as 8.1.1 is a bit outdated. We have 9.7.1 now.
Reply | Threaded
Open this post in threaded view
|

Re: QueueConnectionFactory createQueueConnection hangs in Version 8.1.1

Kiran
I upgraded swiftmq to 9.5.0 and still have the same issue. There were no issues for the first 2-3 days, but now I see that P2PSender.java just hangs at the exact same location

QueueSession session = connection.createQueueSession(false,Session.AUTO_ACKNOWLEDGE);

Nothing in error and warn logs.

I see following in info.log, nothing useful

2015-09-27 13:27:15.383/sys$topicmanager/INFORMATION/create topic: swiftmq.jndi
2015-09-27 13:27:16.123/SwiftletManager/INFORMATION/Swiftlet started: [MetaData, name=null, displayName=Log Swiftlet, description=Central Logging Facility, version=9.5.0, vendor=IIT Software GmbH, Bremen/Germany, className=com.swiftmq.impl.log.standard.LogSwiftletImpl]
2015-09-27 13:27:16.123/SwiftletManager/INFORMATION/Swiftlet started: [MetaData, name=null, displayName=JNDI Swiftlet, description=JNDI Swiftlet, version=9.5.0, vendor=IIT Software GmbH, className=com.swiftmq.impl.jndi.standard.JNDISwiftletImpl]
2015-09-27 13:27:16.123/SwiftletManager/INFORMATION/Swiftlet started: [MetaData, name=null, displayName=Accounting Swiftlet, description=Accounting Swiftlet, version=9.5.0, vendor=IIT Software GmbH, className=com.swiftmq.impl.accounting.standard.AccountingSwiftletImpl]
2015-09-27 13:27:16.123/SwiftletManager/INFORMATION/Swiftlet started: [MetaData, name=null, displayName=Monitor Swiftlet, description=Monitor Swiftlet, version=9.5.0, vendor=IIT Software GmbH, className=com.swiftmq.swiftlet.monitor.MonitorSwiftlet]
2015-09-27 13:27:16.123/SwiftletManager/INFORMATION/Swiftlet started: [MetaData, name=null, displayName=Queue Manager Swiftlet, description=Queue Manager, version=9.5.0, vendor=IIT Software GmbH, className=com.swiftmq.impl.queue.standard.QueueManagerImpl]
2015-09-27 13:27:16.123/SwiftletManager/INFORMATION/Swiftlet started: [MetaData, name=null, displayName=Network Swiftlet, description=Network Swiftlet, version=9.5.0, vendor=IIT Software GmbH, className=com.swiftmq.impl.net.standard.NetworkSwiftletImpl]
2015-09-27 13:27:16.123/SwiftletManager/INFORMATION/Swiftlet started: [MetaData, name=null, displayName=Scheduler Swiftlet, description=Scheduler Swiftlet, version=9.5.0, vendor=IIT Software GmbH, className=com.swiftmq.impl.scheduler.standard.SchedulerSwiftletImpl]
2015-09-27 13:27:16.123/SwiftletManager/INFORMATION/Swiftlet started: [MetaData, name=null, displayName=Threadpool Swiftlet, description=Threadpool Swiftlet, version=9.5.0, vendor=IIT Software GmbH, className=com.swiftmq.impl.threadpool.standard.ThreadpoolSwiftletImpl]
2015-09-27 13:27:16.123/SwiftletManager/INFORMATION/Swiftlet started: [MetaData, name=null, displayName=FileCache Swiftlet, description=FileCache Swiftlet, version=9.5.0, vendor=IIT Software GmbH, className=com.swiftmq.impl.filecache.FileCacheSwiftlet]
2015-09-27 13:27:16.123/SwiftletManager/INFORMATION/Swiftlet started: [MetaData, name=null, displayName=Trace Swiftlet, description=Trace Swiftlet, version=9.5.0, vendor=IIT Software GmbH, className=com.swiftmq.impl.trace.standard.TraceSwiftletImpl]
2015-09-27 13:27:16.123/SwiftletManager/INFORMATION/Swiftlet started: [MetaData, name=null, displayName=Authentication Swiftlet, description=Authentication Swiftlet, version=9.5.0, vendor=IIT Software GmbH, className=com.swiftmq.impl.auth.standard.AuthenticationSwiftletImpl]
2015-09-27 13:27:16.123/SwiftletManager/INFORMATION/Swiftlet started: [MetaData, name=null, displayName=JMS Swiftlet, description=JMS Swiftlet, version=9.5.0, vendor=IIT Software GmbH, className=com.swiftmq.impl.jms.standard.JMSSwiftlet]
2015-09-27 13:27:16.123/SwiftletManager/INFORMATION/Swiftlet started: [MetaData, name=null, displayName=Timer Swiftlet, description=Timer Swiftlet, version=9.5.0, vendor=IIT Software GmbH, className=com.swiftmq.impl.timer.standard.TimerSwiftletImpl]
2015-09-27 13:27:16.123/SwiftletManager/INFORMATION/Swiftlet started: [MetaData, name=null, displayName=Topic Manager Swiftlet, description=Topic Manager, version=9.5.0, vendor=IIT Software GmbH, className=com.swiftmq.impl.topic.standard.TopicManagerImpl]
2015-09-27 13:27:16.123/SwiftletManager/INFORMATION/Swiftlet started: [MetaData, name=null, displayName=Store Swiftlet, description=Store Swiftlet, version=9.5.0, vendor=IIT Software GmbH, className=com.swiftmq.impl.store.standard.StoreSwiftletImpl]
2015-09-27 13:27:16.123/SwiftletManager/INFORMATION/Swiftlet started: [MetaData, name=null, displayName=Deploy Swiftlet, description=Deploy Swiftlet, version=9.5.0, vendor=IIT Software GmbH, className=com.swiftmq.impl.deploy.standard.DeploySwiftletImpl]
2015-09-27 13:27:16.123/SwiftletManager/INFORMATION/Swiftlet started: [MetaData, name=null, displayName=JMS Application Container Swiftlet, description=JMS Application Container, version=9.5.0, vendor=IIT Software GmbH, className=com.swiftmq.impl.jac.standard.JACSwiftlet]
2015-09-27 13:27:16.123/SwiftletManager/INFORMATION/Swiftlet started: [MetaData, name=null, displayName=XA Resource Manager Swiftlet, description=XA Resource Manager Swiftlet, version=9.5.0, vendor=IIT Software GmbH, className=com.swiftmq.impl.xa.standard.XAResourceManagerSwiftletImpl]
2015-09-27 13:27:16.123/SwiftletManager/INFORMATION/Swiftlet started: [MetaData, name=null, displayName=Management Swiftlet, description=Management Swiftlet, version=9.5.0, vendor=IIT Software GmbH, className=com.swiftmq.impl.mgmt.standard.MgmtSwiftletImpl]
2015-09-27 13:27:16.123/SwiftletManager/INFORMATION/Swiftlet started: [MetaData, name=null, displayName=Routing Swiftlet (Single Connection), description=Routing Swiftlet (Single Connection), version=9.5.0, vendor=IIT Software GmbH, className=com.swiftmq.impl.routing.single.RoutingSwiftletImpl]
2015-09-27 13:27:16.123/SwiftletManager/INFORMATION/Swiftlet started: [MetaData, name=null, displayName=AMQP Swiftlet, description=AMQP Swiftlet, version=9.5.0, vendor=IIT Software GmbH, className=com.swiftmq.impl.amqp.AMQPSwiftlet]
2015-09-27 13:27:25.398/[BlockingTCPListener, swiftlet=sys$jms, port=4001]/Listener/INFORMATION/connection accepted: 127.0.0.1
Reply | Threaded
Open this post in threaded view
|

Re: QueueConnectionFactory createQueueConnection hangs in Version 8.1.1

IIT Software
Administrator
Are you running the unmodified P2PSender? Do you receive the messages you sent? Otherwise may be the router just gets a memory problem.
Reply | Threaded
Open this post in threaded view
|

Re: QueueConnectionFactory createQueueConnection hangs in Version 8.1.1

Kiran
It works issue was with memory