aasv9 大文件下载报错问题的处理
大于2g的文件下载,有可能出现下面异常:
解决方案:执行 ./startapusic -v 查看构建版本号,此问题在SP7上发现(Apusic Application Server Enterprise Edition V9.0 SP7 build 202308040123),需要下载最新的SP8的包。
java.lang.StackOverflowError
at java.base/java.lang.String.trim(String.java:2644)
at com.apusic.web.container.Response.checkSpecialHeader(Response.java:268)
at com.apusic.web.container.Response.addHeader(Response.java:285)
at com.apusic.web.container.Response.setContentLengthLong(Response.java:1027)
at com.apusic.web.container.Response.checkSpecialHeader(Response.java:274)
at com.apusic.web.container.Response.addHeader(Response.java:285)
at com.apusic.web.container.Response.setContentLengthLong(Response.java:1027)
at com.apusic.web.container.Response.checkSpecialHeader(Response.java:274)
at com.apusic.web.container.Response.addHeader(Response.java:285)
at com.apusic.web.container.Response.setContentLengthLong(Response.java:1027)
at com.apusic.web.container.Response.checkSpecialHeader(Response.java:274)
at com.apusic.web.container.Response.addHeader(Response.java:285)
at com.apusic.web.container.Response.setContentLengthLong(Response.java:1027)
at com.apusic.web.container.Response.checkSpecialHeader(Response.java:274)
at com.apusic.web.container.Response.addHeader(Response.java:285)
at com.apusic.web.container.Response.setContentLengthLong(Response.java:1027)
at com.apusic.web.container.Response.checkSpecialHeader(Response.java:274)
at com.apusic.web.container.Response.addHeader(Response.java:285)
at com.apusic.web.container.Response.setContentLengthLong(Response.java:1027)
at com.apusic.web.container.Response.checkSpecialHeader(Response.java:274)
at com.apusic.web.container.Response.addHeader(Response.java:285)
at com.apusic.web.container.Response.setContentLengthLong(Response.java:1027)
at com.apusic.web.container.Response.checkSpecialHeader(Response.java:274)