Re: Communications link failure due to underlying exception
Posted by: Mark Matthews
Date: July 20, 2005 02:08PM

Alper Akture wrote:
> Thanks Mark, maybe I'm a bit confused, but don't I
> want to set these properties in the DataSource? In
> my code, I getting a connection from the pool, so
> this connection should be configured with these
> properties, no?


Alper,

The DataSource is an _apache_ implementation, it doesn't know anything about MySQL or our configuration values. My guess is that DBCP is just taking those values that you're providing and doing absolutely nothing with them, including issuing an error message.

Notice that in the docs Apache ships w/ Tomcat, that they use the URL and don't seem to mention anywhere using properties (I'd take that as authoritative):

http://jakarta.apache.org/tomcat/tomcat-5.5-doc/jndi-datasource-examples-howto.html

-Mark

Mark Matthews
Consulting Member Technical Staff - MySQL Enterprise Tools
Oracle
http://www.mysql.com/products/enterprise/monitor.html

Options: ReplyQuote


Subject
Written By
Posted
Re: Communications link failure due to underlying exception
July 20, 2005 02:08PM
June 09, 2006 04:42AM
August 24, 2006 05:27PM
July 15, 2007 04:27AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.