WAR不会在WildFly上部署-没有错误

时间:2018-07-13 17:58:12

标签: java wildfly

我正在尝试将应用程序的WAR文件部署在WildFly 13上。它可以在Tomcat下很好地部署。最初,我在尝试使用CDI之类的Java EE 7时遇到了两个问题(我不希望这是Spring应用程序),但是我解决了这些问题。现在,它静静地坐在那里10分钟,然后放弃:

2018-07-13 08:20:01,988 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) WFLYSRV0027: Starting deployment of "myapp.war" (runtime-name: "myapp.war")
2018-07-13 08:30:00,086 ERROR [org.jboss.as.server] (DeploymentScanner-threads - 1) WFLYSRV0022: Deploy of deployment "myapp.war" was rolled back with no failure message
2018-07-13 08:30:00,087 ERROR [org.jboss.as.controller.management-operation] (DeploymentScanner-threads - 1) WFLYCTL0027: Operation was interrupted before service container stability could be reached. Process should be restarted. Step that first updated the service container was 'deploy' at address '[("deployment" => "myapp.war")]'

然后,再暂停2分钟后,它会发出一连串的“此JAR具有未解决的类路径引用”消息,并指出未部署WAR:

2018-07-13 08:32:02,720 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-1) WFLYSRV0059: Class Path entry chartfx.gauge.design.jar in /C:/FDE/wildfly-13.0.0.Final/bin/content/myapp.war/WEB-INF/lib/chartfx.gauge-7.0.2.jar  does not point to a valid jar for a Class-Path reference.
...
2018-07-13 08:32:05,084 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-6) WFLYSRV0028: Stopped deployment myapp.war (runtime-name: myapp.war) in 124998ms

作为参考,此WAR大约需要2分钟才能在Tomcat上部署。早期版本在当前版本的JBoss 7.1上运行良好。

静默故障模式是最令人烦恼的方面。关于如何诊断的任何建议?

1 个答案:

答案 0 :(得分:0)

提取 war 并检查所有 jar 文件的清单。似乎有一些类路径被编码在那里,指的是一些不应该在那里的开发人员的机器。 或者提交错误报告供开发人员修复。

相关问题