Listener ??

2003-04-04 Thread awc
Hi All, I have poll stored in the application scope. It updates the poll count on copy stored on the app scope. I want to save the poll to the DB whenever.. 1. just before reloading of the application scope attribute poll. I can handle within application logic. 2. whenever context destroy

Re: [OT] Contract Work Hourly Rates

2003-03-26 Thread awc
Do you own a grocery store?? Micael wrote: Thanks, anyway, Filip. You must be poor, you cannot afford the rest of the P, an h or the extra l in Phillip. LOL. I will work for food too. How much is the issue. LOL. At 01:47 PM 3/26/03 -0800, you wrote: will work for food Filip

Custom JDBCRealm

2003-03-21 Thread awc
Hi, I want to add more stuff to user session while user logs in. The only way I see to do this is to write custom JDBCRealm class which extnds org.apache.catalina.realm.JDBCRealm or implement org.apache.catalina.realm.RealmBase class. This custom class will have more initializing parameters too.

Re: Custom JDBCRealm

2003-03-21 Thread awc
not just add a filter that has the same url-pattern as your protected resource. I do this, and if there's not a user object in the session, I populate it from a database. Example at http://tinyurl.com/7xb1 HTH, Matt -Original Message- From: awc [mailto:[EMAIL PROTECTED] Sent

Re: Custom JDBCRealm

2003-03-21 Thread awc
not found exceptions on FormAuthenticator bcz my webapp is not able to reference the necessary objects in catalina.jar. please let me know if you get this solution to work. thanks! - Original Message - From: awc [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent

Re: Custom JDBCRealm

2003-03-21 Thread awc
exceptions on FormAuthenticator bcz my webapp is not able to reference the necessary objects in catalina.jar. please let me know if you get this solution to work. thanks! - Original Message - From: awc [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Friday, March 21

Re: setting up jndi jdbc tomcat and postgres

2003-02-21 Thread awc
Hi Chris, where does this validationQuery goes?? on every connect?? Thanks .anil Chris Catton wrote: The tomcat documentation on jndi and datasources http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-datasource-examples -howto.html asks for feedback on setup with postgres. We finally

Add PostgreSQL DataSource to 4.1.18-LE-JDK14

2003-01-06 Thread awc
Hi! I am trying to add postgresql datasource to tomcat 4.1.18 running on RedHat 7.3, with sun jdk 1.4.0_02. My addition to server.xml as follows. Context path=/DBTest docBase=DBTest debug=5 reloadable=true crossContext=true Logger className=org.apache.catalina.logger.FileLogger