ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.


AddThis Social Bookmark Button
  Using Tomcat 4 Security Realms
Subject:   404 Error
Date:   2003-04-14 00:38:01
From:   anonymous2
Response to: 404 Error

probabaly u may not have uncommented the Realm
tag in the server.xml file. If u r using a memory realm ,uncomment the line
<Realm className="org.apache.catalina.realm.MemoryRealm" />

u can find it under the <Engine> tag.

Or if u r using JDBC realm comment the above line
and uncomment the JDBC realm tag (there will be more than one and u have to decide which one to
use which depends on the db u r using)