<?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 JCR vs. JCR-RMI in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/jcr-vs-jcr-rmi/m-p/75416#M49591</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I've read the wiki and forums, but it's still a little unclear to me when RMI is required to access the repository…&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;We are planning on using Liferay portal in combination with Alfresco CMS. If they are both running on the same Tomcat / JBoss server, do the liferay portlets have to connect to the repository through JCR-RMI or can they communicate directly with the JCR?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If anyone out there is using the Liferay/Alfresco combination I'd be interested in hearing how you went about it…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 Mar 2007 08:09:42 GMT</pubDate>
    <dc:creator>carnby</dc:creator>
    <dc:date>2007-03-07T08:09:42Z</dc:date>
    <item>
      <title>JCR vs. JCR-RMI</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/jcr-vs-jcr-rmi/m-p/75416#M49591</link>
      <description>I've read the wiki and forums, but it's still a little unclear to me when RMI is required to access the repository…We are planning on using Liferay portal in combination with Alfresco CMS. If they are both running on the same Tomcat / JBoss server, do the liferay portlets have to connect to the repo</description>
      <pubDate>Wed, 07 Mar 2007 08:09:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/jcr-vs-jcr-rmi/m-p/75416#M49591</guid>
      <dc:creator>carnby</dc:creator>
      <dc:date>2007-03-07T08:09:42Z</dc:date>
    </item>
    <item>
      <title>Re: JCR vs. JCR-RMI</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/jcr-vs-jcr-rmi/m-p/75417#M49592</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;*crickets chirping*&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyways, I've been trying to run FirstFoundationClient and FirstJCRClient with little success… The error I get is:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;Exception in thread "main" org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'serverConnector' defined in class path resource [alfresco/core-services-context.xml]: Initialization of bean failed; nested exception is java.io.IOException: Cannot bind to URL [rmi://localhost:50500/alfresco/jmxrmi]: javax.naming.NameAlreadyBoundException: alfresco/jmxrmi [Root exception is java.rmi.AlreadyBoundException: alfresco/jmxrmi]&lt;BR /&gt;java.io.IOException: Cannot bind to URL [rmi://localhost:50500/alfresco/jmxrmi]: javax.naming.NameAlreadyBoundException: alfresco/jmxrmi [Root exception is java.rmi.AlreadyBoundException: alfresco/jmxrmi]&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at javax.management.remote.rmi.RMIConnectorServer.newIOException(RMIConnectorServer.java:814)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at javax.management.remote.rmi.RMIConnectorServer.start(RMIConnectorServer.java:431)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.springframework.jmx.support.ConnectorServerFactoryBean.afterPropertiesSet(ConnectorServerFactoryBean.java:183)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1059)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:363)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:226)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:147)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at &lt;BR /&gt;…&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;/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;Is it because it's using the wrong port? Any help would be much appreciated! I'm running Alfresco on JBoss, running the client through Eclipse…&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Mar 2007 13:52:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/jcr-vs-jcr-rmi/m-p/75417#M49592</guid>
      <dc:creator>carnby</dc:creator>
      <dc:date>2007-03-12T13:52:19Z</dc:date>
    </item>
    <item>
      <title>Re: JCR vs. JCR-RMI</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/jcr-vs-jcr-rmi/m-p/75418#M49593</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm stuck at the very same spot.&amp;nbsp; :? The one thing I'm doing different is not using Liferay. So, it's seems not to be a portal/database config issue, if that's any help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've tried with alfresco (tomcat) running and when it is shutdown. No difference really. So, it's prolly not tomcat config either. Did I forget to tweak Spring. Don't recall any instructions for that!!!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Where do I go from here :?:&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2007 06:05:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/jcr-vs-jcr-rmi/m-p/75418#M49593</guid>
      <dc:creator>ariyer</dc:creator>
      <dc:date>2007-03-14T06:05:36Z</dc:date>
    </item>
    <item>
      <title>Re: JCR vs. JCR-RMI</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/jcr-vs-jcr-rmi/m-p/75419#M49594</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I've read the wiki and forums, but it's still a little unclear to me when RMI is required to access the repository…&lt;BR /&gt;We are planning on using Liferay portal in combination with Alfresco CMS. If they are both running on the same Tomcat / JBoss server, do the liferay portlets have to connect to the repository through JCR-RMI or can they communicate directly with the JCR?&lt;BR /&gt;&lt;BR /&gt;If anyone out there is using the Liferay/Alfresco combination I'd be interested in hearing how you went about it…&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sorry I have not responded to this – because I am very busy at the moment working on a Liferay/Alfresco deployment&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can do either.&amp;nbsp; JCR-RMI would be used if you donâ€™t have access to an in-process repository.&amp;nbsp; By In-Process I mean that itâ€™s in the same JVM (not the necessarily the same web app or class loader.)&amp;nbsp; Each of our nodes has a local repository under it which allows us to access the content via JCR (with a hint of Alfresco Foundation calls for fast searches) with local calls.&amp;nbsp; We export the JCR implementation in to JNDI and then pick it up with applications deployed in to the portal.&amp;nbsp; These local repositories are fed by a central Alfresco instance that has a much wider scope (enterprise content management vs content delivery.)&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Are you trying to link your own applications to the Alfresco JCR or Liferayâ€™s?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Very to have missed this threadâ€¦ Iâ€™ve been a little to busy to be active in the forums lately which is really dragâ€™n me down.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Mar 2007 06:16:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/jcr-vs-jcr-rmi/m-p/75419#M49594</guid>
      <dc:creator>rdanner</dc:creator>
      <dc:date>2007-03-15T06:16:13Z</dc:date>
    </item>
    <item>
      <title>Re: JCR vs. JCR-RMI</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/jcr-vs-jcr-rmi/m-p/75420#M49595</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I'm stuck at the very same spot.&amp;nbsp; :? The one thing I'm doing different is not using Liferay. So, it's seems not to be a portal/database config issue, if that's any help.&lt;BR /&gt;&lt;BR /&gt;I've tried with alfresco (tomcat) running and when it is shutdown. No difference really. So, it's prolly not tomcat config either. Did I forget to tweak Spring. Don't recall any instructions for that!!!&lt;BR /&gt;&lt;BR /&gt;Where do I go from here :?:&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Let me start off my saying i don't experience with the sample you guys are working with or time to check it out so I am going to ask some questions an maybe shoot from the hip.&amp;nbsp; If it helps… great.&amp;nbsp; If not, sorry about that.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Are you running Alfresco AND the sample? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; If I had to take a guess, The sample probably loads the repository embedded in the sample application.&amp;nbsp; That would lead to two applications trying to attach to the same port and you would have a problem.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Mar 2007 06:21:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/jcr-vs-jcr-rmi/m-p/75420#M49595</guid>
      <dc:creator>rdanner</dc:creator>
      <dc:date>2007-03-15T06:21:31Z</dc:date>
    </item>
    <item>
      <title>Re: JCR vs. JCR-RMI</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/jcr-vs-jcr-rmi/m-p/75421#M49596</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I'm stuck at the very same spot.&amp;nbsp; :? The one thing I'm doing different is not using Liferay. So, it's seems not to be a portal/database config issue, if that's any help.&lt;BR /&gt;&lt;BR /&gt;I've tried with alfresco (tomcat) running and when it is shutdown. No difference really. So, it's prolly not tomcat config either. Did I forget to tweak Spring. Don't recall any instructions for that!!!&lt;BR /&gt;&lt;BR /&gt;Where do I go from here :?:&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Let me start off my saying i don't experience with the sample you guys are working with or time to check it out so I am going to ask some questions an maybe shoot from the hip.&amp;nbsp; If it helps… great.&amp;nbsp; If not, sorry about that.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Are you running Alfresco AND the sample? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; If I had to take a guess, The sample probably loads the repository embedded in the sample application.&amp;nbsp; That would lead to two applications trying to attach to the same port and you would have a problem.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Mar 2007 06:22:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/jcr-vs-jcr-rmi/m-p/75421#M49596</guid>
      <dc:creator>rdanner</dc:creator>
      <dc:date>2007-03-15T06:22:20Z</dc:date>
    </item>
    <item>
      <title>Re: JCR vs. JCR-RMI</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/jcr-vs-jcr-rmi/m-p/75422#M49597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I've tried with alfresco (tomcat) running and when it is shutdown. No difference really. So, it's prolly not tomcat config either. Did I forget to tweak Spring. Don't recall any instructions for that!!!&lt;/BLOCKQUOTE&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Are you running Alfresco AND the sample? &lt;BR /&gt;&lt;BR /&gt; If I had to take a guess, The sample probably loads the repository embedded in the sample application.&amp;nbsp; That would lead to two applications trying to attach to the same port and you would have a problem.&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt;Thanks, I thought so too. But this is something else.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; I removed the entries for "serverConnector" in the core-services-context.xml and started tomcat. The server startup didn't show the exception. (Yes, this exception occured on server startup too!)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Now, I shutdown tomcat (Alfresco) and ran the example. &lt;/SPAN&gt;&lt;STRONG&gt;No change&lt;/STRONG&gt;&lt;SPAN&gt;, the exception still occurs.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; Meaning, the example is loading the bean using springframework with another reference.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; Now, where's that and what does it need to get running? :roll:&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Mar 2007 06:37:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/jcr-vs-jcr-rmi/m-p/75422#M49597</guid>
      <dc:creator>ariyer</dc:creator>
      <dc:date>2007-03-15T06:37:48Z</dc:date>
    </item>
    <item>
      <title>Re: JCR vs. JCR-RMI</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/jcr-vs-jcr-rmi/m-p/75423#M49598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Sorry I have not responded to this – because I am very busy at the moment working on a Liferay/Alfresco deployment&lt;BR /&gt;&lt;BR /&gt;You can do either.&amp;nbsp; JCR-RMI would be used if you donâ€™t have access to an in-process repository.&amp;nbsp; By In-Process I mean that itâ€™s in the same JVM (not the necessarily the same web app or class loader.)&amp;nbsp; Each of our nodes has a local repository under it which allows us to access the content via JCR (with a hint of Alfresco Foundation calls for fast searches) with local calls.&amp;nbsp; We export the JCR implementation in to JNDI and then pick it up with applications deployed in to the portal.&amp;nbsp; These local repositories are fed by a central Alfresco instance that has a much wider scope (enterprise content management vs content delivery.)&amp;nbsp; &lt;BR /&gt;&lt;BR /&gt;Are you trying to link your own applications to the Alfresco JCR or Liferayâ€™s?&lt;BR /&gt;&lt;BR /&gt;Very to have missed this threadâ€¦ Iâ€™ve been a little to busy to be active in the forums lately which is really dragâ€™n me down.&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt;Thanks for the reply!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;What I'm trying to do is simply accessing the data stored in Alfresco's JCR from portlets in Liferay… Liferay and Alfresco will be running on the same server. I'm not at all familiar with JNDI so I'm gonna read up on that.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I just want to make sure I'm going about this the right way. I get the impression that the Alfresco/Liferay combination is widely used, but I can't seem to find much code/help/documentation on tying the two together…&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Right now I'm trying to write a portlet that just accesses the repository and gets the first node, but the compiler has a problem with the NodeService class;&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [javac]&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 25. import org.alfresco.service.cmr.repository.NodeService;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [javac]&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;&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; ^———^&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [javac] *** Semantic Error: The class file "NodeService.class" in … has an invalid format (bad string annotation constant).&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;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Mar 2007 10:11:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/jcr-vs-jcr-rmi/m-p/75423#M49598</guid>
      <dc:creator>carnby</dc:creator>
      <dc:date>2007-03-16T10:11:54Z</dc:date>
    </item>
    <item>
      <title>Re: JCR vs. JCR-RMI</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/jcr-vs-jcr-rmi/m-p/75424#M49599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Sorry I have not responded to this – because I am very busy at the moment working on a Liferay/Alfresco deployment&lt;BR /&gt;&lt;BR /&gt;You can do either.&amp;nbsp; JCR-RMI would be used if you donâ€™t have access to an in-process repository.&amp;nbsp; By In-Process I mean that itâ€™s in the same JVM (not the necessarily the same web app or class loader.)&amp;nbsp; Each of our nodes has a local repository under it which allows us to access the content via JCR (with a hint of Alfresco Foundation calls for fast searches) with local calls.&amp;nbsp; We export the JCR implementation in to JNDI and then pick it up with applications deployed in to the portal.&amp;nbsp; These local repositories are fed by a central Alfresco instance that has a much wider scope (enterprise content management vs content delivery.)&amp;nbsp; &lt;BR /&gt;&lt;BR /&gt;Are you trying to link your own applications to the Alfresco JCR or Liferayâ€™s?&lt;BR /&gt;&lt;BR /&gt;Very to have missed this threadâ€¦ Iâ€™ve been a little to busy to be active in the forums lately which is really dragâ€™n me down.&lt;/BLOCKQUOTE&gt;Thanks for the reply!&lt;BR /&gt;What I'm trying to do is simply accessing the data stored in Alfresco's JCR from portlets in Liferay… Liferay and Alfresco will be running on the same server. I'm not at all familiar with JNDI so I'm gonna read up on that.&lt;BR /&gt;I just want to make sure I'm going about this the right way. I get the impression that the Alfresco/Liferay combination is widely used, but I can't seem to find much code/help/documentation on tying the two together…&lt;BR /&gt;Right now I'm trying to write a portlet that just accesses the repository and gets the first node, but the compiler has a problem with the NodeService class;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [javac]&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 25. import org.alfresco.service.cmr.repository.NodeService;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [javac]&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;&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; ^———^&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [javac] *** Semantic Error: The class file "NodeService.class" in … has an invalid format (bad string annotation constant).&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;/CODE&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That error is related to the version of your java compiler. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Alfresco and Liferay are beginning to become widely used together.&amp;nbsp; It's a combination many people are finding useful.&amp;nbsp;&amp;nbsp; Alfresco comes as a Liferay Portlet.&amp;nbsp; This lets you handle Content Workflow inside a portal (not delivery)&amp;nbsp; There are also a few portlets in Liferay now available (Luis Sala and Mike Young) that allow you to access content from Liferay via web services (not JCR.)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Have a look at this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://issues.alfresco.com/browse/AR-1131" rel="nofollow noopener noreferrer"&gt;http://issues.alfresco.com/browse/AR-1131&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It is by no means an ideal solution but it works with alfresco's current packaging.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 17 Mar 2007 00:38:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/jcr-vs-jcr-rmi/m-p/75424#M49599</guid>
      <dc:creator>rdanner</dc:creator>
      <dc:date>2007-03-17T00:38:48Z</dc:date>
    </item>
    <item>
      <title>Re: JCR vs. JCR-RMI</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/jcr-vs-jcr-rmi/m-p/75425#M49600</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;BR /&gt;&lt;SPAN&gt;Good to know that you can use either JCR or JCR-RMI. Now can anyone tell me how not to use RMI and not to try to connect to that port?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My JCR application worked fine with alfresco 2.0, now under 2.1 , it is trying to bind to 50500 and giving an error. I don't want it to bind to that port and I want it to work just like it did in 2.0.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any help is appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;You can do either.&amp;nbsp; JCR-RMI would be used if you donÃ¯Â¿Â½t have access to an in-process repository.&amp;nbsp; By In-Process I mean that itÃ¯Â¿Â½s in the same JVM (not the necessarily the same web app or class loader.)&amp;nbsp; Each of our nodes has a local repository under it which allows us to access the content via JCR (with a hint of Alfresco Foundation calls for fast searches) with local calls.&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Sep 2007 21:58:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/jcr-vs-jcr-rmi/m-p/75425#M49600</guid>
      <dc:creator>devg</dc:creator>
      <dc:date>2007-09-27T21:58:19Z</dc:date>
    </item>
    <item>
      <title>Re: JCR vs. JCR-RMI</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/jcr-vs-jcr-rmi/m-p/75426#M49601</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;Good to know that you can use either JCR or JCR-RMI. Now can anyone tell me how not to use RMI and not to try to connect to that port?&lt;BR /&gt;&lt;BR /&gt;My JCR application worked fine with alfresco 2.0, now under 2.1 , it is trying to bind to 50500 and giving an error. I don't want it to bind to that port and I want it to work just like it did in 2.0.&lt;BR /&gt;&lt;BR /&gt;Any help is appreciated.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;when you say it is trying to bind you mean that alfresco is trying to bind and failing correct?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Alfresco starts it's own RMI registry which it uses to provide the AVMRemote plumbing.&amp;nbsp; You should be able to use that registry as well or you can as always create your own registry on the port of your choice.&amp;nbsp; Were you starting your own registry before?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Sep 2007 23:50:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/jcr-vs-jcr-rmi/m-p/75426#M49601</guid>
      <dc:creator>rdanner</dc:creator>
      <dc:date>2007-09-27T23:50:06Z</dc:date>
    </item>
    <item>
      <title>Re: JCR vs. JCR-RMI</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/jcr-vs-jcr-rmi/m-p/75427#M49602</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have the same problem. If i kill tomcat server the port 50500 is freed.Then i can start tomcat and deploy my alfresco JCR application and it works.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If i undeploy and deploy it fails.(bind exception) .I have to kill tomcat always to close the port.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Sep 2007 07:15:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/jcr-vs-jcr-rmi/m-p/75427#M49602</guid>
      <dc:creator>baradhell</dc:creator>
      <dc:date>2007-09-28T07:15:26Z</dc:date>
    </item>
    <item>
      <title>Re: JCR vs. JCR-RMI</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/jcr-vs-jcr-rmi/m-p/75428#M49603</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;when you say it is trying to bind you mean that alfresco is trying to bind and failing correct?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Alfresco starts it's own RMI registry which it uses to provide the AVMRemote plumbing.&amp;nbsp; You should be able to use that registry as well or you can as always create your own registry on the port of your choice.&amp;nbsp; Were you starting your own registry before?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So could you describe how one can use Alfresco RMI registry?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using EMC Documentum but I would like to learn something about Alfresco as well….and I am asking because I have noticed that I can't run JCR or "Foundation" API examples while I have Tomcat with Alfresco running, in such cases I get:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cannot bind to URL [rmi://localhost:50500/alfresco/jmxrmi]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I suppose that I could run Webservices example but Webservices CML language is very awkard and also using Webservices for connecting to a local repository is not very wise from logical and performance point of view (or is it? &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;At the same time it is not logical for me that I am unable to connect to the local repository using Foundation or JCR API, is it true that it is not possible without using JCR RMI (which as I have read somewhere is not usable at the moment?) &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sorry if these questions were already asked, I really &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt; tried to find answers but with no luck…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jan 2008 15:47:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/jcr-vs-jcr-rmi/m-p/75428#M49603</guid>
      <dc:creator>kbryd</dc:creator>
      <dc:date>2008-01-25T15:47:01Z</dc:date>
    </item>
    <item>
      <title>Re: JCR vs. JCR-RMI</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/jcr-vs-jcr-rmi/m-p/75429#M49604</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;OK, I think I will answer myself &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So, I have changed the RMI port in alfresco-shared.properties (found in config.jar in Alfresco SDK) to some other value than 50500 and it works now &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What I don't understand is why changing that value in custom-alfresco-shared.properties (extension folder in samples) didn't work…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyway, I can now proceed!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Karol&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jan 2008 16:11:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/jcr-vs-jcr-rmi/m-p/75429#M49604</guid>
      <dc:creator>kbryd</dc:creator>
      <dc:date>2008-01-25T16:11:28Z</dc:date>
    </item>
    <item>
      <title>Re: JCR vs. JCR-RMI</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/jcr-vs-jcr-rmi/m-p/75430#M49605</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;So, I have changed the RMI port in alfresco-shared.properties (found in config.jar in Alfresco SDK) to some other value than 50500 and it works now &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;BR /&gt;&lt;BR /&gt;What I don't understand is why changing that value in custom-alfresco-shared.properties (extension folder in samples) didn't work…&lt;BR /&gt;&lt;BR /&gt;Anyway, I can now proceed!&lt;BR /&gt;&lt;BR /&gt;Karol&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for that pointer.&amp;nbsp; I followed your advice and was able to move forward.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I looked at the issue again and realized what the problem was.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;the custom-alfresco-shared.properties file that comes with the SDK&amp;nbsp; has the wrong keys in there.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is what is originally in the file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# MBeanServer registry&amp;nbsp; (protocol: RMI)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# avm.jmxrmi.port=50500&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# AVMRemote API&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (protocol: RMI)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# avm.remote.port=1313&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;the correct keynames (copied from config.jar in lib/server) are:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;avm.remote.port=50502&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;avm.remote.host=localhost&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;so, to fix the problem without modifying the lib/server/config.jar, just use the avm.remote.* keys in custom-alfresco-shared.properties&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2008 03:28:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/jcr-vs-jcr-rmi/m-p/75430#M49605</guid>
      <dc:creator>gerald_quimpo</dc:creator>
      <dc:date>2008-06-05T03:28:33Z</dc:date>
    </item>
  </channel>
</rss>

