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