본문 바로가기
반응형

 

1. config.xml 에서 확인

 

${DOMAIN_HOME}/config 아래 config.xml 을 에서 버전을확인할 수 있다.

 

<?xml version='1.0' encoding='UTF-8'?>
<domain xmlns="http://xmlns.oracle.com/weblogic/domain" xmlns:sec="http://xmlns.oracle.com/weblogic/security" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wls="http://xmlns.oracle.com/weblogic/security/wls" xsi:schemaLocation="http://xmlns.oracle.com/weblogic/security/wls http://xmlns.oracle.com/weblogic/security/wls/1.0/wls.xsd http://xmlns.oracle.com/weblogic/domain http://xmlns.oracle.com/weblogic/1.0/domain.xsd http://xmlns.oracle.com/weblogic/security/xacml http://xmlns.oracle.com/weblogic/security/xacml/1.0/xacml.xsd http://xmlns.oracle.com/weblogic/security/providers/passwordvalidator http://xmlns.oracle.com/weblogic/security/providers/passwordvalidator/1.0/passwordvalidator.xsd http://xmlns.oracle.com/weblogic/security http://xmlns.oracle.com/weblogic/1.0/security.xsd">
  <name>wls_domain</name>
  <domain-version>12.2.1.4.0</domain-version>

 

 

 

2. WLST 를 이용하여 확인

 

[17:28:22 /u02/sw/weblogic/myDomain/bin]
> . ./setDomainEnv.sh 

[17:28:39 /u02/sw/weblogic/myDomain]
> java weblogic.WLST

Initializing WebLogic Scripting Tool (WLST) ...

Welcome to WebLogic Server Administration Scripting Shell

Type help() for help on available commands

wls:/offline> version
'WebLogic Server 12.2.1.4.0'
wls:/offline>

 

${DOMAIN_HOME}/bin 에서 setDomainEnv.sh 을 실행시킨 후 명령어를 WLST 를 실행하여 확인

 

 

 

 

3. weblogic.version 명령어로 확인

 

[17:30:12 /u02/sw/weblogic/myDomain/bin]
> . ./setDomainEnv.sh

[17:30:17 /u02/sw/weblogic/myDomain]
> java weblogic.version

WebLogic Server 12.2.1.4.0 Thu Sep 12 04:04:29 GMT 2019 1974621

Use 'weblogic.version -verbose' to get subsystem information

Use 'weblogic.utils.Versions' to get version information for all modules
[17:28:38 /u02/project/sw/wls_domain]

 

2번과 동일하게 ${DOMAIN_HOME}/bin에서 setDomainEnv.sh 를 실행 시키고, java weblogic.version 명령어를 이용해 확인

728x90
반응형

한걸음 한걸음

개인적인 기록