I have tried this and ended up using the DBCP package that comes with Tomcat
4.1.  It is not part of Tomcat 4.1 thought so you can download it separately
and use it with Tomcat 4.0.4 or later (I hope you have these).  Tyrex is not
the most useful of things and is major hassle to get working.

You can download the DBCP package from here:

http://jakarta.apache.org/commons/index.html

You need to download DBCP, Collections & Pool
>From there it's easy just put the necessary bits in your server.xml (yes I
think this is unavoidable) and it works a treat.

Hope that helps,

Andoni.

----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, September 16, 2003 12:27 PM
Subject: Connection Pooling in Tomcat 4.0


Hi,
Can anyone send me the process of using Connection pooling in Tomcat 4.0
I have gone through Tomcat documentation, it says it can be done using
Tyrex.jar file.

Can anyone send me the process.
The second question is It is likely to put Database(SqL Server in our case)
credential like DSN,USER,PASSWORD
in either web.xml or server.xml, which we don;t want to hard code as it is
already present in configuration file.
So how i can avoid writing SQL Server credential in web.xml


Thanks in advance




Regards,
Santosh Bhushan
i-flex solutions ltd.
Tel:2086013
"Where there is will there is a way and everything is possible for a willing
heart."








DISCLAIMER:
This message contains privileged and confidential information and is
intended only for the individual named.If you are not the intended recipient
you should not disseminate,distribute,store,print, copy or deliver this
message.Please notify the sender immediately by e-mail if you have received
this e-mail by mistake and delete this e-mail from your system.E-mail
transmission cannot be guaranteed to be secure or error-free as information
could be intercepted,corrupted,lost,destroyed,arrive late or incomplete or
contain viruses.The sender therefore does not accept liability for any
errors or omissions in the contents of this message which arise as a result
of e-mail transmission. If verification is required please request a
hard-copy version.


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

Reply via email to