Thanks both.

Apologies for having failed to spot that.

Dave

On 29/09/2025 14:02, Mark Thomas wrote:
Looks like a variation of the known regression with FileStore and 9.0.109. There will be a fix in the October releases.

Mark

On 29/09/2025 13:03, Dave Reynolds 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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to