cancel
Showing results for 
Search instead for 
Did you mean: 

embedded program and web client problem

shay
Champ in-the-making
Champ in-the-making
Hi,

I'm using alfresco 2.1 and i wrote an embedded java api program
which insert some content and some new spaces into the alfresco.
my program runs fine but when i try to see the changes in the web client
i cannot see them even after i commit a restart to the alfresco.
the only way i could find to fix this problem is to set the:
index.recovery.mode=FULL
in the  repository.properties file.
the problem with this fix is that it takes too long (even more then an hour).
is there other way to fix this problem?

Thanks in advance,
Shay.
1 REPLY 1

kevinr
Star Contributor
Star Contributor
I'm guessing your embedded java program is using a different start directory? i.e. you have more than one "alf_data" directory (which gets created in the start dir of the server). You should configure alfresco to use an absolute path to the alf_data folder - this is where the indexes are.

Thanks,

Kevin