Performance issue when using base64Binary data or MTOM for JAX-WS Webservice when using WS-Security! (Doc ID 1324760.1)

Last updated on JUNE 09, 2016

Applies to:

Oracle Weblogic Server - Version: 10.3.4 and later   [Release: and later ]
Information in this document applies to any platform.

Symptoms

When using xs:base64Binary for sending data along with custom policy file, which uses HTTPS and authentication, to invoke the web service you will notice some performance issues. If you remove the policy file the issue isn't seen anymore.
This will be noticed even with inbuilt policy files when using MTOM; for e.g:
  • policy:Wssp1.2-2007-Https-BasicAuth.xml
  • policy:Wssp1.2-2007-Https.xml.
The issue can be reproduced at will with the following steps:
1. create jax-ws webservice with a security policy file for Eg: Wssp1.2-2007-Https-BasicAuth.xml.
2. create a client which invokes this web service
3. you will hit the issue
4.. take thread dumps to look at stackTrace.

From the thread dump analysis it seems that most of the processing time is related to a specific method:
com.sun.org.apache.xerces.internal.dom.CharacterDataImpl.appendData(String)

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms