Unable to deploy AE Internal Webservice: webapp v12.1 for tomcat

Document ID : KB000084537
Last Modified Date : 14/04/2018
Show Technical Document Details
Issue:
Error Message :
The log file of the application server contains the following stack trace (example for Tomcat)

java.lang.NullPointerException
at com.uc4.ex.INIConfigFile.(Unknown Source)
at com.uc4.ws.AppContextListener.contextInitialized(Unknown Source)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4715)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5177)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:152)
at org.apache.catalina.manager.ManagerServlet.start(ManagerServlet.java:1307)
at org.apache.catalina.manager.HTMLManagerServlet.start(HTMLManagerServlet.java:669)
at org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:217)

The deployment of the internal Web Service (SOAP) fails on all application servers in Automation Engine (AE) version12.1, but  works normally in version 12.0.

The AE Internal Webservice webapp v12.1 (uc4ws_tomcat.war) cannot be deployed.

Logs display a severe: listener(s) failed to start and wsdl link is not accessible error.


 
Cause:
Cause type:
Defect
Root Cause: The format of the INI file has changed and there is a bug in the parser.

The deployment of the internal Web Service (SOAP) fails on all application servers in 12.1 because the format of the INI file has changed and there is a bug in the parser.
Resolution:
Update to a fix version listed below or a newer version if available.

Fix Status: In Progress

Fix Version(s):
Automation Engine 12.2.0 - Planned release date: 2018-06-19
Automation Engine 12.1.1 - Available
Additional Information:
Workaround :
  1. Remove the first comment from the file ucws.ini which is inside the web archive.
OR
  1. Rollback to Automation Engine 12.0