My Oracle Support Banner

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

Last updated on APRIL 12, 2018

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

To view full details, 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 a vibrant support community of peers and Oracle experts.