<?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 Re: Connect to Alfresco Repository remotelly (via RMI) SOLVED in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/connect-to-alfresco-repository-remotelly-via-rmi-solved/m-p/273380#M226510</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Sergey,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; thanks for showing way to do this, but unfortunetly I'm unable to call a method on that proxy. I'm getting following exception while invoking authService.authenticate(…):&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;Exception in thread "main" org.springframework.remoting.RemoteProxyFailureException: No matching RMI stub method found for: public abstract void org.alfresco.service.cmr.security.AuthenticationService.authenticate(java.lang.String,char[]) throws org.alfresco.repo.security.authentication.AuthenticationException; nested exception is java.lang.NoSuchMethodException: sun.rmi.registry.RegistryImpl_Stub.authenticate(java.lang.String, [C)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.springframework.remoting.rmi.RmiClientInterceptorUtils.invokeRemoteMethod(RmiClientInterceptorUtils.java:122)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.springframework.remoting.rmi.RmiClientInterceptor.doInvoke(RmiClientInterceptor.java:363)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.springframework.remoting.rmi.RmiClientInterceptor.invoke(RmiClientInterceptor.java:259)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at $Proxy0.authenticate(Unknown Source)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at cz.shmoula.alfresco.AlfrescoRMI.main(AlfrescoRMI.java:48)&lt;BR /&gt;Caused by: java.lang.NoSuchMethodException: sun.rmi.registry.RegistryImpl_Stub.authenticate(java.lang.String, [C)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at java.lang.Class.getMethod(Class.java:1605)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.springframework.remoting.rmi.RmiClientInterceptorUtils.invokeRemoteMethod(RmiClientInterceptorUtils.java:114)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;… 6 more&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;/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;BR /&gt;&lt;SPAN&gt;Where can be problem? I'm using Alfresco community 3.4.0.d.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Dec 2011 16:25:41 GMT</pubDate>
    <dc:creator>shmoula</dc:creator>
    <dc:date>2011-12-08T16:25:41Z</dc:date>
    <item>
      <title>Connect to Alfresco Repository remotelly (via RMI) SOLVED</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/connect-to-alfresco-repository-remotelly-via-rmi-solved/m-p/273379#M226509</link>
      <description>Hi!I got a problem with deletion large folder with a lot of subfolders and files. Using Alfresco Explorer or WebScripts did not help due to large amount of files and folders. It locked server&amp;nbsp; and finished with time out exception.After some investigation I found that Alfresco allows RMI connection t</description>
      <pubDate>Mon, 19 Sep 2011 07:30:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/connect-to-alfresco-repository-remotelly-via-rmi-solved/m-p/273379#M226509</guid>
      <dc:creator>sergey_khariton</dc:creator>
      <dc:date>2011-09-19T07:30:59Z</dc:date>
    </item>
    <item>
      <title>Re: Connect to Alfresco Repository remotelly (via RMI) SOLVED</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/connect-to-alfresco-repository-remotelly-via-rmi-solved/m-p/273380#M226510</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Sergey,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; thanks for showing way to do this, but unfortunetly I'm unable to call a method on that proxy. I'm getting following exception while invoking authService.authenticate(…):&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;Exception in thread "main" org.springframework.remoting.RemoteProxyFailureException: No matching RMI stub method found for: public abstract void org.alfresco.service.cmr.security.AuthenticationService.authenticate(java.lang.String,char[]) throws org.alfresco.repo.security.authentication.AuthenticationException; nested exception is java.lang.NoSuchMethodException: sun.rmi.registry.RegistryImpl_Stub.authenticate(java.lang.String, [C)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.springframework.remoting.rmi.RmiClientInterceptorUtils.invokeRemoteMethod(RmiClientInterceptorUtils.java:122)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.springframework.remoting.rmi.RmiClientInterceptor.doInvoke(RmiClientInterceptor.java:363)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.springframework.remoting.rmi.RmiClientInterceptor.invoke(RmiClientInterceptor.java:259)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at $Proxy0.authenticate(Unknown Source)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at cz.shmoula.alfresco.AlfrescoRMI.main(AlfrescoRMI.java:48)&lt;BR /&gt;Caused by: java.lang.NoSuchMethodException: sun.rmi.registry.RegistryImpl_Stub.authenticate(java.lang.String, [C)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at java.lang.Class.getMethod(Class.java:1605)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.springframework.remoting.rmi.RmiClientInterceptorUtils.invokeRemoteMethod(RmiClientInterceptorUtils.java:114)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;… 6 more&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;/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;BR /&gt;&lt;SPAN&gt;Where can be problem? I'm using Alfresco community 3.4.0.d.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Dec 2011 16:25:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/connect-to-alfresco-repository-remotelly-via-rmi-solved/m-p/273380#M226510</guid>
      <dc:creator>shmoula</dc:creator>
      <dc:date>2011-12-08T16:25:41Z</dc:date>
    </item>
    <item>
      <title>Re: Connect to Alfresco Repository remotelly (via RMI) SOLVED</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/connect-to-alfresco-repository-remotelly-via-rmi-solved/m-p/273381#M226511</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I guess, you have different versions of jars in Alfresco and in RMI client side.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Dec 2011 18:51:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/connect-to-alfresco-repository-remotelly-via-rmi-solved/m-p/273381#M226511</guid>
      <dc:creator>sergey_khariton</dc:creator>
      <dc:date>2011-12-08T18:51:23Z</dc:date>
    </item>
    <item>
      <title>Re: Connect to Alfresco Repository remotelly (via RMI) SOLVED</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/connect-to-alfresco-repository-remotelly-via-rmi-solved/m-p/273382#M226512</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Sergey, thanks for answer. I checked version twice, problem was somewhere else: I had to specify server hostname in a form like in alfresco virtualization server while starting tomcat:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;-Djava.rmi.server.hostname=172-31-149-197.ip.alfrescodemo.net&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;Now it works okay, so thank for your time and have a nice weekend!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;PS OMG, that's slooooooww!!! &lt;span class="lia-unicode-emoji" title=":face_with_open_mouth:"&gt;😮&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Dec 2011 12:17:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/connect-to-alfresco-repository-remotelly-via-rmi-solved/m-p/273382#M226512</guid>
      <dc:creator>shmoula</dc:creator>
      <dc:date>2011-12-09T12:17:03Z</dc:date>
    </item>
  </channel>
</rss>

