You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Guillaume Lederrey <gu...@gmail.com> on 2005/07/21 10:02:42 UTC

WEB-INF/context.xml

  Hello !

  I've read on http://wiki.jboss.org/wiki/Wiki.jsp?page=LimitAccessToCertainClients
that it seems possible to add a context.xml file under WEB-INF. I
tried to use the following context.xml :

<Context
    privileged="true"
    antiResourceLocking="false"
    antiJARLocking="false" reloadable="true">
    <Realm
        className="org.apache.catalina.realm.DataSourceRealm"
        dataSourceName="/jdbc/Siems"
        userTable="siems_user"
        userNameCol="login"
        userCredCol="password"
        userRoleTable="siems_user_role"
        roleNameCol="role_name"/>
</Context>


But now I get an HTTP 403. Is it valid to declare a Realm in
WEB-INF/context.xml ? Is there a place with more docs about this
feature ?

Thanks for your help !

   Guillaume

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: How to implement Cluster using tomcat5.0

Posted by Jason Bainbridge <jb...@gmail.com>.
On 7/21/05, Sridhar <sr...@wicore.com> wrote:
> Hi Everybody,
> 
>     How to implement Cluster using tomcat5.0.

Start here first:

http://jakarta.apache.org/tomcat/tomcat-5.0-doc/cluster-howto.html

Then try to get it working and if you have trouble try researching the
issues a little and then if you get stumped post your questions to the
list.

Regards,
-- 
Jason Bainbridge
http://kde.org - webmaster@kde.org
Personal Site - http://jasonbainbridge.com

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


How to implement Cluster using tomcat5.0

Posted by Sridhar <sr...@wicore.com>.
Hi Everybody,

    How to implement Cluster using tomcat5.0.



Regards

Sridhar