Cannot resolve expression in connection URL for datasource in EAP 6

Solution Unverified - Updated -

Issue

  • We are trying to create a XA-data source using this command.
/subsystem=datasources/xa-data-source=TestDS/xa-datasource-properties=URL:add(value="jdbc:oracle:thin:@${env.JBDB_URL}:1521:XYZ")

This is the error message that I see in server.log during startup

process-state: reload-required
{
   "outcome" => "failed",
   "failure-description" => "JBAS014802: Cannot resolve expression 'jdbc:oracle:thin:@${env.JBDB_URL}:1521:XYZ'",
   "rolled-back" => true,
   "response-headers" => {"process-state" => "reload-required"}
}

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 6.x.x

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