[jboss-jira] [JBoss JIRA] (WFLY-7345) Fix big jboss-beans.xml files truncation
Ales Justin (JIRA)
issues at jboss.org
Mon Oct 24 06:00:01 EDT 2016
[ https://issues.jboss.org/browse/WFLY-7345?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13310776#comment-13310776 ]
Ales Justin commented on WFLY-7345:
-----------------------------------
[~penczek] can you please attach such "big enough" -beans.xml file, so I can also add a test for this. Tnx.
> Fix big jboss-beans.xml files truncation
> ----------------------------------------
>
> Key: WFLY-7345
> URL: https://issues.jboss.org/browse/WFLY-7345
> Project: WildFly
> Issue Type: Bug
> Components: POJO
> Affects Versions: 10.1.0.Final
> Reporter: Leonardo Penczek
> Assignee: Ales Justin
>
> If the jboss-beans.xml file is big enough, the value of a property.may be truncated,
> Fix for this problem:
> In the org.jboss.as.pojo.KernelDeploymentParsingProcessor constructor, add this line of code:
> inputFactory.setProperty("javax.xml.stream.isCoalescing", Boolean.valueOf(true));
> It prevents the truncation.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the jboss-jira
mailing list