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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content