编程语言
首页 > 编程语言> > Java-Alfresco共享登录问题

Java-Alfresco共享登录问题

作者:互联网

我在本地安装了alfresco share时发现了一些问题.当我尝试使用登录

http://localhost:8080/share

它向我返回此错误消息:

The remote server may be unavailable or your authentication details have not been recognized

在我的日志中,我可以看到:

12:02:28,491 http-8080-1 DEBUG [commons.httpclient.HttpClient] Java version: 1.6.0_26
12:02:28,492 http-8080-1 DEBUG [commons.httpclient.HttpClient] Java vendor: Apple Inc.
12:02:28,493 http-8080-1 DEBUG [commons.httpclient.HttpClient] Java class path: /Users/andrea.girardi/Documents/Works/Project/alfresco-3.4.e/tomcat/bin/bootstrap.jar
12:02:28,493 http-8080-1 DEBUG [commons.httpclient.HttpClient] Operating system name: Mac OS X
12:02:28,493 http-8080-1 DEBUG [commons.httpclient.HttpClient] Operating system architecture: x86_64
12:02:28,493 http-8080-1 DEBUG [commons.httpclient.HttpClient] Operating system version: 10.7.1
12:02:28,493 http-8080-1 DEBUG [commons.httpclient.HttpClient] SunPKCS11-Darwin 1.6: SunPKCS11 accessing Mac OS X SmartCardServices
12:02:28,493 http-8080-1 DEBUG [commons.httpclient.HttpClient] SUN 1.6: SUN (DSA key/parameter generation; DSA signing; SHA-1, MD5 digests; SecureRandom; X.509 certificates; JKS keystore; PKIX CertPathValidator; PKIX CertPathBuilder; LDAP, Collection CertStores, JavaPolicy Policy; JavaLoginConfig Configuration)
12:02:28,493 http-8080-1 DEBUG [commons.httpclient.HttpClient] Apple 1.0: Apple Provider (implements DES, Triple DES, AES, Blowfish, PBE, Diffie-Hellman, HMAC/MD5, HMAC/SHA1)
12:02:28,493 http-8080-1 DEBUG [commons.httpclient.HttpClient] SunRsaSign 1.5: Sun RSA signature provider
12:02:28,493 http-8080-1 DEBUG [commons.httpclient.HttpClient] SunJSSE 1.6: Sun JSSE provider(PKCS12, SunX509 key/trust factories, SSLv3, TLSv1)
12:02:28,493 http-8080-1 DEBUG [commons.httpclient.HttpClient] SunJCE 1.6: SunJCE Provider (implements RSA, DES, Triple DES, AES, Blowfish, ARCFOUR, RC2, PBE, Diffie-Hellman, HMAC)
12:02:28,493 http-8080-1 DEBUG [commons.httpclient.HttpClient] SunJGSS 1.0: Sun (Kerberos v5, SPNEGO)
12:02:28,493 http-8080-1 DEBUG [commons.httpclient.HttpClient] SunSASL 1.5: Sun SASL provider(implements client mechanisms for: DIGEST-MD5, GSSAPI, EXTERNAL, PLAIN, CRAM-MD5; server mechanisms for: DIGEST-MD5, GSSAPI, CRAM-MD5)
12:02:28,493 http-8080-1 DEBUG [commons.httpclient.HttpClient] XMLDSig 1.0: XMLDSig (DOM XMLSignatureFactory; DOM KeyInfoFactory)
12:02:28,493 http-8080-1 DEBUG [commons.httpclient.HttpClient] SunPCSC 1.6: Sun PC/SC provider
12:02:28,493 http-8080-1 DEBUG [commons.httpclient.HttpClient] BC 1.45: BouncyCastle Security Provider v1.45
12:02:28,523 http-8080-1 DEBUG [commons.httpclient.HttpConnection] Open connection to 172.24.110.5:8080
12:02:28,526 http-8080-1 DEBUG [httpclient.wire.header] >> "GET http://localhost:8080/alfresco/s/remotestore/has/alfresco/site-data/configurations/slingshot.site.configuration.xml?s=sitestore HTTP/1.1[\r][\n]"
12:02:28,526 http-8080-1 DEBUG [commons.httpclient.HttpMethodBase] Adding Host request header
12:02:28,534 http-8080-1 DEBUG [httpclient.wire.header] >> "User-Agent: Jakarta Commons-HttpClient/3.1[\r][\n]"
12:02:28,535 http-8080-1 DEBUG [httpclient.wire.header] >> "Host: localhost:8080[\r][\n]"
12:02:28,535 http-8080-1 DEBUG [httpclient.wire.header] >> "Proxy-Connection: Keep-Alive[\r][\n]"
12:02:28,535 http-8080-1 DEBUG [httpclient.wire.header] >> "[\r][\n]"
12:02:28,537 http-8080-1 DEBUG [httpclient.wire.header] << "HTTP/1.1 502 Proxy Error ( The ISA Server denied the specified Uniform Resource Locator (URL).  )[\r][\n]"
12:02:28,537 http-8080-1 DEBUG [httpclient.wire.header] << "HTTP/1.1 502 Proxy Error ( The ISA Server denied the specified Uniform Resource Locator (URL).  )[\r][\n]"

我在论坛上发现了一些解决此问题的线索,将tomcat端口从默认的8080更改为另一个端口,但是移至8081,我可以看到相同的问题.

我该如何解决?我在本地Mac上使用3.4.e,在远程Windows 2003服务器上使用3.4.d.

这似乎是代理错误,

"HTTP/1.1 502 Proxy Error ( The ISA Server denied the specified Uniform Resource Locator (URL).

另一个问题,在Windows服务器上,我可以看到该错误日志消息:

WARN : org.alfresco.wcm.client.util.impl.GuestSessionFactoryImpl - WQS unable to connect to repository: Cannot access http://127.0.0.1:10080/alfresco/service/cmis: Connection refused: connect

有什么建议吗?

谢谢你的时间!

安德里亚

解决方法:

我终于找到了问题.如Alfresco论坛上所述,“如果Explorer应用程序未正确运行或在8080以外的端口上运行,并且您没有告诉Share在哪里找到它,则Share无法让您登录.您必须获得Explorer(/ alfresco),然后尝试运行“共享”.

谢谢你的时间,
安德里亚

标签:alfresco,java
来源: https://codeday.me/bug/20191012/1900955.html