Force JBoss to use custom deploy folder ahead of "deploy" - while creating datasources from Admin Console

Solution Verified - Updated -

Issue

  • There are two deploy folders. One is provided by JBoss "deploy" and another one is custom created "apps".

  • While creating datasources through Admin Console, the "*-ds.xml" file gets created in "deploy" directory.

  • Is there a way to force JBoss to create it  in a custom directory ("apps" in this case)?

  • The most important part is the Jboss should automatically place any new DataSource configuration file inside "apps" directory as soon as we create a new DataSource from 'admin-console'

Environment

  • JBoss Enterpeise Application Platform (EAP)
    • 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