You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lenya.apache.org by alex <al...@virgilio.it> on 2005/01/17 12:12:44 UTC

The old history file could not be deleted!

Hi,
with the new lenya 1.2.1, and WinXP I have this exception when 
I try to delete a default document (in Linux anything goes well!):

The old history file could not be deleted!

org.apache.lenya.cms.task.ExecutionException:
..\src\lenya-1.2.1\build\lenya\webapp\lenya\pubs\default\config\
tasks\targets.xml
:565:org.apache.lenya.workflow.WorkflowException: 
The old history file could not be deleted!

cause: org.apache.lenya.workflow.WorkflowException: 
The old history file could not be deleted!

full exception chain stacktrace[hide]

org.apache.lenya.cms.task.ExecutionException:
..\src\lenya-1.2.1\build\lenya\webapp\lenya\pubs\default\
config\tasks\targets.xml
:565: org.apache.lenya.workflow.WorkflowException: 
The old history file could not be deleted!
	
at org.apache.lenya.cms.task.AntTask.executeAntTarget(AntTask.java:129)
	
at org.apache.lenya.cms.task.AntTask.execute(AntTask.java:229)
	
at   
org.apache.lenya.cms.task.DefaultTaskWrapper.execute
(DefaultTaskWrapper.java:248)
	
at 
org.apache.lenya.cms.cocoon.acting.TaskAction.act(TaskAction.java:62)
	
atorg.apache.cocoon.components.treeprocessor.sitemap.
ActTypeNode.invoke(ActTypeNode.java:124)
.....

~alex


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org


Re: The old history file could not be deleted!

Posted by Andreas Kuckartz <A....@ping.de>.
> for some reason, there are locking problems on windows when you try to 
> delete certain files with file.remove(). we haven't found the cause of 
> these problems yet nor the solution.

For more details see:

WGet has windows file locking issues
http://issues.apache.org/bugzilla/show_bug.cgi?id=26564

Cheers,
Andreas


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org


Re: The old history file could not be deleted!

Posted by "Gregor J. Rothfuss" <gr...@apache.org>.
alex wrote:
> Hi,
> with the new lenya 1.2.1, and WinXP I have this exception when 
> I try to delete a default document (in Linux anything goes well!):
> 
> The old history file could not be deleted!
> 
> org.apache.lenya.cms.task.ExecutionException:
> ..\src\lenya-1.2.1\build\lenya\webapp\lenya\pubs\default\config\
> tasks\targets.xml
> :565:org.apache.lenya.workflow.WorkflowException: 
> The old history file could not be deleted!
> 
> cause: org.apache.lenya.workflow.WorkflowException: 
> The old history file could not be deleted!

for some reason, there are locking problems on windows when you try to 
delete certain files with file.remove(). we haven't found the cause of 
these problems yet nor the solution.

-- 
Gregor J. Rothfuss
COO, Wyona       Content Management Solutions    http://wyona.com
Apache Lenya                              http://lenya.apache.org
gregor.rothfuss@wyona.com                       gregor@apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org


Re: The old history file could not be deleted!

Posted by alex <al...@virgilio.it>.
alex <alex.vettori <at> virgilio.it> writes:

also with linux, j2sdk1.4.2, tomcat5 and xalan2.5 in tomcat
endorsed direcotory goes well, but with WINXP and tomcat5 I have
the exception.

~alex



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org