No more .WAR file - now what? Follow
Answered
We have TC deployed in our own tomcat instance along with some other apps and it's not going to change for various reasons. Before, thanks to the .WAR distribution, it was very easy to update TC version. Today I tried to update our 2020.1.2 to 2021.01 but there is no more war file. So I took .tar.gz unpacked it and replaced ROOT. Unfortunately it does not work this way. SAD!
Is there a way to update the server manually in a self maintained tomcat instance?
Please sign in to leave a comment.
You said it doesn't work, how exactly? What's the error you see?
Hello Dmitry,
There is not much to see
The issue seems to have something to do with the following error I see in tomcat log file.
```
25-May-2021 10:21:06.755 SEVERE [main] org.apache.catalina.startup.ContextConfig.processContextConfig Parse error in context.xml for []
org.xml.sax.SAXParseException; systemId: file:/C:/Applications/Tomcat/webapps/teamcity/ROOT/META-INF/context.xml; lineNumber: 3; columnNumber: 120; Error at line [3] column [120]: [jetbrains.buildServer.web.tomcat.TCSameSiteNoneCookieProcessor]
```
Hi, thanks, could you try to copy the lib/tomcat-patch.jar file from the tar.gz distribution to your Tomcat/lib folder?
Hi Dmitry,
Copying lib/tomcat-patch.jar did help to fix the problem.
Thank you for your help!