43.8 Troubleshooting Workflow Related Issues

43.8.1 Resolving StackOverflow Error on Recursive Workflows

Issue: In a recursive workflow, when the event does not flow to the next approval, the following StackOverflow error is seen in the catalina.out log file:

Servlet.service() for servlet [spring] in context with path [/IDMProv] threw exception [Handler dispatch failed; nested exception is java.lang.StackOverflowError] with root cause java.lang.StackOverflowError

This issue may be observed in a specific environment in which Identity Manager is deployed. For more information, see Increasing the Stack Size for Recursive Workflows.

Workaround: To resolve this issue, set the value for the maxThreads attribute to 400 in the server.xml file located at:

Linux: /opt/netiq/idm/apps/tomcat/conf

Windows: C:\NetIQ\idm\apps\tomcat\conf