Hello Michael.

Of course, send me that patch, I will try it on our lenya and see if this
helps. Deactivating is sometimes a problem too. Files (contents) could not
be deleted form live folder within the publication. They are locked by the
system - as we suppose by the Tomcat service itself.

Many thanks.

Thomas 

-----Ursprüngliche Nachricht-----
Von: Michael Ralston [mailto:[EMAIL PROTECTED] 
Gesendet: Mittwoch, 7. Dezember 2005 10:38
An: [email protected]
Betreff: Re: Lenya / Tomcat locks files

On Wednesday 07 December 2005 18:12, Kubiak, Thomas wrote:
> Hello community.
>
> We are using Lenya running on Tomcat 5.5.9. Server is a Windows 2003 
> Server machine.
>
> Sometimes it happens, that the Tomcat service locks the content files
> (index_??.xml) within our publication so that they cannot be deleted.
> Therefor when users try to modify those contents using the lenya 
> editor the cannot save their changes.
>
> As long as tomcat is running these files cannot be deleted even when I 
> try to do it directly on the filesystem of the server.
>
> Does anybody have an idea what causes this problem ? Any solutions ? 
> Please help me.
>

I have also had this problem with running lenya with Jetty on a windows
host. 
It was due to javax.xml.parsers.DocumentBuilder not closing a file when it
was finished with it. The object is eventually garbage collected and the
file closed, but not soon enough as other side effects occur. In my instance
I was getting an exception when I tried to deactivate a page, the document
could not be deleted from the live tree.

I provided a patch to lenya 1.2 in October, if this is also your problem I
can forward you the patch. If it isn't your problem, the patch might give
you an idea of how to solve your problem.

Michael Ralston

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED] For additional
commands, e-mail: [EMAIL PROTECTED]


************************************************************************
The information contained in this message or any of its attachments may be 
confidential and is intended for the exclusive use of the addressee(s).  Any 
disclosure, reproduction, distribution or other dissemination or use of this 
communication is strictly prohibited without the express permission of the 
sender.  The views expressed in this email are those of the individual and not 
necessarily those of Sony or Sony affiliated companies.  Sony email is for 
business use only.

This email and any response may be monitored by Sony to be in compliance with 
Sony’s global policies and standards

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to