在Glassfish 3.1.1上部署Liferay 6.0.6时出错
我正试图在现有的Glassfish 3.1.1安装上部署Liferay 6.0.6。 我完全遵循了“救生员管理指南”,虽然我可以部署这场战争,但它并没有做到这一点。
以下是部署时日志的外观:
[#| 2011-11-10T11:32:33.056 + 0100 |警告| glassfish3.1.1 | org.apache.catalina.connector.Request | _ThreadID = 95; _ThreadName =管理线程池-4848(2); | PWC4011 :由于请求参数已被读取,或ServletRequest.getReader()已被调用|#],所以无法将请求字符编码设置为UTF-8的上下文。
[#| 2011-11-10T11:32:33.295 + 0100 | INFO | 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 =管理线程池-4848(2); | uploadFileName = liferay的门户-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 =管理线程池-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 =管理线程池-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 | INFO | glassfish3.1.1 | com.liferay.portal.kernel.util.ServerDetector | _ThreadID = 97; _ThreadName =管理线程池-4848(4); |检测到的服务器glassfish |#]
[#| 2011-11-10T11:33:30.983 + 0100 | INFO | glassfish3.1.1 | javax.enterprise.system.container.web.com.sun.enterprise.web | _ThreadID = 97; _ThreadName =管理线程池-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 =管理线程池-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 =管理线程池-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 =管理线程池-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 =管理线程池-4848(4); | 11:33:49,371 INFO [DialectDetector: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 =管理线程池-4848(4); | 11:34:00,353信息[PortalImpl:278]全局库目录/ 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 =管理线程池-4848(4); | 11:34:00,358信息[PortalImpl:298]门户网站目录/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 =管理线程池-4848(4); |没有校长映射到角色[用户]。|#]
[#| 2011-11-10T11:34:35.399 + 0100 | INFO | glassfish3.1.1 | javax.enterprise.system.std.com.sun.enterprise.server.logging | _ThreadID = 97; _ThreadName =管理线程池-4848(4); |启动Liferay Portal Community Edition 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; ThreadName =管理线程池-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; ThreadName =管理线程池-4848(4); | 11:34:38,634 WARN [ReleaseLocalServiceImpl:143] Table'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 =管理线程池-4848(4); | 11:34:38,638 INFO [ReleaseLocalServiceImpl:84]创建表并使用默认数据填充|#]
[#| 2011-11-10T11:34:45.846 + 0100 | INFO | glassfish3.1.1 | javax.enterprise.system.std.com.sun.enterprise.server.logging | _ThreadID = 97; _ThreadName =管理线程池-4848(4); | 11:34:45,843信息[BaseDB:403]数据库不支持区分大小写的查询|#]
[#| 2011-11-10T11:34:46.989 + 0100 | INFO | glassfish3.1.1 | javax.enterprise.system.std.com.sun.enterprise.server.logging | _ThreadID = 97; _ThreadName =管理线程池-4848(4); | 11:34:46,988 INFO [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 =管理线程池-4848(4); | 11:34:46,997 INFO [VerifyProcess:76]正在验证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 =管理线程池-4848(4); | 11:34:46,999 INFO [VerifyProcess:76]验证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 =管理线程池-4848(4); | 11:34:47,478 INFO [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 =管理线程池-4848(4); | 11:34:47,532 INFO [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 =管理线程池-4848(4); | 11:34:47,541 INFO [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 =管理线程池-4848(4); | 11:34:47,548 INFO [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 =管理线程池-4848(4); | 11:34:47,876 INFO [VerifyProcess:76]验证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 =管理线程池-4848(4); | 11:34:47,885 INFO [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 =管理线程池-4848(4); | 11:34:47,895 INFO [VerifyProcess:76]验证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 =管理线程池-4848(4); | 11:34:47,922 INFO [VerifyProcess:76]验证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 =管理线程池-4848(4); | 11:34:48,110 INFO [VerifyProcess:76]正在验证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 =管理线程池-4848(4); | 11:34:48,122 INFO [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 =管理线程池-4848(4); | 11:34:48,152 INFO [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 =管理线程池-4848(4); | 11:34:48,166 INFO [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 =管理线程池-4848(4); | 11:34:48,222 INFO [VerifyProcess:76]正在验证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 =管理线程池-4848(4); | 11:34:48,224 INFO [VerifyProcess:76]验证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 =管理线程池-4848(4); | 11:34:48,225 INFO [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 =管理线程池-4848(4); | 11:34:48,262 INFO [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的/ 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 =管理线程池-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 =管理线程池-4848(4); | 11:35:08,339 INFO [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的/ scheduler_dispatch; | 11:35:12,197错误[PluginPackageUtil:1127]无法加载存储库http://plugins.liferay.com/official com.liferay.portal.plugin.PluginPackageException:无法与存储库http://plugins.liferay.com进行通信/官方|#]
[#| 2011-11-10T11:35:15.485 + 0100 | INFO | glassfish3.1.1 | javax.enterprise.system.container.web.com.sun.enterprise.web | _ThreadID = 97; _ThreadName =管理线程池-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的/ scheduler_dispatch; | 11:35:32,263 WARN [PluginPackageUtil:312]无法与存储库通信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 =管理线程池-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的/ scheduler_dispatch; | 11:35:42,285 WARN [PluginPackageUtil:312]无法与存储库http://plugins.liferay.com/community |#]进行通信
我在Linux的MySQL中将“lower_case_table_names”更改为1,仍然得到:[BaseDB:403]数据库不支持区分大小写的查询
这是日志在部署Liferay战争后打开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 | INFO | glassfish3.1.1 | javax.enterprise.system.std.com.sun.enterprise.server.logging | _ThreadID = 141; _ThreadName = HTTP线程池-8080(1); | 11:38:44,605 INFO [PortalImpl:3841] |#]
[#| 2011-11-10T11:39:15.550 + 0100 |严重| glassfish3.1.1 | org.apache.jasper.servlet.JspServlet | _ThreadID = 145; _ThreadName = HTTP线程池-8080(5); | PWC6117 :文件“%2Fopt%2Fglassfish3%2Fglassfish%2Fdomains%2Fdomain1%2Fdocroot%2Fhtml%2Fportal%2Fcss.jsp”not found |#]
[#| 2011-11-10T11:39:15.556 + 0100 |严重| glassfish3.1.1 | org.apache.jasper.servlet.JspServlet | _ThreadID = 143; _ThreadName = HTTP线程池-8080(3); | PWC6117 :文件“%2Fopt%2Fglassfish3%2Fglassfish%2Fdomains%2Fdomain1%2Fdocroot%2Fhtml%2Fportlet%2Flogin%2Fcss%2Fmain.jsp”not found |#]
[#| 2011-11-10T11:39:15.565 + 0100 |严重| glassfish3.1.1 | org.apache.jasper.servlet.JspServlet | _ThreadID = 142; _ThreadName = HTTP线程池-8080(2); | PWC6117 :文件“%2Fopt%2Fglassfish3%2Fglassfish%2Fdomains%2Fdomain1%2Fdocroot%2Fhtml%2Fjs%2Fbarebone.jsp”not found |#]
以下是部署生命周期的屏幕:
关于可能出错的任何想法?
我很确定你会解决这个问题。 但我写这篇文章,以便它可以帮助别人。
即使我遇到了这个问题,当您通过Glassfish UI管理控制台部署War文件时,这似乎与Glassfish相关的问题而非Liferay相关。 使用glassfish命令行部署命令进行如下部署时,您不会看到此问题:
然后,
bash: - asadmin deploy --contextroot“/”liferay-portal.war
这已经解决了我的问题。
HTH,Sharana
链接地址: http://www.djcxy.com/p/68239.html