Error trying to run VANWEBUI as a batch job

Document ID : KB000126872
Last Modified Date : 13/02/2019
Show Technical Document Details
Question:
I submit the VANWEBUI as a batch job and it runs for about 30 seconds and then ends. What do I need to do so the job runs?
Answer:
Manually edit conf file in tomcat run-time environment: 
1. From ISPF primary panel use option 3.17. 
2. Surf out to: 
"/u/users/CAVantage/WebUI/runtime/apache-tomcat-8.5.31" 
3. Tab down to the "conf" directory and press enter. 
4. Tab down to the "server.xml" file and use the 'EA' command to edit ascii mode. 
5. Press enter at the prompt. 
6. Find the line " --><Server port="8006" shutdown="SHUTDOWN">" around line #19. 
7. Change the line to " --><Server port="-1" shutdown="SHUTDOWN">". 
8. Start web ui task again.