本文介绍了升级到payara 4.1.1.171后,无法加载应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

将服务器从glassfish 3.1升级到payara 4.1.1.171,进行了glassfish配置备份并还原到payara 4.1.1.171.此后,我的应用程序未加载并且在控制台中,它引发此错误 net :: ERR_INCOMPLETE_CHUNKED_ENCODING

Upgraded server from glassfish 3.1 to payara 4.1.1.171, took the glassfish config backup and restored to payara 4.1.1.171. After that my application is not loading and in console it throws this error net::ERR_INCOMPLETE_CHUNKED_ENCODING

如果我将压缩属性更改为关闭",则应用程序正在加载.

If i change the compression attribute to 'off' then application is loading .

<http request-timeout-seconds="2700" chunking-enabled="false" compressable-mime-type="text/html,text/xml,text/plain,image/gif,image/jpeg,image/png,text/css,text/javascript,application/json,application/xml" max-connections="250" compression="on" default-virtual-server="server">

在上述配置中,如果我将compression ="on"更改为compression ="off",则其工作正常.不要因为这个原因而打破了在相同环境下在玻璃鱼中工作的payara.我无法关闭压缩功能以节省带宽.

In the above configuration if i change the compression="on" to compression="off" then its working fine.Don't why this is breaking in payara which was working in glassfish with same setting. I can't turn off the compression which will saves the bandwidth.

注意:已经报告了一些与此类似的问题 Chrome net :: ERR_INCOMPLETE_CHUNKED_ENCODING错误但这不是我的情况

Note: Already some issues are reported similar to this Chrome net::ERR_INCOMPLETE_CHUNKED_ENCODING errorbut this is not case for me

推荐答案

此问题应根据此问题使用该版本而不是4.1.1.171

The issue should be fixed in Payara 4.1.2.172 according to this issueUse that version instead of 4.1.1.171

这篇关于升级到payara 4.1.1.171后,无法加载应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

06-30 20:02