container/resource/src/main/java/org/mobicents/slee/resource/ResourceAdaptorEntityImpl.java
@SuppressWarnings({ "unchecked", "rawtypes" })
	public void sleeRunning() throws InvalidStateException {		
		// if entity is active then activate the ra object
		if (this.state.isActive()) {
			if (setFTContext) {
				setFTContext = false;
				if (object.isFaultTolerant()) {
					// set fault tolerant context, it is a ft ra
					try {
						this.ftResourceAdaptorContext = new FaultTolerantResourceAdaptorContextImpl(name,sleeContainer,(FaultTolerantResourceAdaptor) object.getResourceAdaptorObject());
						object.setFaultTolerantResourceAdaptorContext(ftResourceAdaptorContext);						
					}
					catch (Throwable t) {
						logger.error("Got exception invoking setFaultTolerantResourceAdaptorContext(...) for entity "+name, t);
					}					
				}
			}
			try {
				object.raActive();
			}
			catch (Throwable t) {
				logger.error("Got exception invoking raActive() for entity "+name, t);
			}
		}
	}
@SuppressWarnings({ "unchecked", "rawtypes" })
	public void sleeRunning() throws InvalidStateException {		
		// if entity is active then activate the ra object
		if (this.state.isActive()) {
			if (setFTContext) {
				setFTContext = false;
				if (object.isFaultTolerant()) {
					// set fault tolerant context, it is a ft ra
					try {
						this.ftResourceAdaptorContext = new FaultTolerantResourceAdaptorContextImpl(name,sleeContainer,(FaultTolerantResourceAdaptor) object.getResourceAdaptorObject());
						object.setFaultTolerantResourceAdaptorContext(ftResourceAdaptorContext);						
					}
					catch (Throwable t) {
						logger.error("Got exception invoking setFaultTolerantResourceAdaptorContext(...) for entity "+name, t);
					}					
				}
			}
			try {
				object.raActive();
			}
			catch (Throwable t) {
				logger.error("Got exception invoking raActive() for entity "+name, t);
			}
		}
	}
Signals that the container is in RUNNING state