[opencms-dev] Locks not held across Tomcat restarts

Uwe König uwederkoenig at web.de
Thu Feb 2 21:29:29 CET 2006



Hello Jonathan, 

> In the course of testing some OpenCms backup and restore stuff, I
> noticed that locks don't seem to be held across Tomcat restarts:
> if I lock a resource, exit from the Workplace, stop Tomcat,
> restart Tomcat and then log on to the Workplace again, the log is
> no longer held.
>  
> Is this a bug?

AFAIK no. OpenCMS 5 saved locks in the DB, OpenCMS 6 uses a
singleton to save this for performance issues. So a tomcat-restart
blows it all away. 
Best regards, 


Uwe König 



More information about the opencms-dev mailing list