Uploaded image for project: 'PUBLIC - Liferay Faces'
  1. PUBLIC - Liferay Faces
  2. FACES-2904

Bridge TCK web.xml descriptor gets corrupted during deployment

    Details

      Description

      Steps to Reproduce

      1. Deploy Liferay Portal 6.2 EE SP15

      2. Deploy com.liferay.faces.test.bridge.tck.main.portlet

      Expected Results

      There are no errors in the WebLogic server log.

      Actual Results

      The following error appears in the WebLogic server log:

      <Aug 23, 2016 7:28:32 PM EDT> <Error> <Munger> <BEA-2156200> <Unable to load descriptor /liferay-portal-6.2.10-sp15-jsf-2.1/weblogic-12.1.3.0/autodeploy/com.liferay.faces.test.bridge.tck.main.portlet/WEB-INF/web.xml of module com.liferay.faces.test.bridge.tck.main.portlet. The error is weblogic.descriptor.DescriptorException: VALIDATION PROBLEMS WERE FOUND
        <2843:5> problem: cvc-complex-type.2.4a: Expected element 'web-resource-collection@http://java.sun.com/xml/ns/javaee' instead of 'filter@http://java.sun.com/xml/ns/javaee' here in element security-constraint@http://java.sun.com/xml/ns/javaee
        <2851:5> problem: cvc-complex-type.2.4a: Expected element 'web-resource-collection@http://java.sun.com/xml/ns/javaee' instead of 'filter-mapping@http://java.sun.com/xml/ns/javaee' here in element security-constraint@http://java.sun.com/xml/ns/javaee
        <2856:5> problem: cvc-complex-type.2.4a: Expected element 'web-resource-collection@http://java.sun.com/xml/ns/javaee' instead of 'filter@http://java.sun.com/xml/ns/javaee' here in element security-constraint@http://java.sun.com/xml/ns/javaee
        <2864:5> problem: cvc-complex-type.2.4a: Expected element 'web-resource-collection@http://java.sun.com/xml/ns/javaee' instead of 'filter-mapping@http://java.sun.com/xml/ns/javaee' here in element security-constraint@http://java.sun.com/xml/ns/javaee
        <2869:5> problem: cvc-complex-type.2.4a: Expected element 'web-resource-collection@http://java.sun.com/xml/ns/javaee' instead of 'filter@http://java.sun.com/xml/ns/javaee' here in element security-constraint@http://java.sun.com/xml/ns/javaee
        <2877:5> problem: cvc-complex-type.2.4a: Expected element 'web-resource-collection@http://java.sun.com/xml/ns/javaee' instead of 'filter-mapping@http://java.sun.com/xml/ns/javaee' here in element security-constraint@http://java.sun.com/xml/ns/javaee
        <2882:5> problem: cvc-complex-type.2.4a: Expected element 'web-resource-collection@http://java.sun.com/xml/ns/javaee' instead of 'filter@http://java.sun.com/xml/ns/javaee' here in element security-constraint@http://java.sun.com/xml/ns/javaee
        <2890:5> problem: cvc-complex-type.2.4a: Expected element 'web-resource-collection@http://java.sun.com/xml/ns/javaee' instead of 'filter-mapping@http://java.sun.com/xml/ns/javaee' here in element security-constraint@http://java.sun.com/xml/ns/javaee
      	at weblogic.descriptor.internal.MarshallerFactory$1.evaluateResults(MarshallerFactory.java:245)
      	at weblogic.descriptor.internal.MarshallerFactory$1.evaluateResults(MarshallerFactory.java:231)
      	at weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:155)
      	at weblogic.descriptor.BasicDescriptorManager.createDescriptor(BasicDescriptorManager.java:327)
      	at weblogic.application.descriptor.AbstractDescriptorLoader2.getDescriptorBeanFromReader(AbstractDescriptorLoader2.java:817)
      	at weblogic.application.descriptor.AbstractDescriptorLoader2.createDescriptorBean(AbstractDescriptorLoader2.java:413)
      	at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBeanWithoutPlan(AbstractDescriptorLoader2.java:779)
      	at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBean(AbstractDescriptorLoader2.java:792)
      	at weblogic.servlet.internal.WebAppDescriptor.getWebAppBean(WebAppDescriptor.java:142)
      	at weblogic.servlet.internal.WebAppModule.loadDescriptor(WebAppModule.java:1455)
      	at weblogic.servlet.internal.WebAppModule.init(WebAppModule.java:245)
      	at weblogic.servlet.internal.WebAppModule.init(WebAppModule.java:682)
      	at weblogic.application.internal.flow.ScopedModuleDriver.init(ScopedModuleDriver.java:162)
      	at weblogic.application.internal.ExtensibleModuleWrapper.init(ExtensibleModuleWrapper.java:98)
      	at weblogic.application.internal.flow.ModuleListenerInvoker.init(ModuleListenerInvoker.java:84)
      	at weblogic.application.internal.flow.InitModulesFlow.initModule(InitModulesFlow.java:288)
      	at weblogic.application.internal.flow.InitModulesFlow.initModules(InitModulesFlow.java:301)
      	at weblogic.application.internal.flow.InitModulesFlow.prepare(InitModulesFlow.java:329)
      	at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:706)
      	at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:42)
      	at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:237)
      	at weblogic.application.internal.SingleModuleDeployment.prepare(SingleModuleDeployment.java:48)
      	at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:158)
      	at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:61)
      	at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:208)
      	at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:98)
      	at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:233)
      	at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:749)
      	at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1238)
      	at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:252)
      	at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:172)
      	at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:171)
      	at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:13)
      	at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:46)
      	at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:553)
      	at weblogic.work.ExecuteThread.execute(ExecuteThread.java:311)
      	at weblogic.work.ExecuteThread.run(ExecuteThread.java:263)
      

        Attachments

          Activity

            People

            • Assignee:
              neil.griffin Neil Griffin
              Reporter:
              neil.griffin Neil Griffin
              Participants of an Issue:
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: