我们有一个打包为 war 的应用程序,并使用 jboss wildfly 11 的 admin ui 进行部署。启动运行良好,并给出以下消息,说明服务器已成功启动。
00:42:35,046 INFO [c.c.ffvc.FFlyVSA] (ServerService Thread Pool -- 64) Started FFlyVSA in
38.067 seconds (JVM running for 86.783)
00:42:35,058 INFO [com.netflix.discovery.DiscoveryClient] (DiscoveryClient-
InstanceInfoReplicator-0) DiscoveryClient_application/localhost:application:8090 - registration
status: 204
00:42:35,178 INFO [javax.enterprise.resource.webcontainer.jsf.config] (ServerService Thread Pool
-- 64) Initializing Mojarra 2.2.13.SP4 for context ''
00:42:45,839 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 64) WFLYUT0021:
Registered web context: '/' for server 'default-server'
00:42:45,874 INFO [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0010: Deployed "my-
application.war" (runtime-name : "my-application.war")
00:42:45,992 INFO [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0212: Resuming server
00:42:46,014 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0060: Http management interface
listening on http://0.0.0.0:9990/management
00:42:46,015 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0051: Admin console listening
on http://0.0.0.0:9990
00:42:46,016 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0025: WildFly Full 11.0.0.Final
(WildFly Core 3.0.8.Final) started in 97630ms - Started 531 of 759 services (359 services are
lazy, passive or on-demand)
但是,在为该端口执行 netstat 时,端口 8090 上没有运行任何东西。即使在本地主机上,我也无法启动该应用程序。
注意:使用 jboss 启动
standalone.bat -b 0.0.0.0 -bmanagement 0.0.0.0