> From: Omar Adobati [mailto:omar.adobati@(protected)]
> Subject: MemoryRealm problems!
>
> I put it into the $MY_APP/META-INF directory, but it seems to
> be ignored.
Does the file $(catalina.home)/conf/[engine]/[host]/Apps.xml exist? If
so, it will override the $MY_APP/META-INF/context.xml file. (That's
assuming you're on 5.5 - you didn't bother to tell us what level of
Tomcat you're using.)
> <Context>
> <Realm className="
org.apache.catalina.realm.MemoryRealm"
> pathName="${catalina.home}/webapps/Apps/WEB-INF/ML-users.xml"
> />
>
> <Valve className="
org.apache.catalina.valves.AccessLogValve"
> prefix="${catalina.home}/webapps/Apps/WEB-INF/logs/ML_access_log."
> suffix=".txt" pattern="common"
> />
> </Context>
The intent of the servlet spec is to have webapps be read-only, so
writing a log to a file within the deployed webapp is a somewhat
questionable practice.
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.
---------------------------------------------------------------------
To start a new topic, e-mail: users@(protected)
To unsubscribe, e-mail: users-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)