Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
515 views
in Technique[技术] by (71.8m points)

primefaces - JSF app not working on payara 4 with FACELETS_BUFFER_SIZE set

I have a PrimeFaces 6.2(JSF) application with Mojarra 2.2.20 running on a payara (version 4.1.1.171.1) server. I use also omnifaces(version 2.7). A requirement for using FullAjaxExceptionHandler is setting a value large enough for FACELETS_BUFFER_SIZE in web.xml.

    <context-param>
        <param-name>javax.faces.FACELETS_BUFFER_SIZE</param-name>
        <param-value>1048576</param-value> 
    </context-param>

No matter how large or small I set the value for facelets_buffer_size, my application compiles and get deployed without any errors but the web site is completely blank. When I remove the facelets_buffer_size setting, my app works fine.

I tried many JSF applications, same issue. I tried also a different payara version like version 412174, same issue.

Does anybody have an idea how to fix this? thanks

question from:https://stackoverflow.com/questions/66067176/jsf-app-not-working-on-payara-4-with-facelets-buffer-size-set

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...