Recursive JSP Tags make the server runs into an infinite loop causing a StackOverflowError
(Doc ID 1506265.1)
Last updated on MARCH 12, 2021
Applies to:Oracle WebLogic Server - Version 9.2.4 to 10.3.6
Information in this document applies to any platform.
Infinite loop during JSP compilation. This causes StackOverflowError and eventually server crash (or Server stuck because HotSpot doesn't throw the exception).
For both issues, an StackOverFLow will happen, but it will been seen in the stacktrace only when it is used with JRockit, otherwise the browser will keep waiting for the response from the server and WLS will be unresponsive.
There are two different scenarios:
1. When a tag calls itself <Bug 13101234>
2. and when a tag calls a child tag and this calls its parent <Bug 13323399>
1. When a tag refers to itself; (self-referencing) the server runs into an infinite loop during JSP compilation. This causes StackOverflowError and eventually server crash.
If JVM HotSpot is been used, then probably no feedback will be sent to WLS log.To receive the StackOverFlow then change to JRockit and following options:
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