commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benoit Marchal <>
Subject RE: DBCP accessed by an outside JVM
Date Tue, 04 Nov 2003 11:19:42 GMT

To be more specific about what we are trying to do, we are using
Webcream to make our java application web enable (see
Webcream is working well but we had to make the rendering job done in a
separate JVM that communicate with Tomcat through RMI (I don't have
access to that communication channel). Basically each client that
connect to our Web enabled java application will induce the creation of
a separate JVM. The problem is that we need to make connection with the
db from within the separate JVMs. Defining a new pool for each JVM is
not an option (too many connection opened then) and in that case using
no connection pool at all is even better. 

I have tried to communicate with the Tomcat DBCP through JNDI but I
haven't been successful so far (I am not an expert in JNDI anyway) 


-----Original Message-----
From: Brett Porter [] 
Sent: Monday, November 03, 2003 10:17 PM
To: 'Jakarta Commons Users List'
Subject: RE: DBCP accessed by an outside JVM

Are you doing this because you want to share the pool with Tomcat, or
because you need to have a pool outside of Tomcat and want to configure
via JNDI and use consistent code with a DataSource?

- Brett

> -----Original Message-----
> From: Benoit Marchal [] 
> Sent: Monday, 3 November 2003 8:37 PM
> To:
> Subject: DBCP accessed by an outside JVM
> Dear All,
> We have an application that works in parallel with tomcat in 
> a separate JVM. We would like that application to access the 
> DBCP of a web application of Tomcat, so the application in 
> the outside JVM can use the connection of the pool. Is that 
> possible to do that ? If yes How?
> Benoit Marchal

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message