在centos7上安装了Jboss-eap7.1应用服务器,然后启动了它web端的管理平台,部署了一个war包项目并重启Jboss服务,结果无法访问项目路径(前一天可以访问,没有修改任何配置)
接口无法访问后,我查看了启动日志
2021-12-03 22:51:20,085 INFO [org.jboss.as.server] (External Management Request Threads -- 1) WFLYSRV0236: 暂停服务器,没有超时时间。
2021-12-03 22:51:20,087 INFO [org.jboss.as.ejb3] (External Management Request Threads -- 1) WFLYEJB0493: EJB 子系统暂停完成
2021-12-03 22:51:20,090 INFO [org.jboss.as.server] (Management Triggered Shutdown) WFLYSRV0241: 对管理操作 'shutdown' 作出响应而关闭
2021-12-03 22:51:20,195 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-4) WFLYJCA0010: 解除数据源 [java:jboss/datasources/ExampleDS] 的绑定
2021-12-03 22:51:20,199 INFO [org.wildfly.extension.undertow] (MSC service thread 1-1) WFLYUT0019: 正在停止主机 default-host
2021-12-03 22:51:20,225 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 63) WFLYCLINF0003: 停止 client-mappings 容器的 ejb 缓存
2021-12-03 22:51:20,229 INFO [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-4) WFLYJCA0019: 已用 driver-name = h2 停止 Driver 服务
2021-12-03 22:51:20,256 INFO [org.wildfly.extension.undertow] (MSC service thread 1-2) WFLYUT0008: 正在暂停 Undertow HTTPS listener https
2021-12-03 22:51:20,256 INFO [org.wildfly.extension.undertow] (MSC service thread 1-2) WFLYUT0007: Undertow HTTPS listener https 已停止,绑定到 192.168.43.88:8443
2021-12-03 22:51:20,257 INFO [org.wildfly.extension.undertow] (MSC service thread 1-1) WFLYUT0008: 正在暂停 Undertow HTTP listener default
2021-12-03 22:51:20,257 INFO [org.wildfly.extension.undertow] (MSC service thread 1-1) WFLYUT0007: Undertow HTTP listener default 已停止,绑定到 192.168.43.88:8083
2021-12-03 22:51:20,257 INFO [org.wildfly.extension.undertow] (MSC service thread 1-1) WFLYUT0004: 正在停止 Undertow 1.4.18.Final-redhat-2
2021-12-03 22:51:20,259 INFO [org.jboss.as.server.deployment] (MSC service thread 1-4) WFLYSRV0028: Stopped deployment cardjx-cs-v1.0.war (runtime-name: cardjx) in 160ms
2021-12-03 22:51:20,271 INFO [org.jboss.as] (MSC service thread 1-3) WFLYSRV0050: JBoss EAP 7.1.0.GA (WildFly Core 3.0.10.Final-redhat-1) 在 171 毫秒内停止
2021-12-03 22:51:20,655 INFO [org.jboss.modules] (main) JBoss Modules version 1.6.0.Final-redhat-1
2021-12-03 22:51:20,875 INFO [org.jboss.msc] (main) JBoss MSC version 1.2.7.SP1-redhat-1
2021-12-03 22:51:20,981 INFO [org.jboss.as] (MSC service thread 1-1) WFLYSRV0049: JBoss EAP 7.1.0.GA (WildFly Core 3.0.10.Final-redhat-1) 在启动
2021-12-03 22:51:20,982 DEBUG [org.jboss.as.config] (MSC service thread 1-1) 已配置的系统属性:
[Standalone] =
awt.toolkit = sun.awt.X11.XToolkit
file.encoding = UTF-8
file.encoding.pkg = sun.io
file.separator = /
java.awt.graphicsenv = sun.awt.X11GraphicsEnvironment
java.awt.headless = true
java.awt.printerjob = sun.print.PSPrinterJob
java.class.path = /opt/jboss-eap-7.1/jboss-modules.jar
java.class.version = 52.0
java.endorsed.dirs = /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.302.b08-0.el7_9.x86_64/jre/lib/endorsed
java.ext.dirs = /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.302.b08-0.el7_9.x86_64/jre/lib/ext:/usr/java/packages/lib/ext
java.home = /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.302.b08-0.el7_9.x86_64/jre
java.io.tmpdir = /tmp
java.library.path = /usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
java.net.preferIPv4Stack = true
java.runtime.name = OpenJDK Runtime Environment
java.runtime.version = 1.8.0_302-b08
java.specification.name = Java Platform API Specification
java.specification.vendor = Oracle Corporation
java.specification.version = 1.8
java.util.logging.manager = org.jboss.logmanager.LogManager
java.vendor = Red Hat, Inc.
java.vendor.url = https://www.redhat.com/
java.vendor.url.bug = https://bugzilla.redhat.com/enter_bug.cgi?product=Red%20Hat%20Enterprise%20Linux%207&component=java-1.8.0-openjdk
java.version = 1.8.0_302
java.vm.info = mixed mode
java.vm.name = OpenJDK 64-Bit Server VM
java.vm.specification.name = Java Virtual Machine Specification
java.vm.specification.vendor = Oracle Corporation
java.vm.specification.version = 1.8
java.vm.vendor = Red Hat, Inc.
java.vm.version = 25.302-b08
javax.management.builder.initial = org.jboss.as.jmx.PluggableMBeanServerBuilder
javax.xml.datatype.DatatypeFactory = __redirected.__DatatypeFactory
javax.xml.parsers.DocumentBuilderFactory = __redirected.__DocumentBuilderFactory
javax.xml.parsers.SAXParserFactory = __redirected.__SAXParserFactory
javax.xml.stream.XMLEventFactory = __redirected.__XMLEventFactory
javax.xml.stream.XMLInputFactory = __redirected.__XMLInputFactory
javax.xml.stream.XMLOutputFactory = __redirected.__XMLOutputFactory
javax.xml.transform.TransformerFactory = __redirected.__TransformerFactory
javax.xml.validation.SchemaFactory:http://www.w3.org/2001/XMLSchema = __redirected.__SchemaFactory
javax.xml.xpath.XPathFactory:http://java.sun.com/jaxp/xpath/dom = __redirected.__XPathFactory
jboss.home.dir = /opt/jboss-eap-7.1
jboss.host.name = localhost
jboss.modules.dir = /opt/jboss-eap-7.1/modules
jboss.modules.system.pkgs = org.jboss.byteman
jboss.node.name = localhost
jboss.qualified.host.name = localhost.localdomain
jboss.server.base.dir = /opt/jboss-eap-7.1/standalone
jboss.server.config.dir = /opt/jboss-eap-7.1/standalone/configuration
jboss.server.data.dir = /opt/jboss-eap-7.1/standalone/data
jboss.server.deploy.dir = /opt/jboss-eap-7.1/standalone/data/content
jboss.server.log.dir = /opt/jboss-eap-7.1/standalone/log
jboss.server.name = localhost
jboss.server.persist.config = true
jboss.server.temp.dir = /opt/jboss-eap-7.1/standalone/tmp
line.separator =
logging.configuration = file:/opt/jboss-eap-7.1/standalone/configuration/logging.properties
module.path = /opt/jboss-eap-7.1/modules
org.jboss.boot.log.file = /opt/jboss-eap-7.1/standalone/log/server.log
org.jboss.resolver.warning = true
org.xml.sax.driver = __redirected.__XMLReaderFactory
os.arch = amd64
os.name = Linux
os.version = 3.10.0-1160.36.2.el7.x86_64
path.separator = :
sun.arch.data.model = 64
sun.boot.class.path = /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.302.b08-0.el7_9.x86_64/jre/lib/resources.jar:/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.302.b08-0.el7_9.x86_64/jre/lib/rt.jar:/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.302.b08-0.el7_9.x86_64/jre/lib/sunrsasign.jar:/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.302.b08-0.el7_9.x86_64/jre/lib/jsse.jar:/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.302.b08-0.el7_9.x86_64/jre/lib/jce.jar:/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.302.b08-0.el7_9.x86_64/jre/lib/charsets.jar:/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.302.b08-0.el7_9.x86_64/jre/lib/jfr.jar:/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.302.b08-0.el7_9.x86_64/jre/classes
sun.boot.library.path = /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.302.b08-0.el7_9.x86_64/jre/lib/amd64
sun.cpu.endian = little
sun.cpu.isalist =
sun.io.unicode.encoding = UnicodeLittle
sun.java.command = /opt/jboss-eap-7.1/jboss-modules.jar -mp /opt/jboss-eap-7.1/modules org.jboss.as.standalone -Djboss.home.dir=/opt/jboss-eap-7.1 -Djboss.server.base.dir=/opt/jboss-eap-7.1/standalone
sun.java.launcher = SUN_STANDARD
sun.jnu.encoding = UTF-8
sun.management.compiler = HotSpot 64-Bit Tiered Compilers
sun.os.patch.level = unknown
user.country = CN
user.dir = /home/test
user.home = /root
user.language = zh
user.name = root
user.timezone = Asia/Shanghai
2021-12-03 22:51:20,982 DEBUG [org.jboss.as.config] (MSC service thread 1-1) VM 参数: -D[Standalone] -verbose:gc -Xloggc:/opt/jboss-eap-7.1/standalone/log/gc.log -XX:+PrintGCDetails -XX:+PrintGCDateStamps -XX:+UseGCLogFileRotation -XX:NumberOfGCLogFiles=5 -XX:GCLogFileSize=3M -XX:-TraceClassUnloading -Xms1303m -Xmx1303m -XX:MetaspaceSize=96M -XX:MaxMetaspaceSize=256m -Djava.net.preferIPv4Stack=true -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true -Dorg.jboss.boot.log.file=/opt/jboss-eap-7.1/standalone/log/server.log -Dlogging.configuration=file:/opt/jboss-eap-7.1/standalone/configuration/logging.properties
2021-12-03 22:51:22,218 INFO [org.jboss.as.controller.management-deprecated] (Controller Boot Thread) WFLYCTL0028: 地址 'security-realm' 上的资源里的属性 '/core-service=management/management-interface=http-interface' 已被舍弃,以后的版本里可能会删除它。详情请参考 read-resource-description 操作的输出里的属性描述。
2021-12-03 22:51:22,234 INFO [org.wildfly.security] (ServerService Thread Pool -- 3) ELY00001: WildFly Elytron version 1.1.7.Final-redhat-1
2021-12-03 22:51:22,313 INFO [org.jboss.as.controller.management-deprecated] (ServerService Thread Pool -- 29) WFLYCTL0028: 地址 'security-realm' 上的资源里的属性 '/subsystem=undertow/server=default-server/https-listener=https' 已被舍弃,以后的版本里可能会删除它。详情请参考 read-resource-description 操作的输出里的属性描述。
2021-12-03 22:51:22,375 INFO [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0039: 使用 socket-binding (management-http) 创建 HTTP 管理服务
2021-12-03 22:51:22,396 INFO [org.xnio] (MSC service thread 1-2) XNIO version 3.5.4.Final-redhat-1
2021-12-03 22:51:22,401 INFO [org.xnio.nio] (MSC service thread 1-2) XNIO NIO Implementation Version 3.5.4.Final-redhat-1
2021-12-03 22:51:22,471 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 42) WFLYCLINF0001: 激活 Infinispan 子系统。
2021-12-03 22:51:22,473 INFO [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 36) WFLYJCA0004: 部署兼容 JDBC 的驱动 class org.h2.Driver (版本 1.4)
2021-12-03 22:51:22,481 INFO [org.jboss.as.jaxrs] (ServerService Thread Pool -- 43) WFLYRS0016: RESTEasy 版本 3.0.24.Final-redhat-1
2021-12-03 22:51:22,489 INFO [org.wildfly.extension.io] (ServerService Thread Pool -- 41) WFLYIO001: 工作线程 'default' 已根据您的 4 个可用处理器自动配置为带有 32 任务线程的 2 个内核线程
2021-12-03 22:51:22,552 INFO [org.jboss.as.jsf] (ServerService Thread Pool -- 48) WFLYJSF0007: 激活下面的 JSF 实现:[main]
2021-12-03 22:51:22,558 INFO [org.jboss.as.naming] (ServerService Thread Pool -- 50) WFLYNAM0001: 激活 Naming 子系统
2021-12-03 22:51:22,604 INFO [org.jboss.remoting] (MSC service thread 1-2) JBoss Remoting version 5.0.5.Final-redhat-1
2021-12-03 22:51:22,623 INFO [org.jboss.as.security] (ServerService Thread Pool -- 57) WFLYSEC0002: 激活安全子系统
2021-12-03 22:51:22,648 INFO [org.jboss.as.connector] (MSC service thread 1-1) WFLYJCA0009: 启动 JCA 子系统(WildFly/IronJacamar 1.4.6.Final-redhat-1)
2021-12-03 22:51:22,660 WARN [org.jboss.as.txn] (ServerService Thread Pool -- 58) WFLYTX0013: node-identifier 上的 /subsystem=transactions 属性被设置为默认值。这对于运行多个服务器的环境是一种危险。请确保属性值是唯一的。
2021-12-03 22:51:22,700 INFO [org.jboss.as.webservices] (ServerService Thread Pool -- 60) WFLYWS0002: 激活 WebServices Extension
2021-12-03 22:51:22,715 INFO [org.jboss.as.security] (MSC service thread 1-1) WFLYSEC0001: 当前的 PicketBox 版本=5.0.2.Final-redhat-1
2021-12-03 22:51:22,758 INFO [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-2) WFLYJCA0018: 已用 driver-name = h2 启动 Driver 服务
2021-12-03 22:51:22,817 INFO [org.wildfly.extension.undertow] (MSC service thread 1-2) WFLYUT0003: 正在启动 Undertow 1.4.18.Final-redhat-2
2021-12-03 22:51:22,819 INFO [org.jboss.as.ejb3] (MSC service thread 1-4) WFLYEJB0482: Strict pool mdb-strict-max-pool 在使用源自这个主机的 CPU 数量的最大实例数 8(每个类)。
2021-12-03 22:51:22,821 INFO [org.jboss.as.ejb3] (MSC service thread 1-3) WFLYEJB0481: Strict pool slsb-strict-max-pool 在使用源自线程工作节点池大小的最大实例数 32(每个类)。
2021-12-03 22:51:22,840 INFO [org.jboss.as.naming] (MSC service thread 1-1) WFLYNAM0003: 启动 Naming 服务
2021-12-03 22:51:22,845 INFO [org.jboss.as.mail.extension] (MSC service thread 1-3) WFLYMAIL0001: 绑定 mail 会话 [java:jboss/mail/Default]
2021-12-03 22:51:23,006 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 59) WFLYUT0014: 用选项 [directory-listing: '/opt/jboss-eap-7.1/welcome-content', follow-symlink: 'false', case-sensitive: 'false', safe-symlink-paths: 'true'] 为路径 '[]' 创建文件处理程序
2021-12-03 22:51:23,014 INFO [org.wildfly.extension.undertow] (MSC service thread 1-4) WFLYUT0012: 已启动服务器 default-server。
2021-12-03 22:51:23,018 INFO [org.wildfly.extension.undertow] (MSC service thread 1-3) WFLYUT0018: 正在启动主机 default-host
2021-12-03 22:51:23,176 INFO [org.jboss.as.patching] (MSC service thread 1-1) WFLYPAT0050: JBoss EAP 累计补丁 ID 是:base,一次性补丁包括:none
2021-12-03 22:51:23,179 INFO [org.wildfly.extension.undertow] (MSC service thread 1-4) WFLYUT0006: Undertow HTTP listener default 正在侦听 192.168.43.88:8083
2021-12-03 22:51:23,246 WARN [org.jboss.as.domain.management.security] (MSC service thread 1-4) WFLYDM0111: 未找到密钥库 /opt/jboss-eap-7.1/standalone/configuration/application.keystore,它将在第一次使用主机 localhost 的自签名证书时自动生成。
2021-12-03 22:51:23,259 INFO [org.jboss.as.server.deployment.scanner] (MSC service thread 1-2) WFLYDS0013: 为目录 FileSystemDeploymentService 启动的 /opt/jboss-eap-7.1/standalone/deployments
2021-12-03 22:51:23,273 INFO [org.jboss.as.ejb3] (MSC service thread 1-2) WFLYEJB0493: EJB 子系统暂停完成
2021-12-03 22:51:23,280 INFO [org.jboss.as.server.deployment] (MSC service thread 1-1) WFLYSRV0027: 开始 "cardjx-cs-v1.0.war" 的部署(runtime-name: "cardjx")
2021-12-03 22:51:23,402 INFO [org.wildfly.extension.undertow] (MSC service thread 1-4) WFLYUT0006: Undertow HTTPS listener https 正在侦听 192.168.43.88:8443
2021-12-03 22:51:23,486 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-1) WFLYJCA0001: 绑定数据源 [java:jboss/datasources/ExampleDS]
2021-12-03 22:51:23,511 INFO [org.jboss.ws.common.management] (MSC service thread 1-4) JBWS022052: Starting JBossWS 5.1.9.Final-redhat-1 (Apache CXF 3.1.12.redhat-1)
2021-12-03 22:51:23,997 INFO [org.infinispan.factories.GlobalComponentRegistry] (MSC service thread 1-3) ISPN000128: Infinispan version: Infinispan 'Chakra' 8.2.8.Final-redhat-1
2021-12-03 22:51:24,338 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 62) WFLYCLINF0002: 启动 client-mappings 容器的 ejb 缓存
2021-12-03 22:51:24,465 INFO [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0010: 已部署的 "cardjx-cs-v1.0.war"(runtime-name: "cardjx")
2021-12-03 22:51:24,661 INFO [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0212: 恢复服务器
2021-12-03 22:51:24,666 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0060: 侦听 http://192.168.43.88:8084/management 的 HTTP 管理接口
2021-12-03 22:51:24,667 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0051: 管理控制台侦听于 http://192.168.43.88:8084
2021-12-03 22:51:24,668 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0025: JBoss EAP 7.1.0.GA (WildFly Core 3.0.10.Final-redhat-1) started in 4280ms - Started 364 of 592 services (350 services are lazy, passive or on-demand)
日志我还是没有看出什么问题,就尝试过重启Jboss服务,结果依旧不行。
这是Jboss-eap的standalone.xml配置文件,我只使用了单机模式,修改部分截图
希望哪位熟悉Jboss-eap部署的geigei帮我看看,能解决问题我献出皮燕子都可以