You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomee.apache.org by Matthew Broadhead <ma...@nbmlaw.co.uk> on 2018/05/23 08:51:55 UTC

Could not load any resource bundle by com.sun.org.apache.xerces.internal.impl.msg.SAXMessages

After TomEE 7.0.3 has been running for a long time, maybe weeks, it starts producing these messages when users try to transform XML using XSLT (usually to generate PDF using FOP).  The container has to be restarted in order for it to start working again.  Is this related to the Xalan problem?

java.util.MissingResourceException: Could not load any resource bundle by com.sun.org.apache.xerces.internal.impl.msg.SAXMessages
	at com.sun.org.apache.xerces.internal.utils.SecuritySupport$7.run(SecuritySupport.java:174)
	at com.sun.org.apache.xerces.internal.utils.SecuritySupport$7.run(SecuritySupport.java:166)
	at java.security.AccessController.doPrivileged(Native Method)
	at com.sun.org.apache.xerces.internal.utils.SecuritySupport.getResourceBundle(SecuritySupport.java:166)
	at com.sun.org.apache.xerces.internal.util.SAXMessageFormatter.formatMessage(SAXMessageFormatter.java:58)
	at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.setProperty(AbstractSAXParser.java:1949)
	at com.sun.org.apache.xerces.internal.parsers.SAXParser.setProperty(SAXParser.java:175)
	at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:476)


Re: Could not load any resource bundle by com.sun.org.apache.xerces.internal.impl.msg.SAXMessages

Posted by Romain Manni-Bucau <rm...@gmail.com>.
Hi Matthew,

looks like a classloader issue like that but would need more details

Romain Manni-Bucau
@rmannibucau <https://twitter.com/rmannibucau> |  Blog
<https://rmannibucau.metawerx.net/> | Old Blog
<http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> |
LinkedIn <https://www.linkedin.com/in/rmannibucau> | Book
<https://www.packtpub.com/application-development/java-ee-8-high-performance>


Le mer. 23 mai 2018 à 10:52, Matthew Broadhead <
matthew.broadhead@nbmlaw.co.uk> a écrit :

> After TomEE 7.0.3 has been running for a long time, maybe weeks, it starts
> producing these messages when users try to transform XML using XSLT
> (usually to generate PDF using FOP).  The container has to be restarted in
> order for it to start working again.  Is this related to the Xalan problem?
>
> java.util.MissingResourceException: Could not load any resource bundle by
> com.sun.org.apache.xerces.internal.impl.msg.SAXMessages
>         at
> com.sun.org.apache.xerces.internal.utils.SecuritySupport$7.run(SecuritySupport.java:174)
>         at
> com.sun.org.apache.xerces.internal.utils.SecuritySupport$7.run(SecuritySupport.java:166)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at
> com.sun.org.apache.xerces.internal.utils.SecuritySupport.getResourceBundle(SecuritySupport.java:166)
>         at
> com.sun.org.apache.xerces.internal.util.SAXMessageFormatter.formatMessage(SAXMessageFormatter.java:58)
>         at
> com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.setProperty(AbstractSAXParser.java:1949)
>         at
> com.sun.org.apache.xerces.internal.parsers.SAXParser.setProperty(SAXParser.java:175)
>         at
> org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:476)
>
>