Apache Tomcat is unable to bind to JNDI DataSource
Issue
- Apache Tomcat is unable to bind to JNDI DataSource.
javax.naming.NameNotFoundException: Name [TestDS] is not bound in this Context. Unable to find [TestDS].
at org.apache.naming.NamingContext.lookup(NamingContext.java:819)
at org.apache.naming.NamingContext.lookup(NamingContext.java:153)
[...]
Environment
- Red Hat Enterprise Linux
- Red Hat JBoss Web Server
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.