search cancel

API Developer Portal v3.5 CR4: <Resource> attributes are incorrect in the Tomcat server.xml


Article ID: 15256


Updated On:


CA API Developer Portal CA API Gateway


API Developer Portal 3.5 includes Apache Tomcat/6.0.39 initially.
And, v3.5 CR4 or later includes Apache Tomcat/8.5.14.
This article explains changes of some attribute names in server.xml between them.

What version of Apache Tomcat is used in API Developer Portal 3.5 ?


API Developer Portal v3.5


API Developer Portal 3.5 includes Apache Tomcat as following:

Non-CR to CR3Apache Tomcat/6.0.39
CR4 or laterApache Tomcat/8.5.14

When upgrading to CR4 or later from the earlier version, you may find that some attribute names of <Resource> element are incorrect in Tomcat server.xml file.

File location: /opt/Deployments/lrs/server/conf/server.xml

Attribute name to be corrected:

Original NameCorrect Name
The "validateQuery" is an incorrect value even for Tomcat 6.0.39.
validationQuery is the correct attribute for Tomcat 6.0.39 and 8.5.
The presence of validateQuery in the server.xml of old Portal is a bug.
If you are using CR4 or earlier Portal 3.5 (or Portal 3.1) you also have to modify the validateQuery.