Apache Tomcat is unable to bind to JNDI DataSource

Solution Verified - Updated -

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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In