Re: Regarding "Communications link failure" in MYSQL -5.5.21 and Jboss 5.1.2
Posted by: Alexander Soklakov
Date: July 16, 2013 03:54AM

> I have both in MySQL connecter datasource.xml file
> and in app code level but "socketTimeout"
> connection property is not there.

So you have no socket timeout set at c/J side, you need to explore JBoss server settings.

>
> As it is not set in MySQL connecter
> datasource.xml, Can we set it "socketTimeout"
> connection property and what value we can give?

Please, look at connection properties description http://dev.mysql.com/doc/refman/5.6/en/connector-j-reference-configuration-properties.html:

"socketTimeout - Timeout on network socket operations (0, the default means no timeout)".

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.