2016-06-30 3 views
0

HTTPS 프로토콜을 사용하도록 JBoss EAP 6.3 독립 실행 형을 설정하려고합니다. 나는 그것을 올바르게 설정해야 생각하지만, 내가 킥오프 때 'standalone.sh'스크립트를 리눅스에서 로그 파일이 표시됩니다 :보안 용 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="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> 
    . 
    . 
    . 

감사합니다.

답변

2

상대 경로를 수정하십시오. 독립 실행 형 모드로 실행하면 jboss.domain.config.dir이 정의되지 않습니다. 대신 jboss.server.config.dir을 사용하십시오.이 모드에 해당합니다.

+1

이것은 트릭을 만들었습니다. 감사. – terranche

관련 문제