大家好我正在按照本教程(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.
任何人都可以帮忙。
非常感谢你。答案 0 :(得分:1)
您可以使用-Pwildfly maven个人资料自行构建。
另一种选择是使用泊坞窗图像: https://github.com/abstractj/docker/tree/master/aerogear-unifiedpush-dev
或者将此产品用于Openshift(您需要一个操作系统帐户,但这是免费的): https://github.com/aerogear/openshift-origin-cartridge-aerogear-push