IT 이야기/JBoss EAP
[JBoss EAP] WAS 서버간 http 또는 https 통신 오류
찬찬이 아빠
2020. 9. 11. 15:19
반응형
JBoss EAP간 서비스를 하기 위해 http 또는 https로 통신을 하려고 하는데 접속 오류가 발생합니다.
JBoss EAP간 연계 서비스를 하기 위해서는 아래와 같이 standalone.xml 또는 standalone-ha.xml 파일에 다음 사항을 추가하여 서비스하면 됩니다.
<server name="default-server">
<http-listener name="default" socket-binding="http" redirect-sockert="https" enable-http2="true"/>
<https-listener name="https" socket-binding="https" security-realm="ApplicationRealm" enable-http2="true"/>
<host name="default-host" alias="localhost">
<location name="/" handler="welcome-content"/>
<http-invoker security-realm="ApplicationRealm"/>
<filter-ref name="secret-checker" predicate="equals(%p,${jboss.ajp.port:8009})"/>
</host>
</server>
반응형