在 Glassfish 3.1.1 上部署 Liferay 6.0.6 时出错
我正在尝试在现有的 Glassfish 3.1.1 安装上部署 Liferay 6.0.6。我完美地遵循了 Liferay 管理指南,虽然我可以部署战争,但它做得并不正确。
这是我部署时日志的样子:
[#|2011-11-10T11:32:33.056+0100|警告|glassfish3.1.1|org.apache.catalina.connector.Request|_ThreadID=95;_ThreadName=admin-thread-pool-4848(2) ;|PWC4011: 无法从上下文将请求字符编码设置为 UTF-8, 因为请求参数已经被读取,或者 ServletRequest.getReader() 已被调用|#]
[#|2011-11-10T11:32:33.295+0100|信息|glassfish3.1.1|org.glassfish.admingui|_ThreadID=95;_ThreadName=admin-thread-pool-4848(2);|GUI 部署:uploadToTempfile|#]
[#|2011-11-10T11:32:33.296+0100|INFO|glassfish3.1.1|org.glassfish.admingui|_ThreadID=95;_ThreadName=admin-thread-pool-4848(2);|uploadFileName= liferay-portal-6.0.6-20110225.war|#]
[#|2011-11-10T11:33:22.456+0100|警告|glassfish3.1.1|javax.enterprise.system.tools.deployment.org.glassfish.deployment.common|_ThreadID=97;_ThreadName=admin-线程池-4848(4);|DPL8029: 忽略存档中的 WEB-INF/weblogic.xml /opt/glassfish3/glassfish/domains/domain1/applications/liferay-portal-6.0.6-20110225/, 作为 Sun 对应的运行时 xml WEB-INF/sun-web.xml 存在于 相同的存档。|#]
[#|2011-11-10T11:33:29.943+0100|INFO|glassfish3.1.1|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=97;_ThreadName=admin-线程池-4848(4);|正在加载 文件:/opt/glassfish3/glassfish/domains/domain1/ generated/jsp/liferay-portal-6.0.6-20110225/loader_1278430715/system.properties|#]
[#|2011-11-10T11:33:30.016+0100|信息|glassfish3.1.1|com.liferay.portal.kernel.util.ServerDetector|_ThreadID=97;_ThreadName=admin-thread-pool-4848( 4);|检测到 服务器 glassfish|#]
[#|2011-11-10T11:33:30.983+0100|信息|glassfish3.1.1|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=97;_ThreadName=admin-线程池-4848(4);|PWC1412: WebModule[null] ServletContext.log():初始化Spring根 WebApplicationContext|#]
[#|2011-11-10T11:33:31.870+0100|INFO|glassfish3.1.1|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=97;_ThreadName=admin-线程池-4848(4);|正在加载 文件:/opt/glassfish3/glassfish/domains/domain1/ generated/jsp/liferay-portal-6.0.6-20110225/loader_1278430715/portal.properties|#]
[#|2011-11-10T11:33:31.875+0100|INFO|glassfish3.1.1|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=97;_ThreadName=admin-线程池-4848(4);|正在加载 文件:/opt/glassfish3/portal-ext.properties|#]
[#|2011-11-10T11:33:49.221+0100|INFO|glassfish3.1.1|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=97;_ThreadName=admin-线程池-4848(4);|11:33:49,216 INFO [DialectDetector:69] 确定 MySQL 5 的方言 |#]
[#|2011-11-10T11:33:49.372+0100|INFO|glassfish3.1.1|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=97;_ThreadName=admin-线程池-4848(4);|11:33:49,371 信息 [方言检测器:49] 使用方言 org.hibernate.dialect.MySQLDialect |#]
[#|2011-11-10T11:34:00.355+0100|INFO|glassfish3.1.1|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=97;_ThreadName=admin-线程池-4848(4);|11:34:00,353 INFO [PortalImpl:278] 全局 lib 目录 /opt/glassfish3/glassfish/domains/domain1/lib/ |#]
[#|2011-11-10T11:34:00.359+0100|INFO|glassfish3.1.1|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=97;_ThreadName=admin-线程池-4848(4);|11:34:00,358 INFO [PortalImpl:298] Portal lib 目录 /opt/glassfish3/glassfish/domains/domain1/applications/liferay-portal-6.0.6-20110225/WEB-INF/lib/ |#]
[#|2011-11-10T11:34:33.814+0100|警告|glassfish3.1.1|javax.enterprise.system.core.security|_ThreadID=97;_ThreadName=admin-thread-pool-4848(4) ;|否 映射到角色 [user] 的主体。|#]
[#|2011-11-10T11:34:35.399+0100|INFO|glassfish3.1.1|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=97;_ThreadName=admin-线程池-4848(4);|开始 Liferay Portal 社区版 6.0.6 CE (Bunyan / Build 6006 / 2011 年 2 月 17 日)|#]
[#|2011-11-10T11:34:36.828+0100|INFO|glassfish3.1.1|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=97;线程名称=管理线程池-4848(4);|11:34:36,826 错误 [JDBCExceptionReporter:101] 表“lportal.lock”不存在 |#]
[#|2011-11-10T11:34:38.636+0100|INFO|glassfish3.1.1|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=97;线程名称=管理线程池-4848(4);|11:34:38,634 警告 [ReleaseLocalServiceImpl:143] 表“lportal.release”不存在 存在 |#]
[#|2011-11-10T11:34:38.639+0100|INFO|glassfish3.1.1|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=97;_ThreadName=admin-线程池-4848(4);|11:34:38,638 信息 [ReleaseLocalServiceImpl:84] 创建表并填充 默认数据 |#]
[#|2011-11-10T11:34:45.846+0100|信息|glassfish3.1.1|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=97;_ThreadName=admin-线程池-4848(4);|11:34:45,843 INFO [BaseDB:403] 数据库不支持区分大小写的查询 |#]
[#|2011-11-10T11:34:46.989+0100|信息|glassfish3.1.1|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=97;_ThreadName=admin-线程池-4848(4);|11:34:46,988 信息 [VerifyProcess:76] 正在验证 com.liferay.portal.verify.VerifyProcessSuite |#]
[#|2011-11-10T11:34:46.998+0100|INFO|glassfish3.1.1|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=97;_ThreadName=admin-线程池-4848(4);|11:34:46,997 信息 [VerifyProcess:76] 正在验证 com.liferay.portal.verify.VerifyProperties |#]
[#|2011-11-10T11:34:47.000+0100|信息|glassfish3.1.1|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=97;_ThreadName=admin-线程池-4848(4);|11:34:46,999 信息 [VerifyProcess:76] 正在验证 com.liferay.portal.verify.VerifyMySQL |#]
[#|2011-11-10T11:34:47.480+0100|信息|glassfish3.1.1|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=97;_ThreadName=admin-线程池-4848(4);|11:34:47,478 信息 [VerifyProcess:76] 正在验证 com.liferay.portal.verify.VerifyCounter |#]
[#|2011-11-10T11:34:47.533+0100|INFO|glassfish3.1.1|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=97;_ThreadName=admin-线程池-4848(4);|11:34:47,532 信息 [VerifyProcess:76] 正在验证 com.liferay.portal.verify.VerifyUUID |#]
[#|2011-11-10T11:34:47.542+0100|INFO|glassfish3.1.1|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=97;_ThreadName=admin-线程池-4848(4);|11:34:47,541 信息 [VerifyProcess:76] 正在验证 com.liferay.portal.verify.VerifyRole |#]
[#|2011-11-10T11:34:47.549+0100|INFO|glassfish3.1.1|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=97;_ThreadName=admin-线程池-4848(4);|11:34:47,548 信息 [VerifyProcess:76] 正在验证 com.liferay.portal.verify.VerifyBlogs |#]
[#|2011-11-10T11:34:47.877+0100|INFO|glassfish3.1.1|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=97;_ThreadName=admin-线程池-4848(4);|11:34:47,876 信息 [VerifyProcess:76] 正在验证 com.liferay.portal.verify.VerifyBookmarks |#]
[#|2011-11-10T11:34:47.886+0100|信息|glassfish3.1.1|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=97;_ThreadName=admin-线程池-4848(4);|11:34:47,885 信息 [VerifyProcess:76] 正在验证 com.liferay.portal.verify.VerifyCalendar |#]
[#|2011-11-10T11:34:47.896+0100|INFO|glassfish3.1.1|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=97;_ThreadName=admin-线程池-4848(4);|11:34:47,895 信息 [VerifyProcess:76] 正在验证 com.liferay.portal.verify.VerifyDocumentLibrary |#]
[#|2011-11-10T11:34:47.923+0100|信息|glassfish3.1.1|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=97;_ThreadName=admin-线程池-4848(4);|11:34:47,922 信息 [VerifyProcess:76] 正在验证 com.liferay.portal.verify.VerifyGroup |#]
[#|2011-11-10T11:34:48.112+0100|信息|glassfish3.1.1|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=97;_ThreadName=admin-线程池-4848(4);|11:34:48,110 信息 [VerifyProcess:76] 正在验证 com.liferay.portal.verify.VerifyImageGallery |#]
[#|2011-11-10T11:34:48.123+0100|信息|glassfish3.1.1|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=97;_ThreadName=admin-线程池-4848(4);|11:34:48,122 信息 [VerifyProcess:76] 正在验证 com.liferay.portal.verify.VerifyJournal |#]
[#|2011-11-10T11:34:48.153+0100|INFO|glassfish3.1.1|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=97;_ThreadName=admin-线程池-4848(4);|11:34:48,152 信息 [VerifyProcess:76] 正在验证 com.liferay.portal.verify.VerifyLayout |#]
[#|2011-11-10T11:34:48.167+0100|INFO|glassfish3.1.1|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=97;_ThreadName=admin-线程池-4848(4);|11:34:48,166 信息 [VerifyProcess:76] 正在验证 com.liferay.portal.verify.VerifyMessageBoards |#]
[#|2011-11-10T11:34:48.223+0100|INFO|glassfish3.1.1|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=97;_ThreadName=admin-线程池-4848(4);|11:34:48,222 信息 [VerifyProcess:76] 正在验证 com.liferay.portal.verify.VerifyOrganization |#]
[#|2011-11-10T11:34:48.225+0100|信息|glassfish3.1.1|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=97;_ThreadName=admin-线程池-4848(4);|11:34:48,224 信息 [VerifyProcess:76] 正在验证 com.liferay.portal.verify.VerifySocial |#]
[#|2011-11-10T11:34:48.226+0100|信息|glassfish3.1.1|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=97;_ThreadName=admin-线程池-4848(4);|11:34:48,225 信息 [VerifyProcess:76] 正在验证 com.liferay.portal.verify.VerifyUser |#]
[#|2011-11-10T11:34:48.263+0100|INFO|glassfish3.1.1|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=97;_ThreadName=admin-线程池-4848(4);|11:34:48,262 信息 [VerifyProcess:76] 正在验证 com.liferay.portal.verify.VerifyWiki |#]
[#|2011-11-10T11:35:01.518+0100|INFO|glassfish3.1.1|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=269;_ThreadName=liferay/调度程序_调度;|11:35:01,516 信息 [PluginPackageUtil:1109] 重新加载存储库 |#]
[#|2011-11-10T11:35:07.971+0100|INFO|glassfish3.1.1|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=97;_ThreadName=admin-线程池-4848(4);|11:35:07,968 信息 [HotDeployUtil:69] 初始化热部署管理器 774754992 |#]
[#|2011-11-10T11:35:08.340+0100|INFO|glassfish3.1.1|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=97;_ThreadName=admin-线程池-4848(4);|11:35:08,339 信息 [AutoDeployDir:105] 自动部署扫描程序已启动 /opt/glassfish3/deploy |#]
[#|2011-11-10T11:35:12.198+0100|INFO|glassfish3.1.1|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=269;_ThreadName=liferay/调度程序_调度;|11:35:12,197 错误 [PluginPackageUtil:1127] 无法加载存储库 http://plugins.liferay.com/official com.liferay.portal.plugin.PluginPackageException:无法 与存储库通信 http://plugins.liferay.com/official |#]
[#|2011-11-10T11:35:15.485+0100|信息|glassfish3.1.1|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=97;_ThreadName=admin-线程池-4848(4);|WEB0671: 正在加载应用程序 [liferay-portal-6.0.6-20110225] [/liferay-portal-6.0.6-20110225]|#]
[#|2011-11-10T11:35:22.224+0100|INFO|glassfish3.1.1|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=269;_ThreadName=liferay/ Scheduler_dispatch;|11:35:22,223 错误 [PluginPackageUtil:1127] 无法加载存储库 http://plugins.liferay.com/community com.liferay.portal.plugin.PluginPackageException:无法 与存储库通信 http://plugins.liferay.com/community |#]
[#|2011-11-10T11:35:32.264+0100|INFO|glassfish3.1.1|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=269;_ThreadName=liferay/调度程序_调度;|11:35:32,263 警告 [PluginPackageUtil:312] 无法与存储库通信 http://plugins.liferay.com/official |#]
[#|2011-11-10T11:35:35.276+0100|信息|glassfish3.1.1|javax.enterprise.system.tools.admin.org.glassfish.deployment.admin|_ThreadID=97;_ThreadName=admin-线程池-4848(4);|liferay-portal-6.0.6-20110225 181,927 毫秒成功部署。|#]
[#|2011-11-10T11:35:42.286+0100|INFO|glassfish3.1.1|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=269;_ThreadName=liferay/调度程序_调度;|11:35:42,285 警告 [PluginPackageUtil:312] 无法与存储库通信 http://plugins.liferay.com/community |#]
我将“lower_case_table_names”更改为 1在 Linux 中的 MySQL 中,仍然得到: [BaseDB:403] 数据库不支持区分大小写的查询
这是部署 liferay war 后打开 Liferay 时日志显示的内容:
[#|2011-11-10T11:38:44.604+0100|INFO|glassfish3.1.1|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=141;_ThreadName=http-线程池-8080(1);|11:38:44,602 信息 [PortalImpl:3829] 当前 URL /liferay-portal-6.0.6-20110225/ 生成异常:null |#]
[#|2011-11-10T11:38:44.606+0100|信息|glassfish3.1.1|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=141;_ThreadName=http-线程池-8080(1);|11:38:44,605 信息 [PortalImpl:3841] |#]
[#|2011-11-10T11:39:15.550+0100|严重|glassfish3.1.1|org.apache.jasper.servlet.JspServlet|_ThreadID=145;_ThreadName=http-thread-pool-8080(5) ;|PWC6117: 文件 “%2Fopt%2Fglassfish3%2Fglassfish%2Fdomains%2Fdomain1%2Fdocroot%2Fhtml%2Fportal%2Fcss.jsp” 未找到|#]
[#|2011-11-10T11:39:15.556+0100|严重|glassfish3.1.1|org.apache.jasper.servlet.JspServlet|_ThreadID=143;_ThreadName=http-thread-pool-8080(3) ;|PWC6117: 文件 “%2Fopt%2Fglassfish3%2Fglassfish%2Fdomains%2Fdomain1%2Fdocroot%2Fhtml%2Fportlet%2Flogin%2Fcss%2Fmain.jsp” 未找到|#]
[#|2011-11-10T11:39:15.565+0100|严重|glassfish3.1.1|org.apache.jasper.servlet.JspServlet|_ThreadID=142;_ThreadName=http-thread-pool-8080(2) ;|PWC6117: 文件 “%2Fopt%2Fglassfish3%2Fglassfish%2Fdomains%2Fdomain1%2Fdocroot%2Fhtml%2Fjs%2Fbarebone.jsp” 未找到|#]
这是已部署的 liferay 的屏幕:
有关的任何想法可能出了什么问题?
I'm trying to deploy Liferay 6.0.6 on an already existing Glassfish 3.1.1 installation. I have followed the Liferay Administration Guide perfectly and while I can deploy the war, it doesn't do it right.
Here is how the log looks when I deploy:
[#|2011-11-10T11:32:33.056+0100|WARNING|glassfish3.1.1|org.apache.catalina.connector.Request|_ThreadID=95;_ThreadName=admin-thread-pool-4848(2);|PWC4011:
Unable to set request character encoding to UTF-8 from context ,
because request parameters have already been read, or
ServletRequest.getReader() has already been called|#][#|2011-11-10T11:32:33.295+0100|INFO|glassfish3.1.1|org.glassfish.admingui|_ThreadID=95;_ThreadName=admin-thread-pool-4848(2);|GUI
deployment: uploadToTempfile|#][#|2011-11-10T11:32:33.296+0100|INFO|glassfish3.1.1|org.glassfish.admingui|_ThreadID=95;_ThreadName=admin-thread-pool-4848(2);|uploadFileName=liferay-portal-6.0.6-20110225.war|#]
[#|2011-11-10T11:33:22.456+0100|WARNING|glassfish3.1.1|javax.enterprise.system.tools.deployment.org.glassfish.deployment.common|_ThreadID=97;_ThreadName=admin-thread-pool-4848(4);|DPL8029:
Ignore WEB-INF/weblogic.xml in archive
/opt/glassfish3/glassfish/domains/domain1/applications/liferay-portal-6.0.6-20110225/,
as Sun counterpart runtime xml WEB-INF/sun-web.xml is present in the
same archive.|#][#|2011-11-10T11:33:29.943+0100|INFO|glassfish3.1.1|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=97;_ThreadName=admin-thread-pool-4848(4);|Loading
file:/opt/glassfish3/glassfish/domains/domain1/generated/jsp/liferay-portal-6.0.6-20110225/loader_1278430715/system.properties|#][#|2011-11-10T11:33:30.016+0100|INFO|glassfish3.1.1|com.liferay.portal.kernel.util.ServerDetector|_ThreadID=97;_ThreadName=admin-thread-pool-4848(4);|Detected
server glassfish|#][#|2011-11-10T11:33:30.983+0100|INFO|glassfish3.1.1|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=97;_ThreadName=admin-thread-pool-4848(4);|PWC1412:
WebModule[null] ServletContext.log():Initializing Spring root
WebApplicationContext|#][#|2011-11-10T11:33:31.870+0100|INFO|glassfish3.1.1|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=97;_ThreadName=admin-thread-pool-4848(4);|Loading
file:/opt/glassfish3/glassfish/domains/domain1/generated/jsp/liferay-portal-6.0.6-20110225/loader_1278430715/portal.properties|#][#|2011-11-10T11:33:31.875+0100|INFO|glassfish3.1.1|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=97;_ThreadName=admin-thread-pool-4848(4);|Loading
file:/opt/glassfish3/portal-ext.properties|#][#|2011-11-10T11:33:49.221+0100|INFO|glassfish3.1.1|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=97;_ThreadName=admin-thread-pool-4848(4);|11:33:49,216
INFO [DialectDetector:69] Determining dialect for MySQL 5 |#][#|2011-11-10T11:33:49.372+0100|INFO|glassfish3.1.1|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=97;_ThreadName=admin-thread-pool-4848(4);|11:33:49,371
INFO [DialectDetector:49] Using dialect
org.hibernate.dialect.MySQLDialect |#][#|2011-11-10T11:34:00.355+0100|INFO|glassfish3.1.1|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=97;_ThreadName=admin-thread-pool-4848(4);|11:34:00,353
INFO [PortalImpl:278] Global lib directory
/opt/glassfish3/glassfish/domains/domain1/lib/ |#][#|2011-11-10T11:34:00.359+0100|INFO|glassfish3.1.1|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=97;_ThreadName=admin-thread-pool-4848(4);|11:34:00,358
INFO [PortalImpl:298] Portal lib directory
/opt/glassfish3/glassfish/domains/domain1/applications/liferay-portal-6.0.6-20110225/WEB-INF/lib/
|#][#|2011-11-10T11:34:33.814+0100|WARNING|glassfish3.1.1|javax.enterprise.system.core.security|_ThreadID=97;_ThreadName=admin-thread-pool-4848(4);|No
Principals mapped to Role [users].|#][#|2011-11-10T11:34:35.399+0100|INFO|glassfish3.1.1|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=97;_ThreadName=admin-thread-pool-4848(4);|Starting
Liferay Portal Community Edition 6.0.6 CE (Bunyan / Build 6006 /
February 17, 2011)|#][#|2011-11-10T11:34:36.828+0100|INFO|glassfish3.1.1|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=97;ThreadName=admin-thread-pool-4848(4);|11:34:36,826
ERROR [JDBCExceptionReporter:101] Table 'lportal.lock' doesn't exist
|#][#|2011-11-10T11:34:38.636+0100|INFO|glassfish3.1.1|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=97;ThreadName=admin-thread-pool-4848(4);|11:34:38,634
WARN [ReleaseLocalServiceImpl:143] Table 'lportal.release' doesn't
exist |#][#|2011-11-10T11:34:38.639+0100|INFO|glassfish3.1.1|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=97;_ThreadName=admin-thread-pool-4848(4);|11:34:38,638
INFO [ReleaseLocalServiceImpl:84] Create tables and populate with
default data |#][#|2011-11-10T11:34:45.846+0100|INFO|glassfish3.1.1|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=97;_ThreadName=admin-thread-pool-4848(4);|11:34:45,843
INFO [BaseDB:403] Database does not support case sensitive queries
|#][#|2011-11-10T11:34:46.989+0100|INFO|glassfish3.1.1|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=97;_ThreadName=admin-thread-pool-4848(4);|11:34:46,988
INFO [VerifyProcess:76] Verifying
com.liferay.portal.verify.VerifyProcessSuite |#][#|2011-11-10T11:34:46.998+0100|INFO|glassfish3.1.1|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=97;_ThreadName=admin-thread-pool-4848(4);|11:34:46,997
INFO [VerifyProcess:76] Verifying
com.liferay.portal.verify.VerifyProperties |#][#|2011-11-10T11:34:47.000+0100|INFO|glassfish3.1.1|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=97;_ThreadName=admin-thread-pool-4848(4);|11:34:46,999
INFO [VerifyProcess:76] Verifying
com.liferay.portal.verify.VerifyMySQL |#][#|2011-11-10T11:34:47.480+0100|INFO|glassfish3.1.1|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=97;_ThreadName=admin-thread-pool-4848(4);|11:34:47,478
INFO [VerifyProcess:76] Verifying
com.liferay.portal.verify.VerifyCounter |#][#|2011-11-10T11:34:47.533+0100|INFO|glassfish3.1.1|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=97;_ThreadName=admin-thread-pool-4848(4);|11:34:47,532
INFO [VerifyProcess:76] Verifying
com.liferay.portal.verify.VerifyUUID |#][#|2011-11-10T11:34:47.542+0100|INFO|glassfish3.1.1|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=97;_ThreadName=admin-thread-pool-4848(4);|11:34:47,541
INFO [VerifyProcess:76] Verifying
com.liferay.portal.verify.VerifyRole |#][#|2011-11-10T11:34:47.549+0100|INFO|glassfish3.1.1|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=97;_ThreadName=admin-thread-pool-4848(4);|11:34:47,548
INFO [VerifyProcess:76] Verifying
com.liferay.portal.verify.VerifyBlogs |#][#|2011-11-10T11:34:47.877+0100|INFO|glassfish3.1.1|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=97;_ThreadName=admin-thread-pool-4848(4);|11:34:47,876
INFO [VerifyProcess:76] Verifying
com.liferay.portal.verify.VerifyBookmarks |#][#|2011-11-10T11:34:47.886+0100|INFO|glassfish3.1.1|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=97;_ThreadName=admin-thread-pool-4848(4);|11:34:47,885
INFO [VerifyProcess:76] Verifying
com.liferay.portal.verify.VerifyCalendar |#][#|2011-11-10T11:34:47.896+0100|INFO|glassfish3.1.1|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=97;_ThreadName=admin-thread-pool-4848(4);|11:34:47,895
INFO [VerifyProcess:76] Verifying
com.liferay.portal.verify.VerifyDocumentLibrary |#][#|2011-11-10T11:34:47.923+0100|INFO|glassfish3.1.1|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=97;_ThreadName=admin-thread-pool-4848(4);|11:34:47,922
INFO [VerifyProcess:76] Verifying
com.liferay.portal.verify.VerifyGroup |#][#|2011-11-10T11:34:48.112+0100|INFO|glassfish3.1.1|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=97;_ThreadName=admin-thread-pool-4848(4);|11:34:48,110
INFO [VerifyProcess:76] Verifying
com.liferay.portal.verify.VerifyImageGallery |#][#|2011-11-10T11:34:48.123+0100|INFO|glassfish3.1.1|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=97;_ThreadName=admin-thread-pool-4848(4);|11:34:48,122
INFO [VerifyProcess:76] Verifying
com.liferay.portal.verify.VerifyJournal |#][#|2011-11-10T11:34:48.153+0100|INFO|glassfish3.1.1|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=97;_ThreadName=admin-thread-pool-4848(4);|11:34:48,152
INFO [VerifyProcess:76] Verifying
com.liferay.portal.verify.VerifyLayout |#][#|2011-11-10T11:34:48.167+0100|INFO|glassfish3.1.1|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=97;_ThreadName=admin-thread-pool-4848(4);|11:34:48,166
INFO [VerifyProcess:76] Verifying
com.liferay.portal.verify.VerifyMessageBoards |#][#|2011-11-10T11:34:48.223+0100|INFO|glassfish3.1.1|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=97;_ThreadName=admin-thread-pool-4848(4);|11:34:48,222
INFO [VerifyProcess:76] Verifying
com.liferay.portal.verify.VerifyOrganization |#][#|2011-11-10T11:34:48.225+0100|INFO|glassfish3.1.1|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=97;_ThreadName=admin-thread-pool-4848(4);|11:34:48,224
INFO [VerifyProcess:76] Verifying
com.liferay.portal.verify.VerifySocial |#][#|2011-11-10T11:34:48.226+0100|INFO|glassfish3.1.1|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=97;_ThreadName=admin-thread-pool-4848(4);|11:34:48,225
INFO [VerifyProcess:76] Verifying
com.liferay.portal.verify.VerifyUser |#][#|2011-11-10T11:34:48.263+0100|INFO|glassfish3.1.1|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=97;_ThreadName=admin-thread-pool-4848(4);|11:34:48,262
INFO [VerifyProcess:76] Verifying
com.liferay.portal.verify.VerifyWiki |#][#|2011-11-10T11:35:01.518+0100|INFO|glassfish3.1.1|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=269;_ThreadName=liferay/scheduler_dispatch;|11:35:01,516
INFO [PluginPackageUtil:1109] Reloading repositories |#][#|2011-11-10T11:35:07.971+0100|INFO|glassfish3.1.1|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=97;_ThreadName=admin-thread-pool-4848(4);|11:35:07,968
INFO [HotDeployUtil:69] Initializing hot deploy manager 774754992 |#][#|2011-11-10T11:35:08.340+0100|INFO|glassfish3.1.1|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=97;_ThreadName=admin-thread-pool-4848(4);|11:35:08,339
INFO [AutoDeployDir:105] Auto deploy scanner started for
/opt/glassfish3/deploy |#][#|2011-11-10T11:35:12.198+0100|INFO|glassfish3.1.1|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=269;_ThreadName=liferay/scheduler_dispatch;|11:35:12,197
ERROR [PluginPackageUtil:1127] Unable to load repository
http://plugins.liferay.com/official
com.liferay.portal.plugin.PluginPackageException: Unable to
communicate with repository http://plugins.liferay.com/official |#][#|2011-11-10T11:35:15.485+0100|INFO|glassfish3.1.1|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=97;_ThreadName=admin-thread-pool-4848(4);|WEB0671:
Loading application [liferay-portal-6.0.6-20110225] at
[/liferay-portal-6.0.6-20110225]|#][#|2011-11-10T11:35:22.224+0100|INFO|glassfish3.1.1|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=269;_ThreadName=liferay/scheduler_dispatch;|11:35:22,223
ERROR [PluginPackageUtil:1127] Unable to load repository
http://plugins.liferay.com/community
com.liferay.portal.plugin.PluginPackageException: Unable to
communicate with repository http://plugins.liferay.com/community |#][#|2011-11-10T11:35:32.264+0100|INFO|glassfish3.1.1|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=269;_ThreadName=liferay/scheduler_dispatch;|11:35:32,263
WARN [PluginPackageUtil:312] Unable to communicate with repository
http://plugins.liferay.com/official |#][#|2011-11-10T11:35:35.276+0100|INFO|glassfish3.1.1|javax.enterprise.system.tools.admin.org.glassfish.deployment.admin|_ThreadID=97;_ThreadName=admin-thread-pool-4848(4);|liferay-portal-6.0.6-20110225
was successfully deployed in 181,927 milliseconds.|#][#|2011-11-10T11:35:42.286+0100|INFO|glassfish3.1.1|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=269;_ThreadName=liferay/scheduler_dispatch;|11:35:42,285
WARN [PluginPackageUtil:312] Unable to communicate with repository
http://plugins.liferay.com/community |#]
I changed the "lower_case_table_names" to 1 in my MySQL in Linux and still get: [BaseDB:403] Database does not support case sensitive queries
This is what the log says when I open Liferay after deploying the liferay war:
[#|2011-11-10T11:38:44.604+0100|INFO|glassfish3.1.1|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=141;_ThreadName=http-thread-pool-8080(1);|11:38:44,602
INFO [PortalImpl:3829] Current URL /liferay-portal-6.0.6-20110225/
generates exception: null |#][#|2011-11-10T11:38:44.606+0100|INFO|glassfish3.1.1|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=141;_ThreadName=http-thread-pool-8080(1);|11:38:44,605
INFO [PortalImpl:3841] |#][#|2011-11-10T11:39:15.550+0100|SEVERE|glassfish3.1.1|org.apache.jasper.servlet.JspServlet|_ThreadID=145;_ThreadName=http-thread-pool-8080(5);|PWC6117:
File
"%2Fopt%2Fglassfish3%2Fglassfish%2Fdomains%2Fdomain1%2Fdocroot%2Fhtml%2Fportal%2Fcss.jsp"
not found|#][#|2011-11-10T11:39:15.556+0100|SEVERE|glassfish3.1.1|org.apache.jasper.servlet.JspServlet|_ThreadID=143;_ThreadName=http-thread-pool-8080(3);|PWC6117:
File
"%2Fopt%2Fglassfish3%2Fglassfish%2Fdomains%2Fdomain1%2Fdocroot%2Fhtml%2Fportlet%2Flogin%2Fcss%2Fmain.jsp"
not found|#][#|2011-11-10T11:39:15.565+0100|SEVERE|glassfish3.1.1|org.apache.jasper.servlet.JspServlet|_ThreadID=142;_ThreadName=http-thread-pool-8080(2);|PWC6117:
File
"%2Fopt%2Fglassfish3%2Fglassfish%2Fdomains%2Fdomain1%2Fdocroot%2Fhtml%2Fjs%2Fbarebone.jsp"
not found|#]
And here is a screen of what the deployed liferay looks like:
Any ideas on what might have gone wrong?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我很确定你会解决这个问题。但我写这篇文章是为了对其他人有所帮助。
即使我遇到了这个问题,当您通过 Glassfish UI 管理控制台部署 war 文件时,这似乎是 Glassfish 相关问题,而不是 Liferay 相关问题。当您使用 glassfish 命令行部署命令进行如下部署时,您不会看到此问题:
then,
bash:- asadmin deploy --contextroot "/" liferay-portal.war
这已经解决了我的问题。
哈特哈,
沙拉娜
I am pretty sure you would have solved this problem. But I am writing this post so that it may help others.
Even I faced this issue, this seems to be Glassfish related issue rather than Liferay related when you deploy the war file through Glassfish UI admin console. You won't see this problem when you deploy as below using glassfish command line deploy commands:
then,
bash:- asadmin deploy --contextroot "/" liferay-portal.war
This has solved the problem for me.
HTH,
Sharana