1

我 使用在 AWS EC2 实例上运行的 centos 7 上的 systemd 将 wildfly 安装为服务。我使用了中描述的方法

{jboss.home.dir}/docs/contrib/scripts/systemd/README,在这里找到

但是当我尝试启动 wildfly 服务时,服务启动失败,我在日志上收到以下消息。

Sep 08 06:17:52 ip-172-31-31-70.ap-southeast-1.compute.internal systemd[1]: Starting The WildFly Application Server...
-- Subject: Unit wildfly.service has begun start-up
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit wildfly.service has begun starting up.
Sep 08 06:17:52 ip-172-31-31-70.ap-southeast-1.compute.internal polkitd[484]: Unregistered Authentication Agent for unix-process:11535:166559 (system bus name :1.32,object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8 )
Sep 08 06:17:54 ip-172-31-31-70.ap-southeast-1.compute.internal systemd[1]: wildfly.service: main process exited, code=exited, status=1/FAILURE
Sep 08 06:17:54 ip-172-31-31-70.ap-southeast-1.compute.internal systemd[1]: Unit wildfly.service entered failed state.
4

0 回答 0