2011/11/11 Joan Bales <[email protected]>:
> Hi all!
>
> If have a problem configuring a jackrabbit cluster. Im using sling
> standalone jar.
>
> I up the two standalone servers, and seems all ok; no error traces on log
> file. One node on port 8080 and other one on 8081.
>
> In my repository.xml configuration, I use DataStore and ReplicationManager
> with MySQL.
>
> Adding a simple node via:
>
> *curl -u admin:admin -F"sling:resourceType=foo/bar" -F"title=some title"
> http://localhost:8080/content4/mynode*
>
>
> I check the content in node1 (port 8080) and I see the data. All ok atm.
>
> When I check in node2 (port 8081), I don't see the data. Well, fail. I
> restart the node2 and see the info now.
>
> Only when I restart the node2 I see the info in repo.
>
> Hope anyway can help me. Thanks in advance!
>
> Joan
>
>
> My repository.xml:
> [...]
>    <Cluster id="node_1" syncDelay="5">

Might be a stupid question, but you don't happen to use the same
Cluster id on both nodes, do you?
Your node1 and node2 should have distinct values for that attribute.

> [...]
>     </Cluster>
> </Repository>


-- 
Vidar S. Ramdal <[email protected]>
Webstep AS - http://www.webstep.no
Besøksadresse: Lilleakerveien 8, 0283 Oslo
Postadresse: Postboks 272 Lilleaker, 0216 Oslo

Reply via email to