AnsweredAssumed Answered

Error while destroying JMS queues using companion flag

Question asked by AVSDevTest on Jun 22, 2016
Latest reply on Jun 27, 2016 by Kevin.Bowman

Hi All,

As a part of "Set Final Step to Execute" companion I am trying to delete the queues from MoM but VSM throwing following error. Is there any way to get control of Listener connection object and close it. Please help.

 

============================================================================
| Error in Script
============================================================================
| Step: Cleanup Queues
----------------------------------------------------------------------------
| Message: javax.jms.JMSException: Destination still has an active subscription: queue://request.proxy.queue
----------------------------------------------------------------------------
| Trapped Exception: javax.jms.JMSException: Destination still has an active subscription: queue://request.proxy.queue
| Trapped Message: javax.script.ScriptException: javax.jms.JMSException: Destination still has an active subscription: queue://request.proxy.queue
----------------------------------------------------------------------------
STACK TRACE
javax.script.ScriptException: javax.jms.JMSException: Destination still has an active subscription: queue://request.proxy.queue
at org.codehaus.groovy.jsr223.GroovyScriptEngineImpl.eval(GroovyScriptEngineImpl.java:348)
at org.codehaus.groovy.jsr223.GroovyCompiledScript.eval(GroovyCompiledScript.java:41)
at javax.script.CompiledScript.eval(CompiledScript.java:106)
at com.itko.lisa.test.ScriptExecHandler.executeCompiledScript(ScriptExecHandler.java:501)
at com.itko.lisa.test.UserScriptNode._execute(UserScriptNode.java:218)
at com.itko.lisa.test.UserScriptNode.execute(UserScriptNode.java:175)
at com.itko.lisa.test.TestNode.executeNode(TestNode.java:981)
at com.itko.lisa.test.TestCase.execute(TestCase.java:1295)
at com.itko.lisa.test.TestCase.execute(TestCase.java:1210)
at com.itko.lisa.test.TestCase.executeNextNode(TestCase.java:1195)

......
============================================================================

Outcomes