Error deploying web application with JDBC resource mapped in web.xml in JBoss EAP

Solution Verified - Updated -

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