使用Alfreco社区5.0.d并获得以下错误,这不会让我在搜索中找到您的结果。
ERROR [org.springframework.extensions.webscripts.AbstractRuntime] [http-bio-8080-exec-4] Exception from executeScript - redirecting to status template error: 00180000 Wrapped Exception (with status template): 00180012 Failed to execute script 'classpath*:alfresco/templates/webscripts/org/alfresco/slingshot/documentlibrary/doclist.get.js': 00180011 Failed to execute search: +@cm\:modified:[2017\-1\-11T00\:00\:00.000 TO 2017\-1\-18T23\:59\:59.999] +@cm\:modifier:"admin" +(TYPE:"cm:content" OR TYPE:"bcpg:entityV2") -TYPE:"cm:systemfolder" -TYPE:"fm:forums" -TYPE:"fm:forum" -TYPE:"fm:topic" -TYPE:"fm:post" -TYPE:"bcpg:entityListItem" -ASPECT:"bcpg:compositeVersion" -ASPECT:"bcpg:hiddenFolder" -ASPECT:"bcpg:entityTplAspect" +(TYPE:"content" OR TYPE:"app:filelink" OR TYPE:"folder" )
org.springframework.extensions.webscripts.WebScriptException: 00180000 Wrapped Exception (with status template): 00180012 Failed to execute script 'classpath*:alfresco/templates/webscripts/org/alfresco/slingshot/documentlibrary/doclist.get.js': 00180011 Failed to execute search: +@cm\:modified:[2017\-1\-11T00\:00\:00.000 TO 2017\-1\-18T23\:59\:59.999] +@cm\:modifier:"admin" +(TYPE:"cm:content" OR TYPE:"bcpg:entityV2") -TYPE:"cm:systemfolder" -TYPE:"fm:forums" -TYPE:"fm:forum" -TYPE:"fm:topic" -TYPE:"fm:post" -TYPE:"bcpg:entityListItem" -ASPECT:"bcpg:compositeVersion" -ASPECT:"bcpg:hiddenFolder" -ASPECT:"bcpg:entityTplAspect" +(TYPE:"content" OR TYPE:"app:filelink" OR TYPE:"folder" )
at
答案 0 :(得分:1)
您似乎正在执行模板而不是实际的网络脚本。你应该通过以下方式来打电话:
/alfresco/service/slingshot/doclib/doclist/...
您可以通过Web脚本服务索引在本地找到该引用。 (例如,http://localhost:8080/alfresco/service/index/all)
答案 1 :(得分:1)
问题已修复 问题与ssl证书不相信有关,因为solr4和alfresco repo无法连接。
链接 - http://docs.alfresco.com/5.0/tasks/ssl-protect-solrwebapp.html
此后所有搜索和标签都正常运行。配置证书并在露天工作正常。