''Recursion too deep; the stack overflowed'' error occurs after applying Updater 4 to JRun 4


On some Windows 2003 servers, after applying Updater 4 to JRun 4, a "Recursion too deep; the stack overflowed" error occurs in the browser after restarting and opening any page, for example CFM, JSP or Java servlet. After refreshing the page a couple of times, the error disappears and the pages serve correctly, but upon the restart of the JRun server, the error occurs again.


This problem can occur on JRun 4 Updater 4, with or without ColdFusion MX 6.1 installed. The error seems to be related to how permissions are set up on the server. The error is returned from the operating system and not JRun, which is why there are no corresponding errors in the JRun or ColdFusion logs.


To fix this issue, grant the Network Service user in the IIS Worker Process Group (IIS_WPG) read and write access to thejrun_root\lib\wsconfig directory, including the sub-folders and files. Restart the IIS Admin Service and the JRun services after making the permissions change.

Adobe logo

Sign in to your account