6 Replies Latest reply on Feb 5, 2014 9:50 AM by ctomc

    WildFly8-CR1 can NOT deploy web app with too many static files successfully.

    ybxiang.china

      Dear guys,

       

               I found that WildFly8-CR1 can NOT deploy web app with too many static files(about 10000) successfully.

               NOTE: JBoss AS 7.2.0 can deploy same web app successfully.

       

               The exception is:

       

      2013-12-24 23:21:36,178 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-6) JBAS015877: Stopped deployment yui_2.9.0.war (runtime-name: yui_2.9.0.war) in 368ms

      2013-12-24 23:21:36,183 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-12) JBAS015877: Stopped deployment photos_ybxiang_resized_800.war (runtime-name: photos_ybxiang_resized_800.war) in 369ms

      2013-12-24 23:21:36,220 ERROR [org.jboss.as.controller.management-operation] (DeploymentScanner-threads - 2) JBAS014608: Failed to store configuration to standalone.xml: java.io.FileNotFoundException: /home/ybxiang/java/wildfly-8.0.0.CR1/standalone/configuration/standalone.xml.tmp (打开的文件过多)

          at java.io.FileOutputStream.open(Native Method) [rt.jar:1.7.0_09-icedtea]

          at java.io.FileOutputStream.<init>(FileOutputStream.java:212) [rt.jar:1.7.0_09-icedtea]

          at java.io.FileOutputStream.<init>(FileOutputStream.java:165) [rt.jar:1.7.0_09-icedtea]

          at org.jboss.as.controller.persistence.FilePersistenceUtils.writeToTempFile(FilePersistenceUtils.java:112) [wildfly-controller-8.0.0.CR1.jar:8.0.0.CR1]

          at org.jboss.as.controller.persistence.ConfigurationFilePersistenceResource.doCommit(ConfigurationFilePersistenceResource.java:55) [wildfly-controller-8.0.0.CR1.jar:8.0.0.CR1]

          at org.jboss.as.controller.persistence.AbstractFilePersistenceResource.commit(AbstractFilePersistenceResource.java:59) [wildfly-controller-8.0.0.CR1.jar:8.0.0.CR1]

          at org.jboss.as.controller.ModelControllerImpl$4.commit(ModelControllerImpl.java:580) [wildfly-controller-8.0.0.CR1.jar:8.0.0.CR1]

          at org.jboss.as.controller.AbstractOperationContext.doCompleteStep(AbstractOperationContext.java:548) [wildfly-controller-8.0.0.CR1.jar:8.0.0.CR1]

          at org.jboss.as.controller.AbstractOperationContext.completeStepInternal(AbstractOperationContext.java:273) [wildfly-controller-8.0.0.CR1.jar:8.0.0.CR1]

          at org.jboss.as.controller.AbstractOperationContext.finishStep(AbstractOperationContext.java:683) [wildfly-controller-8.0.0.CR1.jar:8.0.0.CR1]

          at org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:658) [wildfly-controller-8.0.0.CR1.jar:8.0.0.CR1]

          at org.jboss.as.controller.AbstractOperationContext.doCompleteStep(AbstractOperationContext.java:469) [wildfly-controller-8.0.0.CR1.jar:8.0.0.CR1]

          at org.jboss.as.controller.AbstractOperationContext.completeStepInternal(AbstractOperationContext.java:273) [wildfly-controller-8.0.0.CR1.jar:8.0.0.CR1]

          at org.jboss.as.controller.AbstractOperationContext.executeOperation(AbstractOperationContext.java:268) [wildfly-controller-8.0.0.CR1.jar:8.0.0.CR1]

          at org.jboss.as.controller.ModelControllerImpl.internalExecute(ModelControllerImpl.java:272) [wildfly-controller-8.0.0.CR1.jar:8.0.0.CR1]

          at org.jboss.as.controller.ModelControllerImpl.execute(ModelControllerImpl.java:146) [wildfly-controller-8.0.0.CR1.jar:8.0.0.CR1]

          at org.jboss.as.controller.ModelControllerImpl$3$1$1.run(ModelControllerImpl.java:548) [wildfly-controller-8.0.0.CR1.jar:8.0.0.CR1]

          at org.jboss.as.controller.ModelControllerImpl$3$1$1.run(ModelControllerImpl.java:544) [wildfly-controller-8.0.0.CR1.jar:8.0.0.CR1]

          at java.security.AccessController.doPrivileged(Native Method) [rt.jar:1.7.0_09-icedtea]

          at org.jboss.as.controller.ModelControllerImpl$3$1.run(ModelControllerImpl.java:544) [wildfly-controller-8.0.0.CR1.jar:8.0.0.CR1]

          at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [rt.jar:1.7.0_09-icedtea]

          at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) [rt.jar:1.7.0_09-icedtea]

          at java.util.concurrent.FutureTask.run(FutureTask.java:166) [rt.jar:1.7.0_09-icedtea]

          at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178) [rt.jar:1.7.0_09-icedtea]

          at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292) [rt.jar:1.7.0_09-icedtea]

          at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [rt.jar:1.7.0_09-icedtea]

          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [rt.jar:1.7.0_09-icedtea]

          at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_09-icedtea]

          at org.jboss.threads.JBossThread.run(JBossThread.java:122) [jboss-threads-2.1.1.Final.jar:2.1.1.Final]

       

      2013-12-24 23:21:36,282 INFO  [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS018558: Undeployed "photos_ybxiang_resized_800.war" (runtime-name: "photos_ybxiang_resized_800.war")

      2013-12-24 23:21:36,284 INFO  [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS018558: Undeployed "file.war" (runtime-name: "file.war")

      2013-12-24 23:21:36,286 INFO  [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS018558: Undeployed "upload.war" (runtime-name: "upload.war")

      2013-12-24 23:21:36,288 INFO  [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS018558: Undeployed "yui_2.9.0.war" (runtime-name: "yui_2.9.0.war")

      2013-12-24 23:21:36,291 ERROR [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015004: Caught exception writing deployment marker file /home/ybxiang/deploy/yui_2.9.0.war.undeployed: java.io.FileNotFoundException: /home/ybxiang/deploy/yui_2.9.0.war.undeployed (打开的文件过多)

          at java.io.FileOutputStream.open(Native Method) [rt.jar:1.7.0_09-icedtea]

          at java.io.FileOutputStream.<init>(FileOutputStream.java:212) [rt.jar:1.7.0_09-icedtea]

          at java.io.FileOutputStream.<init>(FileOutputStream.java:165) [rt.jar:1.7.0_09-icedtea]

          at org.jboss.as.server.deployment.scanner.FileSystemDeploymentService.createMarkerFile(FileSystemDeploymentService.java:983) [wildfly-deployment-scanner-8.0.0.CR1.jar:8.0.0.CR1]

          at org.jboss.as.server.deployment.scanner.FileSystemDeploymentService.access$2800(FileSystemDeploymentService.java:83) [wildfly-deployment-scanner-8.0.0.CR1.jar:8.0.0.CR1]

          at org.jboss.as.server.deployment.scanner.FileSystemDeploymentService$UndeployTask.handleSuccessResult(FileSystemDeploymentService.java:1250) [wildfly-deployment-scanner-8.0.0.CR1.jar:8.0.0.CR1]

          at org.jboss.as.server.deployment.scanner.FileSystemDeploymentService.scan(FileSystemDeploymentService.java:479) [wildfly-deployment-scanner-8.0.0.CR1.jar:8.0.0.CR1]

          at org.jboss.as.server.deployment.scanner.FileSystemDeploymentService$DeploymentScanRunnable.run(FileSystemDeploymentService.java:147) [wildfly-deployment-scanner-8.0.0.CR1.jar:8.0.0.CR1]

          at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [rt.jar:1.7.0_09-icedtea]

          at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:351) [rt.jar:1.7.0_09-icedtea]

          at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:178) [rt.jar:1.7.0_09-icedtea]

          at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178) [rt.jar:1.7.0_09-icedtea]

          at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [rt.jar:1.7.0_09-icedtea]

          at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [rt.jar:1.7.0_09-icedtea]

          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [rt.jar:1.7.0_09-icedtea]

          at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_09-icedtea]

          at org.jboss.threads.JBossThread.run(JBossThread.java:122) [jboss-threads-2.1.1.Final.jar:2.1.1.Final]

       

      2013-12-24 23:21:36,314 ERROR [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015004: Caught exception writing deployment marker file /home/ybxiang/deploy/upload.war.undeployed: java.io.FileNotFoundException: /home/ybxiang/deploy/upload.war.undeployed (打开的文件过多)

          at java.io.FileOutputStream.open(Native Method) [rt.jar:1.7.0_09-icedtea]

          at java.io.FileOutputStream.<init>(FileOutputStream.java:212) [rt.jar:1.7.0_09-icedtea]

          at java.io.FileOutputStream.<init>(FileOutputStream.java:165) [rt.jar:1.7.0_09-icedtea]

          at org.jboss.as.server.deployment.scanner.FileSystemDeploymentService.createMarkerFile(FileSystemDeploymentService.java:983) [wildfly-deployment-scanner-8.0.0.CR1.jar:8.0.0.CR1]

          at org.jboss.as.server.deployment.scanner.FileSystemDeploymentService.access$2800(FileSystemDeploymentService.java:83) [wildfly-deployment-scanner-8.0.0.CR1.jar:8.0.0.CR1]

          at org.jboss.as.server.deployment.scanner.FileSystemDeploymentService$UndeployTask.handleSuccessResult(FileSystemDeploymentService.java:1250) [wildfly-deployment-scanner-8.0.0.CR1.jar:8.0.0.CR1]

          at org.jboss.as.server.deployment.scanner.FileSystemDeploymentService.scan(FileSystemDeploymentService.java:479) [wildfly-deployment-scanner-8.0.0.CR1.jar:8.0.0.CR1]

          at org.jboss.as.server.deployment.scanner.FileSystemDeploymentService$DeploymentScanRunnable.run(FileSystemDeploymentService.java:147) [wildfly-deployment-scanner-8.0.0.CR1.jar:8.0.0.CR1]

          at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [rt.jar:1.7.0_09-icedtea]

          at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:351) [rt.jar:1.7.0_09-icedtea]

          at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:178) [rt.jar:1.7.0_09-icedtea]

          at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178) [rt.jar:1.7.0_09-icedtea]

          at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [rt.jar:1.7.0_09-icedtea]

          at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [rt.jar:1.7.0_09-icedtea]

          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [rt.jar:1.7.0_09-icedtea]

          at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_09-icedtea]

          at org.jboss.threads.JBossThread.run(JBossThread.java:122) [jboss-threads-2.1.1.Final.jar:2.1.1.Final]

       

      2013-12-24 23:21:36,336 ERROR [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015004: Caught exception writing deployment marker file /home/ybxiang/deploy/file.war.undeployed: java.io.FileNotFoundException: /home/ybxiang/deploy/file.war.undeployed (打开的文件过多)

          at java.io.FileOutputStream.open(Native Method) [rt.jar:1.7.0_09-icedtea]

          at java.io.FileOutputStream.<init>(FileOutputStream.java:212) [rt.jar:1.7.0_09-icedtea]

          at java.io.FileOutputStream.<init>(FileOutputStream.java:165) [rt.jar:1.7.0_09-icedtea]

          at org.jboss.as.server.deployment.scanner.FileSystemDeploymentService.createMarkerFile(FileSystemDeploymentService.java:983) [wildfly-deployment-scanner-8.0.0.CR1.jar:8.0.0.CR1]

          at org.jboss.as.server.deployment.scanner.FileSystemDeploymentService.access$2800(FileSystemDeploymentService.java:83) [wildfly-deployment-scanner-8.0.0.CR1.jar:8.0.0.CR1]

          at org.jboss.as.server.deployment.scanner.FileSystemDeploymentService$UndeployTask.handleSuccessResult(FileSystemDeploymentService.java:1250) [wildfly-deployment-scanner-8.0.0.CR1.jar:8.0.0.CR1]

          at org.jboss.as.server.deployment.scanner.FileSystemDeploymentService.scan(FileSystemDeploymentService.java:479) [wildfly-deployment-scanner-8.0.0.CR1.jar:8.0.0.CR1]

          at org.jboss.as.server.deployment.scanner.FileSystemDeploymentService$DeploymentScanRunnable.run(FileSystemDeploymentService.java:147) [wildfly-deployment-scanner-8.0.0.CR1.jar:8.0.0.CR1]

          at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [rt.jar:1.7.0_09-icedtea]

          at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:351) [rt.jar:1.7.0_09-icedtea]

          at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:178) [rt.jar:1.7.0_09-icedtea]

          at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178) [rt.jar:1.7.0_09-icedtea]

          at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [rt.jar:1.7.0_09-icedtea]

          at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [rt.jar:1.7.0_09-icedtea]

          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [rt.jar:1.7.0_09-icedtea]

          at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_09-icedtea]

          at org.jboss.threads.JBossThread.run(JBossThread.java:122) [jboss-threads-2.1.1.Final.jar:2.1.1.Final]

       

      2013-12-24 23:21:36,368 ERROR [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015004: Caught exception writing deployment marker file /home/ybxiang/deploy/photos_ybxiang_resized_800.war.undeployed: java.io.FileNotFoundException: /home/ybxiang/deploy/photos_ybxiang_resized_800.war.undeployed (打开的文件过多)

          at java.io.FileOutputStream.open(Native Method) [rt.jar:1.7.0_09-icedtea]

          at java.io.FileOutputStream.<init>(FileOutputStream.java:212) [rt.jar:1.7.0_09-icedtea]

          at java.io.FileOutputStream.<init>(FileOutputStream.java:165) [rt.jar:1.7.0_09-icedtea]

          at org.jboss.as.server.deployment.scanner.FileSystemDeploymentService.createMarkerFile(FileSystemDeploymentService.java:983) [wildfly-deployment-scanner-8.0.0.CR1.jar:8.0.0.CR1]

          at org.jboss.as.server.deployment.scanner.FileSystemDeploymentService.access$2800(FileSystemDeploymentService.java:83) [wildfly-deployment-scanner-8.0.0.CR1.jar:8.0.0.CR1]

          at org.jboss.as.server.deployment.scanner.FileSystemDeploymentService$UndeployTask.handleSuccessResult(FileSystemDeploymentService.java:1250) [wildfly-deployment-scanner-8.0.0.CR1.jar:8.0.0.CR1]

          at org.jboss.as.server.deployment.scanner.FileSystemDeploymentService.scan(FileSystemDeploymentService.java:479) [wildfly-deployment-scanner-8.0.0.CR1.jar:8.0.0.CR1]

          at org.jboss.as.server.deployment.scanner.FileSystemDeploymentService$DeploymentScanRunnable.run(FileSystemDeploymentService.java:147) [wildfly-deployment-scanner-8.0.0.CR1.jar:8.0.0.CR1]

          at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [rt.jar:1.7.0_09-icedtea]

          at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:351) [rt.jar:1.7.0_09-icedtea]

          at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:178) [rt.jar:1.7.0_09-icedtea]

          at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178) [rt.jar:1.7.0_09-icedtea]

          at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [rt.jar:1.7.0_09-icedtea]

          at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [rt.jar:1.7.0_09-icedtea]

          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [rt.jar:1.7.0_09-icedtea]

          at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_09-icedtea]

          at org.jboss.threads.JBossThread.run(JBossThread.java:122) [jboss-threads-2.1.1.Final.jar:2.1.1.Final]

       

      2013-12-24 23:21:36,818 SEVERE [javax.enterprise.resource.webcontainer.jsf.config] (Mojarra-WebResourceMonitor-1-thread-1) Unable to access url file:/home/ybxiang/java/wildfly-8.0.0.CR1/standalone/deployments/ybxiang-forum.ear/ybxiang-forum-war.war/WEB-INF/faces-config.xml.  Monitoring for this resource will no longer occur.

      2013-12-24 23:21:40,805 ERROR [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 2) JBAS015004: Caught exception writing deployment marker file /home/ybxiang/java/wildfly-8.0.0.CR1/standalone/deployments/ybxiang-forum.ear.pending: java.io.FileNotFoundException: /home/ybxiang/java/wildfly-8.0.0.CR1/standalone/deployments/ybxiang-forum.ear.pending (打开的文件过多)

          at java.io.FileOutputStream.open(Native Method) [rt.jar:1.7.0_09-icedtea]

          at java.io.FileOutputStream.<init>(FileOutputStream.java:212) [rt.jar:1.7.0_09-icedtea]

          at java.io.FileOutputStream.<init>(FileOutputStream.java:165) [rt.jar:1.7.0_09-icedtea]

          at org.jboss.as.server.deployment.scanner.FileSystemDeploymentService.createMarkerFile(FileSystemDeploymentService.java:983) [wildfly-deployment-scanner-8.0.0.CR1.jar:8.0.0.CR1]

          at org.jboss.as.server.deployment.scanner.FileSystemDeploymentService.access$2800(FileSystemDeploymentService.java:83) [wildfly-deployment-scanner-8.0.0.CR1.jar:8.0.0.CR1]

          at org.jboss.as.server.deployment.scanner.FileSystemDeploymentService$ScannerTask.<init>(FileSystemDeploymentService.java:1037) [wildfly-deployment-scanner-8.0.0.CR1.jar:8.0.0.CR1]

          at org.jboss.as.server.deployment.scanner.FileSystemDeploymentService$ScannerTask.<init>(FileSystemDeploymentService.java:1026) [wildfly-deployment-scanner-8.0.0.CR1.jar:8.0.0.CR1]

          at org.jboss.as.server.deployment.scanner.FileSystemDeploymentService$UndeployTask.<init>(FileSystemDeploymentService.java:1228) [wildfly-deployment-scanner-8.0.0.CR1.jar:8.0.0.CR1]

          at org.jboss.as.server.deployment.scanner.FileSystemDeploymentService$UndeployTask.<init>(FileSystemDeploymentService.java:1222) [wildfly-deployment-scanner-8.0.0.CR1.jar:8.0.0.CR1]

          at org.jboss.as.server.deployment.scanner.FileSystemDeploymentService.scan(FileSystemDeploymentService.java:413) [wildfly-deployment-scanner-8.0.0.CR1.jar:8.0.0.CR1]

          at org.jboss.as.server.deployment.scanner.FileSystemDeploymentService$DeploymentScanRunnable.run(FileSystemDeploymentService.java:147) [wildfly-deployment-scanner-8.0.0.CR1.jar:8.0.0.CR1]

          at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [rt.jar:1.7.0_09-icedtea]

          at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:351) [rt.jar:1.7.0_09-icedtea]

          at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:178) [rt.jar:1.7.0_09-icedtea]

          at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178) [rt.jar:1.7.0_09-icedtea]

          at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [rt.jar:1.7.0_09-icedtea]

          at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [rt.jar:1.7.0_09-icedtea]

          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [rt.jar:1.7.0_09-icedtea]

          at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_09-icedtea]

          at org.jboss.threads.JBossThread.run(JBossThread.java:122) [jboss-threads-2.1.1.Final.jar:2.1.1.Final]

       

      2013-12-24 23:21:40,837 ERROR [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 2) JBAS015004: Caught exception writing deployment marker file