Re: Datasources in Spring-JPA-Tomcat 6.0.29

2012-03-15 Thread Steven Xiong
Hi Konstandin, It is due to incomplete cleanup: a stale copy with same user causes the issue. Thanks a lot Steven From: Konstantin Kolinko To: Tomcat Users List Sent: Thursday, March 15, 2012 9:27:51 AM Subject: Re: Datasources in Spring-JPA-Tomcat 6.0.29

Re: Datasources in Spring-JPA-Tomcat 6.0.29

2012-03-15 Thread Steven Xiong
Thanks Konstantin, Option 1) has been checked carefully, it is always clean/deploy. I will try option 2). From: Konstantin Kolinko To: Tomcat Users List Sent: Thursday, March 15, 2012 9:27:51 AM Subject: Re: Datasources in Spring-JPA-Tomcat 6.0.29 2012/3

Re: Datasources in Spring-JPA-Tomcat 6.0.29

2012-03-15 Thread Steven Xiong
Hi Stevo, I checked many times, the users are different in context.xml Thanks From: Stevo Slavić To: Tomcat Users List ; Steven Xiong Sent: Thursday, March 15, 2012 9:21:58 AM Subject: Re: Datasources in Spring-JPA-Tomcat 6.0.29 Hello Steven, Just a

Re: Datasources in Spring-JPA-Tomcat 6.0.29

2012-03-15 Thread Konstantin Kolinko
2012/3/15 Steven Xiong : > I have a Spring/JPA application running on Tomcat 6.0.29 accessing two > schemas of a single Oracle database. Each schema is configured as a seperate > datasource. If we config the datasources as spring beans of > "com.mchange.v2.c3p0.ComboPooledDataSource" type, the a

Re: Datasources in Spring-JPA-Tomcat 6.0.29

2012-03-15 Thread Stevo Slavić
Hello Steven, Just a wild guess, you're probably using same credentials/account in context.xml for both data sources, while you're using different credentials/account in each Spring datasource bean. Kind regards, Stevo. On Thu, Mar 15, 2012 at 2:12 PM, Steven Xiong wrote: > I have a Spring/JPA

Re: DataSources and Tomcat (continue thread: Re: How to use connectionpool with tomcat 1.2.9)

2007-07-16 Thread Lyallex
You left this bit out ... it's not a criticism before anyone gets upset I'd be glad to contribute to the documentation, just gotta figure out how, guess I'll have to RTFM. Rgds Duncan On 7/15/07, Mark Thomas <[EMAIL PROTECTED]> wrote: Lyallex wrote: > One thing that constantly frustrates me i

Re: DataSources and Tomcat (continue thread: Re: How to use connectionpool with tomcat 1.2.9)

2007-07-15 Thread Mark Thomas
Lyallex wrote: > One thing that constantly frustrates me is the apparent ambiguities in > the documentation Then do something constructive about it. You are part of the Tomcat community and the documentation is as much your responsibility as anyone else here. If you find a problem, report it. Bett

Re: DataSources and Tomcat (continue thread: Re: How to use connectionpool with tomcat 1.2.9)

2007-07-15 Thread Ken Bowen
Indeed. Simply swapping the Context given in http://tomcat.apache.org/tomcat-5.5-doc/jndi-datasource-examples-howto.html, in for the Context given in http://tomcat.apache.org/tomcat-4.1-doc/jndi-datasource-examples-howto.html makes the 4.1 example work. This way makes it clear what has chan

Re: DataSources and Tomcat (continue thread: Re: How to use connectionpool with tomcat 1.2.9)

2007-07-15 Thread Lyallex
Hi How confused do you want to be I started looking at the 4.1 docs as well ... it'll never work I do object to having to download taglibs just to get a simple example working so you can keep all the code from the 4.1 example including the web.xml entry All you really need to change is the

RE: DataSources and Tomcat (continue thread: Re: How to use connectionpool with tomcat 1.2.9)

2007-07-14 Thread Caldarale, Charles R
> From: Ken Bowen [mailto:[EMAIL PROTECTED] > Subject: DataSources and Tomcat (continue thread: Re: How to > use connectionpool with tomcat 1.2.9) > > I also want to get the Tomcat DataSource machinery working. > I'm using Tomcat 5.5.9. > > I've slavishly followed the mySQL example in > http://

Re: datasources

2007-02-16 Thread Mikolaj Rydzewski
Ernesto Reig wrote: One of the use case of my web app is to allow users to create new datasources. So in my web app I have a form to create the new datasource. One of the fields of the form is a input file type, where the user loads the datasource driver jar. The other fields are used to get th

RE: datasources

2007-02-16 Thread Caldarale, Charles R
> From: Ernesto Reig [mailto:[EMAIL PROTECTED] > Subject: datasources > > - Do I need to restart Tomcat in order that new created > datasources be available?? Tomcat's admin app can create datasources on the fly; you might want to take a look at how that's done. - Chuck THIS COMMUNICATION