Package org.jboss.cache

Examples of org.jboss.cache.ReplicationException


                   {
                      retval = super.invoke(method_call);
                   }
                    if (!isActive(tx))
                    {
                        throw new ReplicationException("prepare() failed -- " + "local transaction status is not STATUS_ACTIVE; is " + tx.getStatus());
                    }
                }
                catch (Throwable t)
                {
                    log.error("method invocation failed", t);
View Full Code Here


      replayModifications(modifications, ctx, true);
      retval = nextInterceptor(ctx);
      // JBCACHE-361 Confirm that the transaction is ACTIVE
      if (!isActive(ltx))
      {
         throw new ReplicationException("prepare() failed -- " +
               "local transaction status is not STATUS_ACTIVE;" +
               " is " + ltx.getStatus());
      }
      return retval;
   }
View Full Code Here

            }

            // JBCACHE-361 Confirm that the transaction is ACTIVE
            if (!isActive(ltx))
            {
               throw new ReplicationException("prepare() failed -- " +
                     "local transaction status is not STATUS_ACTIVE;" +
                     " is " + ltx.getStatus());
            }
         }
         catch (Throwable th)
View Full Code Here

               retval = nextInterceptor(ctx);

               if (!isActive(ctx.getTransaction()))
               {
                  throw new ReplicationException("prepare() failed -- " + "local transaction status is not STATUS_ACTIVE; is " + ctx.getTransaction().getStatus());
               }
            }
            catch (Throwable t)
            {
               log.error("method invocation failed", t);
View Full Code Here

        replayModifications(modifications, ltx, true);
        retval = super.invoke(m);
        // JBCACHE-361 Confirm that the transaction is ACTIVE
        if (!isActive(ltx))
        {
            throw new ReplicationException("prepare() failed -- " +
                    "local transaction status is not STATUS_ACTIVE;" +
                    " is " + ltx.getStatus());
        }
        return retval;
    }
View Full Code Here

                    super.invoke(m);
                }

                // JBCACHE-361 Confirm that the transaction is ACTIVE
                if (!isActive(ltx)) {
                   throw new ReplicationException("prepare() failed -- " +
                         "local transaction status is not STATUS_ACTIVE;" +
                         " is " + ltx.getStatus());
                }
            }
            catch (Throwable th)
View Full Code Here

                   {
                      retval = super.invoke(method_call);
                   }
                    if (!isActive(tx))
                    {
                        throw new ReplicationException("prepare() failed -- " + "local transaction status is not STATUS_ACTIVE; is " + tx.getStatus());
                    }
                }
                catch (Throwable t)
                {
                    log.error("method invocation failed", t);
View Full Code Here

   {
      if (!TransactionTable.isActive(tx))
      {
         try
         {
            throw new ReplicationException("prepare() failed -- local transaction status is not STATUS_ACTIVE; is " + tx.getStatus());
         }
         catch (SystemException e)
         {
            throw new ReplicationException("prepare() failed -- local transaction status is not STATUS_ACTIVE; Unable to retrieve transaction status.");
         }
      }
   }
View Full Code Here

      if (resps == null)
      {
         if (log.isInfoEnabled())
            log.info("No replies to call " + dataCommand + ".  Perhaps we're alone in the cluster?");
         throw new ReplicationException("No replies to call " + dataCommand + ".  Perhaps we're alone in the cluster?");
      }
      else
      {
         // test for and remove exceptions
         Iterator i = resps.iterator();
View Full Code Here

   // --------------------------------------------------------------

   protected void assertTxIsStillValid(Transaction tx) {
      if (!TransactionTable.isActive(tx)) {
         try {
            throw new ReplicationException("prepare() failed -- local transaction status is not STATUS_ACTIVE; is " + tx.getStatus());
         }
         catch (SystemException e) {
            throw new ReplicationException("prepare() failed -- local transaction status is not STATUS_ACTIVE; Unable to retrieve transaction status.");
         }
      }
   }
View Full Code Here

TOP

Related Classes of org.jboss.cache.ReplicationException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.