Endevor Web Services Tomcat output has become unreadable following a new Java 21 installation.
All supported Endevor Releases
Web Services
For the Java versions 21.0.8, 21.0.9, 21.0.10, IBM changed the logging behavior for the JZOS batch launcher.
To resolve Java encoding issue It is recommended to install Java version 21.0.10.1 or higher with the following Endevor PTF:
- LU20505 for 19.0
- LU20504 for 18.1
After new java is installed, perform following steps to update Web Services configuration:
1. Update and point JAVA_HOME setting in WSTOMINS to Java 21.
2. Run WSTOMINS to reinstall Endevor web services using the following settings:
- ACTION=INSTALL
- CLEAN_ENDEVOR_TOMCAT_INSTANCE=Y
Make sure that JVM version is updated in startup procedure (WSTOMSTC):
//WSTOMSTC PROC LEPARM=,
// ARGS='start',
// JAVACLS='org.apache.catalina.startup.Bootstrap',
// VERSION='21',
For older Java versions: 21.0.8, 21.0.9, 21.0.10 following workaround could be implemented to fix encoding issue:
Note:
Change in Step 2 is not permanent and must be repeated after running the WSTOMINS job.
If you are performing the initial installation for Endevor Web Services, Tomcat must be started first to create EndevorService folder:
If you are running multiple web applications on the same Tomcat and experiencing same issue with other applications, you may consider making a global version of the logback.xml file for the Tomcat.