| Article: |
Using Tomcat 4 Security Realms | |
| Subject: | 404 Error | |
| Date: | 2002-07-22 05:54:48 | |
| From: | der011 | |
| I read the entire article and I did all according it, but now my tomcat server don't start and if I am looking to the log file, there is a message: "No Realm has been configured to authenticate against", do somebody know, what is wrong? | ||
Showing messages 1 through 2 of 2.
-
404 Error
2003-04-14 00:38:01 anonymous2 [View]
-
404 Error
2003-08-04 11:31:12 anonymous2 [View]
I have exactly the same problem with my tomcat 4.0.4 bundled with Jbuilder 7. It onlu happens if i try to debug JSP. It does not happen when I deploy app to /webapp.



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)
regards
abhi.