AnsweredAssumed Answered

Content Integrity Failure on JBoss

Question asked by nparry on Jul 25, 2007
I am attempting to set up Alfresco under JBoss, but I'm having trouble.  I followed the installation instructions in the "Deploying WAR JBoss" wiki page, and I get the following error:


16:30:32,091 WARN  [JpdlXmlReader] process xml warning: swimlane 'initiator' does not have an assignment
16:30:32,475 INFO  [IndexRecoveryBootstrapBean] Checking/Recovering indexes …
16:30:32,519 INFO  [IndexRecoveryBootstrapBean] Checking/Recovering indexes …
16:30:32,521 WARN  [ConfigurationChecker] The Alfresco 'dir.root' property is set to a relative path './alf_data'.  'dir.root' should be overridden to point to a specific folder.
16:30:32,521 INFO  [ConfigurationChecker] The Alfresco root data directory ('dir.root') is: ./alf_data
16:30:32,546 ERROR [ConfigurationChecker] CONTENT INTEGRITY ERROR: Indexes not found for 5 stores.
16:30:32,546 INFO  [ConfigurationChecker] You may set 'index.recovery.mode=FULL' if you need to rebuild the indexes.
16:30:32,546 ERROR [ConfigurationChecker] CONTENT INTEGRITY ERROR: System content not found in content store.
16:30:32,546 ERROR [ConfigurationChecker] Ensure that the 'dir.root' property is pointing to the correct data location.
16:30:32,547 ERROR [ContextLoader] Context initialization failed
org.alfresco.error.AlfrescoRuntimeException: Ensure that the 'dir.root' property is pointing to the correct data location.


As per the INFO message, I set index.recovery.mode=FULL in repository.properties, and this error happened:



16:15:45,003 WARN  [JpdlXmlReader] process xml warning: swimlane 'initiator' does not have an assignment
16:15:45,397 INFO  [IndexRecoveryBootstrapBean] Checking/Recovering indexes …
16:15:45,399 INFO  [FullIndexRecoveryComponent] Index recovery started: 25 transactions.
16:15:45,532 INFO  [FullIndexRecoveryComponent]         10 % complete.
16:15:51,833 INFO  [FullIndexRecoveryComponent]         20 % complete.
16:15:51,860 INFO  [FullIndexRecoveryComponent]         30 % complete.
16:15:51,863 INFO  [FullIndexRecoveryComponent]         40 % complete.
16:15:51,889 INFO  [FullIndexRecoveryComponent]         50 % complete.
16:15:51,915 INFO  [FullIndexRecoveryComponent]         60 % complete.
16:15:51,942 INFO  [FullIndexRecoveryComponent]         70 % complete.
16:15:51,965 INFO  [FullIndexRecoveryComponent]         80 % complete.
16:15:51,983 INFO  [FullIndexRecoveryComponent]         90 % complete.
16:15:52,099 INFO  [FullIndexRecoveryComponent]         100 % complete.
16:15:52,100 INFO  [FullIndexRecoveryComponent] Index recovery completed.
16:15:52,101 INFO  [IndexRecoveryBootstrapBean] Checking/Recovering indexes …
16:15:52,105 WARN  [ConfigurationChecker] The Alfresco 'dir.root' property is set to a relative path './alf_data'.  'dir.root' should be overridden to point to a specific folder.
16:15:52,105 INFO  [ConfigurationChecker] The Alfresco root data directory ('dir.root') is: ./alf_data
16:15:52,130 ERROR [IndexInfo] Failed to merge deletions
java.io.FileNotFoundException: /usr/local/jboss-4.0.5.GA/bin/alf_data/lucene-indexes/system/system/5ace861e-3ae8-11dc-9c38-abcd1c5f2d2c/_0_1.del (Permission denied)
        at java.io.RandomAccessFile.open(Native Method)
        at java.io.RandomAccessFile.<init>(RandomAccessFile.java:212)
        at org.apache.lucene.store.FSIndexOutput.<init>(FSDirectory.java:581)
        at org.apache.lucene.store.FSDirectory.createOutput(FSDirectory.java:429)
        at org.apache.lucene.util.BitVector.write(BitVector.java:122)
        at org.apache.lucene.index.SegmentReader.doCommit(SegmentReader.java:217)
        at org.apache.lucene.index.IndexReader.commit(IndexReader.java:661)
        at org.apache.lucene.index.IndexReader.close(IndexReader.java:721)
        at org.alfresco.repo.search.impl.lucene.index.IndexInfo$Merger.mergeDeletions(IndexInfo.java:2661)
        at org.alfresco.repo.search.impl.lucene.index.IndexInfo$Merger.run(IndexInfo.java:2438)
        at java.lang.Thread.run(Thread.java:619)
16:15:52,142 ERROR [ConfigurationChecker] CONTENT INTEGRITY ERROR: System content not found in content store.
16:15:52,142 ERROR [ConfigurationChecker] Ensure that the 'dir.root' property is pointing to the correct data location.
16:15:52,177 ERROR [ContextLoader] Context initialization failed
org.alfresco.error.AlfrescoRuntimeException: Ensure that the 'dir.root' property is pointing to the correct data location.


Could it be that I have a problem with setting up the MySQL DBs?  I ran the instructions in db_setup.sql.  Is there anything else that I have to do to setup the alfresco database?

Thanks,
Nick P

Outcomes