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

Fix big jboss-beans.xml files truncation

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

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

        Activity

          People

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

            Dates

              Created:
              Updated: