79248342

Date: 2024-12-03 16:09:47
Score: 2.5
Natty:
Report link

I reach this issue as I've the same problem with axis2, which use axiom from XML parsing, and axiom use woodstox for Stax.

I guess able to fix it by uploading the following file to my tomcat installation ${CATALINA_HOME}/webapps/axis2/WEB-INF/classes/XMLInputFactory.properties with the following content

com.ctc.wstx.maxAttributeSize= 2147483647

I've done this based on axiom DOC on how to override default woodstox properties https://ws.apache.org/axiom/userguide/ch04.html#factory.properties

Hope usefull

Reasons:
  • Has code block (-0.5):
  • Me too answer (2.5): 've the same problem
  • Low reputation (0.5):
Posted by: Marti Pàmies Solà