Re: Paging and Persistence disabled
zenzei2k Nov 26, 2011 9:12 AMClebert,
Today I manage to run the scripts when paging starts to happen, and I'm attaching some files to see if you would be so kind to help me understand if this is a problem or not, I will be very grateful.
Remember that I have persistence disabled and hornetq session configured with the pre acknowledge mode
connection.createSession(false, HornetQJMSConstants.PRE_ACKNOWLEDGE);
So in the past I suppose paging should not be triggered.
After running both commands as
C:\jboss-4.2.3.GA\server\default>java -cp ./lib/hornetq-core.jar;./lib/netty.jar org.hornetq.core.persistence.impl.journal.PrintData data\hornetq\paging data\hornetq\journal > printData.txt
C:\jboss-4.2.3.GA\server\default>java -cp ./lib/hornetq-core.jar;./lib/netty.jar org.hornetq.core.paging.PrintPages data\hornetq\paging data\hornetq\journal > printPages.txt
I got
a) four .hq files inside data/hornetq/journal dir (attachment included journal.zip)
b) two .bindings files inside data/hornetq/paging dir (attachment included paging.zip)
c) Warning messages
28/08/2011 23:34:44 org.hornetq.core.logging.impl.JULLogDelegate warn
WARNING: Directory data\hornetq\paging\hornetq-bindings-1.bindings didn't have an identification file address.txt
28/08/2011 23:34:44 org.hornetq.core.logging.impl.JULLogDelegate warn
WARNING: Directory data\hornetq\paging\hornetq-bindings-2.bindings didn't have an identification file address.txt
I'm also including both scripts output as attachment (printData.txt and printPages.txt zipped)
Before running both scripts I saw there was one folder named 37dc4386-d1e6-11e0-b166-001dd9350b54 with a lot of files that I suppose where pages. Does the directory name represent an address, a queue on the address, or something else?
Thanks in advance!
-
printPages.zip 14.7 KB
-
printData.zip 271 bytes
-
journal.zip 40.3 KB
-
paging.zip 2.3 KB