Thanks Chuck,

I'm not sure about that because I copied the format that's used in the tomcat 
manager webapp 's web.xml in 
tomcat-5.5.16/server/webapps/manager/WEB-INF/web.xml

which has in it:

  <!-- Define reference to the user database for looking up roles -->
  <resource-env-ref>
    <description>
      Link to the UserDatabase instance from which we request lists of
      defined role names.  Typically, this will be connected to the global
      user database with a ResourceLink element in server.xml or the context
      configuration file for the Manager web application.
    </description>
    <resource-env-ref-name>users</resource-env-ref-name>
    <resource-env-ref-type>
      org.apache.catalina.UserDatabase
    </resource-env-ref-type>
  </resource-env-ref>


> 
> > I also updated the webapps web.xml file so that it refers 
> > to SampleUserDatabase instead of Tomcat's UserDatabase.
> 
> You shouldn't do that; the webapp isn't using the Resource, only the
> Realm is.  That might be causing the problem.
> 
>  - 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]
> 

_________________________________________________________________
Telly addicts unite!
http://www.searchgamesbox.com/tvtown.shtml

Reply via email to