> From: Scott [mailto:hacktori...@gmail.com] > Subject: Realm Issue > > Here is my app info:
Where is your webapp deployed? Where is the <Context> element for the webapp (if it has one)? What's in its <Context> element (if it has one)? > <url-pattern>/MyApp/*</url-pattern> The <url-pattern> is relative to the webapp, not the host. You likely just want /* here. > <form-login-page>/MyApp/login.jsp</form-login-page> > <form-error-page>/MyApp/error.jsp</form-error-page> Same comment as above. You also need a <security-role> element. > server.xml Be aware that by placing the <Realm> in server.xml (where exactly?), it will likely be used for *all* webapps, including the Tomcat manager. If you only want the <Realm> to control a particular webapp, place the <Realm> inside that webapp's <Context> element. - 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 unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org