The server system workaround involves the following tasks:
Putting the SAAJ 1.3 JAR files in the Application Server lib directory
Adding two JVM options to set system properties
Stopping and restarting Application Server
Change to the Application Server lib directory.
On Solaris OS: cd /opt/SUNWappserver/appserver/lib
On Linux and HP-UX systems: cd /opt/sun/appserver/lib
Make backup copies of the two SAAJ JAR files in the Application Server lib directory. For example:
cp saaj-api.jar saaj-api.jar.v1.2 cp saaj-impl.jar saaj-impl.jar.v1.2 |
Copy the SAAJ 1.3 JAR files to the Application Server lib directory.
On Solaris OS:
cp /usr/share/lib/saaj-api.jar . cp /usr/share/lib/saaj-impl.jar . |
On Linux and HP-UX systems:
cp /opt/sun/share/lib/saaj-api.jar . cp /opt/sun/share/lib/saaj-impl.jar . |
Log in to the Application Server Admin Console as described in To Use the Application Server Admin Console in Service Registry 3.1 Administration Guide.
Expand the Configurations node.
Expand the server node, server-config (Admin Config).
Click JVM Settings.
Click the JVM Options tab.
Click Add JVM Option.
In the text field, type the following:
-Djavax.xml.soap.MessageFactory=com.sun.xml.messaging.saaj.soap.ver1_1.SOAPMessageFactory1_1Impl |
Click Add JVM Option again.
In the text field, type the following:
-Djavax.xml.soap.MetaFactory=com.sun.xml.messaging.saaj.soap.SAAJMetaFactoryImpl |
Click Save.
Follow the instructions in To Stop and Restart the Application Server Domain for the Registry in Service Registry 3.1 Administration Guide.