<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic 'Could not connect to RMI service' on WCM 2.1.0 &amp; 3b in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/could-not-connect-to-rmi-service-on-wcm-2-1-0-3b/m-p/190442#M143572</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I've had a search of the forums, and this seems to be a common issue on Linux. When trying to deploy content from one Alfresco instance to another on Linux (Ubuntu 8.04), I get the following errors in the log:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;17:11:03,680 WARN&amp;nbsp; [remoting.rmi.RmiProxyFactoryBean] Could not connect to RMI service [rmi://172.16.249.139:50500/authentication] - retrying&lt;BR /&gt;17:11:03,730 ERROR [avm.actions.AVMDeploySnapshotAction] org.alfresco.service.cmr.avm.AVMException: Could not Initialize Remote Connection to 172.16.249.139&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;On the target machine (172.16.249.139), I get the following:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;root@ubuntu-desktop:/opt/alfresco# lsof -i :50500&lt;BR /&gt;COMMAND&amp;nbsp; PID&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; USER&amp;nbsp;&amp;nbsp; FD&amp;nbsp;&amp;nbsp; TYPE DEVICE SIZE NODE NAME&lt;BR /&gt;java&amp;nbsp;&amp;nbsp;&amp;nbsp; 9417 alfresco&amp;nbsp; 133u&amp;nbsp; IPv6&amp;nbsp; 57772&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TCP alfresco-server-receiver:50500-&amp;gt;alfresco-author:50185 (ESTABLISHED)&lt;BR /&gt;java&amp;nbsp;&amp;nbsp;&amp;nbsp; 9417 alfresco&amp;nbsp; 177u&amp;nbsp; IPv6&amp;nbsp; 30638&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TCP *:50500 (LISTEN)&lt;BR /&gt;root@ubuntu-desktop:/opt/alfresco# netstat -an | grep 50500&lt;BR /&gt;tcp6&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0 :::50500&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; :::*&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LISTEN&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;tcp6&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0 172.16.249.139:50500&amp;nbsp;&amp;nbsp;&amp;nbsp; 172.16.249.138:50185&amp;nbsp;&amp;nbsp;&amp;nbsp; ESTABLISHED&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;Anyone got any ideas? At this stage it's a dealbreaker for Alfresco on Linux - I don't want to have to try and repeat this evaluation on Windows if it's Linux-specific.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 Sep 2008 11:58:17 GMT</pubDate>
    <dc:creator>goldpelican</dc:creator>
    <dc:date>2008-09-10T11:58:17Z</dc:date>
    <item>
      <title>'Could not connect to RMI service' on WCM 2.1.0 &amp; 3b</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/could-not-connect-to-rmi-service-on-wcm-2-1-0-3b/m-p/190442#M143572</link>
      <description>I've had a search of the forums, and this seems to be a common issue on Linux. When trying to deploy content from one Alfresco instance to another on Linux (Ubuntu 8.04), I get the following errors in the log:17:11:03,680 WARN&amp;nbsp; [remoting.rmi.RmiProxyFactoryBean] Could not connect to RMI service [rmi</description>
      <pubDate>Wed, 10 Sep 2008 11:58:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/could-not-connect-to-rmi-service-on-wcm-2-1-0-3b/m-p/190442#M143572</guid>
      <dc:creator>goldpelican</dc:creator>
      <dc:date>2008-09-10T11:58:17Z</dc:date>
    </item>
    <item>
      <title>Re: 'Could not connect to RMI service' on WCM 2.1.0 &amp; 3b</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/could-not-connect-to-rmi-service-on-wcm-2-1-0-3b/m-p/190443#M143573</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It's likely that the problem connecting is due to the linux firewall.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm not that familiar with Linux but refering to the following web document.&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://wiki.linuxquestions.org/wiki/Firewall" rel="nofollow noopener noreferrer"&gt;http://wiki.linuxquestions.org/wiki/Firewall&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How about running the command &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;iptables –list&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;to see whether there is a firewall on your Linux box?&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Then there may be some Linux administrators reading this that can help.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 13 Sep 2008 12:35:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/could-not-connect-to-rmi-service-on-wcm-2-1-0-3b/m-p/190443#M143573</guid>
      <dc:creator>mrogers</dc:creator>
      <dc:date>2008-09-13T12:35:11Z</dc:date>
    </item>
    <item>
      <title>Re: 'Could not connect to RMI service' on WCM 2.1.0 &amp; 3b</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/could-not-connect-to-rmi-service-on-wcm-2-1-0-3b/m-p/190444#M143574</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;18:46:13,606 User:admin WARN&amp;nbsp; [remoting.rmi.RmiProxyFactoryBean] Could not connect to RMI service [rmi://172.16.249.144:50500/authentication] - retrying&lt;BR /&gt;18:46:13,613 User:admin ERROR [avm.actions.AVMDeployWebsiteAction] org.alfresco.service.cmr.avm.AVMException: Deployment to 172.16.249.144 failed.&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;I'm now getting the identical error on a fresh build of Alfresco Labs 3b. I've deliberately cleared the iptables to ensure that there are no firewall issues, and I can both ping and telnet between the two VMs - telnetting to port 50500 is successful.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;SURELY someone knows how to resolve this - it's a recurring problem in the forums and I can't be the only person trying to deploy between two Linux servers.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Sep 2008 08:49:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/could-not-connect-to-rmi-service-on-wcm-2-1-0-3b/m-p/190444#M143574</guid>
      <dc:creator>goldpelican</dc:creator>
      <dc:date>2008-09-17T08:49:02Z</dc:date>
    </item>
    <item>
      <title>Re: 'Could not connect to RMI service' on WCM 2.1.0 &amp; 3b</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/could-not-connect-to-rmi-service-on-wcm-2-1-0-3b/m-p/190445#M143575</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have the same problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;My configuration is: Ubuntu 8.04 on both servers, java sdk 1.5.0_15, Alfresco Enterprise WCM 2.2.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;When i try to deploy from an alfresco instance to another, i get the follow error message:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;WARN&amp;nbsp; [org.springframework.remoting.rmi.RmiProxyFactoryBean] Could not connect to RMI service [rmi://10.0.0.194:50500/authentication] - retrying&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ERROR [org.alfresco.repo.avm.actions.AVMDeployWebsiteAction] org.alfresco.service.cmr.avm.AVMException: Deployment to 10.0.0.194 failed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;in this message i see that the sender server try to connect to receiver server as 127.0.0.1 and not with its network ip address…..&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;……Caused by: org.springframework.remoting.RemoteConnectFailureException: Cannot connect to remote service [rmi://10.0.0.194:50500/authentication]; nested exception is java.rmi.ConnectException: Connection refused to host: 127.0.0.1; nested exceptio……..&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;if i try telnet on port 50500 it works!!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;please help me&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Sep 2008 13:28:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/could-not-connect-to-rmi-service-on-wcm-2-1-0-3b/m-p/190445#M143575</guid>
      <dc:creator>m_cucciniello</dc:creator>
      <dc:date>2008-09-18T13:28:09Z</dc:date>
    </item>
    <item>
      <title>Re: 'Could not connect to RMI service' on WCM 2.1.0 &amp; 3b</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/could-not-connect-to-rmi-service-on-wcm-2-1-0-3b/m-p/190446#M143576</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The 127.0.0.1 address is suspicious and led me to the following discussion on the web.&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://forums.sun.com/thread.jspa?threadID=5248497&amp;amp;messageID=10027310" rel="nofollow noopener noreferrer"&gt;http://forums.sun.com/thread.jspa?threadID=5248497&amp;amp;messageID=10027310&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Could you try adding the following java option to the command line starting Alfresco.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-Djava.rmi.server.hostname=x.x.x.x &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Where x.x.x.x is your hostname?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Sep 2008 21:13:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/could-not-connect-to-rmi-service-on-wcm-2-1-0-3b/m-p/190446#M143576</guid>
      <dc:creator>mrogers</dc:creator>
      <dc:date>2008-09-18T21:13:02Z</dc:date>
    </item>
    <item>
      <title>Re: 'Could not connect to RMI service' on WCM 2.1.0 &amp; 3b</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/could-not-connect-to-rmi-service-on-wcm-2-1-0-3b/m-p/190447#M143577</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Woohoo! Thanks mrogers!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I followed the supplied link - two things:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. My hostname in /etc/hosts on both servers was still addressed at 127.0.0.1 instead of the machine's IP - fixed that&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. I started the "authoring" alfresco server with the -D option - after that, deployment was successful&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now I just need to figure out where the content ended up… I thought that perhaps a corresponding web project would have been created on the ASR, but there wasn't - I need to poke around in the ASR for a bit now to understand the deployment process.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;cheers!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Sep 2008 21:58:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/could-not-connect-to-rmi-service-on-wcm-2-1-0-3b/m-p/190447#M143577</guid>
      <dc:creator>goldpelican</dc:creator>
      <dc:date>2008-09-18T21:58:46Z</dc:date>
    </item>
  </channel>
</rss>

