No more .WAR file - now what?

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?

4 comments
Comment actions Permalink

You said it doesn't work, how exactly? What's the error you see?

0
Comment actions Permalink

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]

```

0
Comment actions Permalink

Hi, thanks, could you try to copy the lib/tomcat-patch.jar file from the tar.gz distribution to your Tomcat/lib folder? 

0
Comment actions Permalink

Hi Dmitry,

Copying lib/tomcat-patch.jar did help to fix the problem.

Thank you for your help!

0

Please sign in to leave a comment.