検索

ホームページ  >  に質問  >  本文

java - jboss部署app后台,出现异常导致服务器进程挂掉

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

26

27

28

29

30

31

32

33

34

35

36

37

38

39

40

41

42

43

<code>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]

</code>

ringa_leeringa_lee2815日前870

全員に返信(1)返信します

  • 黄舟

    黄舟2017-04-17 14:31:54

    この問題は解決されました。主な問題は、開いているファイルが多すぎてデータベースを開くことができないことです。Linux システムにはファイル アクセスに制限があるため、ファイルの最大値を変更するだけです。

    返事
    0
  • キャンセル返事