Re: Pool error connecting to database
Posted by: Tetsuro Ikeda
Date: June 03, 2005 03:50AM

Hi Mikel,

I still can't realize why this BindException is occured in the Constructor of Connection class.

com.mysql.jdbc.Connection class has override "finalize" method and cleanup even if application
forgot calling Connection#close() when the object is in GC.

So, basically, creation of Connection object can't cause BindException.
And this is also because "too many connections" error comes before all local port is exhausted.

Ok, if you possible, let me see your application code or something which create Connection object.
and also properties which is passed to Connector/J if you have any properties except user and password,
although I may not be able to correct this problem ;)

Cheers,
-- Tetsuro



Edited 2 time(s). Last edit at 06/03/2005 03:51AM by Tetsuro Ikeda.

Options: ReplyQuote




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.