목차

JBoss EAP 8 update

JBoss EAP 8 부터는 maven repository형태로 업데이트 파일이 제공된다.
RedHat 고객포털에서 제공되는 maven repository 패치파일을 다운로드 받아 압축을 풀어둔다.

이후 8버전부터 새롭게 제공되는 jboss-eap-installation-manager.sh로 업데이트를 진행한다.
경로에 유의 한다. 압축푼 디렉토리 밑에 maven-repository까지 경로에 넣어줘야 한다.

Ex)./bin/jboss-eap-installation-manager.sh update perform --offline --repositories=file:/root/jboss/jboss-eap-8.0.2.GA-maven-repository/maven-repository/ --yes

[root@test-rhel9 jboss-eap-8.0]# ./bin/jboss-eap-installation-manager.sh update perform --offline --repositories=file:/root/jboss/jboss-eap-8.0.2.GA-maven-repository/maven-repository/ --yes
Updating server: /root/jboss/jboss-eap-8.0/.

Updates found:
  com.fasterxml:classmate                               1.5.1.redhat-00001   ==>  1.5.1.redhat-00003  
  com.fasterxml.jackson.core:jackson-annotations        2.15.2.redhat-00001  ==>  2.15.4.redhat-00001 
  com.fasterxml.jackson.core:jackson-core               2.15.2.redhat-00001  ==>  2.15.4.redhat-00001 
  com.fasterxml.jackson.core:jackson-databind           2.15.2.redhat-00001  ==>  2.15.4.redhat-00001 
  com.fasterxml.jackson.dataformat:jackson-dataformat-cbor    2.15.2.redhat-00001  ==>  2.15.4.redhat-00001 
  com.fasterxml.jackson.datatype:jackson-datatype-jdk8    2.15.2.redhat-00001  ==>  2.15.4.redhat-00001 
  com.fasterxml.jackson.datatype:jackson-datatype-jsr310    2.15.2.redhat-00001  ==>  2.15.4.redhat-00001 
  com.fasterxml.jackson.jakarta.rs:jackson-jakarta-rs-base    2.15.2.redhat-00001  ==>  2.15.4.redhat-00001 
  com.fasterxml.jackson.jakarta.rs:jackson-jakarta-rs-json-provider    2.15.2.redhat-00001  ==>  2.15.4.redhat-00001 
  com.fasterxml.jackson.module:jackson-module-jakarta-xmlbind-annotations    2.15.2.redhat-00001  ==>  2.15.4.redhat-00001 

  ... 생략 ...

  org.wildfly.security.elytron-web:undertow-server      4.0.0.Final-redhat-00001 ==>  4.0.1.Final-redhat-00001
  org.wildfly.security.elytron-web:undertow-server-servlet    4.0.0.Final-redhat-00001 ==>  4.0.1.Final-redhat-00001
  org.wildfly.transaction:wildfly-transaction-client    3.0.2.Final-redhat-00001 ==>  3.0.5.Final-redhat-00001
  org.wildfly.wildfly-http-client:wildfly-http-client-common    2.0.6.Final-redhat-00001 ==>  2.0.7.Final-redhat-00001
  org.wildfly.wildfly-http-client:wildfly-http-ejb-client    2.0.6.Final-redhat-00001 ==>  2.0.7.Final-redhat-00001
  org.wildfly.wildfly-http-client:wildfly-http-naming-client    2.0.6.Final-redhat-00001 ==>  2.0.7.Final-redhat-00001
  org.wildfly.wildfly-http-client:wildfly-http-transaction-client    2.0.6.Final-redhat-00001 ==>  2.0.7.Final-redhat-00001
  org.yaml:snakeyaml                                    2.0.0.redhat-00003   ==>  2.0.0.redhat-00012  
  software.amazon.ion:ion-java                          1.0.2.redhat-00004   ==>  1.0.2.redhat-00005  
  wsdl4j:wsdl4j                                         1.6.3.redhat-2       ==>  1.6.3.redhat-00007  
Feature-packs resolved.                                                          
Packages installed.               
Downloaded artifacts.                                                                                      
JBoss modules installed.               
Configurations generated.                                                
JBoss examples installed.                                                   

Build update complete!
Applying updates
Update complete!
Operation completed in 14.91 seconds.

[root@test-rhel9 jboss-eap-8.0]# ./bin/jboss-eap-installation-manager.sh history
[32219838] 2024-09-26T05:49:25Z - update [org.jboss.eap.channels:eap-8.0::1.2.1.GA-redhat-00003]
[3268b557] 2024-01-19T09:04:16Z - install [org.jboss.eap.channels:eap-8.0::1.0.1.GA-redhat-00003]

JBoss EAP 8.0.2+ 이후 버전부터는 maven repository zip 압축파일을 풀지 않고 압축파일 형태로 바로 업데이트도 가능하다.
따라서 최초버전인 8.0.0 상태에서는 무조건 한번 압축푼 버전으로 업데이트를 진행해야 zip 파일 업데이트를 할 수 있다.

[root@test-rhel9 jboss-eap-8.0]# ./bin/jboss-eap-installation-manager.sh update perform --offline --repositories=file:/root/jboss/jboss-eap-8.0.3-maven-repository.zip --yes
Updating server: /root/jboss/jboss-eap-8.0/.

Updates found:
  com.fasterxml:classmate                               1.5.1.redhat-00003   ==>  1.5.1.redhat-00004  
  com.github.ben-manes.caffeine:caffeine                3.1.8.redhat-00001   ==>  3.1.8.redhat-00002  
  com.google.guava:failureaccess                        1.0.1.redhat-00012   ==>  1.0.2.redhat-00001  
  com.google.guava:guava                                32.1.2.jre-redhat-00001 ==>  33.0.0.jre-redhat-00002

  ... 생략 ...
  
  org.wildfly.security:wildfly-elytron-x500-cert        2.2.4.SP01-redhat-00001 ==>  2.2.6.Final-redhat-00001
  org.wildfly.security:wildfly-elytron-x500-cert-acme    2.2.4.SP01-redhat-00001 ==>  2.2.6.Final-redhat-00001
  org.wildfly.security:wildfly-elytron-x500-cert-util    2.2.4.SP01-redhat-00001 ==>  2.2.6.Final-redhat-00001
  org.wildfly.security:wildfly-elytron-x500-principal    2.2.4.SP01-redhat-00001 ==>  2.2.6.Final-redhat-00001
  wsdl4j:wsdl4j                                         1.6.3.redhat-00007   ==>  1.6.3.redhat-00008  
Feature-packs resolved.                                                          
Packages installed.               
Downloaded artifacts.                                                                                            
JBoss modules installed.               
Configurations generated.                                                
JBoss examples installed.                                                   

Build update complete!
Applying updates
Update complete!
Operation completed in 18.95 seconds.

[root@test-rhel9 jboss-eap-8.0]# ./bin/jboss-eap-installation-manager.sh history
[56394ee3] 2024-09-26T05:50:10Z - update [org.jboss.eap.channels:eap-8.0::1.3.0.GA-redhat-00004]
[32219838] 2024-09-26T05:49:25Z - update [org.jboss.eap.channels:eap-8.0::1.2.1.GA-redhat-00003]
[3268b557] 2024-01-19T09:04:16Z - install [org.jboss.eap.channels:eap-8.0::1.0.1.GA-redhat-00003]
  

문제해결

[root@test-rocky9 jboss-eap-8.0]# ./bin/jboss-eap-installation-manager.sh update perform --offline --repositories=file:/app/jboss-eap-8.0.4.1-maven-repository.zip 
Updating server: /app/jboss-eap-8.0/.

ERROR: Unable to resolve required channel metadata:
  * org.jboss.eap.channels:eap-8.0:manifest:yaml
 Attempted repositories:
  *temp-repo-0::file:/app/jboss-eap-8.0.4.1-maven-repository.zip

ERROR: Unable to resolve required channel metadata 와 같은 오류가 발생하는 이유는 위에서도 서술했지만 아래 원인중에 하나이다.

참조링크