Tomcat 7 UserDatabase configuration in META-INF/context.xml

Solution Verified - Updated -

Issue

  • How we could implement UserDatabase resource in META-INF/context.xml when GlobalNamingResources tag is removed from conf/server.xml (Realms are also removed from server.xml) ? It is required that all JNDI resources included UserDatabase would managed/accessed from application level (META-INF/context.xml).

Environment

  • Red Hat Enterprise Linux (RHEL)
    • 7.x (tomcat 7.x)
  • Red Hat JBoss WebServer (JWS)
    • 3.x (tomcat 7.x)

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.