RE: tomcat database connection pool

2009-03-19 Thread Carol Cheung
Caldarale, Charles R wrote: > >> From: Carol Cheung [mailto:cache...@consumercontact.com] >> Subject: tomcat database connection pool >> >> In tomcat 5.5, the database connection pool associated with >> my application does not seem to "shutdown" wh

tomcat database connection pool

2009-03-13 Thread Carol Cheung
e connection pool is not taking place? What am I doing wrong? What can I do to fix this? Thank you very much for your help. Carol Cheung -- View this message in context: http://www.nabble.com/tomcat-database-connection-pool-tp22503977p22503977.html Sent from the Tomcat - User mailing list a

trouble with url rewrite

2009-02-11 Thread Carol Cheung
I'm trying to user UrlRewrite for the following task: If the user types http://localhost.whatever.com:8080/first/ I want the url redirected to http://localhost.whatever.com:8080/second/here/user/index.jsp, but the url that the user sees is still http://localhost.whatever.com:8080/first/ When I g

RE: NoClassDefFoundError: org.apache.catalina.realm.RealmBase

2008-09-12 Thread Carol Cheung
> From: Carol Cheung [mailto:[EMAIL PROTECTED] > Subject: NoClassDefFoundError: org.apache.catalina.realm.RealmBase > > I have catalina.jar in WEB-INF/lib > Can anyone shed some light on what I'm doing wrong? Putting catalina.jar in WEB-INF/lib is certainly one major err

NoClassDefFoundError: org.apache.catalina.realm.RealmBase

2008-09-12 Thread Carol Cheung
Hi, I've written a custom Realm, set up according the "Realm-howto" from Tomcat Documentation. I use RealmBase.Digest to digest passwords. The Realm works, in that users are authenticated properly. But I've also written a code to allow the user to change their password, using RealmBase.Digest to

DataSourceRealm documentation

2008-07-21 Thread Carol Cheung
Hi, I'm reading about DataSourceRealm at http://tomcat.apache.org/tomcat-5.5-doc/realm-howto.html and step 2 under "Quick Start" is confusing. It says "Configure a database username and password for use by Tomcat ..." What does this mean? What should the username and password be and where sho

context.xml and custom realm

2008-07-10 Thread Carol Cheung
I'm trying to set up a custom realm in context.xml and placing it in META-INF, according to http://tomcat.apache.org/tomcat-5.5-doc/config/context.html because I don't want to restart Tomcat if I need to modify the Context element or my custom realm. But according to http://tomcat.apache.org/

moving realm from server.xml to context.xml

2008-05-28 Thread Carol Cheung
Hi, I have form authentication working if I place the Realm element in server.xml, using JDBCRealm. I'm trying to move the realm element out of server.xml to META-INF/context.xml according to http://tomcat.apache.org/tomcat-5.5-doc/config/context.html In doing so, I get ERROR JAASRealm:269 - Une

Re: Setting up JDBCRealm for form authentication

2008-05-23 Thread Carol Cheung
On 23/05/2008 15:53, Christopher Schultz wrote the following: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Carol, Carol Cheung wrote: | Thanks Christopher Schultz for pointing out my error: the url pattern | should be /jsp/welcome.jsp. | | Now, I'm able to see login.jsp when reque

Re: Setting up JDBCRealm for form authentication

2008-05-23 Thread Carol Cheung
On 20/05/2008 15:31, Carol Cheung wrote the following: Hi, Here's a part of my web.xml: user user Secure User Pages SecureUserPages /index.jsp /welcome.jsp user user FORM /logi

Re: Setting up JDBCRealm for form authentication

2008-05-20 Thread Carol Cheung
On 20/05/2008 15:04, Mark Thomas wrote the following: Carol Cheung wrote: Hi, I am very new to the aforementioned subject. As hinted in subject, I am trying to set up a web application using form authentication. I have set up server.xml according to the steps specified at http

Setting up JDBCRealm for form authentication

2008-05-20 Thread Carol Cheung
Hi, I am very new to the aforementioned subject. As hinted in subject, I am trying to set up a web application using form authentication. I have set up server.xml according to the steps specified at http://tomcat.apache.org/tomcat-5.5-doc/realm-howto.html for JDBCRealm For the application, I