from this commit the application startup success on tomcat server,
bagfix the sessing's configuration.
full work version, bagfix