General Page
This page provides you a solution to the Error caused When Starting Apache Tomcat with Web Applications migrated from Rational Business Developer 9.6 and prior
PROBLEM:
Error When Starting Apache Tomcat with Web Applications migrated from Rational Business Developer 9.6 and prior.
ENVIRONMENT:
Apache Tomcat with Rational Business Developer 9.7
SYMPTOMS:
After deploying EGL web services to an existing Tomcat Web Project in RBD 9.7, errors are encountered when starting the web application in Tomcat. This is due to the duplicate servlet definitions created in the Web Project’s web.xml configuration file. Web Projects migrated from RBD 9.6 and prior contain a definition for Apache Axis2 SOAP engine, whereas RBD 9.7 uses Apache CXF for SOAP services on Tomcat.
SOLUTION:
A one-time manual step will be needed when deploying to a migrated web application - the user will need to remove the Axis2 servlet and its associated servlet mapping manually.
Lines to manually remove in web.xml:
<servlet>
<display-name>Apache-Axis2 Servlet</display-name>
<servlet-name>AxisServlet</servlet-name>
<servlet-class>com.ibm.javart.services.axis2.EGLJAXWSServlet</servlet-class>
<load-on-startup>1</load-on-startup>
<enabled>true</enabled>
<async-supported>false</async-supported>
</servlet>
<servlet-mapping>
<servlet-name>AxisServlet</servlet-name>
<url-pattern>
/services/*</url-pattern>
</servlet-mapping>
Lines to manually remove in web.xml:
<servlet>
<display-name>Apache-Axis2 Servlet</display-name>
<servlet-name>AxisServlet</servlet-name>
<servlet-class>com.ibm.javart.services.axis2.EGLJAXWSServlet</servlet-class>
<load-on-startup>1</load-on-startup>
<enabled>true</enabled>
<async-supported>false</async-supported>
</servlet>
<servlet-mapping>
<servlet-name>AxisServlet</servlet-name>
<url-pattern>
/services/*</url-pattern>
</servlet-mapping>
[{"Type":"MASTER","Line of Business":{"code":"LOB35","label":"Mainframe SW"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSMQ79","label":"Rational Business Developer"},"ARM Category":[{"code":"a8m0z000000cx3hAAA","label":"Rational Business Developer-\u003EEGL Development"}],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions"}]
Was this topic helpful?
Document Information
Modified date:
01 July 2022
UID
ibm16600733