Sun Java System Web Server 7.0 Release Notes

Web Services

The following table lists the known issues in the web services area of Web Server.

Table 18 Known Issues in Web Services

Problem ID 

Description 

6467808 

Web Services application running on Web Server 7.0 throws “NAMESPACE_ERR: Unable to create envelope from given source” exception.

This issue is with the Java API for XML Processing JAR file, primarily the xerces.jar file part of JDK version 1.5.0_08 or later. Because Web Server 7.0 uses JAXP JAR files of JDK version 1.5.0_09, the issue is seen on Web Server. Latest JAXP JAR files of Web Services 2.0 pack has the fix for this issue but the fixed JAR files are not yet part of JDK software.

Workaround

Use the JAXP 1.3.1 JAR files instead of JAXP JAR files co-packaged with JDK software. 

Follow the steps below: 

  1. Create endorsed directory if it does not exist under <JRE>/lib directory.

  2. Place the JAXP 1.3.1 JAR files in the endorsed directory.

    Or,

    Pass the java.endorsed.dirs system property as a JVM option in <instance_dir>/config/server.xml file.

  3. Set the property to the directory containing the JAXP 1.3.1 JAR files. For Example:

    <jvm>
    <jvm-options>-Djava.endorsed.dirs=/opt/SUNWjax/share/lib</jvm-options>
    </jvm>