Examples of UnknownTransactionException


Examples of com.sun.messaging.jmq.jmsserver.util.UnknownTransactionException

        } finally {
            shareLock.unlock();
        }

        if (ti == null) {
            throw new UnknownTransactionException("Update state "+
              TransactionState.toString(state)+ " for unknown transaction: " + id);
        }
        if (ti.isTakeoverLocked()) {
            throw new BrokerException(Globals.getBrokerResources().getKString(
            BrokerResources.X_TXN_LOCKED, id), Status.NOT_FOUND);
View Full Code Here

Examples of net.jini.core.transaction.UnknownTransactionException

  }

        if (txn == null) {
      final String msg = "unknown transaction [mgr:" + mgr +
    ", id:" + id + "], passed to abort/prepare/commit";
      final UnknownTransactionException ute =
    new UnknownTransactionException(msg);
      if (txnLogger.isLoggable(Levels.FAILED))
    txnLogger.log(Levels.FAILED, msg, ute);
      throw ute;
  }
        return txn;
View Full Code Here

Examples of net.jini.core.transaction.UnknownTransactionException

        try {
            return (ServerTransaction) baseTr;
        } catch (ClassCastException e) {
      final String msg = "unexpected transaction type:" +
    baseTr.getClass();
      final UnknownTransactionException ute =
    new UnknownTransactionException(msg);
      if (txnLogger.isLoggable(Levels.FAILED))
    txnLogger.log(Levels.FAILED, msg, ute);
      throw ute;
        }
    }
View Full Code Here

Examples of net.jini.core.transaction.UnknownTransactionException

  }

        if (txn == null) {
      final String msg = "unknown transaction [mgr:" + mgr +
    ", id:" + id + "], passed to abort/prepare/commit";
      final UnknownTransactionException ute =
    new UnknownTransactionException(msg);
      if (txnLogger.isLoggable(Levels.FAILED))
    txnLogger.log(Levels.FAILED, msg, ute);
      throw ute;
  }
        return txn;
View Full Code Here

Examples of net.jini.core.transaction.UnknownTransactionException

        try {
            return (ServerTransaction) baseTr;
        } catch (ClassCastException e) {
      final String msg = "unexpected transaction type:" +
    baseTr.getClass();
      final UnknownTransactionException ute =
    new UnknownTransactionException(msg);
      if (txnLogger.isLoggable(Levels.FAILED))
    txnLogger.log(Levels.FAILED, msg, ute);
      throw ute;
        }
    }
View Full Code Here

Examples of org.apache.hadoop.hbase.client.transactional.UnknownTransactionException

    state = transactionsById.get(key);

    if (state == null) {
      LOG.trace("Unknown transaction: " + key);
      throw new UnknownTransactionException(key);
    }

    try {
      transactionLeases.renewLease(key);
    } catch (LeaseException e) {
View Full Code Here

Examples of org.apache.hadoop.hbase.client.transactional.UnknownTransactionException

    state = transactionsById.get(key);

    if (state == null) {
      LOG.debug("Unknown transaction: [" + key + "], region: ["
          + getRegionInfo().getRegionNameAsString() + "]");
      throw new UnknownTransactionException("transaction: [" + key
          + "], region: [" + getRegionInfo().getRegionNameAsString() + "]");
    }

    try {
      transactionLeases.renewLease(getLeaseId(transactionId));
View Full Code Here

Examples of org.apache.hadoop.hbase.client.transactional.UnknownTransactionException

    state = transactionsById.get(key);

    if (state == null) {
      LOG.debug("Unknown transaction: [" + key + "], region: ["
          + getRegionInfo().getRegionNameAsString() + "]");
      throw new UnknownTransactionException("transaction: [" + key
          + "], region: [" + getRegionInfo().getRegionNameAsString() + "]");
    }

    try {
      transactionLeases.renewLease(getLeaseId(transactionId));
View Full Code Here

Examples of org.apache.hadoop.hbase.client.transactional.UnknownTransactionException

    state = transactionsById.get(key);

    if (state == null) {
      LOG.debug("Unknown transaction: [" + key + "], region: ["
          + getRegionInfo().getRegionNameAsString() + "]");
      throw new UnknownTransactionException("transaction: [" + key
          + "], region: [" + getRegionInfo().getRegionNameAsString() + "]");
    }

    try {
      transactionLeases.renewLease(getLeaseId(transactionId));
View Full Code Here

Examples of org.apache.hadoop.hbase.client.transactional.UnknownTransactionException

    state = transactionsById.get(key);

    if (state == null) {
      LOG.trace("Unknown transaction: " + key);
      throw new UnknownTransactionException(key);
    }

    try {
      transactionLeases.renewLease(key);
    } catch (LeaseException e) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.