2014-01-10 18 views
0

我在WebLogic 12c服務器上運行Liferay 6.2。WebLogic崩潰

無處不在,它剛剛停止工作。

這是我看到它拋出異常

<Jan 10, 2014 2:53:28 PM EST> <Notice> <LoggingService> <BEA-320400> <The log fi 
le C:\Oracle_2\Middleware\user_projects\domains\liferay\servers\AdminServer\logs 
\AdminServer.log will be rotated. Reopen the log file if tailing has stopped. Th 
is can happen on some platforms, such as Windows.> 
<Jan 10, 2014 2:53:28 PM EST> <Notice> <LoggingService> <BEA-320401> <The log fi 
le has been rotated to C:\Oracle_2\Middleware\user_projects\domains\liferay\serv 
ers\AdminServer\logs\AdminServer.log00369. Log messages will continue to be logg 
ed in C:\Oracle_2\Middleware\user_projects\domains\liferay\servers\AdminServer\l 
ogs\AdminServer.log.> 

的錯誤亂舞前的最後一件事,在這裏顯示http://www.pastebin.ca/2532946

任何人有任何想法?

回答

1

正如您在日誌文件中看到的那樣(請參閱下面的日誌文件摘錄),Liferay無法獲取HSQL數據庫的句柄,或者HSQL數據庫在更新時可能會損壞。

13:11:16,769 WARN [C3P0PooledConnectionPoolManager[identityToken->uArzPQ2m]-HelperThread-#4][BasicResourcePool:1851] com[email protected]933b16 -- Acquisition Attempt Failed!!! Clearing pending acquires. While trying to acquire a needed new resource, we failed to succeed more than the maximum number of allowed acquisition attempts (3). Last acquisition attempt exception: 

值java.sql.SQLException:錯誤的腳本文件行:15意外的標記:AVG

所以,你需要回答以下問題:

  • 你使用任何客戶端工具,使改變你的HSQL數據庫?
    • 如果是,您是否在啓動Liferay之前關閉了與HSQL數據庫的連接?
      • 如果不是這樣,Liferay將無法獲取您的數據庫的鎖定並無法啓動。
    • 如果不是,您是否直接在HSQL數據庫文件中進行數據庫更改?
      • 這不被推薦。回滾所做的更改,並嘗試使用HSQL客戶,讓您的分貝改變

HTH!

P.S.此問題是否重複:https://stackoverflow.com/questions/21052236/weblogic-wont-start。如果是這樣,請刪除那一個。

+0

我確實使用SquirrelSQL在我的數據庫中進行了更改,並且不知道HSQL客戶端。非常感謝Rushikesh! –

+0

是的,HSQL不允許多個進程同時訪問它。所以如果你使用Squirrel(或任何數據庫客戶端)連接到數據庫,那將會獲得數據庫的鎖定。所以Liferay將無法獲得它,並最終崩潰。 –

+0

再次感謝。您可能對開發服務器上的Liferay瞭解甚麼?我在創建/保存內容方面遇到問題。 –