cancel
Showing results for 
Search instead for 
Did you mean: 

Missing Spaces (disappearing??)

itayh
Champ in-the-making
Champ in-the-making
Hi,

I notice very strange behavior of alfresco 2.1.

I just build war from alfresco sources version 928.
I used the embedded SDK as base for migration application. This application loaded about 5000 spaces and contents to alfresco.

When I am running my alfresco (build war) and connect with web client I can not see those new spaces, But when I try to create a space with a name that I know that  exist I get
A Space or File with that name already exists
(Even that I don't see the space in web client)

Any Idea?

Thanks alot
7 REPLIES 7

simon
Champ in-the-making
Champ in-the-making
It may be a system space? Think there are some hidden spaces with special names. We created a JavaScript rule that sends e-mails an ever since we turned this on there is a 'System' space in the Company Home.

itayh
Champ in-the-making
Champ in-the-making
Hi,

I just added many regular spaces under regular spaces using the next API:
ChildAssociationRef association = nodeService.createNode(fatherNode,
                 ContentModel.ASSOC_CONTAINS,
                 QName.createQName(NamespaceService.CONTENT_MODEL_1_0_URI, spaceName),
                   ContentModel.TYPE_FOLDER,
                   contentProps);

It create those spaces but I can not see them in web client.

Thx alot

itayh
Champ in-the-making
Champ in-the-making
Hi,

This morning I still could not see my spaces /contents (that I add using the API).
I restarted the alfresco and it did not started because problems in dir.root (I don't know why). I set the index.recovery.mode=FULL and after I started the alfresco I saw all the spaces and contents(that I add using the API).

Any Idea?

itayh
Champ in-the-making
Champ in-the-making
I will try to be more specific in what I did:

1 - Alfresco 2.1 (build from revision928) running on linux (using cahce with ehcache-custom.xml).
2 - running import application (using embbedded project) that starting the alfresco on different ports and upload many data.
3 - after that import finish I could not see anything in the web client but it was existing in the repository (could not add spaces with that name)
4- restarting alfresco with full index rebuild fix that.

Hope this will help to understand my problem.

itayh
Champ in-the-making
Champ in-the-making
One more Q,

Does alfresco support the next scenario:
The alfresco is up and running and we also start the embedded project that start up another instance of the same repository. The embedded project add more contents to alfresco. Will I see it in the already running alfresco?

Thx

kevinr
Star Contributor
Star Contributor
You cannot have two running Alfresco instances pointing to the same Alfresco DB unless you have a correctly configured clustering setup. Otherwise you will create severe problems as each instance will have out-of-date caches and also you will probably have two (both incorrect) copies of the lucene indexes.

Thanks,

Kevin

itayh
Champ in-the-making
Champ in-the-making
Hi,

What I wanted to ask is if I run the SDK embedded example that add content to alfresco (while Alfresco is up and running), will it work?

Thx