Examples of SFSBStoreManagerException


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

      _logger.log(Level.WARNING, "ejb.sfsb_storemgr_savestate_failed",
                new Object[] {fileName});
      _logger.log(Level.WARNING, "ejb.sfsb_storemgr_savestate_exception", ex);
            try { removeFile(file); } catch (Exception ex1) {}
            String errMsg = "Could not save session: " + beanState.getId();
            throw new SFSBStoreManagerException(errMsg, ex);
        } finally {
            try {
    if (bos != null) bos.close();
      } catch (Exception ex) {
    _logger.log(Level.FINE, "Error while closing buffered output stream", ex);
View Full Code Here

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

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

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

            store = getStore();           
            ( (ReplicatedEjbStore) store).saveForRepair(state, this);
        }
        catch (IOException e) {
            //e.printStackTrace();
            throw new SFSBStoreManagerException("Error during repairSave: id =" + state.getId().toString(), e);
        }
        finally {
            this.putStore(store);
        }
        //added for monitoring     
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.FINE)) {
                _logger.exiting("ReplicatedSFSBStoreManager", "getStore", sfsbState);
View Full Code Here

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

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

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

                _logger.exiting("ReplicatedSFSBStoreManager", "removeAll");
            }
        }
        catch (Exception e) {
            e.printStackTrace();
            throw new SFSBStoreManagerException("Error during ReplicatedSFSBStoreManager>>removeAll for container: " + containerId, e);
        }
        finally {
            //un-register with message router
            ReplicationMessageRouter router = null;
            if (Globals.IS_SECURITY_ENABLED) {
View Full Code Here

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

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

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

                _logger.exiting("ReplicatedSFSBStoreManager", "updateLastAccessTime");
            }
        }
        catch (Exception e) {
            e.printStackTrace();
            throw new SFSBStoreManagerException("Error during ReplicatedSFSBStoreManager>>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

            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
View Full Code Here

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

            }           
        }
        catch (Exception e) {
            //e.printStackTrace();
            //throw e;           
            throw new SFSBStoreManagerException("Error sending ReplicationState response: id =" + sessionState.getId().toString(), e);
        }
        finally {
            this.putStore(store);
            if(_logger.isLoggable(Level.FINE)) {
                _logger.exiting("ReplicatedSFSBStoreManager", "doSendResponse");
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.