4 messages in com.mysql.lists.javaRe: Tomcat Connection Pooling
FromSent OnAttachments
Stefan05 Feb 2004 12:29 
SMaric06 Feb 2004 05:25 
Merrill Cornish06 Feb 2004 09:03 
Mark Matthews06 Feb 2004 09:26 
Subject:Re: Tomcat Connection Pooling
From:Mark Matthews (ma@mysql.com)
Date:02/06/2004 09:26:31 AM
List:com.mysql.lists.java

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1

Merrill Cornish wrote:

Srom SMaric's message:

<GlobalNamingResources> <Resource name="MySQLDataSourceFactory" . . . /> <ResourceParams name="MySQLDataSourceFactory"> . . . <parameter> <name>port</name> <value>3306</value> </parameter> . . . </ResourceParams> . . . </GlobalNamingResources>

I have TCP/IP connections to MySql turned off, and I'm connecting via

named pipes using the default name. What do I put in place of this "port" parameter? Better yet, where do I find the documentation.

Merrill Cornish

You would need to set the 'URL' parameter instead of the various properties, and pass everything you need in there.

If you use Connector/J 3.1.0, any driver property there is also has a getter/setter method with the same name as the property prepended with 'get/set' as appropriate.

Regards,

-Mark

- -- Mr. Mark Matthews MySQL AB, Software Development Manager, J2EE and Windows Platforms Office: +1 708 332 0507 www.mysql.com

Want to swim with the dolphins? (April 14-16, 2004) http://www.mysql.com/uc2004/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (MingW32) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFAI85ctvXNTca6JD8RAhNvAJ48OHprFlVeeuq14QBMHviD8965kQCeMBVo bw3z9ybfNnbJou5BqGgh7Vk= =OFDB -----END PGP SIGNATURE-----