Liferay WebLogic崩溃

Liferay WebLogic崩溃,liferay,weblogic,hsqldb,Liferay,Weblogic,Hsqldb,我正在WebLogic 12c服务器上运行Liferay 6.2 它突然停止了工作 在抛出一系列异常之前,这是我看到的最后一件事 <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\l

我正在WebLogic 12c服务器上运行Liferay 6.2

它突然停止了工作

在抛出一系列异常之前,这是我看到的最后一件事

<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.>

这里显示了错误


有人对此有什么想法吗?

正如您在日志文件中看到的(请参阅下面的日志文件摘录),Liferay无法获取HSQL数据库的句柄,或者在您更新它时HSQL db可能已损坏

13:11:16,769 WARN  [C3P0PooledConnectionPoolManager[identityToken->uArzPQ2m]-HelperThread-#4][BasicResourcePool:1851] com.mchange.v2.resourcepool.BasicResourcePool$ScatteredAcquireTask@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 DB文件中更改了DB?
      • 不建议这样做。回滚更改并尝试使用HSQL客户端进行数据库更改


请注意,本期是否为副本:。如果是这样,请删除这个。

我确实使用了SquirreSQL在数据库中进行了更改,并且不知道HSQL客户端。非常感谢Rushikesh!是的,HSQL不允许多个进程同时访问它。因此,如果您使用Squirrel(或任何db客户端)连接到db,这将获取db上的锁。所以Liferay将无法获得它,最终将崩溃。再次感谢。您可能知道关于开发服务器上Liferay的任何信息吗?我在创建/保存内容时遇到问题。