-
Type:
Regression Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: 7.0.X EE, Master
-
Fix Version/s: 7.0.0 DXP FP23, 7.0.X EE, 7.0.4 CE GA5, 7.1.X, Master
-
Component/s: Portal Services > Component Management
-
Branch Version/s:7.0.x
-
Backported to Branch:Committed
-
Git Pull Request:
The async-supported element for the Module Framework Servlet description in web.xml is being reordered after deploying the sample-ext plugin. This causes Weblogic to not start with the following errors:
Descriptor before
<servlet> <servlet-name>Module Framework Servlet</servlet-name> <servlet-class>com.liferay.portal.module.framework.ModuleFrameworkServletAdapter</servlet-class> <load-on-startup>1</load-on-startup> <async-supported>true</async-supported> </servlet>
Descriptor after
<servlet> <async-supported>true</async-supported> <servlet-name>Module Framework Servlet</servlet-name> <servlet-class>com.liferay.portal.module.framework.ModuleFrameworkServletAdapter</servlet-class> <load-on-startup>1</load-on-startup> </servlet>
Error
<Jul 6, 2017 9:33:45 AM PDT> <Error> <Munger> <BEA-2156200> <Unable to load descriptor /Users/ayame/Liferay/private/ee-7.0.x-bundles/weblogic-12.2.1/domains/liferay/autodeploy/ROOT/WEB-INF/web.xml of module ROOT. The error is weblogic.descriptor.DescriptorException: VALIDATION PROBLEMS WERE FOUND <225:5> problem: cvc-complex-type.2.4a: Expected element '[email protected]://xmlns.jcp.org/xml/ns/javaee' instead of '[email protected]://xmlns.jcp.org/xml/ns/javaee' here in element [email protected]://xmlns.jcp.org/xml/ns/javaee at weblogic.descriptor.internal.MarshallerFactory$1.evaluateResults(MarshallerFactory.java:245)
Reproduced on
Weblogic 12.2.1 + MySQL 5.6.29. Portal ee-7.0.x GIT ID: 7cf81a39e015cd59fde5595b50d4a02299b1f040.
Plugins ee-7.0.x GIT ID: 54f12118f15bc2035e361a48773cb68974204af1.
- is caused by
-
LPS-62552 Invoker Filter causes plugins with async support enabled to fail
- Closed