<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<body link="#355491" alink="#4262a1" vlink="#355491" style="background: #e2e2e2; margin: 0; padding: 20px;">

<div>
        <table cellpadding="0" bgcolor="#FFFFFF" border="0" cellspacing="0" style="border: 1px solid #dadada; margin-bottom: 30px; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                <tbody>
                        <tr>

                                <td>

                                        <table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="border: solid 2px #ccc; background: #dadada; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                                                <tbody>
                                                        <tr>
                                                                <td bgcolor="#000000" valign="middle" height="58px" style="border-bottom: 1px solid #ccc; padding: 20px; -moz-border-radius-topleft: 3px; -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 5px; -webkit-border-top-left-radius: 5px;">
                                                                        <h1 style="color: #333333; font: bold 22px Arial, Helvetica, sans-serif; margin: 0; display: block !important;">
                                                                        <!-- To have a header image/logo replace the name below with your img tag -->
                                                                        <!-- Email clients will render the images when the message is read so any image -->
                                                                        <!-- must be made available on a public server, so that all recipients can load the image. -->
                                                                        <a href="http://community.jboss.org/index.jspa" style="text-decoration: none; color: #E1E1E1">Community</a></h1>
                                                                </td>

                                                        </tr>
                                                        <tr>
                                                                <td bgcolor="#FFFFFF" style="font: normal 12px Arial, Helvetica, sans-serif; color:#333333; padding: 20px;  -moz-border-radius-bottomleft: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 5px; -webkit-border-bottom-left-radius: 5px;"><h3 style="margin: 10px 0 5px; font-size: 17px; font-weight: normal;">
    RejectedExecutionException on distributed cache environment
</h3>
<span style="margin-bottom: 10px;">
    created by <a href="http://community.jboss.org/people/chandu2708">balachandra maddina</a> in <i>JBoss Cache</i> - <a href="http://community.jboss.org/message/534136#534136">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">

<div class="jive-rendered-content"><p>Hi There,</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>&#160; Im running a distributed cache setup on my test environment in which im facing the "<span>RejectedExecutionException<span>" quite frequently and all the cache operations during that time all cache related operation are failing. Any idea what would be causing the issue.</span></span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"><span><span> </span></span>&#160;</p><pre class="jive-pre"><code class="jive-code">
Caused by: java.util.concurrent.RejectedExecutionException

&#160;&#160;&#160;&#160;&#160;&#160;&#160; at java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(ThreadPoolExecutor.java:1768)

&#160;&#160;&#160;&#160;&#160;&#160;&#160; at java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:767)

&#160;&#160;&#160;&#160;&#160;&#160;&#160; at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:658)

&#160;&#160;&#160;&#160;&#160;&#160;&#160; at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:92)

&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.jboss.cache.marshall.CommandAwareRpcDispatcher.invokeRemoteCommands(CommandAwareRpcDispatcher.java:189)

&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.jboss.cache.RPCManagerImpl.callRemoteMethods(RPCManagerImpl.java:458)

&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.jboss.cache.RPCManagerImpl.callRemoteMethods(RPCManagerImpl.java:432)

&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.jboss.cache.RPCManagerImpl.callRemoteMethods(RPCManagerImpl.java:437)

&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.jboss.cache.interceptors.BaseRpcInterceptor.replicateCall(BaseRpcInterceptor.java:161)

&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.jboss.cache.interceptors.BaseRpcInterceptor.replicateCall(BaseRpcInterceptor.java:135)

&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.jboss.cache.interceptors.BaseRpcInterceptor.replicateCall(BaseRpcInterceptor.java:107)

&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.jboss.cache.interceptors.ReplicationInterceptor.handleCrudMethod(ReplicationInterceptor.java:160)

&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.jboss.cache.interceptors.ReplicationInterceptor.visitPutKeyValueCommand(ReplicationInterceptor.java:107)

&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.jboss.cache.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:100)

&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.jboss.cache.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:116)

&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.jboss.cache.interceptors.base.CommandInterceptor.handleDefault(CommandInterceptor.java:131)

&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.jboss.cache.commands.AbstractVisitor.visitPutKeyValueCommand(AbstractVisitor.java:65)

&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.jboss.cache.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:100)

&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.jboss.cache.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:116)

&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.jboss.cache.interceptors.TxInterceptor.attachGtxAndPassUpChain(TxInterceptor.java:284)

&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.jboss.cache.interceptors.TxInterceptor.handleDefault(TxInterceptor.java:271)

&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.jboss.cache.commands.AbstractVisitor.visitPutKeyValueCommand(AbstractVisitor.java:65)

&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.jboss.cache.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:100)

&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.jboss.cache.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:116)

&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.jboss.cache.interceptors.CacheMgmtInterceptor.visitPutKeyValueCommand(CacheMgmtInterceptor.java:119)

&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.jboss.cache.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:100)

&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.jboss.cache.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:116)

&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.jboss.cache.interceptors.InvocationContextInterceptor.handleAll(InvocationContextInterceptor.java:178)

&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.jboss.cache.interceptors.InvocationContextInterceptor.visitPutKeyValueCommand(InvocationContextInterceptor.java:82)

&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.jboss.cache.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:100)

&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.jboss.cache.interceptors.InterceptorChain.invoke(InterceptorChain.java:265)

&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.jboss.cache.invocation.CacheInvocationDelegate.put(CacheInvocationDelegate.java:560)

&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.jboss.cache.invocation.CacheInvocationDelegate.put(CacheInvocationDelegate.java:565)

&#160;&#160;&#160;&#160;&#160;&#160;&#160; at com.rgb.core.cache.DefaultCache.put(DefaultCache.java:183)

&#160;&#160;&#160;&#160;&#160;&#160;&#160; at com.rgb.core.server.util.element.ElementEntityUtil.getElementId(ElementEntityUtil.java:76)


</code></pre><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Im running on MVCC node locking scheme and isolation level as READ_COMITTED. any help on this would be appreciated.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Thank you,</p><p>bala.</p></div>

<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
    <p style="margin: 0;">Reply to this message by <a href="http://community.jboss.org/message/534136#534136">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in JBoss Cache at <a href="http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2052">Community</a></p>
</div></td>
                        </tr>
                    </tbody>
                </table>


                </td>
            </tr>
        </tbody>
    </table>

</div>

</body>
</html>