2014-02-06 125 views
1

這裏有一些幫助。我需要與WebSphere Application Server 8.5和DB2 10.1安裝Liferay的6.2,所以我也跟着該安裝類型的文檔指南:使用DB2 10.1在IBM WebSphere Application Server 8.5上安裝Liferay 6.2

https://www.liferay.com/documentation/liferay-portal/6.2/user-guide/-/ai/installing-liferay-on-websphere-8-5-liferay-portal-6-2-user-guide-15-en

但不幸的是,這樣的安裝指南中的所有步驟後,我不能使Liferay在WAS上工作。

即使我能夠運行liferay應用程序,它仍然無法顯示設置嚮導。

+0

您可能需要提供有關「不工作」的含義的更多詳細信息。錯誤訊息?你檢查日誌文件嗎? – dbreaux

回答

1

我在DB2 9.7上安裝了Liferay 6.1,並且出現了與表空間有關的錯誤。請檢查安裝日誌文件以查看DB2錯誤。但我的問題是,它缺乏一個8KB的表空間的

您需要在默認情況下有8KB頁面大小來創建數據庫

db2 create db liferay pagesize 8 K 

我寫了一篇文章,http://angocatech.blogspot.fr/2012/04/error-al-instalar-liferay-61-con-db2.html(在西班牙語中,;))

1

如果您遵循litraid的Liferay 6.2安裝指南,您必須在portal-ext.properties中啓用嚮導設置setup.wizard.enabled = true

+0

如果在portal-ext.properties中將其明確設置爲false,請查看文件中是否指定了用戶名。對我來說,它是用戶名:測試和密碼:測試。 – nanospeck

0

更多的錯誤日誌對於調試將非常有用。 然而Liferay的6.2應該在WebSphere 8.5.x的沒有任何重大問題上運行: http://www.devops-insight.com/2014/08/liferay-62-in-websphere-application.html

正如你可以嘗試設置一個JDBC提供程序,並在WebSphere數據源連接到DB2數據庫的替代品。 之後,您可以將liferay設置爲通過將其指向數據源的jndi名稱來使用websphere數據源。 portal-ext.properties:

## 
## JDBC 
## 

    # 
    # Set the JNDI name to lookup the JDBC data source. If none is set, 
    # then the portal will attempt to create the JDBC data source based on the 
    # properties prefixed with "jdbc.default.". 
    # 
    jdbc.default.jndi.name=jdbc/LiferayPool 

註釋掉其他JDBC配置。

相關問題