[daisy] Multiple remote wiki's one repository

Chris chrisdi at yahoo.com
Wed May 9 15:47:04 CDT 2007


Thanks for your help.  I can get two wiki's talking to the same
repository but I'm not sure about the clientId for the jms connection:

Errors in cocoon.log with existing client name in wiki daisy.xconf
<jmsConnection><clientId>daisy-wiki</clientId>...

javax.jms.InvalidClientIDException: Broker: DaisyJMS - Client: daisy-wiki already
connected

So, if I change the clientId on the second wiki to something 
like <clientId>daisy-wiki2</clientId> I get these errors in cocool.log:

RemoteRepositoryManager: failed to lookup jms client component, will do without.
ERROR (2007-05-09) 12:32.28:375 [access] (Unknown-URI)
Unknown-Thread/RemoteRepositoryManager: RemoteRepositoryManager: JmsClient is not
available, will do without.

But at least the wiki works!  It's just that the cache invalidation may
not be working.  This is ok for my development environment.

So, is the activeMQ broker set up for multiple client(wiki's) to talk
to it?

thanks,

-chris



--- Bruno Dumon <bruno at outerthought.org> wrote:

> On Wed, 2007-04-25 at 20:10 -0700, Chris wrote:
> > Hi,
> > 
> > >From reading the documentation it looks like this is possible:
> > 
> > One Daisy-Repository on node A
> > One Daisy-Wiki on Node B  <--> Talks to Repository on Node A
> > 2nd Daisy-Wiki on Node C  <--> Talks to Repository on Node A
> > 
> > The wiki's may or may not have the same sites.  Should this
> > work?
> 
> Yes, sure.
> 
> > Also I see the wiki talks REST to the Repository.  But what does
> > the wiki do over the jms 61616 port to the repository, is this
> > for cache invalidation and is this required?
> 
> It is only for cache invalidation, and strictly speaking not required.
> However, if disabled, any changes in e.g. document types, collections,
> etc. that are not performed through that Wiki instance will only be
> noticed after restarting the Wiki. So especially if you have two Wikis,
> the cache invalidation will likely be desired.
> 
> -- 
> Bruno Dumon                             http://outerthought.org/
> Outerthought - Open Source, Java & XML Competence Support Center
> bruno at outerthought.org                          bruno at apache.org
> 
> _______________________________________________
> daisy community mailing list
> Professional Daisy support:
> http://outerthought.org/site/services/daisy/daisysupport.html
> mail to: daisy at lists.cocoondev.org
> list information: http://lists.cocoondev.org/mailman/listinfo/daisy
> 



More information about the daisy mailing list