[Netarchivesuite-users] Deployment on more machines

Søren Vejrup Carlsen svc at kb.dk
Fri May 16 13:02:42 CEST 2008


Hi there.

It could be a DNS problem: you haven't fully specified your hosts (just machine01 instead of machine01.domain)
I note, that in the WARNING below, wc01 and machine01 is mentioned. Is wc01 and machine01 the same machine?

Except for these messages in the GUI, are all your applications up and running?

/Søren

> -----Original Message-----
> From: netarchivesuite-users-bounces at lists.gforge.statsbiblioteket.dk
> [mailto:netarchivesuite-users-bounces at lists.gforge.statsbiblio
> teket.dk]O
> n Behalf Of Peter Moser
> Sent: Thursday, May 15, 2008 5:25 PM
> To: netarchivesuite-users at lists.gforge.statsbiblioteket.dk
> Subject: [Netarchivesuite-users] Deployment on more machines
> 
> 
> 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
> _______________________________________________
> NetarchiveSuite-users mailing list
> NetarchiveSuite-users at lists.gforge.statsbiblioteket.dk
> https://lists.gforge.statsbiblioteket.dk/mailman/listinfo/neta
rchivesuite-users




More information about the NetarchiveSuite-users mailing list