BPM Fails To Deploy Applications In Weblogic Server Due To JAVA.IO.FILENOTFOUNDEXCEPTION - Too many open files (Doc ID 1111693.1)

Last updated on OCTOBER 24, 2016

Applies to:

Oracle Business Process Management Suite - Version 6.0.5 to 10.3.1
Generic Linux
Generic UNIX
***Checked for relevance on 28-Jun-2012***
***Checked for relevance on 29-November-2013***

Symptoms

While running BPM Config Wizard, BPM fails to deploy applications in Weblogic Server.

An error message like the following could be thrown:

[<I> 20/05/10 13:01:51] .WLST-WLS-1274378386415: <May 20, 2010 1:01:51 PM CDT> <Error> <HTTP> <BEA-101220> <Error occurred while setting document root for "weblogic.servlet.internal.WebAppServletContext@e094cc - appName: '07-papiws-wls103-XAFDIDS.ear', name: 'papiws', context-path: '/papiws', spec-version: '2.5'" to "/u01/app/oracle/middleware103/wlserver_10.3/samples/domains/bpm/servers/BPMServer/tmp/_WL_user/07-papiws-wls103-XAFDIDS.ear/f0r1c0/papiws.war".>
[<I> 20/05/10 13:01:51] WLST-WLS-1274378386415: <May 20, 2010 1:01:51 PM CDT> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1274378510468' for task '5'. Error is: 'weblogic.application.ModuleException: Failed to load webapp: 'papiws''
[<I> 20/05/10 13:01:51] WLST-WLS-1274378386415: weblogic.application.ModuleException: Failed to load webapp: 'papiws'
[<I> 20/05/10 13:01:51] WLST-WLS-1274378386415: at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:387)
[<I> 20/05/10 13:01:51] WLST-WLS-1274378386415: at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
[<I> 20/05/10 13:01:51] WLST-WLS-1274378386415: at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
[<I> 20/05/10 13:01:51] WLST-WLS-1274378386415: at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:387)
[<I> 20/05/10 13:01:51] WLST-WLS-1274378386415: at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
[<I> 20/05/10 13:01:51] WLST-WLS-1274378386415: Truncated. see log file for complete stacktrace
[<I> 20/05/10 13:01:51] WLST-WLS-1274378386415: java.util.zip.ZipException: error in opening zip file
[<I> 20/05/10 13:01:51] WLST-WLS-1274378386415: at java.util.zip.ZipFile.open(Native Method)
[<I> 20/05/10 13:01:51] WLST-WLS-1274378386415: at java.util.zip.ZipFile.<init>(ZipFile.java:114)
[<I> 20/05/10 13:01:51] WLST-WLS-1274378386415: at java.util.zip.ZipFile.<init>(ZipFile.java:131)
[<I> 20/05/10 13:01:51] WLST-WLS-1274378386415: at weblogic.utils.classloaders.ZipClassFinder.<init>(ZipClassFinder.java:23)
[<I> 20/05/10 13:01:51] WLST-WLS-1274378386415: at weblogic.application.io.ArchivedWar$WebInfClassesFinder.<init>(ArchivedWar.java:290)
[<I> 20/05/10 13:01:51] WLST-WLS-1274378386415: Truncated. see log file for complete stacktrace
[<I> 20/05/10 13:01:51] WLST-WLS-1274378386415: >
[<I> 20/05/10 13:01:51] WLST-WLS-1274378386415: java.io.FileNotFoundException: /u01/app/oracle/middleware103/wlserver_10.3/samples/domains/bpm/config/config.xml (Too many open files)
[<I> 20/05/10 13:01:51] WLST-WLS-1274378386415: at java.io.FileOutputStream.open(Native Method)

Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms