Forums

Home » Liferay Portal » English » 3. Development

Combination View Flat View Tree View
Threads [ Previous | Next ]
Michele Stoduto
Failed to parse XML descriptor
August 9, 2012 4:02 AM
Answer

Michele Stoduto

Rank: New Member

Posts: 12

Join Date: July 7, 2010

Recent Posts

Hi All,
I've installed a latest version of liferay 6.1 ga2 with jboss server.

On change my porttlet from previous version to new version, jboss have thrown an exception.

12:26:39,744 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-11) MSC00001: Failed to start service jboss.deployment.unit."po_portlet.war".PARSE: org.jboss.msc.service.StartException in service jboss.deployment.unit."po_portlet.war".PARSE: Failed to process phase PARSE of deployment "po_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$Worker.runTask(ThreadPoolExecutor.java:886) [rt.jar:1.6.0_27]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [rt.jar:1.6.0_27]
at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_27]
Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: JBAS018014: Failed to parse XML descriptor "/D:/servers/liferay611/jboss-7.1.1/standalone/deployments/po_portlet.war/WEB-INF/web.xml" at [25,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


After edit generated web.xml in deployed directory the filter tag position is wrong.

In my web.xml I've two com.liferay.portal.kernel.servlet.PortalDelegateServlet
when remove this servlet all work fine.

In attachment the original web.xml an generated xml after deploy in liferay.

Any idea?

Tnk.
Attachments: Generated_web.xml (10.4k), initial_web.xml (3.2k)