2016-06-30 21 views
0

JBoss EAP 6.3スタンドアロンがHTTPSプロトコルを使用するように設定しようとしています。私はそれが正しくセットアップされていると思うが、私はキックオフ時に「standalone.sh」スクリプトをLinuxでは、ログファイルには、このことを示していますJBoss EAP 6.3セキュリティのためのスタンドアロンの新しい不足している/不満足な依存

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="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> 
    . 
    . 
    . 

ありがとう:

 . 
     . 
     . 
     <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' に行われ、関連する変更されています。

答えて

2

相対パスを修正してください。スタンドアローンモードで実行すると、jboss.domain.config.dirが定義されません。 jboss.server.config.dirを代わりに使用してください。これはこのモードに相当します

+1

これはトリックでした。ありがとう。 – terranche

関連する問題