cancel
Showing results for 
Search instead for 
Did you mean: 

Alfresco runtime exception

yuva
Champ on-the-rise
Champ on-the-rise

I have created a all-in-one project with sdk 2.2, once I run the server the it shows the following error.

log :

[INFO] Running war on http://localhost:8080/
[INFO] Creating Tomcat server configuration at D:\alfresco-workspaces\fme-alfresco-extdl-master\runner\target\tomcat
[INFO] setting SystemProperties:
[INFO] solr.solr.home=D:\alfresco-workspaces\fme-alfresco-extdl-master/alf_data_dev/solr4/config
[INFO] create webapp with contextPath:
[INFO] Deploying dependency wars
[INFO] Deploy warfile: D:\alfresco-workspaces\fme-alfresco-extdl-master\repo\target\repo-1.0-SNAPSHOT.war to contextPath: /alfresco
[INFO] Deploy warfile: D:\alfresco-workspaces\fme-alfresco-extdl-master\share\target\share-1.0-SNAPSHOT.war to contextPath: /share
[INFO] Deploy warfile: C:\Users\DELL\.m2\repository\org\alfresco\alfresco-solr4\5.1.e\alfresco-solr4-5.1.e.war to contextPath: /solr4
[INFO] Deploy warfile: C:\Users\DELL\.m2\repository\org\alfresco\api-explorer\1.0\api-explorer-1.0.war to contextPath: /api-explorer
Nov 16, 2017 4:34:35 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-bio-8080"]
Nov 16, 2017 4:34:35 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Tomcat
Nov 16, 2017 4:34:35 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.47
Nov 16, 2017 4:34:51 PM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jstl/core_rt is already defined
Nov 16, 2017 4:34:51 PM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jstl/core is already defined
Nov 16, 2017 4:34:51 PM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jsp/jstl/core is already defined
Nov 16, 2017 4:34:51 PM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jstl/fmt_rt is already defined
Nov 16, 2017 4:34:51 PM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jstl/fmt is already defined
Nov 16, 2017 4:34:51 PM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jsp/jstl/fmt is already defined
Nov 16, 2017 4:34:51 PM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jsp/jstl/functions is already defined
Nov 16, 2017 4:34:51 PM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://jakarta.apache.org/taglibs/standard/permittedTaglibs is already defined
Nov 16, 2017 4:34:51 PM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://jakarta.apache.org/taglibs/standard/scriptfree is already defined
Nov 16, 2017 4:34:51 PM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jstl/sql_rt is already defined
Nov 16, 2017 4:34:51 PM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jstl/sql is already defined
Nov 16, 2017 4:34:51 PM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jsp/jstl/sql is already defined
Nov 16, 2017 4:34:51 PM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jstl/xml_rt is already defined
Nov 16, 2017 4:34:51 PM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jstl/xml is already defined
Nov 16, 2017 4:34:51 PM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jsp/jstl/xml is already defined
Nov 16, 2017 4:34:51 PM org.apache.catalina.core.ApplicationContext log
INFO: No Spring WebApplicationInitializer types detected on classpath
Nov 16, 2017 4:34:55 PM org.apache.catalina.core.ApplicationContext log
INFO: No Spring WebApplicationInitializer types detected on classpath
2017-11-16 16:34:55,863 WARN [shared_impl.util.LocaleUtils] [localhost-startStop-1] Locale name in faces-config.xml null or empty, setting locale to default locale : en_US
Nov 16, 2017 4:35:02 PM org.apache.catalina.core.ApplicationContext log
INFO: No Spring WebApplicationInitializer types detected on classpath
2017-11-16 16:35:06,096 INFO [solr.component.AsyncBuildSuggestComponent] [coreLoadExecutor-5-thread-1] Initializing SuggestComponent
2017-11-16 16:35:06,096 INFO [solr.component.AsyncBuildSuggestComponent] [coreLoadExecutor-5-thread-2] Initializing SuggestComponent
2017-11-16 16:35:06,333 INFO [solr.component.AsyncBuildSuggestComponent] [Suggestor-alfresco-1] Loading suggester index for: shingleBasedSuggestions
Nov 16, 2017 4:35:06 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-bio-8080"]
2017-11-16 16:35:06,376 INFO [solr.component.AsyncBuildSuggestComponent] [Suggestor-alfresco-1] Loaded suggester shingleBasedSuggestions, took 42 ms
2017-11-16 16:35:20,977 ERROR [solr.tracker.AbstractTracker] [SolrTrackerScheduler_Worker-1] Model tracking failed
org.alfresco.error.AlfrescoRuntimeException: 10160000 GetModelsDiff return status is 404
at org.alfresco.solr.client.SOLRAPIClient.getModelsDiff(SOLRAPIClient.java:1157)
at org.alfresco.solr.tracker.ModelTracker.trackModelsImpl(ModelTracker.java:249)
at org.alfresco.solr.tracker.ModelTracker.trackModels(ModelTracker.java:207)
at org.alfresco.solr.tracker.ModelTracker.ensureFirstModelSync(ModelTracker.java:229)
at org.alfresco.solr.tracker.CoreWatcherJob.registerForCore(CoreWatcherJob.java:131)
at org.alfresco.solr.tracker.CoreWatcherJob.execute(CoreWatcherJob.java:74)
at org.quartz.core.JobRunShell.run(JobRunShell.java:216)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:563)

3 REPLIES 3

afaust
Legendary Innovator
Legendary Innovator

Check your alfresco.log file - the Repository component did not startup properly so its endpoints are not available for SOLR to be called. An error must have occurred when starting the Repository application.

yuva
Champ on-the-rise
Champ on-the-rise

where can i see the today's log. Inside of alfresco community i can alfresco.log.2017-10-07 like this,can't able to see the current log file.

afaust
Legendary Innovator
Legendary Innovator

"Today's log" is typically alfresco.log and/or catalina.out. Depending on what error occurred and how it is processed, it may be in either of the two log files or just in one.