[jboss-user] [JBoss Cache: Core Edition] - Re: TcpDelegatingCacheLoader
lovelyliatroim
do-not-reply at jboss.com
Mon Jan 12 12:07:59 EST 2009
anonymous wrote :
| Problem is this, if we have a timeout,which the patch allows you to do, it throws an IOExcpeption. When we get an IOEXception we will call "restart" which tears down and up the socket even though its not needed. We shouldnt be tearing up and down the socket if we timeout.
|
Ignore that I am wrong, tried to reset the input stream on the socket and it aint supported.
You get
anonymous wrote :
| java.io.IOException: mark/reset not supported
| at java.io.InputStream.reset(InputStream.java:334)
| at org.jboss.cache.loader.TcpDelegatingCacheLoader.invokeWithRetries(TcpDelegatingCacheLoader.java:152)
|
But thread safety is still an issue
Cheers,
LL
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4201095#4201095
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4201095
More information about the jboss-user
mailing list