users@glassfish.java.net

Deploy failed, Too many open files Error loading deployment descriptors for

From: <glassfish_at_javadesktop.org>
Date: Wed, 12 Dec 2007 07:44:05 PST

A user reported this problem on Glassfish Chinese Forum. Your help appreciated:
http://gceclub.sun.com.cn/NASApp/sme/jive/thread.jsp?forum=22&thread=47281

error in admin console:
 Deploying application in domain failed; Error loading deployment descriptors for module [qiliditan] -- Too many open files Error loading deployment descriptors for module [qiliditan] -- Too many open files

Errors in server.log:
[#|2007-12-12T10:16:01.202+0800|SEVERE|sun-appserver-pe9.0|javax.enterprise.system.core.classloading|_ThreadID=22;_ThreadName=Thread-184;file:/F:/Sun/AppServer/domains/domain1/applications/j2ee-modules/qiliditan/WEB-INF/lib/unittest.jar;_RequestID=cf835b3a-54de-4e35-8223-1bede60308cf;|LDR5203: An error occurred while adding URL [file:/F:/Sun/AppServer/domains/domain1/applications/j2ee-modules/qiliditan/WEB-INF/lib/unittest.jar] to the EJB class loader. Please check the content of this URL. |#]

[#|2007-12-12T10:16:01.202+0800|SEVERE|sun-appserver-pe9.0|javax.enterprise.system.core.classloading|_ThreadID=22;_ThreadName=Thread-184;_RequestID=cf835b3a-54de-4e35-8223-1bede60308cf;|LDR5200:MalformedURLException.
java.util.zip.ZipException: Too many open files
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:203)
at java.util.jar.JarFile.<init>(JarFile.java:132)
at java.util.jar.JarFile.<init>(JarFile.java:97)
at com.sun.enterprise.loader.EJBClassLoader$ProtectedJarFile.<init>(EJBClassLoader.java:796)
at com.sun.enterprise.loader.EJBClassLoader$URLEntry.init(EJBClassLoader.java:858)
at com.sun.enterprise.loader.EJBClassLoader.appendURL(EJBClassLoader.java:231)
at com.sun.enterprise.loader.EJBClassLoader.appendURL(EJBClassLoader.java:202)
at com.sun.enterprise.deployment.backend.DeploymentUtils.getClassLoader(DeploymentUtils.java:159)
at com.sun.enterprise.deployment.backend.Deployer.loadDescriptors(Deployer.java:302)
at com.sun.enterprise.deployment.backend.ModuleDeployer.loadDescriptors(ModuleDeployer.java:395)
at com.sun.enterprise.deployment.backend.WebModuleDeployer.deploy(WebModuleDeployer.java:155)
at com.sun.enterprise.deployment.backend.ModuleDeployer.doRequestFinish(ModuleDeployer.java:160)
at com.sun.enterprise.deployment.phasing.J2EECPhase.runPhase(J2EECPhase.java:169)
at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:95)
at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:871)
at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:266)
at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:739)
at com.sun.enterprise.management.deploy.DeployThread.deploy(DeployThread.java:174)
at com.sun.enterprise.management.deploy.DeployThread.run(DeployThread.java:210)
|#]

[#|2007-12-12T10:16:01.327+0800|SEVERE|sun-appserver-pe9.0|javax.enterprise.system.tools.deployment|_ThreadID=22;_ThreadName=Thread-184;F:\Sun\AppServer\domains\domain1\applications\j2ee-modules\qiliditan\WEB-INF\lib\unittest.jar;_RequestID=cf835b3a-54de-4e35-8223-1bede60308cf;|"DPL8004: file open failure; file = F:\Sun\AppServer\domains\domain1\applications\j2ee-modules\qiliditan\WEB-INF\lib\unittest.jar"|#]
[Message sent by forum member 'cf126330' (cf126330)]

http://forums.java.net/jive/thread.jspa?messageID=249729