SourceForge.net Logo
Main Overview Wiki Issues Forum Build Fisheye
Issue Details (XML | Word | Printable)

Key: CMP-677
Type: Bug Bug
Status: Open Open
Priority: Critical Critical
Assignee: Shay Banon
Reporter: Tony De Freitas
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Compass

Embedded Hibernate with nativefs Failed to rename index

Created: 15/Jul/08 10:24 PM   Updated: 25/Nov/08 08:52 AM
Component/s: None
Affects Version/s: 2.1.0 M2
Fix Version/s: None

Environment: JBoss 4.2.2, Spring 2.0.7, hibernate 3.2.6, compass 2.1.0M2



 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Martin Kovacik added a comment - 25/Nov/08 08:52 AM
I had the same problem. The workaround is to explicitly specify lock file location to be outside location where indexing occurs.

Example:

<compass:compass name="org.compass.core.Compass"
txManager="txManager">
<compass:connection>
<compass:file path="store/test-index"/>
<compass:lockFactory type="nativefs" path="store/lock"/>
</compass:connection>

<compass:transaction
factory="org.compass.spring.transaction.SpringSyncTransactionFactory" />

....

</compass:compass>