Thursday, March 14, 2013

not able to connect to admin server using wlst.sh ...

Issue :

Environment is SSL enabled and  when trying with

cd /opt/Oracle/Middleware/Oracle_SOA1/common/bin
java -Dweblogic.security.SSL.ignoreHostnameVerification=true

-Dweblogic.security.TrustKeyStore=CustomTrust -Dweblogic.security.CustomTrustKeyStoreFileName=/var/domain/soa_st01/keystore/WebLogicTrustKeyStore.jks -Dweblogic.security.CustomTrustKeyStorePassPhrase=wltkpassword -Dweblogic.security.CustomTrustKeyStoreType=JKS -Dweblogic.security.SSL.allowSmallRSAExponent=true weblogic.WLST it is working ...   but while trying to connect to Admin server using wlst.sh it is not working ..   And to execute the command to Import Metadata  in SOA 11g you SHOULD use wlst.sh  ONLY ..   Solution :   So to fix this export the env variable CONFIG_JVM_ARGS .. and then try    importMetadata(application='soa-infra',server='soa_st01_BusinessServer01',fromLocation='/home/soast01/apps/',docs='/SharedResourceVR/**')   once it is connected to the domain ....    
export CONFIG_JVM_ARGS="-Dweblogic.security.SSL.ignoreHostnameVerification=true -Dweblogic.security.TrustKeyStore=CustomTrust -Dweblogic.security.CustomTrustKeyStoreFileName=/var/domain/soa_st01/keystore/CapitalOneWebLogicTrustKeyStore.jks -Dweblogic.security.CustomTrustKeyStorePassPhrase=wltkpassword -Dweblogic.security.CustomTrustKeyStoreType=JKS -Dweblogic.security.SSL.allowSmallRSAExponent=true"


No comments:

Post a Comment