【发布时间】:2014-07-31 16:21:11
【问题描述】:
大家好,我正在按照本教程 (https://github.com/aerogear/aerogear-unifiedpush-server) 使用 Aerogear 的 UnifiedPush 服务器,因此我下载了两个 .war 文件并将它们放入部署中,但是当我尝试午餐服务器时,出现 n 错误我不明白(对不起,如果我的英语不好)。
18:10:47,857 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-16) MSC000001: Failed to start service jboss.undertow.deployment.default-server.default-host./ag-push: org.jboss.msc.service.Start
Exception in service jboss.undertow.deployment.default-server.default-host./ag-push: Failed to start service
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1904) [jboss-msc-1.2.2.Final.jar:1.2.2.Final]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_40]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_40]
at java.lang.Thread.run(Thread.java:724) [rt.jar:1.7.0_40]
Caused by: java.lang.RuntimeException: java.lang.NullPointerException
at io.undertow.servlet.core.DeploymentManagerImpl.deploy(DeploymentManagerImpl.java:219)
at org.wildfly.extension.undertow.deployment.UndertowDeploymentService.startContext(UndertowDeploymentService.java:87)
at org.wildfly.extension.undertow.deployment.UndertowDeploymentService.start(UndertowDeploymentService.java:72)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948) [jboss-msc-1.2.2.Final.jar:1.2.2.Final]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881) [jboss-msc-1.2.2.Final.jar:1.2.2.Final]
... 3 more
Caused by: java.lang.NullPointerException
at org.jboss.aerogear.unifiedpush.keycloak.BootstrapListener.contextInitialized(BootstrapListener.java:40)
at io.undertow.servlet.core.ApplicationListeners.contextInitialized(ApplicationListeners.java:173)
at io.undertow.servlet.core.DeploymentManagerImpl.deploy(DeploymentManagerImpl.java:190)
... 7 more
18:10:47,863 ERROR [org.jboss.as.controller.management-operation] (DeploymentScanner-threads - 1) JBAS014613: Operation ("deploy") failed - address: ([("deployment" => "unifiedpush-server-0.11.0.war")
]) - failure description: {"JBAS014671: Failed services" => {"jboss.undertow.deployment.default-server.default-host./ag-push" => "org.jboss.msc.service.StartException in service jboss.undertow.deploym
ent.default-server.default-host./ag-push: Failed to start service
Caused by: java.lang.RuntimeException: java.lang.NullPointerException
Caused by: java.lang.NullPointerException"}}
18:10:47,884 INFO [org.jboss.as.server] (DeploymentScanner-threads - 1) JBAS018559: Deployed "unifiedpush-server-0.11.0.war" (runtime-name : "unifiedpush-server-0.11.0.war")
18:10:47,885 INFO [org.jboss.as.controller] (DeploymentScanner-threads - 1) JBAS014774: Service status report
JBAS014777: Services which failed to start: service jboss.undertow.deployment.default-server.default-host./ag-push: org.jboss.msc.service.StartException in service jboss.undertow.deployment.def
ault-server.default-host./ag-push: Failed to start service.
有人可以帮忙吗。
非常感谢。
【问题讨论】: