You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Michal Kwiatek <Mi...@cern.ch> on 2005/08/11 09:02:29 UTC

realm in context in war file

Has any of you tried defining a realm inside the context.xml taken form
META-INF file from inside the war file?

I have the following context definition:

<context path="/test1" override="true" docBase="webapps/test1">
<realm 
	className="org.apache.catalina.realm.MemoryRealm"
	debug="9999"
	pathname="webapps/test1/META-INF/context-users.xml"
/>
</context>

but the realm definition is simply ignored by tomcat. 

Any idea why?

Thanks in advance,
Michal.

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