Unable to map placeholder values in jboss-esb.xml with property-service.xml

Solution Unverified - Updated -

Issue

  • A properties-service.xml file is being deployed along with jboss-esb.xml file in the same folder ESB-APPLICATION.esb/META-INF/ which contains values for many properties which are used inside jboss-esb.xml file of an ESB application. There are near about 15 JBoss ESB applications running in the same server instance with above specified structure.
    When the Red Hat JBoss SOA Platform server is restarted, some of the property values does not integrate with the placeholder defined in jboss-esb.xml file at runtime and thus fails to deploy the ESB application. Specially it happens with numeric values defined in the properties-service.xml.

jboss-esb.xml:

 <listeners><sql-listener busidref="listnr-one" is-gateway="true" name="FirstSqlListener" poll-frequency-seconds="${ESB_POLL_FREQ_SEC}"/></listeners>

properties-service.xml:

 ESB_POLL_FREQ_SEC=5

The ERROR message is:

    Caused by: org.apache.xmlbeans.impl.values.XmlValueOutOfRangeException: Invalid integer value: ${ESB_POLL_FREQ_SEC}

What is the reason behind this strange behaviour and how to fix it?

Environment

  • Red Hat JBoss SOA Platform (SOA-P)
    • 5.0.2

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.