Hello,
myapp is distributable as per "distributable" tag in its own web.xml
I am getting this warning in the Wildfly log during myapp deployment.
WFLYUT0081: The deployment myapp.war will not be distributable because this feature is disabled in web-fragment.xml of the module primefaces-10.0.0.jar.
PrimeFaces version: 10
Wildfly version: 25, Jakarta EE 8 Full & Web
Java version: 11
Please advise on how to avoid primefaces breaking distributable functionality of web application.
Thanks
Primefaces breaks "distributable" appications
I just reported this issue and it will be in 11.0.0 Final: https://github.com/primefaces/primefaces/issues/7976
But for now just open the PrimeFaces JAR and edit the web-fragment.xml to have this and then re-real the JAR.
But for now just open the PrimeFaces JAR and edit the web-fragment.xml to have this and then re-real the JAR.
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<web-fragment xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
version="3.0"
xmlns="http://java.sun.com/xml/ns/javaee"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-fragment_3_0.xsd">
<distributable />
<listener>
<listener-class>org.primefaces.webapp.UploadedFileCleanerListener</listener-class>
</listener>
</web-fragme
PrimeFaces Developer | PrimeFaces Extensions Developer
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 13.0.0 / PF Extensions 13.0.0
PrimeReact 9.6.1
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 13.0.0 / PF Extensions 13.0.0
PrimeReact 9.6.1
-
- Information
-
Who is online
Users browsing this forum: No registered users and 38 guests