Failed to load metadata Error

tracker
(Seth Okeyo) #1

Good Morning all,
I have an issue I’ve really followed the discussions around with no conclusive solution.

I get this error “Failed to load metadata” when i try loading Tracker module of Version 2.31.3, on tomcat 8, postgresql 9.6.

Can someone help with a solution different from clearing browsing data and cache?

image.png

Seth Okeyo

USAMRD-A

DHIS version 2.32 is released
(Stephen Ocaya) #2

Hi all,

This error happens when you are using Tomcat 8.5+. In this version, URL with square brackets [,] are not supported by default and therefore rejected for security reasons.

To solve the problems,

You have to add on to the connector parameters in server.xml this parameter below:

relaxedQueryChars="[,]"

Then save and restart Tomcat server.

This should work.

regards

1 Like
(Stephen Ocaya) #3

Hi Seth,

Hi all,

This error happens when you are using Tomcat 8.5+. In this version, URL with square brackets [,] are not supported by default and therefore rejected for security reasons.

To solve the problems,

You have to add on to the connector parameters in server.xml this parameter below:

relaxedQueryChars="[,]"

Then save and restart Tomcat server.

This should work.

See image below and adjust

regards