我有一个liferay plug-in
项目是在eclipse luna ide,tomcat服务器liferay sdk 6.2
上开发的,我将它构建到war文件,现在我想在liferay jboss
上部署我的项目。在这里我做了什么:
1.我将我的war文件放在liferay-portal-6.2-ce-ga2\deploy
中的部署文件夹中
2.我启动jboss服务器liferay-portal-6.2-ce-ga2\jboss-7.1.1\bin\standalone.bat
我在日志文件中得到了这个错误
ERROR [org.jboss.msc.service.fail] (MSC service thread 1-6) MSC00001: Failed to start service jboss.deployment.unit."ciren-portlet.war".PARSE: org.jboss.msc.service.StartException in service jboss.deployment.unit."ciren-portlet.war".PARSE: Failed to process phase PARSE of deployment "ciren-portlet.war"
at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:119)[jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_67]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_67]
at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_67]
Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: JBAS018014: Failed to parse XML descriptor "/C:/Users/ttcgcn123/Desktop/liferay-portal-6.2-ce-ga2/jboss-7.1.1/standalone/deployments/ciren-portlet.war/WEB-INF/web.xml" at [898,3]
at org.jboss.as.web.deployment.WebParsingDeploymentProcessor.deploy(WebParsingDeploymentProcessor.java:114)
at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:113) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
... 5 more
这是我的web.xml file
View web.xml
Download web.xml
答案 0 :(得分:0)
这里只需要一小部分,您需要使用admin登录您的liferay门户,然后选择Admin>控制面板。