[
https://jira.jboss.org/browse/JBAS-8148?page=com.atlassian.jira.plugin.sy...
]
jaikiran pai updated JBAS-8148:
-------------------------------
Attachment: JBAS-8148.patch
The AS build has now been changed to ignore the hornetq-configuration.xml file(s) that are
being pulled in from hornetq jars. Instead the customized hornetq-configuration.xml (i.e.
AS specific journal-file-size and journal-min-files) files are now made available in AS
trunk at AS_TRUNK/hornetq-int/src/resources/config/clustered/hornetq-configuration.xml
(for all profile) and
AS_TRUNK/hornetq-int/src/resources/config/non-clustered/hornetq-configuration.xml (for
default profile). These files are now being used in the build and will be placed in
JBOSS_HOME/server/all/deploy/hornetq and JBOSS_HOME/server/default/deploy/hornetq
folders.
Attached is the patch that has been applied to AS trunk in r106975.
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
Attachments: JBAS-8148.patch
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