Mark, Piotr,
thanks a lot for your answers.

I tested both fixes proposed by Piotr:

1) adding to catalina.properties works.
2) adding to JreMemoryLeakPreventionListener.classesToInitialize did not
work.


Simon

On Fri, Apr 25, 2025 at 10:12 AM Piotr P. Karwasz <pi...@mailing.copernik.eu>
wrote:

> Hi,
>
> On 25.04.2025 15:57, Piotr P. Karwasz wrote:
> > To solve this, add:
> > javax.xml.datatype.DatatypeFactory =
> > com.sun.org.apache.xerces.internal.jaxp.datatype.DatatypeFactoryImpl
>
> A more proper solution could be to initialize
> `j.x.b.DatatypeConverterImpl` using the `JreMemoryLeakPreventionListener`:
>
> <Listener
> className="org.apache.catalina.core.JreMemoryLeakPreventionListener"
>            classesToInitialize="javax.xml.bind.DatatypeConverterImpl"/>
>
> Piotr
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>

Reply via email to