java - Alfresco 共享登录问题

标签 java alfresco

我发现本地安装的露天共享存在一些问题。当我尝试使用

登录时

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)在尝试运行共享之前正在工作”。

感谢您的宝贵时间, 安德里亚

关于java - Alfresco 共享登录问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7737652/

相关文章:

java - 嵌入式kafka scalatest ClassNotFoundException:scala.collection.GenTraversableOnce

java - str.replace 不替换 char

java - 未找到 SAX2 驱动程序类

file-upload - 如何为 Alfresco 4.2.c 中上传的文件设置大小限制?

jquery - 如何在有效负载上而不是表单数据上发布数据

java - 从 ListView 中的 ListView 中获取文本关闭

java - 链表实现的先有鸡还是先有蛋的困境

java - 如何将扫描文档与其文本内容链接起来以使其可搜索?

tomcat - 为什么在 Alfresco 上配置 CORS 源如此复杂

java.lang.NoClassDefFoundError : org/apache/chemistry/opencmis/client/api/SessionFactory 错误