11 月 08
joechenAlfresco, 未分類 AAAR, alfresco
2016/11/08 14:23:45 - HTTP - Start of HTTP job entry.
2016/11/08 14:23:45 - HTTP - Connecting to URL: https://imkm.udngroup.com:443/alfresco/service/api/audit/query/alfresco-access?verbose=true&fromId=0&limit=50000
2016/11/08 14:23:46 - HTTP - ERROR (version 6.1.0.1-196, build 1 from 2016-04-07 12.08.49 by buildguy) : I was unable to save the HTTP result to file because of a I/O error: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
2016/11/08 14:23:46 - HTTP - ERROR (version 6.1.0.1-196, build 1 from 2016-04-07 12.08.49 by buildguy) : javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
2016/11/08 14:23:46 - HTTP - at sun.security.ssl.Alerts.getSSLException(Alerts.java:192)
2016/11/08 14:23:46 - HTTP - at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1949)
2016/11/08 14:23:46 - HTTP - at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:302)
2016/11/08 14:23:46 - HTTP - at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:296)
2016/11/08 14:23:46 - HTTP - at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1509)
2016/11/08 14:23:46 - HTTP - at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:216)
2016/11/08 14:23:46 - HTTP - at sun.security.ssl.Handshaker.processLoop(Handshaker.java:979)
2016/11/08 14:23:46 - HTTP - at sun.security.ssl.Handshaker.process_record(Handshaker.java:914)
2016/11/08 14:23:46 - HTTP - at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1062)
AAAR設定為 https 連線時, 會無法正確產出報表, 部分網站認為是 tomat 7 不支援SSL 1024bit以上的加密, 只能暫以走 http (port 80)
9 月 13
joechenAlfresco, 未分類 alfresco
https://loadbalancer.org/blog/apache-and-x-forwarded-for-headers
——–
Alvaro R • 3 years ago
This works on all versions
SetEnvIf X-Forwarded-For “^(d{1,3}+.d{1,3}+.d{1,3}+.d{1,3}+).*” XFF1STIP=$1
LogFormat “%{XFF1STIP}e %l %u %t “%r” %>s %b “%{Referer}i” “%{User-Agent}i”” combined
————-
9 月 12
joechenAlfresco, 未分類 alfresco
編輯3個檔案
1. alfresco-global.properties
編輯為
solr.secureComms=none
2. solr4/workspace-SpacesStore/conf/solrcore.properties
編輯為
alfresco.secureComms=none
3. solr4/archive-SpacesStore/conf/solrcore.properties
編輯為
alfresco.secureComms=none
9 月 07
joechenAlfresco, 未分類 alfresco
以下shell參考
#!/bin/bash
convert -resize 425x60 /home/sopadmin/imkm-logo.png.orig /home/sopadmin/imkm-logo.png
cd /opt/alfresco-community/tomcat/webapps/share
cp /home/sopadmin/imkm-logo.png ./themes/greyTheme/images/logo.png
cp /home/sopadmin/imkm-logo.png ./themes/lightTheme/images/logo.png
cp /home/sopadmin/imkm-logo.png ./themes/default/images/logo.png
cp /home/sopadmin/imkm-logo.png ./themes/greenTheme/images/logo.png
cp /home/sopadmin/imkm-logo.png ./themes/yellowTheme/images/logo.png
cp /home/sopadmin/imkm-logo.png ./themes/gdocs/images/logo.png
cp /home/sopadmin/imkm-logo.png ./themes/hcBlack/images/logo.png
9 月 07
joechenAlfresco, 未分類 alfresco
add the following line in <tomcat-path>/webapps/ROOT/index.jsp
找到<html>的<head></head>填入以下內容
<script>document.location.href="/share/page/";</script>
9 月 06
joechenAlfresco, 未分類 AAAR, alfresco
造成 AAAR 讀取失效
1.在AAAR的紀錄下, 看到 http too many redirects
2.因tomcat 改由 http-proxy後, 網頁內容無法被 AAAR讀取, 進而無法登入,
3.利用apache的 AJP 做 ProxyReversePass , 可以順利讓AAAR主機登入
4.只是要重跑AAAR的Install
5.後記, 如果能找出正確的設定位置, 或許可以只要改 port number即可
更新,
應該不是這回事, 要重新再找問題了
———–
https://geofoss.net/2015/10/22/simple-ssl-proxy-for-alfresco-share/
另需要存取 postgresql
vim postgresql.conf
listen_ip
vim pg_hba.conf
allow IP
9 月 06
joechenAlfresco, 未分類 alfresco, troubleshooting
在系統根目錄遇到以下畫面

以錯誤訊息, 及系統日誌未查到特定問題
後以系統指令 netstat -tln 以及 service alfresco status 查看,
發現 postgresql 沒有在運作中, 重新啟動後即正常
此情況, 如果直接到 /share/page 頁面登入去, 會發現以下畫面

如果更新後仍不行, 可能要確認設定是否需要調整
在alfresco-global.properties 裡的 db.url 預設是用變數指定資料庫名稱
db.url=jdbc:postgresql://localhost:5432/${db.name}
但有時會失敗, 改用固定名稱即可, 如,
db.url=jdbc:postgresql://localhost:5432/alfresco
Older Entries Newer Entries