直到几天前一切正常。今天,当我尝试访问我的应用程序URL时,我找不到404。我尝试在我的服务器上本地运行我的应用程序,它运行得很好。我该怎么办?
更新的
[0m[0m15:05:50,286 INFO [org.jboss.as.controller] (Controller Boot Thread) WFLYCTL0183: Service status report
WFLYCTL0184: New missing/unsatisfied dependencies:
service jboss.jmx.management.integration (missing) dependents: [service org.wildfly.management.jmx]
service jboss.remoting.endpoint.management (missing) dependents: [service jboss.jmx.remoting-connector-ref]
[0m[31m15:05:50,376 FATAL [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0056: Server boot has failed in an unrecoverable manner; exiting. See previous messages for details.
[0m[31m15:05:50,385 ERROR [org.jboss.as.controller.management-operation] (ServerService Thread Pool -- 55) WFLYCTL0013: Operation ("add") failed - address: ([("subsystem" => "naming")]): java.lang.IllegalStateException: WFLYCTL0157: Operation already complete
at org.jboss.as.controller.OperationContextImpl.assertNotComplete(OperationContextImpl.java:1855)
at org.jboss.as.controller.OperationContextImpl.isRuntimeChangeAllowed(OperationContextImpl.java:1849)
at org.jboss.as.controller.OperationContextImpl.getServiceTarget(OperationContextImpl.java:726)
at org.jboss.as.controller.ParallelBootOperationContext.getServiceTarget(ParallelBootOperationContext.java:196)
at org.jboss.as.naming.subsystem.NamingSubsystemAdd.performBoottime(NamingSubsystemAdd.java:67)
at org.jboss.as.controller.AbstractBoottimeAddStepHandler.performBoottime(AbstractBoottimeAddStepHandler.java:157)
at org.jboss.as.controller.AbstractBoottimeAddStepHandler.performRuntime(AbstractBoottimeAddStepHandler.java:116)
at org.jboss.as.controller.AbstractAddStepHandler$1.execute(AbstractAddStepHandler.java:151)
at org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:890)
at org.jboss.as.controller.AbstractOperationContext.processStages(AbstractOperationContext.java:659)
at org.jboss.as.controller.AbstractOperationContext.executeOperation(AbstractOperationContext.java:370)
at org.jboss.as.controller.ParallelBootOperationStepHandler$ParallelBootTask.run(ParallelBootOperationStepHandler.java:359)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
at org.jboss.threads.JBossThread.run(JBossThread.java:320)
[0mun(JBossThread.java:320)
2016-06-18 15:05:50,194 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC000001: Failed to start service jboss.ironjacamar.idle-remover: org.jboss.msc.service.StartException in service jboss.ironjacamar.idle-remover: java.lang.OutOfMemoryError: unable to create new native thread
at org.jboss.as.connector.subsystems.jca.IdleRemoverService.start(IdleRemoverService.java:53)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.OutOfMemoryError: unable to create new native thread
at java.lang.Thread.start0(Native Method)
at java.lang.Thread.start(Thread.java:714)
at java.util.concurrent.ThreadPoolExecutor.addWorker(ThreadPoolExecutor.java:950)
at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1357)
at java.util.concurrent.Executors$DelegatedExecutorService.execute(Executors.java:668)
at org.jboss.jca.core.connectionmanager.pool.idle.IdleRemover.start(IdleRemover.java:137)
at org.jboss.as.connector.subsystems.jca.IdleRemoverService.start(IdleRemoverService.java:51)
... 5 more
2016-06-18 15:05:50,200 ERROR [org.jboss.as.controller.management-operation] (ServerService Thread Pool -- 46) WFLYCTL0013: Operation ("add") failed - address: ([("subsystem" => "jca")]): java.lang.IllegalStateException: WFLYCTL0157: Operation already complete
at org.jboss.as.controller.AbstractOperationContext.addStep(AbstractOperationContext.java:296)
at org.jboss.as.controller.AbstractOperationContext.addStep(AbstractOperationContext.java:270)
at org.jboss.as.controller.AbstractOperationContext.addStep(AbstractOperationContext.java:259)
at org.jboss.as.controller.ParallelBootOperationContext.addStep(ParallelBootOperationContext.java:124)
at org.jboss.as.controller.ParallelBootOperationContext.addStep(ParallelBootOperationContext.java:88)
at org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:897)
at org.jboss.as.controller.AbstractOperationContext.processStages(AbstractOperationContext.java:659)
at org.jboss.as.controller.AbstractOperationContext.executeOperation(AbstractOperationContext.java:370)
at org.jboss.as.controller.ParallelBootOperationStepHandler$ParallelBootTask.run(ParallelBootOperationStepHandler.java:359)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
at org.jboss.threads.JBossThread.run(JBossThread.java:320)
2016-06-18 15:05:50,250 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-6) MSC000001: Failed to start service jboss.ironjacamar.connection-validator: org.jboss.msc.service.StartException in service jboss.ironjacamar.connection-validator: java.lang.OutOfMemoryError: unable to create new native thread
at org.jboss.as.connector.subsystems.jca.ConnectionValidatorService.start(ConnectionValidatorService.java:53)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.OutOfMemoryError: unable to create new native thread
at java.lang.Thread.start0(Native Method)
at java.lang.Thread.start(Thread.java:714)
at java.util.concurrent.ThreadPoolExecutor.addWorker(ThreadPoolExecutor.java:950)
at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1357)
at java.util.concurrent.Executors$DelegatedExecutorService.execute(Executors.java:668)
at org.jboss.jca.core.connectionmanager.pool.validator.ConnectionValidator.start(ConnectionValidator.java:138)
at org.jboss.as.connector.subsystems.jca.ConnectionValidatorService.start(ConnectionValidatorService.java:51)
... 5 more
2016-06-18 15:05:50,286 INFO [org.jboss.as.controller] (Controller Boot Thread) WFLYCTL0183: Service status report
WFLYCTL0184: New missing/unsatisfied dependencies:
service jboss.jmx.management.integration (missing) dependents: [service org.wildfly.management.jmx]
service jboss.remoting.endpoint.management (missing) dependents: [service jboss.jmx.remoting-connector-ref]
2016-06-18 15:05:50,376 FATAL [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0056: Server boot has failed in an unrecoverable manner; exiting. See previous messages for details.
2016-06-18 15:05:50,385 ERROR [org.jboss.as.controller.management-operation] (ServerService Thread Pool -- 55) WFLYCTL0013: Operation ("add") failed - address: ([("subsystem" => "naming")]): java.lang.IllegalStateException: WFLYCTL0157: Operation already complete
at org.jboss.as.controller.OperationContextImpl.assertNotComplete(OperationContextImpl.java:1855)
at org.jboss.as.controller.OperationContextImpl.isRuntimeChangeAllowed(OperationContextImpl.java:1849)
at org.jboss.as.controller.OperationContextImpl.getServiceTarget(OperationContextImpl.java:726)
at org.jboss.as.controller.ParallelBootOperationContext.getServiceTarget(ParallelBootOperationContext.java:196)
at org.jboss.as.naming.subsystem.NamingSubsystemAdd.performBoottime(NamingSubsystemAdd.java:67)
at org.jboss.as.controller.AbstractBoottimeAddStepHandler.performBoottime(AbstractBoottimeAddStepHandler.java:157)
at org.jboss.as.controller.AbstractBoottimeAddStepHandler.performRuntime(AbstractBoottimeAddStepHandler.java:116)
at org.jboss.as.controller.AbstractAddStepHandler$1.execute(AbstractAddStepHandler.java:151)
at org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:890)
at org.jboss.as.controller.AbstractOperationContext.processStages(AbstractOperationContext.java:659)
at org.jboss.as.controller.AbstractOperationContext.executeOperation(AbstractOperationContext.java:370)
at org.jboss.as.controller.ParallelBootOperationStepHandler$ParallelBootTask.run(ParallelBootOperationStepHandler.java:359)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
at org.jboss.threads.JBossThread.run(JBossThread.java:320)
这是我从服务器返回的日志。我试图谷歌的例外,但我找不到任何东西。有人可以帮忙吗?谢谢!
答案 0 :(得分:0)
java.lang.OutOfMemoryError: unable to create new native thread
可能有多个原因。首先,您的计算机可能没有足够的内存。但是你也有可能在操作系统上遇到一些线程限制。您可以检查服务器的内存利用率。此外,您可以检查线程限制。例如,在Linux上你可以试试这个: