2012-12-21 45 views
0

我有兩個單獨的服務器用於露天和共享。我可以成功從共享登錄到戶外。我也可以更改我的密碼。但是當打開Repository Browser頁面時,我得到了 這個錯誤信息。Alfresco web服務身份驗證api /字典

11210005 Failed to execute script 'classpath*:alfresco/site-webscripts/org/alfresco/components/documentlibrary/data/surf-doclist.get.js': 11210004 11210008 Failed to run action evaluator: 11210007 Failed processing dictionary information from Alfresco: 11210006 Unable to retrieve dictionary information from Alfresco: 500 

完整堆棧跟蹤

Caused by: org.alfresco.error.AlfrescoRuntimeException: 11210008 Failed to run action evaluator: 11210007 Failed processing dictionary information from Alfresco: 11210006 Unable to retrieve dictionary information from Alfresco: 500 
    at org.alfresco.web.evaluator.NodeTypeEvaluator.evaluate(NodeTypeEvaluator.java:98) 
    at org.alfresco.web.evaluator.BaseEvaluator.evaluate(BaseEvaluator.java:131) 
    at sun.reflect.GeneratedMethodAccessor97.invoke(Unknown Source) 
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 
    at java.lang.reflect.Method.invoke(Method.java:597) 
    at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:155) 
    at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:243) 
    at org.mozilla.javascript.optimizer.OptRuntime.callN(OptRuntime.java:86) 
    at org.mozilla.javascript.gen.c12._c4(file:/D:/alfrescoplatform/development/apache-tomcat-share_ref/webapps/share_ref1/WEB-INF/classes/alfresco/site-webscripts/org/alfresco/components/documentlibrary/data/surf-doclist.get.js:260) 
    at org.mozilla.javascript.gen.c12.call(file:/D:/alfrescoplatform/development/apache-tomcat-share_ref/webapps/share_ref1/WEB-INF/classes/alfresco/site-webscripts/org/alfresco/components/documentlibrary/data/surf-doclist.get.js) 
    at org.mozilla.javascript.optimizer.OptRuntime.callName(OptRuntime.java:97) 
    at org.mozilla.javascript.gen.c12._c2(file:/D:/alfrescoplatform/development/apache-tomcat-share_ref/webapps/share_ref1/WEB-INF/classes/alfresco/site-webscripts/org/alfresco/components/documentlibrary/data/surf-doclist.get.js:318) 
    at org.mozilla.javascript.gen.c12.call(file:/D:/alfrescoplatform/development/apache-tomcat-share_ref/webapps/share_ref1/WEB-INF/classes/alfresco/site-webscripts/org/alfresco/components/documentlibrary/data/surf-doclist.get.js) 
    at org.mozilla.javascript.optimizer.OptRuntime.call2(OptRuntime.java:76) 
    at org.mozilla.javascript.gen.c12._c20(file:/D:/alfrescoplatform/development/apache-tomcat-share_ref/webapps/share_ref1/WEB-INF/classes/alfresco/site-webscripts/org/alfresco/components/documentlibrary/data/surf-doclist.get.js:838) 
    at org.mozilla.javascript.gen.c12.call(file:/D:/alfrescoplatform/development/apache-tomcat-share_ref/webapps/share_ref1/WEB-INF/classes/alfresco/site-webscripts/org/alfresco/components/documentlibrary/data/surf-doclist.get.js) 
    at org.mozilla.javascript.optimizer.OptRuntime.callName0(OptRuntime.java:108) 
    at org.mozilla.javascript.gen.c12._c0(file:/D:/alfrescoplatform/development/apache-tomcat-share_ref/webapps/share_ref1/WEB-INF/classes/alfresco/site-webscripts/org/alfresco/components/documentlibrary/data/surf-doclist.get.js:854) 
    at org.mozilla.javascript.gen.c12.call(file:/D:/alfrescoplatform/development/apache-tomcat-share_ref/webapps/share_ref1/WEB-INF/classes/alfresco/site-webscripts/org/alfresco/components/documentlibrary/data/surf-doclist.get.js) 
    at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:393) 
    at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:2834) 
    at org.mozilla.javascript.gen.c12.call(file:/D:/alfrescoplatform/development/apache-tomcat-share_ref/webapps/share_ref1/WEB-INF/classes/alfresco/site-webscripts/org/alfresco/components/documentlibrary/data/surf-doclist.get.js) 
    at org.mozilla.javascript.gen.c12.exec(file:/D:/alfrescoplatform/development/apache-tomcat-share_ref/webapps/share_ref1/WEB-INF/classes/alfresco/site-webscripts/org/alfresco/components/documentlibrary/data/surf-doclist.get.js) 
    at org.springframework.extensions.webscripts.processor.JSScriptProcessor.executeScriptImpl(JSScriptProcessor.java:318) 
    ... 39 more 

所以我微量元素deep.I NodeTypeEvaluator和DictionaryQuery類中調用從露天/api/dictionary。我想試試this。添加

webserviceclient.properties 
repository.location=http://hostname:8080/alfresco/api 

分享,但沒有成功。

在呼籲http://hostname:8080/alfresco/api/顯示

Axis HTTP Servlet 
Hi, you have reached the AXIS HTTP Servlet. Normally you would be hitting this URL with a SOAP client rather than a browser. 

In case you are interested, my AXIS transport name appears to be 'http 

讓我知道如果你有任何想法。

+0

我運行Alfresco並且幾乎總是在不同的應用程序服務器上共享,您只需要爲它更改share-config-custom.xml和alfresco-global.properties。在Alfresco論壇有一個如何做。你跟着它了嗎? –

+0

你能給我一個鏈接怎麼做? – swemon

+2

https://forums.alfresco.com/en/viewtopic.php?f=47&t=34725 –

回答

1

正如評論中所接受的那樣,這個問題的答案是: 我運行Alfresco和Share幾乎總是在不同的應用程序服務器上,您只需要爲它更改share-config-custom.xml和alfresco-global.properties。在Alfresco論壇上有一個How-To。你跟着它了嗎?