Fixes are available
6.1.0.2: WebSphere Application Server V6.1.0 Fix Pack 2 for Solaris
6.1.0.2: WebSphere Application Server V6.1.0 Fix Pack 2 for Linux
6.1.0.2: WebSphere Application Server V6.1.0 Fix Pack 2 for Windows
6.1.0.2: WebSphere Application Server V6.1.0 Fix Pack 2 for AIX
6.1.0.2: WebSphere Application Server V6.1.0 Fix Pack 2 for HP-UX
6.1.0.2: WebSphere Application Server V6.1.0 Fix Pack 2 for i5/OS
APAR status
Closed as program error.
Error description
ClassCastException seen when oracle-xml jars are used. Client packaged xml-apis.jar, xercesImpl.jar, xaljar, and serializer.jar in the WEB-INF/lib of the application. Web Module class loader set to Parent Last. This causes the following exception. [5/4/06 10:58:00:346 CDT] 00000030 WebApp E SRVE0026E: [Servlet Error]- [org.apache.xalan.processor.TransformerFactoryImpl]: java.lang.ClassCastException: org.apache.xalan.processor. TransformerFactoryImpl at javax.xml.transform.TransformerFactory.newInstance(Unknown Source) at com.ibm.ws.jsp.translator.visitor.validator.PageDataImpl. _getInputStream(PageDataImpl.java:125)
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: WebSphere Application Server version 6 users * * who use oracle-xml jars (foreign jars) in * * their application for xml processing. * **************************************************************** * PROBLEM DESCRIPTION: When oracle-xml jars are used in an * * application for XML processing * * instead of WebSphere Application * * server's own jars and if the * * classloader mode is set to * * PARENT_LAST, a ClassCastException is * * being thrown. * **************************************************************** * RECOMMENDATION: * **************************************************************** The right classloader was not being used to load the application specific jars. Basically the switch was not happening between the application classloader and the context loader which was causing the wrong classes to be loaded and hence the ClassCast exception was being thrown.
Problem conclusion
The ClassCastException was fixed by doing a switch of the classloader before loading the application jars. The official version of this fix will be integrated in fixpacks 6.0.2.15 and 6.1.0.2. Please refer to the recommended updates page for delivery information: http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980
Temporary fix
Comments
APAR Information
APAR number
PK26233
Reported component name
WEBS APP SERV N
Reported component ID
5724H8800
Reported release
60I
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2006-06-08
Closed date
2006-07-24
Last modified date
2006-07-24
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
WEBS APP SERV N
Fixed component ID
5724H8800
Applicable component levels
R60A PSY
UP
R60H PSY
UP
R60I PSY
UP
R60S PSY
UP
R60W PSY
UP
R61A PSY
UP
R61H PSY
UP
R61I PSY
UP
R61S PSY
UP
R61W PSY
UP
[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.0","Line of Business":{"code":"LOB45","label":"Automation"}}]
Document Information
Modified date:
18 October 2021