I am attempting to deploy docx4j/xlsx4j 3.1.0 to a cloud provider with a strict security manager installed. The initialization checks in the org.docx4j.jaxb.Context cause an attempt to load an internal JAXB JVM class which generates an AccessControlException which is not properly handled. I am going to try to use moxy as a work around since it appears these internal class checks are bypassed when it is present.
...
Caused by: java.lang.ExceptionInInitializerError
at org.docx4j.openpackaging.parts.JaxbXmlPart.<init>(JaxbXmlPart.java:85)
at ...