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 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.