Re: DBCP datasource works on 5.0.28 but fails on 5.5.9

2005-05-23 Thread Lutz Zetzsche
Hi Steve, Am Montag, 23. Mai 2005 00:39 schrieb Steve Kirk: > I started replying to yr post including my full config, had nearly > finished, then saw the problem - I had a leading space in the 'url' > value within the tag of my context.xml file. Grrr! I [...] > Thanks very much to both of you

RE: DBCP datasource works on 5.0.28 but fails on 5.5.9

2005-05-22 Thread Steve Kirk
tomorrow is now looking like being productive :) > -Original Message- > From: Lutz Zetzsche [mailto:[EMAIL PROTECTED] > Sent: Sunday 22 May 2005 22:42 > To: Tomcat Users List > Subject: Re: DBCP datasource works on 5.0.28 but fails on 5.5.9 > > > Hi Steve, > >

Re: DBCP datasource works on 5.0.28 but fails on 5.5.9

2005-05-22 Thread Lutz Zetzsche
Hi Steve, Am Sonntag, 22. Mai 2005 22:58 schrieb Steve Kirk: > Thanks again Nix, but latest mysql driver is *definitely* in > %catalina_home%\common\lib : Did you check that the MySQL driver is only there and not additionally in a second directory, i.e. WEB-INF/lib, which could confuse Tomcat?

RE: DBCP datasource works on 5.0.28 but fails on 5.5.9

2005-05-22 Thread Steve Kirk
[EMAIL PROTECTED] > Sent: Saturday 21 May 2005 13:42 > To: Tomcat Users List > Subject: Re: DBCP datasource works on 5.0.28 but fails on 5.5.9 > > > Steve Kirk wrote: > > >Thanks nix. > > > > > > > >>Could it be that you'

Re: DBCP datasource works on 5.0.28 but fails on 5.5.9

2005-05-21 Thread Nikola Milutinovic
Steve Kirk wrote: Thanks nix. Could it be that you've missed the fact that DataSource JNDI resource setup definition has changed in TC 5.5? It is no longer with those ... Yes I already changed that. I used to use the approach you mention in 5.0.28, i.e.:

RE: DBCP datasource works on 5.0.28 but fails on 5.5.9

2005-05-20 Thread Steve Kirk
L PROTECTED] > Sent: Friday 20 May 2005 16:59 > To: Tomcat Users List > Subject: Re: DBCP datasource works on 5.0.28 but fails on 5.5.9 > > > Hi, > > Am Freitag, 20. Mai 2005 17:22 schrieb Nikola Milutinovic: > > Steve Kirk wrote: > > This most commonly means tha

RE: DBCP datasource works on 5.0.28 but fails on 5.5.9

2005-05-20 Thread Steve Kirk
Thanks nix. > Could it be that you've missed the fact that > DataSource JNDI resource setup definition has changed in TC > 5.5? It is > no longer with those > ... Yes I already changed that. I used to use the approach you mention in 5.0.28, i.e.:

Re: DBCP datasource works on 5.0.28 but fails on 5.5.9

2005-05-20 Thread Lutz Zetzsche
Hi, Am Freitag, 20. Mai 2005 17:22 schrieb Nikola Milutinovic: > Steve Kirk wrote: > This most commonly means that the definition of the DataSource > resource lacks driver definition. Could it be that you've missed the > fact that DataSource JNDI resource setup definition has changed in TC > 5.5?

Re: DBCP datasource works on 5.0.28 but fails on 5.5.9

2005-05-20 Thread Nikola Milutinovic
Steve Kirk wrote: When TC starts up, the webapp deploys OK from its war file, and the context.xml is copied to the /conf/[engine]/[host]/ folder OK, without any parsing errors logged. The connection pool initially seems to work, in the sense that this code executes OK: Context ctx = new InitialC

DBCP datasource works on 5.0.28 but fails on 5.5.9

2005-05-20 Thread Steve Kirk
I know that DBCP is a common problem discussed on this list - I have been helped, and have helped other people, with it before. So before posting this message, I have recently re-read the 5.5 release notes and 5.0/5.5 DBCP/JNDI how-to docs and checked the list archives. But can't find a solution