java.lang.ClassCastException: com.ibm.ws.webcontainer.srt.SRTServletResponse when using Web Services in WebSphere Application Server V5 releases
 Technote (troubleshooting)
 
Problem(Abstract)
After maintenance is applied to WebSphere® Application Server, the following exception could occur:

com.ibm.ws.webservices.engine.transport.http.WebServicesServlet WSWS3227E: Error: Exception:
com.ibm.ws.webservices.engine.transport.http.WebServicesServlet TRAS0014I: The following exception was logged WebServicesFault
faultCode: Server.generalException
faultString: com.ibm.ws.webcontainer.srt.SRTServletResponse
faultActor: null
faultDetail:

com.ibm.ws.webcontainer.srt.SRTServletResponse
at com.ibm.wsgw.channels.soaphttp.WSGWRPCJavaProvider.invoke(WSGWRPCJavaProvider.java:642)
at com.ibm.ws.webservices.engine.PivotHandlerWrapper.invoke(PivotHandlerWrapper.java:212)
at com.ibm.ws.webservices.engine.handlers.WrappedHandler.invoke(WrappedHandler.java:61)
...
Caused by: java.lang.ClassCastException: com.ibm.ws.webcontainer.srt.SRTServletResponse
at com.ibm.wsgw.channels.soaphttp.WSGWRPCJavaProvider.initContextMessage(WSGWRPCJavaProvider.java:259)
at com.ibm.wsgw.channels.soaphttp.WSGWRPCJavaProvider.invoke(WSGWRPCJavaProvider.java:518)
at com.ibm.ws.webservices.engine.PivotHandlerWrapper.invoke(PivotHandlerWrapper.java:212)
at com.ibm.ws.webservices.engine.handlers.WrappedHandler.invoke(WrappedHandler.java:61)
...
 
Cause
In this particular case, a user updated WebSphere Application Server Base and WebSphere Business Integration Server Foundation with a fix pack or cumulative fix.

Before the update, they had previously imported Web Services Gateway from a separate Network Deployment installation and installed it on Base.

Because of this, the Web Services Gateway was at a lower maintenance level than the Web Services engine.

 
Resolving the problem
When installing updates to WebSphere Application Server, be sure to update both Base and Network Deployment Editions. Web Services Gateway is updated through the Network Deployment (ND) update install.

If ND is on a different system than Base, then update ND and then install Web Services Gateway from that ND install on the Base node system.

More information concerning Cumulative fix compatibility between Base and Network Deployment Editions, and Enterprise Edition can be found here:
http://www.ibm.com/support/docview.wss?rs=823&uid=swg21162831

 
 
Cross Reference information
Segment Product Component Platform Version Edition
Application Servers Runtimes for Java Technology Java SDK
 
 


Document Information


Product categories: Software > Application Servers > Distributed Application & Web Servers > WebSphere Application Server > Web Services (for example: SOAP or UDDI or WSGW or WSIF)
Operating system(s): Windows
Software version: 5.1.1.3
Software edition:
Reference #: 1198606
IBM Group: Software Group
Modified date: Feb 21, 2005