Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-7345

Fix big jboss-beans.xml files truncation

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 10.1.0.Final
    • POJO
    • None

      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.

        1. Test.java
          3 kB
        2. test-jboss-beans.xml
          39 kB
        3. TestMBean.java
          0.9 kB

              jondruse@redhat.com Jiri Ondrusek
              penczek_jira Leonardo Penczek (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: