> From: Edward Quick [mailto:[EMAIL PROTECTED] 
> Subject: RE: memoryrealm
> 
> <Context path="/sample" debug="9" privileged="true">

Unless your <Context> element is in server.xml (it shouldn't be), the
path attribute is not allowed; remove it.  If you did put your <Context>
element in server.xml, move it to the proper location (the webapp's
META-INF/context.xml file).

>         <ResourceLink name="SampleDatabase" 
> global="SampleDatabase" type="org.apache.catalina.UserDatabase"
>         <Resource name="SampleDatabase" auth="Container" 
> type="org.apache.catalina.UserDatabase"
> description="User database that can be updated and saved"             
> factory="org.apache.catalina.users.MemoryUserDatabaseFactory"
>                 pathname="/tmp/tomcatusers.xml" />

You can't have both a <Resource> and a <ResourceLink> for the same item.
<ResourceLink> should only be used when you've defined a global
resource, which you're not doing here; remove it.

 - 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@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to