Quantcast
Channel: New board topics in SmartBear Community
Viewing all articles
Browse latest Browse all 20073

Session is closed while sending messages to Tibco EMS queue

$
0
0

Hi,

 

When I send multiple textmessages to a Tibco EMS queue within a loop, I get sometimes the following exception for some messages:

 

  • Thu May 12 13:32:13 CEST 2016:WARN:Error Response
  • javax.jms.IllegalStateException: Session is closed
  • at com.tibco.tibjms.TibjmsxSessionImp.createQueue(TibjmsxSessionImp.java:4551)
  • at hermes.impl.jms.SimpleDestinationManager.createDesintaion(SimpleDestinationManager.java:60)
  • at hermes.impl.jms.SimpleDestinationManager.getDestination(SimpleDestinationManager.java:137)
  • at hermes.impl.jms.AbstractSessionManager.getDestination(AbstractSessionManager.java:387)
  • at hermes.impl.DefaultHermesImpl.getDestination(DefaultHermesImpl.java:323)
  • at com.eviware.soapui.impl.wsdl.submit.transports.jms.JMSConnectionHolder.getQueue(JMSConnectionHolder.java:146)
  • at com.eviware.soapui.impl.wsdl.submit.transports.jms.HermesJmsRequestSendTransport.execute(HermesJmsRequestSendTransport.java:43)
  • at com.eviware.soapui.impl.wsdl.submit.transports.jms.HermesJmsRequestTransport.sendRequest(HermesJmsRequestTransport.java:98)
  • at com.eviware.soapui.impl.wsdl.WsdlSubmit.run(WsdlSubmit.java:119)
  • at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
  • at java.util.concurrent.FutureTask.run(Unknown Source)
  • at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
  • at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
  • at java.lang.Thread.run(Unknown Source)

 

This exception happens randomly for the messages. When I am lucky I can send them all without exceptions. 

 

I run SoapUI on my local windows machine (laptop) and the Tibco EMS is running on a linux server which can be reached by VPN connection. Maybe the connection is not perfect, but ping time is 10-20ms. The "connect" and "reconnect" property of the queue is set to "2".

Hermes configuration:

provider className="com.tibco.tibjms.TibjmsQueueConnectionFactory">

reconnects="0"

transacted="true"

audit="false"

useConsumerForQueueBrowse="false"

 

Any suggestions?


Viewing all articles
Browse latest Browse all 20073

Trending Articles