Migrating App from Tomcat to JBoss EAP, JNDI env not bound
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.