View Source

{kb-symptom}
When shutting down the CDP Server, an extraneous error message related to ActiveMQ and JMS messaging may be reported in the server log file.

A stack trace similar to the ones shown below is reported in server.log:
{code}
<font color="red">ERROR - Setup of JMS message listener invoker failed</font> - trying to recover
org.springframework.transaction.TransactionSystemException: <font color="red">Could not commit JMS transaction;</font> 
nested exception is javax.jms.IllegalStateException: <font color="red">The Session is closed</font>
...

or

<font color="red">ERROR - Setup of JMS message listener invoker failed</font> - trying to recover 
org.springframework.transaction.CannotCreateTransactionException: <font color="red">Could not create JMS transaction;</font>
nested exception is javax.jms.JMSException: Could not create Transport. 
Reason: java.io.IOException: <font color="red">Broker named 'localhost' does not exist. </font>
...
{code}

{kb-cause}
The error is caused by a timing issue having to do with the order in which CDP threads are stopped during shutdown. This error message can be safely ignored.

{kb-resolution}
This exception is now suppressed during shutdown of the CDP Server.


{kb-related-articles}