[infinispan-issues] [JBoss JIRA] (ISPN-1565) Hot Rod client connection timeout

Michal Linhard (Commented) (JIRA) jira-events at lists.jboss.org
Fri Dec 16 13:49:09 EST 2011


    [ https://issues.jboss.org/browse/ISPN-1565?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12651721#comment-12651721 ] 

Michal Linhard commented on ISPN-1565:
--------------------------------------

I'd like to affect connection timeout, because I'm getting these a lot:

{code}
2011-12-16 13:36:21,300 163755 WARN  [org.infinispan.client.hotrod.impl.transport.tcp.TcpTransport] (Client-496:) ISPN004008: Could not connect to server: edg-perf01/10.16.90.106:11222
java.net.ConnectException: Connection timed out
	at sun.nio.ch.Net.connect(Native Method)
	at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:500)
	at java.nio.channels.SocketChannel.open(SocketChannel.java:146)
	at org.infinispan.client.hotrod.impl.transport.tcp.TcpTransport.<init>(TcpTransport.java:77)
	at org.infinispan.client.hotrod.impl.transport.tcp.TransportObjectFactory.makeObject(TransportObjectFactory.java:57)
	at org.apache.commons.pool.impl.GenericKeyedObjectPool.borrowObject(GenericKeyedObjectPool.java:1179)
	at org.infinispan.client.hotrod.impl.transport.tcp.TcpTransportFactory.borrowTransportFromPool(TcpTransportFactory.java:247)
	at org.infinispan.client.hotrod.impl.transport.tcp.TcpTransportFactory.getTransport(TcpTransportFactory.java:140)
	at org.infinispan.client.hotrod.RemoteCacheManager.ping(RemoteCacheManager.java:528)
	at org.infinispan.client.hotrod.RemoteCacheManager.createRemoteCache(RemoteCacheManager.java:510)
	at org.infinispan.client.hotrod.RemoteCacheManager.getCache(RemoteCacheManager.java:432)
	at org.infinispan.client.hotrod.RemoteCacheManager.getCache(RemoteCacheManager.java:428)
	at org.jboss.qa.edg.adapter.HotRodAdapter.getCache(HotRodAdapter.java:215)
	at org.jboss.smartfrog.edg.loaddriver.DriverNodeImpl$ClientThread.init(DriverNodeImpl.java:104)
	at org.jboss.smartfrog.edg.loaddriver.DriverNodeImpl$ClientThread.run(DriverNodeImpl.java:317)
{code}

any comments whether this is doable ?
                
> Hot Rod client connection timeout
> ---------------------------------
>
>                 Key: ISPN-1565
>                 URL: https://issues.jboss.org/browse/ISPN-1565
>             Project: Infinispan
>          Issue Type: Feature Request
>    Affects Versions: 5.1.0.BETA5
>            Reporter: Michal Linhard
>            Assignee: Manik Surtani
>
> Currently it's only possible to specify socket timeout that applies for reading from the socket.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the infinispan-issues mailing list