Installation on Tomcat 7.0.67

Dear Group,

Today we ran into a problem when installing OpenClinica 3.6 on the latest Tomcat version: 7.0.67. A very meticulous tester noticed that the user was not redirected back to the event-overview page after upgrading a CRF to a new version. Tomcat returned a 404 instead of a 302 HTTP-response.
After some investigation and debugging the cause was found. From release 7.0.67 onwards Tomcat changed the behavior of redirects to conform to RFC7231. See the release notes: OpenClinica relies on the old behavior of Tomcat so that a configuration change is required.

Edit the context.xml file in the directory /tomcat/conf. Add an attribute called useRelativeRedirects with a value of false to the Context element:

We always attempt to run OpenClinica on the latest version in order to mitigate security vulnerabilities which surface now and then. Hopefully with this information you’ll not be delayed when upgrading Tomcat.

Sign In or Register to comment.