After a large number of PDF Generator conversions on JBoss, conversions intermittently fail with the error: org.omg.CORBA.NO_RESOURCES exception. This initially results in intermittent failures which without a server restart can cause all operations to start failing after some time. The error message seen in the logs is:
org.omg.CORBA.NO_RESOURCES: (Pool)[0/1000] no idle threads but maximum number of threads reached (1000) vmcid: 0×0 minor code: 0 completed: No
The problem is caused by jacORB (the ORB bundled in JBoss) keeping a thread waiting to connect to a peer that is no longer available. Repeated occurrences of this situation cause threads to be needlessly occupied, ultimately causing thread pool exhaustion.
Red Hat has provided patch JBPAPP-10887 to resolve the issue on JBoss EAP 5.2.
The patch requires LiveCycle PDF Generator ES4 SP1 to be installed, with JBoss EAP 5.2. For more details on the patch installation process and other requirements please refer to the tech note: http://helpx.adobe.com/livecycle/kb/orgomgcorbano_resources-exception.html.
For more details on whats new in LiveCycle ES4 SP1 refer to the link: http://helpx.adobe.com/livecycle/help/whats-new-livecycle-es4-sp1.html