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

Document ID : KB000015256
Last Modified Date : 22/06/2018
Show Technical Document Details
Introduction:

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.

Question:

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

Environment:
API Developer Portal v3.5
Answer:

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
maxActivemaxTotal
maxWaitmaxWaitMillis
validateQueryvalidationQuery
*Note:
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.