tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alessandro Ilardo <>
Subject REALM and JNDI configuration
Date Tue, 30 Jan 2007 11:33:58 GMT
I'm having some trouble when I attempt to authenticate myself into my 
web application using the REALM.
I always get the error login page. Would you have a look on my 
configuration reported belowe as for the first time I'm trying to 
connect it to the database via JNDI.
Thanks in advance for you support.

<?xml version="1.0" encoding="UTF-8"?>
<Context path="/allysia" reloadable="true">
    <Resource name="jdbc/allysiaDB" auth="Container" 
    username="allysia" password="xxxxxxxxxxx"
maxActive="100" maxIdle="30"
    <Realm className="org.apache.catalina.realm.DataSourceRealm"
    name="jdbc/allysiaDB" digest="MD5" localDataSource="true"
    debug="99" roleNameCol="role" userCredCol="password" 
    userRoleTable="role" userTable="user"/>
    <Valve className="org.apache.catalina.valves.AccessLogValve"
    directory="logs"  prefix="allysia_access_log." suffix=".txt"
    pattern="common" resolveHosts="false"/>

To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message