[
https://jira.jboss.org/browse/JBAS-8148?page=com.atlassian.jira.plugin.sy...
]
jaikiran pai commented on JBAS-8148:
------------------------------------
Just a reminder - M4 is planned to be tagged on the coming Wednesday (July 21). Looking at
the AS trunk, these files seem to come from HornetQ distribution (although I don't
know why, since these configs should perhaps be in AS). So that means, this will require a
HornetQ release before 21st.
I believe this is a good improvement to have in terms of boot time, so IMO should make it
to M4.
Configure HornetQ for decreased journal creation time upon first
boot
---------------------------------------------------------------------
Key: JBAS-8148
URL:
https://jira.jboss.org/browse/JBAS-8148
Project: JBoss Application Server
Issue Type: Task
Security Level: Public(Everyone can see)
Components: JMS (HornetQ)
Reporter: Dimitris Andreadis
Assignee: Clebert Suconic
Priority: Critical
Fix For: 6.0.0.M4
HornetQ journal creation delays first start-up about 60seconds on a slow laptop, and this
looks really bad to developers.
Please change the default settings of hornetq-configuration.xml to:
...
<!-- Default journal file size is 10Mb, reduced here to 1Mb for faster first boot
-->
<journal-file-size>${hornetq.journal.file.size:1048576}</journal-file-size>
<!-- Default journal min file is 2, increase for higher average msg rates -->
<journal-min-files>${hornetq.journal.min.files:2}</journal-min-files>
...
I.e reduce journal min files to 2 (it was 10), and journal file size to 1Mb (from 10Mb).
If the user wants to take the hit he/she can use the
hornetq.journal.file.size/hornetq.journal.min.files properties when starting the server.
Also, the configuration files for HornetQ really belong to the hornetq-int integration
project, so that we don't have to release hornetq in order to change configuration
parameters.
i.e. put them under jboss-trunk/hornetq-int/src/resource/config
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira