java - jboss部署app后台,出现异常导致服务器进程挂掉
ringa_lee
ringa_lee 2017-04-17 14:29:54
0
1
864
16:15:27,085 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-1) MSC00001: Failed to start service jboss.deployment.unit."fyyh_web.war".STRUCTURE: org.jboss.msc.service.StartException in service jboss.deployment.unit."fyyh_web.war".STRUCTURE: Failed to process phase STRUCTURE of deployment "fyyh_web.war"
    at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:119) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895) [rt.jar:1.6.0_45]
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) [rt.jar:1.6.0_45]
    at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_45]
Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: org.jboss.as.server.deployment.DeploymentUnitProcessingException: JBAS018037: Failed to process WEB-INF/lib: "/home/webadmin/server/jboss/standalone/deployments/fyyh_web.war/WEB-INF/lib/commons-attributes-compiler.jar"
    at org.jboss.as.web.deployment.WarStructureDeploymentProcessor.deploy(WarStructureDeploymentProcessor.java:120)
    at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:113) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
    ... 5 more
Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: JBAS018037: Failed to process WEB-INF/lib: "/home/webadmin/server/jboss/standalone/deployments/fyyh_web.war/WEB-INF/lib/commons-attributes-compiler.jar"
    at org.jboss.as.web.deployment.WarStructureDeploymentProcessor.createWebInfLibResources(WarStructureDeploymentProcessor.java:175)
    at org.jboss.as.web.deployment.WarStructureDeploymentProcessor.createResourceRoots(WarStructureDeploymentProcessor.java:153)
    at org.jboss.as.web.deployment.WarStructureDeploymentProcessor.deploy(WarStructureDeploymentProcessor.java:114)
    ... 6 more
Caused by: java.io.FileNotFoundException: /home/webadmin/server/jboss/standalone/tmp/vfs/deployment2301851c23264fd7/commons-attributes-compiler.jar-a9864491688308fb/commons-attributes-compiler.jar (Too many open files)
    at java.io.FileOutputStream.open(Native Method) [rt.jar:1.6.0_45]
    at java.io.FileOutputStream.<init>(FileOutputStream.java:194) [rt.jar:1.6.0_45]
    at java.io.FileOutputStream.<init>(FileOutputStream.java:145) [rt.jar:1.6.0_45]
    at org.jboss.vfs.TempDir.createFile(TempDir.java:93)
    at org.jboss.vfs.spi.JavaZipFileSystem.<init>(JavaZipFileSystem.java:83)
    at org.jboss.vfs.VFS.mountZip(VFS.java:408)
    at org.jboss.vfs.VFS.mountZip(VFS.java:434)
    at org.jboss.as.web.deployment.WarStructureDeploymentProcessor.createWebInfLibResources(WarStructureDeploymentProcessor.java:170)
    ... 8 more






16:15:32,103 ERROR [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015004: Caught exception writing deployment marker file /home/webadmin/server/jboss/standalone/deployments/hr_admin.war.pending: java.io.FileNotFoundException: /home/webadmin/server/jboss/standalone/deployments/hr_admin.war.pending (Too many open files)
    at java.io.FileOutputStream.open(Native Method) [rt.jar:1.6.0_45]
    at java.io.FileOutputStream.<init>(FileOutputStream.java:194) [rt.jar:1.6.0_45]
    at java.io.FileOutputStream.<init>(FileOutputStream.java:145) [rt.jar:1.6.0_45]
    at org.jboss.as.server.deployment.scanner.FileSystemDeploymentService.createMarkerFile(FileSystemDeploymentService.java:890) [jboss-as-deployment-scanner-7.1.1.Final.jar:7.1.1.Final]
    at org.jboss.as.server.deployment.scanner.FileSystemDeploymentService.access$2600(FileSystemDeploymentService.java:88) [jboss-as-deployment-scanner-7.1.1.Final.jar:7.1.1.Final]
    at org.jboss.as.server.deployment.scanner.FileSystemDeploymentService$ScannerTask.<init>(FileSystemDeploymentService.java:936) [jboss-as-deployment-scanner-7.1.1.Final.jar:7.1.1.Final]
    at org.jboss.as.server.deployment.scanner.FileSystemDeploymentService$ScannerTask.<init>(FileSystemDeploymentService.java:925) [jboss-as-deployment-scanner-7.1.1.Final.jar:7.1.1.Final]
    at org.jboss.as.server.deployment.scanner.FileSystemDeploymentService$UndeployTask.<init>(FileSystemDeploymentService.java:1126) [jboss-as-deployment-scanner-7.1.1.Final.jar:7.1.1.Final]
    at org.jboss.as.server.deployment.scanner.FileSystemDeploymentService$UndeployTask.<init>(FileSystemDeploymentService.java:1121) [jboss-as-deployment-scanner-7.1.1.Final.jar:7.1.1.Final]
ringa_lee
ringa_lee

ringa_lee

reply all(1)
黄舟

The problem has been solved. The main problem is that there are too many open files to open the database, and the Linux system has restrictions on file access, so just modify the maximum value of the file

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template