AnsweredAssumed Answered

New folder issue, 'expected file X to be locked'

Question asked by noga_manela on Nov 10, 2011
Hi,

We are running into a strange behavior with creating new folders under the WCM sandboxes. when a user creates a new folder and then adds an index page to it, the list of modified items shows 3 copies of the folder name. This suddenly happens both in both Prod and INT environments. The newly created folder and page can be submitted to staging and from there on to the live site, but cannot be viewed using the Alfresco preview.There are no errors/warnings in the log files, but when we revert the changes, the catalina.out spits out the following errors:

11:10:04,061 WARN [avm.actions.AVMUndoSandboxListAction] expected file /www/avm_webapps/ROOT/docroot/fragments/generated/article/site-map/300_Career_Professional_Development/250_Registration_Information/100_test in havie to be locked
11:10:04,130 WARN [avm.actions.AVMUndoSandboxListAction] expected file /www/avm_webapps/ROOT/docroot/fragments/generated/rightnav/site-map/300_Career_Professional_Development/250_Registration_Information/100_test in havie to be locked
11:10:04,191 WARN [avm.actions.AVMUndoSandboxListAction] expected file /www/avm_webapps/ROOT/site-map/300_Career_Professional_Development/250_Registration_Information/100_test in havie to be locked

Here are the steps to get the issue:
1. Undo All in user's sandbox
2. Navigate to a location under Browse Website
3. Create folder (so far only one copy of the folder shows up in the modified items list)
4. Create an index page using the Web Form
5. Go to the Modified Items and see three copies of the folder

What we've tried to do is:
Revert the sandboxes
Clear the index folder under the content store, restart with index.recovery.mode=FULL
Shutdown and restart

Here are the environment details:
Alfresco enterprise 2.2.8
Java version: jdk1.5.0_11
ALF_JAVA_PARAMS="-Djava.rmi.server.hostname=128.103.63.141 -server -Xss1024K -Xms1G -Xmx2G -XX:MaxPermSize=128M -XX:NewSize=512m"
OS: Linux version 2.6.9-100.ELsmp (mockbuild@x86-010.build.bos.redhat.com) (gcc version 3.4.6 20060404 (Red Hat 3.4.6-11)) #1 SMP Tue Feb 1 12:17:32 EST 2011
Weblogic 9.23
Oracle 10g

Any ideas would be greatly appreciated,
Best,
Noga

Outcomes