My Oracle Support Banner

Java.lang.StackOverflowError at org.apache.xpath.objects.XString.equals When Executing Stylesheet From Message Driven Bean in Oracle Application Server (Doc ID 1352531.1)

Last updated on FEBRUARY 03, 2019

Applies to:

Oracle Containers for J2EE - Version: and later   [Release: AS10gR3 and later ]
Information in this document applies to any platform.


Message Driver Bean (MDB) 3.0 in Oracle Application Server with JDK 1.6 is executing a stylesheet to transform the XML data using Xalan 2.6.0. It is a quite simple transformation, but it is throwing the following exception:

<MSG_TEXT>[STI:ejb_inboundTranslator:SalvageAssignmentMDB] Unexpected exception during execution of onMessage: java.lang.StackOverflowError.</MSG_TEXT>
at org.apache.xpath.objects.XString.equals(
at org.apache.xpath.objects.XString.equals(
at org.apache.xpath.objects.XString.equals(

The xml is valid and using outside transform client stylesheet is creating a valid output.

The issue started occurring after the upgrade to and  JDK 1.6.


To view full details, sign in with your My Oracle Support account.

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

In this Document

This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process and therefore has not been subject to an independent technical review.

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.