Hi,

there is release bug in 109, you have to wait with upgrade to 110

read https://tomcat.apache.org/ 109 release.

Regards,
Zdenek Henek

On Mon, Sep 29, 2025 at 12:13 PM Dave Reynolds <
[email protected]> wrote:

> Hi,
>
> We have been successfully running a set of Tomcat 9.0.108 instances
> using FileStore for session persistence.  However, updating to 9.0.109
> breaks these with a configuration parse error.
>
> The context.xml in our web app contains just:
>
> <Context>
>    <Valve className="org.apache.catalina.valves.PersistentValve"/>
>    <Manager className="org.apache.catalina.session.PersistentManager"
> maxIdleBackup="1">
>      <Store className="org.apache.catalina.session.FileStore"
> directory="/var/opt/session"/>
>    </Manager>
> </Context>
>
> Under 9.0.108 this works and sessions are persisted as expected in the
> configured directory.
>
> Under 9.0.109 the webapp fails to start with messages:
>
>      Parse error in context.xml for [/catalog]
>      Occurred at line [4] column [91]
>
> That line and column reference corresponds to the end of the <Store.../>
> line.
>
> This is running in a docker container based on the
> tomcat:9.0.109-jdk21-corretto-al2 image.
>
> Presume this is related to
> https://bz.apache.org/bugzilla/show_bug.cgi?id=69781 which is part of
> the 109 point release but can't see anything in the PR for that which
> explains the "Parse error".
>
> I imagine our context.xml is wrong in a way that 9.0.108 let through but
> 9.0.109 is failing on but there's not much there and have tried several
> variants without success. Any help spotting the problem would be much
> appreciated.
>
> Dave
> --
> Epimorphics Ltd                        www.epimorphics.com
> Tel: 01275 399069                     Mobile: 07906 628814
>
> Epimorphics Ltd. is a limited company registered in England #7016688
> Registered address: Second Floor, One The Square, Temple Quay, Bristol,
> BS1 6DG, UK
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to