JBoss EAP 6.3 独立新 missing/unsatisfied 安全依赖项
JBoss EAP 6.3 standalone new missing/unsatisfied dependencies for security
我正在尝试设置 JBoss EAP 6.3 独立使用 HTTPS 协议。我想我已经正确设置了它,但是当我在 Linux 中启动 'standalone.sh' 脚本时,日志文件显示如下:
11:40:01,778 INFO [org.jboss.as.controller] (Controller Boot Thread) JBAS014774: Service status report
JBAS014775: New missing/unsatisfied dependencies:
service jboss.server.path."jboss.domain.config.dir" (missing) dependents: [
service jboss.server.controller.management.security_realm.ManagementRealm.properties_authentication,
service jboss.server.controller.management.security_realm.ApplicationRealm.properties_authorization,
service jboss.server.controller.management.security_realm.ManagementRealm.key-manager,
service jboss.server.controller.management.security_realm.ManagementRealm.trust-manager,
JBAS014799: ... and 3 more ]
11:40:01,793 INFO [org.jboss.as] (Controller Boot Thread) JBAS015964: Http management interface is not enabled
11:40:01,793 INFO [org.jboss.as] (Controller Boot Thread) JBAS015954: Admin console is not enabled
11:40:01,794 ERROR [org.jboss.as] (Controller Boot Thread) JBAS015875: JBoss EAP 6.3.0.GA (AS 7.4.0.Final-redhat-19)
started (with errors) in 4094ms - Started 236 of 290 services (17 services failed or
missing dependencies, 66 services are lazy, passive or on-demand)
不确定启动失败的原因。也许有人可以帮助我?以下是我对 'host.xml':
所做的相关更改
.
.
.
<security-realm name="ManagementRealm">
<server-identities>
<ssl protocol="TLS">
<keystore path="/path/.keystore" relative-to="jboss.domain.config.dir" keystore-password="xxxxx" />
</ssl>
</server-identities>
<authentication>
<truststore path="/path/.keystore" relative-to="jboss.domain.config.dir" keystore-password="xxxx"/>
<local default-user="$local" skip-group-loading="true" />
<properties path="mgmt-users.properties" relative-to="jboss.domain.config.dir"/>
</authentication>
<authorization map-groups-to-roles="false">
<properties path="mgmt-groups.properties" relative-to="jboss.domain.config.dir"/>
</authorization>
</security-realm>
.
.
.
<management-interfaces>
<native-interface security-realm="ManagementRealm">
<socket interface="management" port="${jboss.management.native.port:9999}"/>
</native-interface>
<http-interface security-realm="ManagementRealm">
<socket interface="management" secure-port="9443"/>
</http-interface>
</management-interfaces>
.
.
.
以下是我对'standalone.xml'所做的相关修改:
.
.
.
<security-realm name="ManagementRealm">
<server-identities>
<ssl protocol="TLS">
<keystore path="/path/.keystore" relative-to="jboss.domain.config.dir" keystore-password="xxxx" />
</ssl>
</server-identities>
<authentication>
<truststore path="/path/.keystore" relative-to="jboss.domain.config.dir" keystore-password="xxxx"/>
<local default-user="$local" skip-group-loading="true" />
<properties path="mgmt-users.properties" relative-to="jboss.domain.config.dir"/>
</authentication>
<authorization map-groups-to-roles="false">
<properties path="mgmt-groups.properties" relative-to="jboss.domain.config.dir"/>
</authorization>
</security-realm>
.
.
.
<subsystem xmlns="urn:jboss:domain:web:2.1" default-virtual-server="default-host" native="false">
<connector name="http" protocol="HTTP/1.1" scheme="http" socket-binding="http" redirect-port="8443" />
<connector name="https" protocol="HTTP/1.1" scheme="https" socket-binding="https" enable-lookups="false" secure="true">
<ssl name="https" protocol="TLS" password="xxxx" certificate-key-file="/path/.keystore" certificate-file="/path/.keystore" />
</connector>
<virtual-server name="default-host" enable-welcome-root="true">
<alias name="localhost"/>
<alias name="myalias.com"/>
</virtual-server>
</subsystem>
.
.
.
谢谢。
更正相对路径。您 运行 它处于独立模式,因此 jboss.domain.config.dir
未定义。请改用 jboss.server.config.dir
,这相当于此模式
我正在尝试设置 JBoss EAP 6.3 独立使用 HTTPS 协议。我想我已经正确设置了它,但是当我在 Linux 中启动 'standalone.sh' 脚本时,日志文件显示如下:
11:40:01,778 INFO [org.jboss.as.controller] (Controller Boot Thread) JBAS014774: Service status report
JBAS014775: New missing/unsatisfied dependencies:
service jboss.server.path."jboss.domain.config.dir" (missing) dependents: [
service jboss.server.controller.management.security_realm.ManagementRealm.properties_authentication,
service jboss.server.controller.management.security_realm.ApplicationRealm.properties_authorization,
service jboss.server.controller.management.security_realm.ManagementRealm.key-manager,
service jboss.server.controller.management.security_realm.ManagementRealm.trust-manager,
JBAS014799: ... and 3 more ]
11:40:01,793 INFO [org.jboss.as] (Controller Boot Thread) JBAS015964: Http management interface is not enabled
11:40:01,793 INFO [org.jboss.as] (Controller Boot Thread) JBAS015954: Admin console is not enabled
11:40:01,794 ERROR [org.jboss.as] (Controller Boot Thread) JBAS015875: JBoss EAP 6.3.0.GA (AS 7.4.0.Final-redhat-19)
started (with errors) in 4094ms - Started 236 of 290 services (17 services failed or
missing dependencies, 66 services are lazy, passive or on-demand)
不确定启动失败的原因。也许有人可以帮助我?以下是我对 'host.xml':
所做的相关更改 .
.
.
<security-realm name="ManagementRealm">
<server-identities>
<ssl protocol="TLS">
<keystore path="/path/.keystore" relative-to="jboss.domain.config.dir" keystore-password="xxxxx" />
</ssl>
</server-identities>
<authentication>
<truststore path="/path/.keystore" relative-to="jboss.domain.config.dir" keystore-password="xxxx"/>
<local default-user="$local" skip-group-loading="true" />
<properties path="mgmt-users.properties" relative-to="jboss.domain.config.dir"/>
</authentication>
<authorization map-groups-to-roles="false">
<properties path="mgmt-groups.properties" relative-to="jboss.domain.config.dir"/>
</authorization>
</security-realm>
.
.
.
<management-interfaces>
<native-interface security-realm="ManagementRealm">
<socket interface="management" port="${jboss.management.native.port:9999}"/>
</native-interface>
<http-interface security-realm="ManagementRealm">
<socket interface="management" secure-port="9443"/>
</http-interface>
</management-interfaces>
.
.
.
以下是我对'standalone.xml'所做的相关修改:
.
.
.
<security-realm name="ManagementRealm">
<server-identities>
<ssl protocol="TLS">
<keystore path="/path/.keystore" relative-to="jboss.domain.config.dir" keystore-password="xxxx" />
</ssl>
</server-identities>
<authentication>
<truststore path="/path/.keystore" relative-to="jboss.domain.config.dir" keystore-password="xxxx"/>
<local default-user="$local" skip-group-loading="true" />
<properties path="mgmt-users.properties" relative-to="jboss.domain.config.dir"/>
</authentication>
<authorization map-groups-to-roles="false">
<properties path="mgmt-groups.properties" relative-to="jboss.domain.config.dir"/>
</authorization>
</security-realm>
.
.
.
<subsystem xmlns="urn:jboss:domain:web:2.1" default-virtual-server="default-host" native="false">
<connector name="http" protocol="HTTP/1.1" scheme="http" socket-binding="http" redirect-port="8443" />
<connector name="https" protocol="HTTP/1.1" scheme="https" socket-binding="https" enable-lookups="false" secure="true">
<ssl name="https" protocol="TLS" password="xxxx" certificate-key-file="/path/.keystore" certificate-file="/path/.keystore" />
</connector>
<virtual-server name="default-host" enable-welcome-root="true">
<alias name="localhost"/>
<alias name="myalias.com"/>
</virtual-server>
</subsystem>
.
.
.
谢谢。
更正相对路径。您 运行 它处于独立模式,因此 jboss.domain.config.dir
未定义。请改用 jboss.server.config.dir
,这相当于此模式