Creating key stores using libOVDconfig.sh — Oracle Analytics

Oracle Analytics Cloud and Server

Welcome to the Oracle Analytics Community: Please complete your User Profile and upload your Profile Picture

Creating key stores using libOVDconfig.sh

Question
4
Views
0
Comments
Aarvi-Oracle
Aarvi-Oracle Rank 2 - Community Beginner

i,

I am trying to create Identity stores in OBIEE 12.2.1.4 using libovdconfig.sh script.
Manually I am able to create the keystore with no issues.

export ORACLE_HOME=#{wl_install_dir};export WL_HOME=#{wl_install_dir}/wlserver;export JAVA_HOME=#{java_home};#{wl_install_dir}/oracle_common/bin/libovdconfig.sh -host #{primary_host} -port 7001 -userName weblogic -domainPath #{wl_install_dir}/user_projects/domains/bi_domain -createKeystore

The same command via automation script if I execute I am getting the below error.
Exception in thread "main" java.lang.NullPointerException
       at oracle.ods.virtualization.config.BootstrapConfig.readPassword(BootstrapConfig.java:203)
       at oracle.ods.virtualization.config.BootstrapConfig.main(BootstrapConfig.java:220)

Can you please help here to resolve this issue.
      
Code snippet:
# create keystore command using libovdconfig
hsgbu_weblogic_mixlib "Generate SSL Keystore" do
    stdinput "#{weblogic_bi_password}#{delimiter}#{ssl_bi_password}"
    valid_exit_codes [0,1,2]
    #command ssl_keystore_command
    command "export ORACLE_HOME=#{node[:wls_install_dirname]};export WL_HOME=#{node[:wls_install_dirname]}/wlserver;export JAVA_HOME=#{node[:oci_java][:install_dir]}/#{node[:oci_java][:jdk_name]};#{node[:wls_install_dirname]}/oracle_common/bin/libovdconfig.sh -host #{primary_host} -port 7001 -userName weblogic -domainPath #{node[:wls_install_dirname]}/user_projects/domains/bi_domain -createKeystore"
    user node[:oci_weblogic][:product_user]
    group node[:oci_weblogic][:group]
    action :run
end      

Thanks
Ravi