Hi, Perseus!

We use Torque with Tomcat regularly.  I admit I'm not positive on what
you're asking, but...

1)  If you're using Torque, ignore Tomcat's adapters.  All you need to
ensure is that someone somewhere calls Torque.init().

2)  Once Torque.init() is called, every servlet can then use Torque.

3)  In our case, we use Struts so we have only one servlet and it calls
"Torque.init()" when it starts up.

-Peter

On Mon, 2002-07-01 at 02:30, Centaur zeus wrote:
> Hi all,
> 
>   I wanna try torque with my tomcat. I notice that torque use db adapters as 
> the connection pool and management. However, can I configure tomcat such 
> that the adapter can be shared among all users ? or shared among user with 
> in the session ?
> 
>   Since I think if I don't configure it, the adapter will just try to 
> connect to the db every time the user issue a query which is not desirable. 
> Thanks.
> 
> Perseus
> 
> _________________________________________________________________
> MSN Photos is the easiest way to share and print your photos: 
> http://photos.msn.com/support/worldwide.aspx
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
> 



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to