I think the obvious question would be: - Why would my client be trying to commit messages if I'm not generating new ones and why don't they have an id? - If these messages don't get committed nor rolled back, how do I make them go away?
Looks to me like there are some transactions in a strange state that are not started but can't be committed either. On Mon, Jun 11, 2012 at 12:23 AM, mickhayes [via ActiveMQ] < [email protected]> wrote: > It means you are at the bolded part below of ActiveMQSession.java and have > DEBUG level logging on and > transactionContext.getTransactionId() is null: > > /** > * Commits all messages done in this transaction and releases any > locks > * currently held. > * > * @throws JMSException if the JMS provider fails to commit the > transaction > * due to some internal error. > * @throws TransactionRolledBackException if the transaction is rolled > back > * due to some internal error during commit. > * @throws javax.jms.IllegalStateException if the method is not called > by a > * transacted session. > */ > public void commit() throws JMSException { > checkClosed(); > if (!getTransacted()) { > throw new javax.jms.IllegalStateException("Not a transacted > session"); > } > * if (LOG.isDebugEnabled()) { > LOG.debug(getSessionId() + " Transaction Commit :" + > transactionContext.getTransactionId());* > } > transactionContext.commit(); > } > > Michael Hayes B.Sc. (NUI), M.Sc. (DCU), SCSA SCNA > > > ------------------------------ > If you reply to this email, your message will be added to the discussion > below: > > http://activemq.2283324.n4.nabble.com/Suspicious-ActiveMQSession-messages-in-my-log-tp4653127p4653150.html > To unsubscribe from Suspicious ActiveMQSession messages in my log, click > here<http://activemq.2283324.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4653127&code=Y2xhdWRpby5zYW50YW5hQGdtYWlsLmNvbXw0NjUzMTI3fC0xNTA0MDM5ODky> > . > NAML<http://activemq.2283324.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> > -- View this message in context: http://activemq.2283324.n4.nabble.com/Suspicious-ActiveMQSession-messages-in-my-log-tp4653127p4653180.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.
