[daisy] Problem running two instances of Daisy

Jill giboneyj at yahoo.com
Sat Oct 7 19:21:02 CDT 2006


Thank you for all the information. 

FYI, I am running the repository server of both instances simultaneously. 

Also, I did go through the document you mention (Changing location (port or
machine) of the different processes
http://cocoondev.org/daisydocs-1_5/admin/14.html) and verified that I had
made those changes, but still got the port 8079 message.

The two files you mention (daisy.xconf and jetty-daisywiki.xml), I had
already changed those ports (to 61617 and 8890) so I don't think that's the
problem.

I wasn't sure when I was installing the second instance if I needed to set
up a different activemq with MySQL. I tried it both ways, but would
appreciate knowing if the two instances can share those queues or if they
should be different (e.g., activemqB). 

Also, do the "topic" names still need to be changed (e.g., to daisyB) as
mentioned in the document that is to do with OpenJMS?

Thank you again,

Jill

-----Original Message-----
From: daisy-bounces at lists.cocoondev.org
[mailto:daisy-bounces at lists.cocoondev.org] On Behalf Of Andreas Deininger
Sent: Saturday, October 07, 2006 1:36 AM
To: Daisy: open source CMS - general mailinglist
Subject: Re: [daisy] Problem running two instances of Daisy

2006/10/7, Jill <giboneyj at yahoo.com>:
>
> I have installed two instances of Daisy on one server - 1.5 and 2.0 and am
> having problems running the 2.0 instance. The repository starts with no
> error messages,

Just to make that clear: both the repository server of the 1.5 and 2.0
instance are running simultaneously, correct?

> but I get this message on the wiki startup:
>
> java.net.BindException: Address already in use
>  WARN: Not listening on monitor port: 8079
> I made changes to configuration files (trying to follow the
recommendations
> from:
> http://lists.cocoondev.org/pipermail/daisy/2005-July/001666.html

I doubt whether this document is applicable, since Daisy has moved
from OpenJMS to ActiveMQ meanwhile. Refer to the following document
instead:

* Changing location (port or machine) of the different processes
http://cocoondev.org/daisydocs-1_5/admin/14.html

In short:
Concerning the wiki startup, there are basically two files you should
have a look at:

<wikidata dir>/daisy.xconf, especially the section:

<component class="org.outerj.daisy.jms.impl.JmsClientImpl"
logger="daisy.jmsclient" role="org.outerj.daisy.jms.JmsClient">
...
     <property name="java.naming.provider.url"
value="tcp://localhost:61626"/>
...
</component>

and $DAISY_HOME/daisywiki/conf/jetty-daisywiki.xml, here the section:

 <Call name="addListener">
    <Arg>
      <New class="org.mortbay.http.SocketListener">
        <Set name="Port"><SystemProperty name="jetty.port"
default="8888"/></Set>
...
      </New>
    </Arg>
  </Call>

I assume the latter is causing problems in your case, so simply change
port 8888 to what is convenient for you.

If you would like to run two or more instances with the same port
number (preferably port 80), the following documents might be handy
for you:

* Connecting to Jetty via mod_jk:
http://cocoondev.org/daisyscratchpad/g3/251.html

* Running Apache and Daisy
http://cocoondev.org/daisydocs-1_5/admin/99.html

* Deploying on Tomcat
http://cocoondev.org/daisydocs-1_5/admin/208.html

Good luck

--
Andreas
_______________________________________________
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