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