aknignuv commented on PR #882:
URL: https://github.com/apache/tomcat/pull/882#issuecomment-3355042202
After upgrading to Tomcat 9.0.109, my application fails to start due to a
parsing error in the context.xml file:
Error:
```
01-Oct-2025 08:57:42.701 SEVERE [main]
org.apache.catalina.startup.ContextConfig.processContextConfig Parse error in
context.xml for [/my-context]
org.xml.sax.SAXParseException; systemId:
file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%209.0/conf/Catalina/localhost/my-context.xml;
lineNumber: 38; columnNumber: 67; Error at line [38] column [67]: [null]
at
org.apache.tomcat.util.digester.Digester.createSAXException(Digester.java:1960)
at
org.apache.tomcat.util.digester.Digester.createSAXException(Digester.java:1993)
```
The error points to the following section in my-context.xml:
Context XML:
```
<Manager className="org.apache.catalina.session.PersistentManager"
distributable="false" saveOnRestart="false">
<Store className="org.apache.catalina.session.FileStore"/>
</Manager>
```
When I remove the line with FileStore, it works again.
This configuration worked fine in previous Tomcat versions. Has FileStore
been deprecated or removed in 9.0.109? What is the recommended replacement or
workaround for persistent session storage?
Any help or guidance would be appreciated!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]