How can an application depend on a database driver deployed in JBoss EAP 6?

Solution Unverified - Updated -

Issue

  • The database driver is deployed (not as a module but as a deployment) and a datasource is created using it. After server startup, the order of loading deployables varies. One of the application tries to load before the database driver jar file which is used to create a datasource which ultimately causes the application deployment to fail.

  • Is there a way to control the order that deployables load? Can an application be made dependent on a datasource?

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 6.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