@Override
protected synchronized void startInternal() throws LifecycleException {
- // Force initialization of the random number generator
- generateSessionId();
+ super.startInternal();
try {
cluster.registerManager(this);
@Override
protected synchronized void startInternal() throws LifecycleException {
- // Force initialization of the random number generator
- generateSessionId();
+ super.startInternal();
// Load unloaded sessions, if any
try {
}
@Override
- protected void destroyInternal() throws LifecycleException {
- closeRandomFile();
- super.destroyInternal();
- }
-
- @Override
protected void initInternal() throws LifecycleException {
super.initInternal();
setDistributable(((Context) getContainer()).getDistributable());
+ }
- // Initialize random number generation
- getRandomBytes(new byte[16]);
+ @Override
+ protected void startInternal() throws LifecycleException {
+ // Force initialization of the random number generator
+ if (log.isDebugEnabled())
+ log.debug("Force random number initialization starting");
+ generateSessionId();
+ if (log.isDebugEnabled())
+ log.debug("Force random number initialization completed");
}
+ @Override
+ protected void destroyInternal() throws LifecycleException {
+ closeRandomFile();
+ super.destroyInternal();
+ }
+
/**
* Add this Session to the set of active Sessions for this Manager.
*
@Override
protected synchronized void startInternal() throws LifecycleException {
- // Force initialization of the random number generator
- if (log.isDebugEnabled())
- log.debug("Force random number initialization starting");
- generateSessionId();
- if (log.isDebugEnabled())
- log.debug("Force random number initialization completed");
+ super.startInternal();
if (store == null)
log.error("No Store configured, persistence disabled");
@Override
protected synchronized void startInternal() throws LifecycleException {
- // Force initialization of the random number generator
- if (log.isDebugEnabled())
- log.debug("Force random number initialization starting");
- generateSessionId();
- if (log.isDebugEnabled())
- log.debug("Force random number initialization completed");
-
+ super.startInternal();
+
// Load unloaded sessions, if any
try {
load();