Sounds like you are close now. It is working but it is rejecting your username, password or role.
The name and role in WEB-INF/web.xml have to match the name and role in conf/tomcat-users.xml. The password is verified at login and must match the password in conf/tomcat-users.xml. You can add a debug statement to the realm configuration in conf/server.xml to give you some debug output on this to help narrow down the problem, but I think it is a mis-match in the password-username-role somewhere. See Realm How-To memory realm in the docs for details. Rick ----- Original Message ----- From: "Padhu Vinirs" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Wednesday, October 02, 2002 1:58 PM Subject: Re: authorization using tomcat... > > I did make that change and uncommented the MemoryRealm in servers.xml, > restarted the server. Now I dont see any error in the logs files, but I > get a error > > The server encountered an internal error (/ExamBuilder/Details.jsp) that > prevented it from fulfilling this request. > > My servers.xml entry is: > > <Realm className="org.apache.catalina.realm.MemoryRealm" /> > > > Any ideas ? > > > Thanks > > > -- padhu > > > > > > Craig R. McClanahan wrote: > > >On Wed, 2 Oct 2002, Padhu Vinirs wrote: > > > > > > > >> <url-pattern>Details.jsp</url-pattern> > >> > >> > > > >URL patterns need to start with a "/" character. Change this to: > > > > <url-pattern>/Details.jsp</url-pattern> > > > >and you will have much better luck. > > > >Craig > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>