Re: Connect the same Database from two different web application

2010-09-21 Thread Brett Delle Grazie
Hi, I think that the op is defining a JNDI connection pool in Tomcat and then defining an additional pool using C3P0 within the application via Hibernate. That is very unlikely to work. Instead - change the pool parameters within Tomcat appropriately as needed and drop the C3P0 pool in hibernate

Re: Connect the same Database from two different web application

2010-09-20 Thread Pid
On 18/09/2010 12:17, Rahul Deb Mohan wrote: > [code]com.mchange.v2.cfg.BasicMultiPropertiesConfig: Properties object found > at resource path [system properties] contains a value that is not a String: > 25 > Skipping... Work out what this means, that's one problem. p 0x62590808.asc Description

Re: Connect the same Database from two different web application

2010-09-20 Thread Jorge Medina
I had a slightly similar problem using Oracle data sources with Oracle connection caching. In this case, I had defined my connection settings via JNDI in context.xml. (therefore they were common for both web apps) Since the classes were loaded by Tomcat and not by my webapps, a datasource was be

Re: Connect the same Database from two different web application

2010-09-20 Thread Wesley Acheson
On Sat, Sep 18, 2010 at 1:17 PM, Rahul Deb Mohan wrote: > Hello Everyone, > > I am using Hibernate to connect to my MySql Database using C3p0 connection > pooling mechanism from my web application which is deployed in Tomcat. > > Eventually, now I need to develop a child application, using the sam