[jboss-jira] [JBoss JIRA] (WFLY-6268) There is no validation of some of messaging server attributes
Chao Wang (JIRA)
issues at jboss.org
Wed Feb 24 05:19:00 EST 2016
[ https://issues.jboss.org/browse/WFLY-6268?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13167500#comment-13167500 ]
Chao Wang commented on WFLY-6268:
---------------------------------
For the journal-file-size, it's a bit tricky that it validates against mod result from AIOSequentialFileFactory and NIOSequentialFileFactory getAlignment() return value. 512 or 1 as:
{code:title=JournalImpl.java|borderStyle=solid}
if (fileSize % fileFactory.getAlignment() != 0) {
throw new IllegalArgumentException("Invalid journal-file-size " + fileSize + ", It should be multiple of " +
fileFactory.getAlignment());
}
{code}
> There is no validation of some of messaging server attributes
> -------------------------------------------------------------
>
> Key: WFLY-6268
> URL: https://issues.jboss.org/browse/WFLY-6268
> Project: WildFly
> Issue Type: Bug
> Components: JMS
> Affects Versions: 10.0.0.Final
> Reporter: Chao Wang
> Assignee: Chao Wang
>
> There is no validation of some attributes of messaging provider. Setting of these attributes to non valid value causes an error during next reload. Some of these attributes are: {{journal-file-size}} or {{journal-compact-percentage}}.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the jboss-jira
mailing list