Re: Tomcat 5.5.23: cannot return to login page??

2007-09-07 Thread shunhecun
Hi, If a user is failed to login, he should be directed to the page specified in web.xml, i.e. form-error-page/loginError.jsp/form-error-page. And the page /loginError.jsp is an unprotected resource. If Tomcat does not kill the session for me in my case described in my first message, how can

Tomcat 5.5.23: cannot return to login page??

2007-09-06 Thread shunhecun
Hi, My application uses MemoryRealm and FORM-based authentication. In the file tomcat-users.xml, there is an user called view, which belongs to role users. The role users is not included in web.xml of the application. If I try to login the application with the user view, I get an error:

Re: Tomcat 5.5.23: adding datasource to /conf/context.xml without restarting server to find it?

2007-08-24 Thread shunhecun
is restart the webapp via the manager webapp. --David shunhecun wrote: Hi, I added a jdbc datasource to $TOMCAT_BASE/conf/context.xml using W3C DOM. But I have to restart the server find the new resource. I wonder is there a way to add new resources to $TOMCAT_BASE/conf/context.xml on Tomcat

Tomcat 5.5.23: adding datasource to /conf/context.xml without restarting server to find it?

2007-08-23 Thread shunhecun
Hi, I added a jdbc datasource to $TOMCAT_BASE/conf/context.xml using W3C DOM. But I have to restart the server find the new resource. I wonder is there a way to add new resources to $TOMCAT_BASE/conf/context.xml on Tomcat 5.5.23, without restarting server to find it? Regards, cun -- View