Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-1505

Incorrect time unit written out to JCA configuration

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.1.0.Beta1
    • None
    • XML Frameworks
    • None

      JCA generates the following timeunit (note the case) for keepalive-time element.

      <keepalive-time time="10" unit="SECONDS"/>
      

      This fails the xsd validation testcase:

      testStandalonePreview(org.jboss.as.test.flat.xml.StandardConfigsXMLValidationUnitTestCase): cvc-enumeration-valid: Value 'SECONDS' is not facet-valid with respect to enumeration '[s, sec, seconds, m, min, minutes, ms, milliseconds, ns, nanoseconds, h, hours, d, days, w, weeks, mon, months]'. It must be a value from the enumeration.
      

              smaestri@redhat.com Stefano Maestri
              jaikiran Jaikiran Pai (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: