Skip to main content


PK57660: JAVA.LANG.CLASSCASTEXCEPTION FOR SAXPARSERFACTORYIMPL DURING CLUSTER START

Fixes are available

6.1.0.19 WebSphere Application Server V6.1 Fix Pack 19 for i5/OS
6.1.0.19: WebSphere Application Server V6.1 Fix Pack 19 for Windows
6.1.0.19 WebSphere Application Server V6.1 Fix Pack 19 for AIX
6.1.0.19: WebSphere Application Server V6.1 Fix Pack 19 for HP-UX
6.1.0.19: WebSphere Application Server V6.1 Fix Pack 19 for Linux
6.1.0.19: WebSphere Application Server V6.1 Fix Pack 19 for Solaris
Java SDK 1.5 SR8 Cumulative Fix for WebSphere Application Server
6.1.0.23 WebSphere Application Server V6.1 Fix Pack 23 for i5/OS
Java SDK 1.5 SR8 Cumulative Fix for WebSphere Application Server
6.1.0.21: WebSphere Application Server V6.1 Fix Pack 21 for HP-UX
6.1.0.21: WebSphere Application Server V6.1 Fix Pack 21 for Windows
6.1.0.21 WebSphere Application Server V6.1 Fix Pack 21 for i5/OS
6.1.0.21: WebSphere Application Server V6.1 Fix Pack 21 for Solaris
6.1.0.21: WebSphere Application Server V6.1 Fix Pack 21 for Linux
6.1.0.21: WebSphere Application Server V6.1 Fix Pack 21 for AIX
6.1.0.23 WebSphere Application Server V6.1 Fix Pack 23 for AIX
Java SDK 1.5 SR9 Cumulative Fix for WebSphere Application Server
6.1.0.23: WebSphere Application Server V6.1 Fix Pack 23 for Windows
6.1.0.23: WebSphere Application Server V6.1 Fix Pack 23 for Solaris
6.1.0.23: WebSphere Application Server V6.1 Fix Pack 23 for Linux
6.1.0.23: WebSphere Application Server V6.1 Fix Pack 23 for HP-UX
6.1.0.25: WebSphere Application Server V6.1 Fix Pack 25 for Linux
6.1.0.25: WebSphere Application Server V6.1 Fix Pack 25 for i5/OS
6.1.0.25: WebSphere Application Server V6.1 Fix Pack 25 for HP-UX
6.1.0.25: WebSphere Application Server V6.1 Fix Pack 25 for AIX
6.1.0.25: WebSphere Application Server V6.1 Fix Pack 25 for Solaris
6.1.0.25: WebSphere Application Server V6.1 Fix Pack 25 for Windows
Java SDK 1.5 SR9 Cumulative Fix for WebSphere Application Server
6.1.0.27: WebSphere Application Server V6.1 Fix Pack 27 for i5/OS
Java SDK 1.5 SR10 Cumulative Fix for WebSphere Application Server
6.1.0.27: WebSphere Application Server V6.1 Fix Pack 27 for AIX
6.1.0.27: WebSphere Application Server V6.1 Fix Pack 27 for Windows
6.1.0.27: WebSphere Application Server V6.1 Fix Pack 27 for HP-UX
6.1.0.27: WebSphere Application Server V6.1 Fix Pack 27 for Solaris
6.1.0.27: WebSphere Application Server V6.1 Fix Pack 27 for Linux

 

APAR status

  • Closed as program error.

Error description

  • The cause of the problem is that the thread context class loader
    is set
    to an application class loader that has overriden the XML parser
    implementation.  The application code calls SIB, which calls SM,
    which
    calls EMF to read an XML document, which uses the incompatible
    XML
    parser implementation, which causes a ClassCastException.
    

Local fix

  • non
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: IBM WebSphere Application Server version     *
    *                 6.1 users.                                   *
    ****************************************************************
    * PROBLEM DESCRIPTION: java.lang.ClassCastException during     *
    *                      SAXParserFactoryImpl instance           *
    *                      creation in WorkspaceHelper.java        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    Customer has a cluster with two nodes with a service
    integration bus (SIB) and a msssage engine running on each
    node. He has a web application which attempts to send JMS
    messages to the messsage engine running on the same server it
    runs on. The application on one node can send but on the other
    node it can not send due to this exception
    
    ADMG0003E: The system failed to load document
    
    com.ibm.websphere.management.exception.
                        ConfigDocumentLoadException:
    ADMG0003E: The system failed to load document
    
    cells/GLNetwork1/clusters/gtsscluster/sib-engines.xml
    
    at com.ibm.ws.management.configservice.
     WorkspaceHelper.getDocAccessorInternal
                             (WorkspaceHelper.java:176)
    
    
    at com.ibm.ws.management.configservice.
     WorkspaceHelper.getDocAccessor
                             (WorkspaceHelper.java:127)
    at com.ibm.ws.management.configservice.
     WorkspaceHelper.getDocAccessor
                             (WorkspaceHelper.java:118)
    
    ...
    ...
    
    Caused by: java.lang.ClassCastException:
    
    org.apache.xerces.jaxp.SAXParserFactoryImpl incompatible
    with javax.xml.parsers.SAXParserFactory
    
     at javax.xml.parsers.SAXParserFactory.
                             newInstance(Unknown Source)
     at org.eclipse.emf.ecore.xmi.impl.XMLLoadImpl.
                             makeParser(XMLLoadImpl.java:299)
     at org.eclipse.emf.ecore.xmi.impl.XMLLoadImpl.
                             load(XMLLoadImpl.java:140)
     at org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl.
                             doLoad(XMLResourceImpl.java:179)
    
     at org.eclipse.wst.common.internal.emf.resource.
      CompatibilityXMIResourceImpl.basicDoLoad
       (CompatibilityXMIResourceImpl.java:180)
    

Problem conclusion

  • The source code has been modified to avoid the
    ClassCastException during SAXParserFactory.newInstance() in
    WorkspaceHelper class.
    
    The fix for this APAR is currently targeted for inclusion in
    fix packs 6.0.2.29 & 6.1.0.17
    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

    PK57660

  • Reported component name

    WEBS APP SERV N

  • Reported component ID

    5724H8800

  • Reported release

    61I

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2007-12-05

  • Closed date

    2008-04-01

  • Last modified date

    2008-08-15

  • 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

  • R61A PSY

       UP

  • R61H PSY

       UP

  • R61I PSY

       UP

  • R61P PSY

       UP

  • R61S PSY

       UP

  • R61W PSY

       UP

  • R61Z PSY

       UP

Copyright and trademark information

IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.

Rate this page

Please take a moment to complete this form to help us better serve you.

This material provides me with the information I need.






This material is clear and easy to understand.






Did the information help you to achieve your goal?

What updates, improvements, or related information would you like to see in this document?

Your response will be used to improve our document content. Requests for assistance, if applicable, should be submitted through your normal support channel as we cannot respond from this site.


Input the verification number to submit feedback:



Maintenance Window

Unscheduled Maintenance Window

There is no unscheduled maintenance scheduled at this time.

Document information

Product categories:

Software

Application Servers

Distributed Application & Web Servers

WebSphere Application Server

General


Software version:

61I


Reference #:

PK57660


IBM Group:

Software Group


Modified date:

2008-08-15

Translate my page