Transaction 2494730065 used during paging not found
^^ That means that either the TX was not persisted (you sent a message and didn't commit it).
Or maybe you sent the message as non-persistent.. and when depaging you won't see the TX while depaging.
- or you removed the journal and left paging?
I would recommend you to upgrade.. Maybe going beyond 2.2.2 already (Branch_2_2_EAP). I'm consdering having a release of the stable branch soon.
From 2.2+ we are keeping client-server protocol compatible. Older clients are always compatible with newer servers. The opposite may not be true though.(An older server with an newer client won't work)
Well... we are not using JMS transactions or persistent messages. All messagses are sent AUTO_ACKNOWLEDGE. The journal on the server was never touched. Note that the thousands of log messages each list different transaction numbers. What is going on?
It is good to know that older clients are compatible with newer servers! I didn't realize that part. Is there a document which describes how to migrate from 2.1.x to 2.2.x? I have been looking through the 2.2.2 docs, but haven't found a "What's New" or "Changes" section. Is config from 2.1.x compatible with 2.2.x or do we need to add/remove/change certain parameters?
That is only from 2.2+.
If you upgrade from 2.1.2 to 2.2+, you will have to upgrade both client and server.
From now on the story will be different.
The fact that you have PageTransactions, tells me you were using Transactions somehow. Aren't you using the JCA connection factory? On that case the Auto_ACK is ignored.
We are not using transactions, at least not intentionally. We are running HornetQ standalone, in a non-J2EE setting, we are not using JCA. Here is how we obtain connections:
Hashtable<String, String> props = new Hashtable<String, String>();
InitialContext initialContext = new InitialContext(props);
Topic topic = (Topic)initialContext.lookup(topic);
ConnectionFactory cf = (ConnectionFactory)initialContext.lookup("/ConnectionFactory");
We are using a nearly stock hornetq-jms.xml file, with the addition of the topics we are using. I'm not sure how we could get a JCA connection factory with this setup. Am I missing something?
I'm not sure how you're using transactions. But the system is definitely using transactions somehow. Otherwise you wouldn't have page transactions.