[opencms-dev] Locks not held across Tomcat restarts

Jonathan Woods jonathan.woods at scintillance.com
Fri Feb 3 06:19:58 CET 2006


Uwe (and Michael) -

Thanks for the answers.  I see why it's happening, though of course it has
side effects in the event that the server needs to be restarted.

Jon 

-----Original Message-----
From: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] On Behalf Of Uwe König
Sent: 02 February 2006 20:29
To: The OpenCms mailing list
Subject: Re: [opencms-dev] Locks not held across Tomcat restarts



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 

_______________________________________________
This mail is sent to you from the opencms-dev mailing list To change your
list options, or to unsubscribe from the list, please visit
http://lists.opencms.org/mailman/listinfo/opencms-dev





More information about the opencms-dev mailing list