RE: JDBCRealm changes from Tomcat 5.0.x to 5.5.x

2005-03-17 Thread Richard Mixon (qwest)
We are using form-based authentication. We changed to the DataSourceRealm last weekend and it appears (so far) to have solved the problem (again with TC 5.5.7 plus session replication patch). - Richard Darren Govoni wrote: > I had similar problems, and was forced to revert back to Tomcat 5.0.x.

Re: JDBCRealm changes from Tomcat 5.0.x to 5.5.x

2005-03-17 Thread Darren Govoni
I had similar problems, and was forced to revert back to Tomcat 5.0.x. Are you using HTTP or Form-based authentication to get the user credentials? On Tue, 2005-03-08 at 11:57 -0700, Richard Mixon (qwest) wrote: > Has anything changed with the way that JDBCReal handles connection > timeouts in T

RE: JDBCRealm changes from Tomcat 5.0.x to 5.5.x

2005-03-14 Thread David Tonhofer, m-plify S.A.
alm changes from Tomcat 5.0.x to 5.5.x Juste pour info: I have written up my DataSourceRealm with DBCP that I got working before 02:00 this night (eww) into the DBCP Twiki. Not the best place, but hey, might be useful: <http://wiki.apache.org/jakarta-commons/DBCP> Enjoy, -- David --On Wednesday,

RE: JDBCRealm changes from Tomcat 5.0.x to 5.5.x

2005-03-10 Thread Phillip Qin
from Tomcat 5.0.x to 5.5.x Juste pour info: I have written up my DataSourceRealm with DBCP that I got working before 02:00 this night (eww) into the DBCP Twiki. Not the best place, but hey, might be useful: <http://wiki.apache.org/jakarta-commons/DBCP> Enjoy, -- David --On Wednesday,

Re: JDBCRealm changes from Tomcat 5.0.x to 5.5.x

2005-03-10 Thread Remy Maucherat
On Wed, 09 Mar 2005 17:39:21 -0800, alexander dosher <[EMAIL PROTECTED]> wrote: > and an > > name="UserDatabase"> > > and i get > java.lang.NullPointerException >at javax.naming.NameImpl. >at javax.naming.CompositeName. >at org.apache.naming.NamingContext.lookup > (etc.) > > so p

Re: JDBCRealm changes from Tomcat 5.0.x to 5.5.x

2005-03-10 Thread David Tonhofer, m-plify S.A.
Juste pour info: I have written up my DataSourceRealm with DBCP that I got working before 02:00 this night (eww) into the DBCP Twiki. Not the best place, but hey, might be useful: Enjoy, -- David --On Wednesday, March 09, 2005 8:40 PM -0800 alexander do

Re: JDBCRealm changes from Tomcat 5.0.x to 5.5.x

2005-03-09 Thread alexander dosher
Hassan Schroeder makes my day: How about something like: > (the correct answer) YES, thank you. i had a resourceName instead of a dataSourceName in my DataSourceRealm, left over from trying to use a UserDatabaseRealm, which i didn't really understand and isn't even in the docs anymore anyway. d

Re: JDBCRealm changes from Tomcat 5.0.x to 5.5.x

2005-03-09 Thread Hassan Schroeder
alexander dosher wrote: DataSourceRealm (5.5.7): doesn't work or is unconfigurable by me - i've got a and an How about something like: url="jdbc:mysql://localhost:3306/authority?autoReconnect=true"/> :: and :: :: which -- season to taste -- works for me :-) FWIW! -- Hassan

RE: JDBCRealm changes from Tomcat 5.0.x to 5.5.x

2005-03-09 Thread alexander dosher
Phillip Qin <[EMAIL PROTECTED]>: Could any one who has tested it post his result? I am really frustrated by the "sometime buggy" 5.5 releases and I had to revert to 5.0.28. here's a summation of my experiences & interpretations of answers from the list, so far: JDBCRealm (5.5.4): worked i think,

Re: JDBCRealm changes from Tomcat 5.0.x to 5.5.x

2005-03-09 Thread Remy Maucherat
On Wed, 9 Mar 2005 10:40:37 -0500, Phillip Qin <[EMAIL PROTECTED]> wrote: > Could any one who has tested it post his result? I am really frustrated by > the "sometime buggy" 5.5 releases and I had to revert to 5.0.28. You can also use the realms form 5.5.4, as they don't have problems. The regres

RE: JDBCRealm changes from Tomcat 5.0.x to 5.5.x

2005-03-09 Thread Phillip Qin
lm changes from Tomcat 5.0.x to 5.5.x On Tue, 08 Mar 2005 15:16:41 -0800, Hassan Schroeder <[EMAIL PROTECTED]> wrote: > Richard Mixon (qwest) wrote: > > > We upgraded from Tomcat 5.0.19 to Tomcat 5.5.7 in production and are > > now getting JDBC connection errors when the s

RE: JDBCRealm changes from Tomcat 5.0.x to 5.5.x

2005-03-08 Thread alexander dosher
I'd be extremely glad if you could test this possibly fixed realm. Replace the existing class in server/lib/catalina-optional.jar. ... you have to either build it from CVS (which is easy) or get it from a nightly build. M. Maucherat, thank you for the suggestion, but i'm not sufficiently (i.e. at a

Re: JDBCRealm changes from Tomcat 5.0.x to 5.5.x

2005-03-08 Thread Hassan Schroeder
Richard Mixon (qwest) wrote: Hassan, Could it be that you do not experience the long periods of inactivity on weekends that we do? No, I'm using this for both my own dev workbench and an intranet server at the moment, and at the least they're idled out overnight. So there's not enough authenticatio

Re: JDBCRealm changes from Tomcat 5.0.x to 5.5.x

2005-03-08 Thread Remy Maucherat
On Tue, 8 Mar 2005 16:28:22 -0700, Richard Mixon (qwest) <[EMAIL PROTECTED]> wrote: > Remy, > Thanks - but where do I get the new class file? The Apache mail server, which, BTW, must be the worst mail server in existence, chooses to let through all the viruses and spammers of the world, but is ref

RE: JDBCRealm changes from Tomcat 5.0.x to 5.5.x

2005-03-08 Thread Richard Mixon (qwest)
Remy, Thanks - but where do I get the new class file? - Richard -Original Message- From: Remy Maucherat [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 08, 2005 4:01 PM To: Tomcat Users List Subject: Re: JDBCRealm changes from Tomcat 5.0.x to 5.5.x On Tue, 08 Mar 2005 14:28:12 -0800

RE: JDBCRealm changes from Tomcat 5.0.x to 5.5.x

2005-03-08 Thread Richard Mixon (qwest)
longest inactive period is usually about six hours. - Richard -Original Message- From: Hassan Schroeder [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 08, 2005 4:17 PM To: Tomcat Users List Subject: Re: JDBCRealm changes from Tomcat 5.0.x to 5.5.x Richard Mixon (qwest) wrote: > We upgra

Re: JDBCRealm changes from Tomcat 5.0.x to 5.5.x

2005-03-08 Thread Remy Maucherat
On Tue, 08 Mar 2005 15:16:41 -0800, Hassan Schroeder <[EMAIL PROTECTED]> wrote: > Richard Mixon (qwest) wrote: > > > We upgraded from Tomcat 5.0.19 to Tomcat 5.5.7 in production and are now > > getting JDBC connection errors when the site has not been accessed for a > > while. This is happening w

Re: JDBCRealm changes from Tomcat 5.0.x to 5.5.x

2005-03-08 Thread Hassan Schroeder
Richard Mixon (qwest) wrote: We upgraded from Tomcat 5.0.19 to Tomcat 5.5.7 in production and are now getting JDBC connection errors when the site has not been accessed for a while. This is happening when a user tries to login - we use a JDBCRealm to authenticate the user. Would using the DataSou

Re: JDBCRealm changes from Tomcat 5.0.x to 5.5.x

2005-03-08 Thread Remy Maucherat
On Tue, 08 Mar 2005 14:28:12 -0800, alexander dosher <[EMAIL PROTECTED]> wrote: > i'm getting the same problem, w/MySQL 4.1.8 & 3.1.6 connector (except my > error is "Software caused connection abort" rather than "broken pipe - > but same underlying cause, MySQL timing out the connection). > autoRe

re: JDBCRealm changes from Tomcat 5.0.x to 5.5.x

2005-03-08 Thread alexander dosher
i'm getting the same problem, w/MySQL 4.1.8 & 3.1.6 connector (except my error is "Software caused connection abort" rather than "broken pipe - but same underlying cause, MySQL timing out the connection). autoReconnect doesn't work for me either. sounds like perhaps i should bail on 5.5.* & go