AnsweredAssumed Answered

Severe Solr install problems

Question asked by sjordi on May 4, 2012
Latest reply on May 7, 2012 by sjordi
Hi,
I'm trying to install Alfresco 4.01 Enterprise in my test VM under CentOS 6 64-bit.
Alfresco 3 went smoothly, but I can't find a way to have 4.x up and running.
The install went all by default except I'm using MySQL and passed it the MySQL jdbc and drivers instead of PostGr

When tomcat starts, it bugs on Solr and stops everything.
My iptables are opening the ports for it, so it's not the problem.

Here is an excerpt:
EVERE: Error listenerStart
May 4, 2012 3:10:33 PM org.apache.catalina.core.StandardContext start
SEVERE: Context [/alfresco] startup failed due to previous errors
May 4, 2012 3:10:33 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/alfresco] appears to have started a thread named [net.sf.ehcache.CacheManager@591ce164] but has failed to stop it. This is very likely to create a memory leak.
May 4, 2012 3:10:33 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: The web application [/alfresco] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@704f66ab]) and a value of type [org.apache.cxf.bus.CXFBusImpl] (value [org.apache.cxf.bus.CXFBusImpl@6cdd9e27]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
May 4, 2012 3:10:33 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: The web application [/alfresco] created a ThreadLocal with key of type [com.sun.xml.bind.v2.ClassFactory$1] (value [com.sun.xml.bind.v2.ClassFactory$1@6562a121]) and a value of type [java.util.WeakHashMap] (value [{class javax.xml.bind.annotation.W3CDomHandler=java.lang.ref.WeakReference@100f35bd}]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
May 4, 2012 3:10:35 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory ROOT
May 4, 2012 3:10:35 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory manager
May 4, 2012 3:10:35 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory host-manager
May 4, 2012 3:10:35 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
May 4, 2012 3:10:35 PM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
May 4, 2012 3:10:35 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/11  config=null
May 4, 2012 3:10:35 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8443
May 4, 2012 3:10:35 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 28286 ms
May 4, 2012 3:10:36 PM org.quartz.core.JobRunShell run
SEVERE: Job Solr.CoreTracker-alfresco threw an unhandled Exception:
org.alfresco.error.AlfrescoRuntimeException: 04040001 GetModelsDiff return status is 404
   at org.alfresco.solr.client.SOLRAPIClient.getModelsDiff(SOLRAPIClient.java:1017)
   at org.alfresco.solr.tracker.CoreTracker.trackModels(CoreTracker.java:1686)
   at org.alfresco.solr.tracker.CoreTracker.trackRepository(CoreTracker.java:1158)
   at org.alfresco.solr.tracker.CoreTracker.updateIndex(CoreTracker.java:512)
   at org.alfresco.solr.tracker.CoreTrackerJob.execute(CoreTrackerJob.java:45)
   at org.quartz.core.JobRunShell.run(JobRunShell.java:216)
   at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:563)

Any idea? Am I missing something simple?  :shock:

Thanks for any help.
I enclose the full catalina.out file if you're really interested in my dropbox folder:
http://dl.dropbox.com/u/11649154/catalina.out

Outcomes