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
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
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
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
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
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 app works correctly.
However if w