}
this._cookiePath = cookiePath;
}
if (sessionFactory == null)
{
sessionFactory = new SerializableSessionFactory();
}
log.info("use " + sessionFactory.getClass().getSimpleName() + " as session factory.");
try
{
// use context class loader during object deserialization.