Re: Realm and Datasource configuration in Context

2009-06-13 Thread Guillaume M
u. > > > 2009/6/11, Caldarale, Charles R : > > >> From: Guillaume M [mailto:geama...@gmail.com] > >> Subject: Re: Realm and Datasource configuration in Context > >> > >> And I had put the mysql in the $CATALINA_BASE/lib directory. > > > > Is the

Re: Realm and Datasource configuration in Context

2009-06-11 Thread Guillaume M
;> Subject: Re: Realm and Datasource configuration in Context >> >> And I had put the mysql in the $CATALINA_BASE/lib directory. > > Is the MySQL jar in *only* Tomcat's lib directory? If it's also in your > webapp's WEB-INF/lib, that can cause classload

RE: Realm and Datasource configuration in Context

2009-06-11 Thread Caldarale, Charles R
> From: Guillaume M [mailto:geama...@gmail.com] > Subject: Re: Realm and Datasource configuration in Context > > And I had put the mysql in the $CATALINA_BASE/lib directory. Is the MySQL jar in *only* Tomcat's lib directory? If it's also in your webapp's WEB-INF/lib,

Re: Realm and Datasource configuration in Context

2009-06-11 Thread Guillaume M
Hi Chris, Yes there is a lot of connections which can be very slow. I had been asked to do a complex sorting program on a web server. I wouldn't have use a web server especially knowing we can have above 100 sorts in a row but it's easier to update... I had used all I knew about Java to make it f

Re: Realm and Datasource configuration in Context

2009-06-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Guillaume, On 6/11/2009 5:48 AM, Guillaume M wrote: > On my Vista version, I have the error "the name jdbc isn't bound to > the context". Sounds like your JNDI name is not correct. > maxIdle="6000" >

Re: Realm and Datasource configuration in Context

2009-06-11 Thread Guillaume M
I had tried again with the realm off and I can use the database through the datasource in my vista version but on my XP version I have the message jdbc not bound to this context. 2009/6/11, Guillaume M : > My context.xml file is in my webapp's META-INF directory and my > web.xml is in my webapp's

Re: Realm and Datasource configuration in Context

2009-06-11 Thread Guillaume M
My context.xml file is in my webapp's META-INF directory and my web.xml is in my webapp's WEB-INF directory. There isn't any change in the results after those corrections. This webapp worked fine enough for some years on my laptop, saddly it had broken down recently and I don't remember the exact

RE: Realm and Datasource configuration in Context

2009-06-11 Thread Caldarale, Charles R
> From: Guillaume M [mailto:geama...@gmail.com] > Subject: Realm and Datasource configuration in Context > > context.xml Let's get this sorted first. Where is your context.xml file located? It should be in your webapp's META-INF directory. > element, unless the element is declared in server