[Netarchivesuite-users] Deployment on more machines

Peter Moser pemo at gmx.at
Thu May 15 17:25:00 CEST 2008


The connection is refused:

WARNUNG: Failure connecting to remote JMX MBeanserver (Host=wc01, JMXport=8103, RMIport=8203)
dk.netarkivet.common.exceptions.IOFailure: Could not connect to service:jmx:rmi://machine01:8203/jndi/rmi://machine01:8103/jmxrmi
....
Caused by: java.io.IOException: Failed to retrieve RMIServer stub: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: machine01; nested exception is:
        java.net.ConnectException: Connection refused]

but how can the RMI-Port be already taken, when I have my it_conf.xml file like that (every port is unique on every machine):

<?xml version="1.0" encoding="UTF-8"?>
<root>
    <installtype>dev</installtype>
    <jmxMonitorRolePassword>JMX_MONITOR_ROLE_PASSWORD_PLACEHOLDER</jmxMonitorRolePassword>
    <location name="test">
        <installdir>/home/onbpre/netarchive</installdir>
        <installdirwindows>c:\Documents and Settings\dev</installdirwindows>
        <admin>
            <host os="unix" name="machine01">
                <port>8080</port>
                <jmxport>8100</jmxport><!-- arcrep -->
                <jmxport>8101</jmxport><!-- bamonkb -->
                <jmxport>8102</jmxport><!-- harvestdef -->
                <jmxport>8103</jmxport><!-- monitor -->
                <remotefilePort>8300</remotefilePort><!-- arcrep -->
                <remotefilePort>8301</remotefilePort><!-- bamonsb -->
                <remotefilePort>8302</remotefilePort><!-- bamonkb -->
                <remotefilePort>8303</remotefilePort><!-- harvestdef -->
            </host>
        </admin>
        <bitarchive>
            <host os="unix" name="machine02">
                <jmxport>8100</jmxport><!-- bitarchive -->
                <jmxport>8101</jmxport><!-- helper -->
                <remotefilePort>8102</remotefilePort><!-- bitarchive -->
                <remotefilePort>8103</remotefilePort><!-- helper -->
                <filedir>/mnt/bitarchive</filedir>
            </host>
        </bitarchive>
        <harvesters>
            <host os="unix" name="machine03">
                <lowpriport>8081</lowpriport>
                <lowpriport>8082</lowpriport>
                <lowpriport>8083</lowpriport>
                <jmxport>8100</jmxport><!-- harvester 8081 -->
                <jmxport>8101</jmxport><!-- sidekick 8081-->
                <jmxport>8102</jmxport><!-- harvester 8082 -->
                <jmxport>8103</jmxport><!-- sidekick 8082-->
                <jmxport>8104</jmxport><!-- harvester 8083 -->
                <jmxport>8105</jmxport><!-- sidekick 8083-->
                <remotefilePort>8106</remotefilePort><!-- harvester 8081 -->
                <remotefilePort>8107</remotefilePort><!-- sidekick 8081-->
                <remotefilePort>8108</remotefilePort><!-- harvester 8082 -->
                <remotefilePort>8109</remotefilePort><!-- sidekick 8082-->
                <remotefilePort>8110</remotefilePort><!-- harvester 8083 -->
                <remotefilePort>8111</remotefilePort><!-- sidekick 8083-->
                <heritrixGuiPort>8090</heritrixGuiPort>
                <heritrixJmxPort>8091</heritrixJmxPort>
                <heritrixGuiPort>8092</heritrixGuiPort>
                <heritrixJmxPort>8093</heritrixJmxPort>
                <heritrixGuiPort>8094</heritrixGuiPort>
                <heritrixJmxPort>8095</heritrixJmxPort>
            </host>
        </harvesters>
        <access>
            <host name="machine04">
                <port>8081</port>
                <port>8082</port>
                <jmxport>8100</jmxport><!-- viewerproxy 8081-->
                <jmxport>8101</jmxport><!-- viewerproxy 8082-->
                <jmxport>8102</jmxport><!-- indexserver -->
                <remotefilePort>8100</remotefilePort><!-- viewerproxy 8081-->
                <remotefilePort>8101</remotefilePort><!-- viewerproxy 8082-->
                <remotefilePort>8102</remotefilePort><!-- indexserver -->
            </host>
        </access>
        <ftp>
            <host name="machine04">
                <user>test</user>
                <pw>test</pw>
            </host>
        </ftp>
        <jms>
            <host name="machine04">
                <class>dk.netarkivet.common.distribute.JMSConnectionSunMQ</class>
            </host>
        </jms>
        <mail>
            <host name="mailserverexample.kb.dk">
                <sender>dev at netarkivet.dk</sender>
                <receiver>dev at netarkivet.dk</receiver>
            </host>
        </mail>
    </location>
</root>


Maybe you could give me another hint?
Thanks
-- 
249 Spiele für nur 1 Preis. Die GMX Spieleflatrate schon ab 9,90 Euro.
Neu: Asterix bei den Olympischen Spielen: http://flat.games.gmx.de



More information about the NetarchiveSuite-users mailing list