양쪽 이전 판 이전 판 다음 판 | 이전 판 |
jboss_eap_8_update [2024/09/26 05:48] – koov | jboss_eap_8_update [2024/12/14 08:45] (현재) – koov |
---|
| |
이후 8버전부터 새롭게 제공되는 ''jboss-eap-installation-manager.sh''로 업데이트를 진행한다. | 이후 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.3.GA-maven-repository/maven-repository/ --yes%%'' | 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%%'' |
<WRAP prewrap> | <WRAP prewrap> |
<code bash> | <code bash> |
[root@test-rhel9 jboss]# cd jboss-eap-8.0 | [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 |
[root@test-rhel9 jboss-eap-8.0]# ll | |
total 464 | |
drwxr-xr-x. 3 root root 27 Jan 19 2024 appclient | |
drwxr-xr-x. 4 root root 4096 Jan 19 2024 bin | |
drwxr-xr-x. 5 root root 52 Jan 19 2024 docs | |
drwxr-xr-x. 4 root root 38 Jan 19 2024 domain | |
-rw-r--r--. 1 root root 419 Jan 19 2024 JBossEULA.txt | |
-rw-r--r--. 1 root root 431592 Jan 19 2024 jboss-modules.jar | |
-rw-r--r--. 1 root root 26530 Jan 19 2024 LICENSE.txt | |
drwxr-xr-x. 3 root root 20 Jan 19 2024 modules | |
drwxr-xr-x. 6 root root 68 Jan 19 2024 standalone | |
-rw-r--r--. 1 root root 63 Jan 19 2024 version.txt | |
drwxr-xr-x. 4 root root 158 Jan 19 2024 welcome-content | |
[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.GA-maven-repository/maven-repository/ --yes | |
Updating server: /root/jboss/jboss-eap-8.0/. | Updating server: /root/jboss/jboss-eap-8.0/. |
| |
Updates found: | Updates found: |
com.fasterxml:classmate 1.5.1.redhat-00001 ==> 1.5.1.redhat-00004 | 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-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-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.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.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-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-ejb-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 | 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 | 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-00008 | wsdl4j:wsdl4j 1.6.3.redhat-2 ==> 1.6.3.redhat-00007 |
Feature-packs resolved. | Feature-packs resolved. |
Packages installed. | Packages installed. |
Downloaded artifacts. | Downloaded artifacts. |
JBoss modules installed. | JBoss modules installed. |
Configurations generated. | Configurations generated. |
Applying updates | Applying updates |
Update complete! | Update complete! |
Operation completed in 15.03 seconds. | Operation completed in 14.91 seconds. |
| |
[root@test-rhel9 jboss-eap-8.0]# bin/jboss-eap-installation-manager.sh history | [root@test-rhel9 jboss-eap-8.0]# ./bin/jboss-eap-installation-manager.sh history |
[0cd53c3c] 2024-09-26T05:39:43Z - 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] | [3268b557] 2024-01-19T09:04:16Z - install [org.jboss.eap.channels:eap-8.0::1.0.1.GA-redhat-00003] |
| |
[root@test-rhel9 jboss-eap-8.0]# | |
</code> | </code> |
</WRAP> | </WRAP> |
| |
''JBoss EAP 8.0.2+'' 이후 버전부터는 ''maven repository''파일을 풀지 않고 압축파일 형태로 바로 업데이트도 가능하다. | |
| |
| ''JBoss EAP 8.0.2+'' 이후 버전부터는 ''maven repository'' zip 압축파일을 풀지 않고 압축파일 형태로 바로 업데이트도 가능하다. |
| 따라서 최초버전인 ''8.0.0'' 상태에서는 무조건 한번 압축푼 버전으로 업데이트를 진행해야 zip 파일 업데이트를 할 수 있다. |
| |
<WRAP prewrap> | <WRAP prewrap> |
<code bash> | <code bash> |
$ ./bin/jboss-eap-installation-manager.sh update perform --offline --repositories=file:/tmp/jboss-eap-8.0.2-maven-repository.zip --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.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] |
| |
</code> | </code> |
</WRAP> | </WRAP> |
| |
| ===== 문제해결 ===== |
| |
| <WRAP prewrap> |
| <code bash> |
| [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 |
| </code> |
| </WRAP> |
| |
| ''ERROR: Unable to resolve required channel metadata'' 와 같은 오류가 발생하는 이유는 위에서도 서술했지만 아래 원인중에 하나이다. |
| |
| * 8.0.0 최초버전인 경우 무조건 압축을 풀어서 디렉토리 경로 하위의 ''maven-repository''까지 넣어줘야 한다. |
| * 보통 위 오류가 발생하는것은 레포지토리 디렉토리나 파일의 경로가 잘못되어 발생하는 문제이므로 잘 확인하여야 한다. |
| |
===== 참조링크 ===== | ===== 참조링크 ===== |