We recently experienced a problem restarting our production Sakai instance due to
LSNBLDR-305. The LessonBuilder fix is good, but the potential still exists for future problems in almost all Sakai tools.
In the hibernate mapping/configuration files, the DTD files are downloaded from external web site (http://hibernate.sourceforge.net"), as shown below:
<!DOCTYPE hibernate-configuration PUBLIC
"-//Hibernate/Hibernate Configuration DTD 3.0//EN"
So that if the external web site in unavailable, Sakai instance won't start because of it fails to get those files.
In fact, both hibernate-configuration*.dtd and hibernate-mapping*.dtd files are already included in the hibernate*.jar file, inside /shared folder of the app instance. We should change the above configuration path to look into CLASSPATH resources, instead of downloading them from external web site during the tomcat startup time.
Attached is a patch showing how to do this in the LessonBuilder, for example.