title: LifecycleException: No UserDatabase component found under key
body: <p><strong>This is My servlet.xml file</strong></p>
  
  <pre><code>&lt;GlobalNamingResources&gt;
    &lt;Resource auth="Container"
   driverClassName="oracle.jdbc.driver.OracleDriver"
       initialSize="5"
         maxActive="120"
           maxIdle="5"
           maxWait="5000"
              name="jdbc/EPRT_DEV"
          password="admin"
               url="jdbc:oracle:thin:hr/password@192.168.178.83:1521:XE"
          username="system"
           factory="org.apache.catalina.users.MemoryUserDatabaseFactory"
          pathname="conf/tomcat-users.xml"
              type="javax.sql.DataSource" /&gt;
  &lt;/GlobalNamingResources&gt;
  
  &lt;!--
    &lt;Realm className="org.apache.catalina.realm.UserDatabaseRealm"
        resourceName="UserDatabase"/&gt;
  --&gt;
  &lt;Realm className="org.apache.catalina.realm.UserDatabaseRealm"
      resourceName="jdbc/EPRT_DEV"/&gt;
  </code></pre>
  
  <p><strong>This is my context.xml file</strong></p>
  
  <pre><code>&lt;ResourceLink name="jdbc/EPRT_DEV"
              global="jdbc/EPRT_DEV"
                type="javax.sql.DataSource"/&gt;
  </code></pre>
  
  <p>Have any idea? Please help me ..</p>