Migrating App from Tomcat to JBoss EAP, JNDI env not bound

Solution Unverified - Updated -

Issue

  • We are migrating a Spring application from Tomcat to JBoss EAP. We created a datasource *-ds.xml and the application is failing to find the datasource in jndi (java:comp/env/jdbc/MyDatasource)

Environment

  • JBoss Enterprise Application Platform (EAP)
    • 4.x
    • 5.x
  • Tomcat

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