Tomcat 5.5.23: log4j makes server starting message disappeared??

2007-09-11 Thread shunhecun
Hi, Firstly, I have a clean Tomcat, when I start the server, there are some messages showing the server is started(See below). But after I configured the log4j (see below), those message are disappeared. Message: . . 11-Sep-2007 18:27:19 org.apache.catalina.startup.Catalina start INFO:

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. /loginError.jsp. 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 I do that? Thanks, Cun -- Vie

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 err

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

2007-08-24 Thread shunhecun
you have to do 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. >> >

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 this