Property substitution for datasource config files not working in EAP 5

Solution Verified - Updated -

Issue

  • In a datasource definition file (-ds.xml), when setting the poolsize using variables, the variable is resolved as 0, although the variable has been defined with a value > 0. For example:
    <min-pool-size>${env.db.mypool.minconn}</min-pool-size>
    <max-pool-size>${pool.max}</max-pool-size>
    
  • Is this a known bug in EAP 5.0.1? In Jboss AS 4.0.5 GA and before property substitution in datasource configuration files worked.

Environment

  • JBoss Enterprise Application Platform (EAP)
    • 5.0.x
    • 5.1.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content