Examples of SFSBStoreManagerException


Examples of com.sun.ejb.spi.sfsb.store.SFSBStoreManagerException

            }           
        }
        catch (Exception e) {
            //e.printStackTrace();
            //throw e;           
            throw new SFSBStoreManagerException("Error sending ReplicationState query response: id =" + sessionState.getId().toString(), e);
        }
        finally {
            this.putStore(store);
            if(_logger.isLoggable(Level.FINE)) {
                _logger.exiting("ReplicatedSFSBStoreManager", "doSendQueryResponse");
View Full Code Here

Examples of com.sun.ejb.spi.sfsb.store.SFSBStoreManagerException

            store = getStore();           
            ( (HAEjbStore) store).save(beanState, this, beanState.isNew());
        }
        catch (IOException e) {
            //e.printStackTrace();
            throw new SFSBStoreManagerException("Error during passivateSave: isNew =" + isNew + ": id =" + beanState.getId().toString(), e);
        }
        finally {
            this.putStore(store);
        }
       
View Full Code Here

Examples of com.sun.ejb.spi.sfsb.store.SFSBStoreManagerException

           
        }
        catch (Exception e) {
            //e.printStackTrace();
            //throw e;           
            throw new SFSBStoreManagerException("Error loading SFSB state: id =" + id.toString(), e);
        }
        finally {
            this.putStore(store);
            if(_logger.isLoggable(Level.FINER)) {
                _logger.exiting("HASFSBStoreManager", "getStore", sfsbState);
View Full Code Here

Examples of com.sun.ejb.spi.sfsb.store.SFSBStoreManagerException

            if(this.isMonitoringEnabled()) {
                //restore original txCheckpointDurations
                this.restoreOriginalTxCheckpointDurations(beanStates, originalTxCheckpointDurations);
            }
            //end added for monitoring
            throw new SFSBStoreManagerException("Error during checkpointSave", e);
        }
        finally {
            this.putStore(store);
        }
        //FIXME: temp test code next 2 lines
View Full Code Here

Examples of com.sun.ejb.spi.sfsb.store.SFSBStoreManagerException

                _logger.exiting("HASFSBStoreManager", "removeAll");
            }
        }
        catch (Exception e) {
            e.printStackTrace();
            throw new SFSBStoreManagerException("Error during HASFSBStoreManager>>removeAll for container: " + containerId, e);
        }
        finally {
            //un-register with health checker
            EEHADBHealthChecker.removeHASFSBStoreManager(this.getContainerID());           
            this.putStore(store);
View Full Code Here

Examples of com.sun.ejb.spi.sfsb.store.SFSBStoreManagerException

            store = getStore();           
            ( (HAEjbStore) store).save(beanState, this, beanState.isNew());
        }
        catch (IOException e) {
            //e.printStackTrace();
            throw new SFSBStoreManagerException("Error during checkpointSave: isNew =" + isNew + ": id =" + beanState.getId().toString(), e);
        }
        finally {
            this.putStore(store);
        }
       
View Full Code Here

Examples of com.sun.ejb.spi.sfsb.store.SFSBStoreManagerException

                _logger.exiting("HASFSBStoreManager", "updateLastAccessTime");
            }
        }
        catch (Exception e) {
            e.printStackTrace();
            throw new SFSBStoreManagerException("Error during HASFSBStoreManager>>updateLastAccessTime for key: "
                + sessionKey + " errMsg: " + e.getMessage(), e);
        }
        finally {
            this.putStore(store);
        }
View Full Code Here

Examples of com.sun.ejb.spi.sfsb.store.SFSBStoreManagerException

                _logger.exiting("HASFSBStoreManager", "removeExpired");
            }
        }
        catch (Exception e) {
            e.printStackTrace();
            throw new SFSBStoreManagerException("Error during HASFSBStoreManager>>removeExpired for container: " + containerId, e);
        }
        finally {
            this.putStore(store);
        }
        if(_logger.isLoggable(Level.FINER)) {
View Full Code Here

Examples of com.sun.ejb.spi.sfsb.store.SFSBStoreManagerException

                _logger.exiting("HASFSBStoreManager", "removeExpired");
            }
        }
        catch (Exception e) {
            e.printStackTrace();
            throw new SFSBStoreManagerException("Error during HASFSBStoreManager>>removeExpired for container: " + containerId, e);
        }
        finally {
            this.putStore(store);
        }
        if(_logger.isLoggable(Level.FINER)) {
View Full Code Here

Examples of com.sun.ejb.spi.sfsb.store.SFSBStoreManagerException

    if (file.exists() == false) {
        _logger.log(Level.WARNING, storeName
      + ": Cannot update timsestamp for: " + sessionKey
          + "; File does not exist");
    } else {
        throw new SFSBStoreManagerException(
      storeName + ": Cannot update timsestamp for: " + sessionKey);
    }
      }
  } catch (SFSBStoreManagerException sfsbSMEx) {
      throw sfsbSMEx;
  } catch (Exception ex) {
      _logger.log(Level.WARNING, storeName
    + ": Exception while updating timestamp", ex);     
      throw new SFSBStoreManagerException(
    "Cannot update timsestamp for: " + sessionKey
        + "; Got exception: " + ex);     
  }
    }
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.