DOYENSYS Knowledge Portal




We Welcome you to visit our DOYENSYS KNOWLEDGE PORTAL : Doyensys Knowledge Portal




Sunday, December 31, 2017

         WEB LOGIC UNPACK COMMAND FAILS WITH ERROR Version 12.2.1.1.0 to 12.2.1.1.0



Domain is packed on weblogic machine 1 and unpacked on to the second node weblogic machine 2:-

[oracle@weblogic bin]$ scp  /u01/app/oracle/primay.jar oracle@weblogic2:/u01/app/oracle
The authenticity of host 'weblogic2 (192.168.88.137)' can't be established.
RSA key fingerprint is 9b:29:29:d9:d2:ca:6e:2d:02:cd:29:2f:7a:ef:33:60.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'weblogic2,192.168.88.137' (RSA) to the list of known hosts.
oracle@weblogic2's password: 
primay.jar                                                                                                                                                         100%   67KB  67.1KB/s   00:00    

[oracle@weblogic bin]$


[oracle@weblogic bin]$ ./unpack.sh -domain=/u01/app/oracle/product/12.2.1/mv_home/user_projects/domains/base_domain/ -template=/u01/app/oracle/primay.jar -log=/u01/app/oracle/unpack.log 



CFGFWK-60550: ENCOUNTERED ERROR: "ATTRIBUTE "PASSWORD" IS NOT SET FOR USER "WEBLOGIC"". ERROR IS LOGGED TO "NULL".
CFGFWK-60550: SEE LOG FOR DETAILS.
AT COM.ORACLE.CIE.WIZARD.DOMAIN.SILENT.TASKS.RUNSCRIPTTASK.RUNSCRIPTWITHEXECUTOR(RUNSCRIPTTASK.JAVA:645)
AT COM.ORACLE.CIE.WIZARD.DOMAIN.SILENT.TASKS.RUNSCRIPTTASK.EXECUTE(RUNSCRIPTTASK.JAVA:363)
AT COM.ORACLE.CIE.WIZARD.INTERNAL.CONT.SILENTTASKCONTAINER$TASKRUNNER.RUN(SILENTTASKCONTAINER.JAVA:97)
AT JAVA.LANG.THREAD.RUN(THREAD.JAVA:745)
CAUSED BY: COM.ORACLE.CIE.DOMAIN.SCRIPT.SCRIPTEXCEPTION: ATTRIBUTE "PASSWORD" IS NOT SET FOR USER "WEBLOGIC"

SOLUTION:-

Password should be passed into unpack via a wallet using the "-walletDir=dir" command line option. The wallet can be created using the new command "configWallet.sh" located 

[oracle@weblogic2 bin]$ cd ORACLE_HOME/oracle_common/common/bin
[oracle@weblogic2 bin]$ ls
clonedunpack.sh  commEnv.sh     config_builder.sh  configWallet.sh  pack.sh                   printJarVersions.sh  reconfig.sh     unpack.sh
commBaseEnv.sh   commExtEnv.sh  config.sh          getproperty.sh   prepareCustomProvider.sh  qs_config.sh         setHomeDirs.sh  wlst.sh
[oracle@weblogic2 bin]$  ./configWallet.sh -walletDir /u01/app/oracle/wallet -create admin_name weblogic
admin_name:weblogic
Confirm admin_name:weblogic
weblogic:<oracle123> (passowrd)

Confirm weblogic:<oracle123>  (passowrd)

[oracle@weblogic2 bin]$ ./unpack.sh -domain=/u01/app/oracle/product/12.2.1/mv_home/user_projects/domains/base_domain/ -template=/u01/app/oracle/primay.jar -log=/u01/app/oracle/unpack.log -walletDir=/u01/app/oracle/wallet/

-------------
-------------

OUTPUT:- succeed: close template



No comments: