<?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 In 4.2b solr/libs/*.jar aren't loaded anymore in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/in-4-2b-solr-libs-jar-aren-t-loaded-anymore/m-p/251817#M204947</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I've used Alfresco 4.0x for a while and upgraded to 4.2a. No problem so far. After 4.2b came out, I upgraded to that version.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;After this upgrade, solr doesn't load it's libraries in "$SOLR_HOME/libs/*.jar" anymore, at least, that's what I make up from the logfiles. See excerpts below:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Alfresco 4.2a:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;INFO: Starting service Catalina&lt;BR /&gt;Nov 21, 2012 1:41:12 PM org.apache.catalina.core.StandardEngine startInternal&lt;BR /&gt;INFO: Starting Servlet Engine: Apache Tomcat/7.0.30&lt;BR /&gt;Nov 21, 2012 1:41:12 PM org.apache.catalina.startup.HostConfig deployDescriptor&lt;BR /&gt;INFO: Deploying configuration descriptor /opt/alfresco42/tomcat/conf/Catalina/localhost/solr.xml&lt;BR /&gt;Nov 21, 2012 1:41:12 PM org.apache.catalina.startup.SetContextPropertiesRule begin&lt;BR /&gt;WARNING: [SetContextPropertiesRule]{Context} Setting property 'debug' to '0' did not find a matching property.&lt;BR /&gt;Nov 21, 2012 1:41:14 PM org.apache.solr.core.SolrResourceLoader locateSolrHome&lt;BR /&gt;INFO: Using JNDI solr.home: /opt/repo/solr&lt;BR /&gt;Nov 21, 2012 1:41:14 PM org.apache.solr.core.SolrResourceLoader &amp;lt;init&amp;gt;&lt;BR /&gt;INFO: Solr home set to '/opt/repo/solr/'&lt;BR /&gt;Nov 21, 2012 1:41:14 PM org.apache.solr.core.SolrResourceLoader replaceClassLoader&lt;BR /&gt;INFO: Adding 'file:/opt/repo/solr/lib/alfresco-data-model-4.2.a.jar' to classloader&lt;BR /&gt;Nov 21, 2012 1:41:14 PM org.apache.solr.core.SolrResourceLoader replaceClassLoader&lt;BR /&gt;INFO: Adding 'file:/opt/repo/solr/lib/antlr-3.4-complete.jar' to classloader&lt;BR /&gt;Nov 21, 2012 1:41:14 PM org.apache.solr.core.SolrResourceLoader replaceClassLoader&lt;BR /&gt;INFO: Adding 'file:/opt/repo/solr/lib/hibernate-3.2.6-patched.jar' to classloader&lt;BR /&gt;Nov 21, 2012 1:41:14 PM org.apache.solr.core.SolrResourceLoader replaceClassLoader&lt;BR /&gt;INFO: Adding 'file:/opt/repo/solr/lib/servlet.jar' to classloader&lt;BR /&gt;&lt;BR /&gt;etc…&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;/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;Alfresco 4.2b:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;INFO: Starting service Catalina&lt;BR /&gt;Nov 21, 2012 1:59:48 PM org.apache.catalina.core.StandardEngine startInternal&lt;BR /&gt;INFO: Starting Servlet Engine: Apache Tomcat/7.0.30&lt;BR /&gt;Nov 21, 2012 1:59:48 PM org.apache.catalina.startup.HostConfig deployDescriptor&lt;BR /&gt;INFO: Deploying configuration descriptor /opt/alfresco42/tomcat/conf/Catalina/localhost/solr.xml&lt;BR /&gt;Nov 21, 2012 1:59:48 PM org.apache.catalina.startup.SetContextPropertiesRule begin&lt;BR /&gt;WARNING: [SetContextPropertiesRule]{Context} Setting property 'debug' to '0' did not find a matching property.&lt;BR /&gt;&lt;BR /&gt;&amp;lt;EDIT: I expect to see "org.apache.solr.core.SolrResourceLoader locateSolrHome" here, but it skips righto the end&amp;gt;&lt;BR /&gt;&lt;BR /&gt;Nov 21, 2012 2:00:01 PM org.apache.catalina.util.SessionIdGenerator createSecureRandom&lt;BR /&gt;INFO: Creation of SecureRandom instance for session ID generation using [SHA1PRNG] took [10,480] milliseconds.&lt;BR /&gt;2012-11-21 14:00:05,955&amp;nbsp; WARN&amp;nbsp; [handler.component.SpellCheckComponent] [localhost-startStop-1] No queryConverter defined, using default converter&lt;BR /&gt; 2012-11-21 14:00:07,226&amp;nbsp; WARN&amp;nbsp; [handler.component.SpellCheckComponent] [localhost-startStop-1] No queryConverter defined, using default converter&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;/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;It seems that after checking 'tomcat/conf/Catalina/localhost/solr.xml', it skips loading "solr/lib/*jar" and skips right tot the end of the Solr-loading process.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As search and indexing seem to work okay, I'm wondering if this is to be expected?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If not: what are the implications and how can I fix this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Edit: When I use solr from 4.2a, it seems to do load the JARs. What's happenning?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Edit2: As you can see, I moved the solr-folder to another location than "$ALF_HOME/alf_data", but this works fine with 4.0x and 4.2a.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 Nov 2012 13:20:03 GMT</pubDate>
    <dc:creator>ebogaard</dc:creator>
    <dc:date>2012-11-21T13:20:03Z</dc:date>
    <item>
      <title>In 4.2b solr/libs/*.jar aren't loaded anymore</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/in-4-2b-solr-libs-jar-aren-t-loaded-anymore/m-p/251817#M204947</link>
      <description>I've used Alfresco 4.0x for a while and upgraded to 4.2a. No problem so far. After 4.2b came out, I upgraded to that version.After this upgrade, solr doesn't load it's libraries in "$SOLR_HOME/libs/*.jar" anymore, at least, that's what I make up from the logfiles. See excerpts below:Alfresco 4.2a:IN</description>
      <pubDate>Wed, 21 Nov 2012 13:20:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/in-4-2b-solr-libs-jar-aren-t-loaded-anymore/m-p/251817#M204947</guid>
      <dc:creator>ebogaard</dc:creator>
      <dc:date>2012-11-21T13:20:03Z</dc:date>
    </item>
    <item>
      <title>Re: In 4.2b solr/libs/*.jar aren't loaded anymore</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/in-4-2b-solr-libs-jar-aren-t-loaded-anymore/m-p/251818#M204948</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Seems to be in 4.2c as well.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;When I replace the solr-folder with the onr from 4.2a, all extra WARs are loaded&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is this something to be expected? Has the logging of this process changed, for example?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Dec 2012 14:35:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/in-4-2b-solr-libs-jar-aren-t-loaded-anymore/m-p/251818#M204948</guid>
      <dc:creator>ebogaard</dc:creator>
      <dc:date>2012-12-13T14:35:42Z</dc:date>
    </item>
  </channel>
</rss>

