Spawned WSEWSSTC doesn't start after successful Tomcat WSTOMSTC start
search cancel

Spawned WSEWSSTC doesn't start after successful Tomcat WSTOMSTC start

book

Article ID: 246654

calendar_today

Updated On:

Products

Endevor

Issue/Introduction

The spawned Endevor Web services STC WSEWSSTC does not start after successful Tomcat STC start. The WSTOMSTC log shows
===
 XX:XX:XX.XXX <localhost-startStop-1> INFO  (c.c.e.e.utils.CFGMapper)
 <DataSource xmlns="http://scm.ca.com/endevor/CFG" xmlns:cfg="http://scm.ca.endevor" Name="ENDEVOR" Status="Available" Message="ENDEV
 OR Web Service" Description="Endevor demo">
   <STC JobName="WSEWSSTC" ProgramName="BC1PAPI0" HostName="XXXX" Comments="Welcome to ENDEVOR" UserId="" Password="" Enc   ryptedPas
 sword="" PoolInitSize="0" PoolIncrSize="1" PoolMaxSize="0" PoolReapTime="0" UnusedTimeout="0" AgedTimeout="0" ConnectionTimeout="120
 0" ResponseTimeout="0" KeepAlive="0" ConnectionMaxWS="0" ConnectionMaxKBytes="0">
     <wsParameters Lang="EN" Locale="" TimeZone="GMT-6.0" CharacterSet="ISO8859-1" CodePage="cp01140" LFSEncoding="ISO8859-1" Encodin
 g="cp01140" ContentType="Text" Trace="TestMonitorSTCPool" Traced="ALL" Version="" Product=""/>
   </STC>
 </DataSource>
XXX:XX:XX.XXX <localhost-startStop-1> INFO  (c.c.e.e.utils.CFGChanges) Configuration ENDEVOR.cfg added.
...
 INFO: Starting Servlet Engine: Apache Tomcat/8.5.35
...
 INFO: Deployment of web application directory [/ZFSHLQ/EndevorWS/tomcat/webapps/endevor] has finished in [11] ms
 MMM DD,, YYY HH:MM:SS PM org.apache.coyote.AbstractProtocol start
 INFO: Starting ProtocolHandler Î"https-xxxx-xxx-YYYY"¨
 MMM DD, YYYY HH:MM:SS PM org.apache.catalina.startup.Catalina start
 INFO: Server startup in 2942 ms
===

Cause

Using the default PoolMaxSize="0" for ENDEVOR.cfg so STC Pooling was disabled.

If STC Pooling is enabled, ENF will submit spawn task WSEWSSTC as soon as Tomcat starts.  

If STC Pooling is disabled, ENF won't submit spawn task WSEWSSTC until Endevor user issue the REST or SOAP request (For example user can issue REST API request using Endevor Eclipse Based UI or ZOWE CLI Endevor plugin). 

Resolution

To enable STC Pooling configure a non-zero PoolMaxSize per: Install and Set Up Web Services > Configuration Files > How to Enable STC Pooling
NOTE: Maximum value is 40.