How to configure datasource in J2EE standard descriptors?

Solution Unverified - Updated -

Issue

  • we are developing an application and trying to use the descriptor to deploy a datasource. We want to keep to the current JEE standard, hence configured the datasource in ear's application.xml file. Our Deployment fails because of the missing datasource. It seems that JBoss try to deploy the WAR-File first and after this task JBoss starts to create our datasource. Thus, maybe the deployment order is not correct.

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.