Error deploying web application with JDBC resource mapped in web.xml in JBoss EAP
Issue
- When JBoss starts, the following error is received:
java.lang.RuntimeException: mapped-name is required for <a jdbc resource> of deployment <a web app>
- Web application fails to start because of the above error
Environment
- JBoss Enterprise Application Platform (EAP)
- 5.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
