[daisy] Problem running two instances of Daisy
Andreas Deininger
adeininger at googlemail.com
Sat Oct 7 03:35:31 CDT 2006
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
More information about the daisy
mailing list