我使用jbpm-server-7.33.0。files Dist.zip我有一个生成WorkItemHandler文件的maven PDF项目。它有一个内置的jar-with-dependencies.jar是52MB。
我尝试将jar上传到Business Central工件,但我得到了
Caused by: io.undertow.server.RequestTooBigException:
UT000020: Connection terminated as request was larger than 10485760我尝试在这些文件中将10485760更改为90485760
domain/configuration/domain.xml
standalone/configuration/standalone-full-ha.xml
standalone/configuration/standalone_xml_history/standalone.last.xml
standalone/configuration/standalone_xml_history/standalone.boot.xml
standalone/configuration/standalone.xml
standalone/configuration/standalone-full.xml但是,在这些更改和重启服务器之后,没有任何变化。
我不知道如何减少我的依赖,我只有org.jbpm.jbpm-test和org.apache.pdfbox.pdfbox。如果没有依赖,我的jar只有5K左右。
发布于 2020-03-20 02:10:07
在配置文件中增加undertow子系统的max-post大小,如下所示
<server name="default-server">
<http-listener name="default" max-post-size="1000" socket-binding="http" redirect-socket="https"/>此外,您不应该在将要部署到其他地方的project/jar上添加org.jbpm:jbpm-test工件的依赖项。您应该只在编写junit测试时使用这个工件。
https://stackoverflow.com/questions/60756291
复制相似问题