Re: [OT] Connection Pooling

2007-05-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Balazs, Balazs Michnay wrote: > 2) open your server.xml and put the following lines between > tags (this is what I > missed...) > (Modify it properly...) Although this is possible, most will recommend against it (including me). This will create a

Re: [OT] Connection Pooling

2007-05-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Balazs, Balazs Michnay wrote: > Thanks for helping. > Sure, here are all my settings. I think you have more configuration than you need. Here is exactly what I have for a similar setup (MySQL 5.x, Connector/J 5.x, Tomcat 5.5.x): I checked, and

Re: [OT] Connection Pooling

2007-05-22 Thread Balazs Michnay
.html Thanks, Nuwan - Original Message - From: "Balazs Michnay" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Tuesday, May 22, 2007 7:34 AM Subject: Re: [OT] Connection Pooling >I forgot that I also have a resource-ref entry in my web.xml file.

Re: [OT] Connection Pooling

2007-05-22 Thread Nuwan Chandrasoma
OTECTED]> To: "Struts Users Mailing List" Sent: Tuesday, May 22, 2007 7:34 AM Subject: Re: [OT] Connection Pooling I forgot that I also have a resource-ref entry in my web.xml file... just in case it counts... DB Connection jdbc/akr_db javax.sql.DataSource

Re: [OT] Connection Pooling

2007-05-22 Thread Balazs Michnay
TED]> To: Struts Users Mailing List Sent: Tuesday, May 22, 2007 2:33:34 PM Subject: Re: [OT] Connection Pooling hi, i just had a look, i think your url is wrong. where is the DB name? eg:- you have it like jdbc:mysql://localhost:3306 but should be like: jdbc:mysql://localhost:3306/akr_db

Re: [OT] Connection Pooling

2007-05-22 Thread Balazs Michnay
--- Original Message From: Nuwan Chandrasoma <[EMAIL PROTECTED]> To: Struts Users Mailing List Sent: Tuesday, May 22, 2007 2:33:34 PM Subject: Re: [OT] Connection Pooling hi, i just had a look, i think your url is wrong. where is the DB name? eg:- you have it like jdbc:mysql://localhost:

Re: [OT] Connection Pooling

2007-05-22 Thread Nuwan Chandrasoma
o: "Struts Users Mailing List" Sent: Tuesday, May 22, 2007 6:39 AM Subject: Re: [OT] Connection Pooling Thanks for helping. Sure, here are all my settings. I use MySQL 5.0.37, Tomcat 5.5.17 and Windows XP SP2 and MySQL Connector/J 5.0.5. The name of the database that I'd like to con

Re: [OT] Connection Pooling

2007-05-21 Thread Balazs Michnay
Regards, BM - Original Message From: Christopher Schultz <[EMAIL PROTECTED]> To: Struts Users Mailing List Sent: Monday, May 21, 2007 2:33:11 PM Subject: Re: [OT] Connection Pooling -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Balazs, Balazs Michnay wrote: > I still c

Re: [OT] Connection Pooling

2007-05-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Balazs, Balazs Michnay wrote: > I still cannot estabilish database connection using connection pooling. > I think I made all the settings I need, but still nothing... > 1) I have a tag in my server.xml Can you show us the connection settings you are