<?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 Errors During the Server Statup while using JCR to JNDI in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/errors-during-the-server-statup-while-using-jcr-to-jndi/m-p/80435#M53683</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am trying use the JCR-RMI API to access the repository.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I followed the following steps.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1) Downloaded the jcr-rmi-alfreco.zip from the URL&amp;nbsp; &lt;/SPAN&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;SPAN&gt;2) Removed the jcr-1.0.jar&amp;nbsp; from&amp;nbsp; the alfresco.war.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3) Added the jcr-1.0.jar and jcr-rmi-1-impl-classes.jar&amp;nbsp; in&amp;nbsp; jboss/server/default/lib &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;4) Added the following properties mentioned in then repository.properties provided in the jcr-rmi-alfresco.jar to the repository.properties in the alfresco.war&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;# ##################### #&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# RMI JCR Configuration #&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# ##################### #&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;rmi.jcr.rmiregistry.servername=pl00031&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;rmi.jcr.rmiregistry.port=1099&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;rmi.jcr.rmiregistry.repository.moniker=javaContentRepository&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;5) Added the file jcr-rmi-context.xml&amp;nbsp; file into the alfresco\extension folder.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;6) Commented out the&amp;nbsp; &amp;lt;import resource="classpath:alfresco/application-context.xml"/&amp;gt; in the jcr-context.xml file&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;7) Added the following&amp;nbsp; in JBoss jboss-service.xml &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;mbean code="org.alfresco.jcr.repository.JBossJndiJcr" &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; name="baseJcr.alfresc:service=JBossJndiJcr"&amp;gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;attribute name="JndiName"&amp;gt;jcr/baseRepository&amp;lt;/attribute&amp;gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;attribute name="JcrRepositoryName"&amp;gt;baseAlfrescoRepository&amp;lt;/attribute&amp;gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;depends&amp;gt;jboss:service=Naming&amp;lt;/depends&amp;gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/mbean&amp;gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;7) Added the RemoteJcrFactory.class in the alfresco.war and rebuid the alfreco.war and deployed&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am getting errors while stating the Jboss server. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Definitely I missing the steps for adding &amp;lt;Resource&amp;gt; and &amp;lt;ResourceLink&amp;gt;, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;because I'm not sure about where to put the &amp;lt;Resource&amp;gt; and &amp;lt;ResourceLink&amp;gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there any other step, I am missing so that I could avoid errors during the start up of the server or is there any step mentioned above is wrong.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Environment :&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Windows XP &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Tomcat 5.5 &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Alfresco 2.0.1 &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Java 1.5.11&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Jboss Aplication Server 4.0.5 GA&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;jboss Portal server 2.4.1&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;your help is highly appreciated. Thanks in advance.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Raj&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 Jun 2007 13:49:52 GMT</pubDate>
    <dc:creator>shanmugaraja</dc:creator>
    <dc:date>2007-06-11T13:49:52Z</dc:date>
    <item>
      <title>Errors During the Server Statup while using JCR to JNDI</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/errors-during-the-server-statup-while-using-jcr-to-jndi/m-p/80435#M53683</link>
      <description>I am trying use the JCR-RMI API to access the repository.I followed the following steps.1) Downloaded the jcr-rmi-alfreco.zip from the URL&amp;nbsp; http://issues.alfresco.com/browse/AR-11312) Removed the jcr-1.0.jar&amp;nbsp; from&amp;nbsp; the alfresco.war.3) Added the jcr-1.0.jar and jcr-rmi-1-impl-classes.jar&amp;nbsp; in&amp;nbsp; jboss/s</description>
      <pubDate>Mon, 11 Jun 2007 13:49:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/errors-during-the-server-statup-while-using-jcr-to-jndi/m-p/80435#M53683</guid>
      <dc:creator>shanmugaraja</dc:creator>
      <dc:date>2007-06-11T13:49:52Z</dc:date>
    </item>
    <item>
      <title>Re: Errors During the Server Statup while using JCR to JNDI</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/errors-during-the-server-statup-while-using-jcr-to-jndi/m-p/80436#M53684</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I never got JNDI-JCR bridge working with JBoss. Test application worked somehow giving right results, but throwing exceptions. Tomcat worked fine, and I had quite a bunch of experts helping with JBoss, so I really think there might be some real blocker on this. Anyway, I didn't really want to debug it lot more, so I just dropped it. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- Jukkis&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jun 2007 08:40:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/errors-during-the-server-statup-while-using-jcr-to-jndi/m-p/80436#M53684</guid>
      <dc:creator>nikkijuk</dc:creator>
      <dc:date>2007-06-25T08:40:03Z</dc:date>
    </item>
  </channel>
</rss>

