Jboss野飞服务器部署应用程序,但无法在本地主机上启动。

huangapple 未分类评论48阅读模式
英文:

Jboss wildfly server deploys the application but is unable to launch it even on localhost

问题

我们有一个打包为war文件的应用程序,并使用jboss wildfly 11的管理界面进行部署。启动过程正常,并显示以下消息,表示服务器成功启动。

00:42:35.046 信息  [c.c.ffvc.FFlyVSA] (ServerService Thread Pool -- 64) 在 38.067 秒内启动了 FFlyVSA(JVM已运行 86.783 秒)
00:42:35.058 信息  [com.netflix.discovery.DiscoveryClient] (DiscoveryClient-InstanceInfoReplicator-0) DiscoveryClient_application/localhost:application:8090 - 注册状态: 204
00:42:35.178 信息  [javax.enterprise.resource.webcontainer.jsf.config] (ServerService Thread Pool -- 64) 正在初始化 Mojarra 2.2.13.SP4,上下文为 ''
00:42:45.839 信息  [org.wildfly.extension.undertow] (ServerService Thread Pool -- 64) 已注册 web 上下文: '/',用于服务器 'default-server'
00:42:45.874 信息  [org.jboss.as.server] (Controller Boot Thread) 部署了 "my-application.war"(运行时名称: "my-application.war")
00:42:45.992 信息  [org.jboss.as.server] (Controller Boot Thread) 恢复服务器
00:42:46.014 信息  [org.jboss.as] (Controller Boot Thread) Http 管理界面监听地址为 http://0.0.0.0:9990/management
00:42:46.015 信息  [org.jboss.as] (Controller Boot Thread) 管理控制台监听地址为 http://0.0.0.0:9990
00:42:46.016 信息  [org.jboss.as] (Controller Boot Thread) WildFly Full 11.0.0.Final(WildFly Core 3.0.8.Final)已在 97630 毫秒内启动 - 已启动 759 个服务中的 531 个(其中 359 个服务处于延迟、被动或按需状态)

然而,在端口8090上没有任何内容运行,执行netstat命令查看该端口也是如此。即使在localhost上启动应用程序,我也无法启动应用程序。

注意:使用以下命令启动jboss

standalone.bat -b 0.0.0.0 -bmanagement 0.0.0.0
英文:

We have an application packaged as war and deployed using the admin ui of jboss wildfly 11. The startup runs fine and gives the below message saying the server started up successfully.

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)

However there is nothing running on the port 8090 on doing a netstat for that port. Also i'm unable to launch the application even on localhost.

Note: started jboss using

standalone.bat -b 0.0.0.0 -bmanagement 0.0.0.0 

huangapple
  • 本文由 发表于 2020年4月9日 04:01:22
  • 转载请务必保留本文链接:https://java.coder-hub.com/61109072.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定