Installation Note 38720: SASĀ® 9.2 Web applications on the IBM WebSphere application server fail with a javax.xml.parsers.SAXParserFactory exception
If you configure WebSphere and deploy SAS Web applications to the server manually, you might see the following error in the WebSphere Systemout.log file:
java.lang.ClassCastException:
com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl incompatible with
javax.xml.parsers.SAXParserFactory
This error indicates that a class-loader setting is not set correctly for the SAS
Web applications. To resolve this issue, update the setting to PARENT_LAST as explained in the following steps. Note: You can also find these steps in the Instructions.html file.
Updating the Class-Loader Setting
To solve this problem, you must update the Classloading policy and mode for the EAR file and the Classloader mode for each WAR module that is contained in the EAR file. To do this:
- Select SAS_Web_Infrastructure_Platform_Services from the Enterprise Applications menu in the WebSphere Application Server's administrative console.
- Click the Classloading policy and update the detection link for the application EAR file. Also, ensure that the Classes loaded with application class loader first radio button is selected for this EAR. Note: By default, the WAR Classloading policy at the EAR level is set to a value of MULTIPLE, so no action is required.
- On the Enterprise Applications page for this application, click the Manage Modules link.
- You now must select each individual WAR module and use the Class-loader order menu to set Classes loaded with application class loader first, which is the same as setting a value of PARENT_LAST). Then click OK.
Note: You can wait until all of the WAR module Classloader modes are set to
PARENT_LAST before saving your work.
Operating System and Release Information
| SAS System | IBM WebSphere Application Server Network Deployment | Microsoft Windows Server 2003 Enterprise Edition | 6.1 | | | |
| Microsoft Windows Server 2003 Datacenter Edition | 6.1 | | | |
| Microsoft Windows 2000 Server | 6.1 | | | |
| Microsoft Windows 2000 Datacenter Server | 6.1 | | | |
| Microsoft Windows 2000 Advanced Server | 6.1 | | | |
| Microsoft Windows Server 2003 Standard Edition | 6.1 | | | |
| Microsoft Windows Server 2008 | 6.1 | | | |
| Microsoft Windows XP Professional | 6.1 | | | |
| 64-bit Enabled AIX | 6.1 | | | |
| 64-bit Enabled Solaris | 6.1 | | | |
| Linux for x64 | 6.1 | | | |
| Solaris for x64 | 6.1 | | | |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
| Type: | Installation Note |
| Priority: | medium |
| Date Modified: | 2010-03-12 14:05:53 |
| Date Created: | 2010-02-12 15:09:56 |