Categories
- All Categories
- Oracle Analytics Learning Hub
- 19 Oracle Analytics Sharing Center
- 18 Oracle Analytics Lounge
- 232 Oracle Analytics News
- 44 Oracle Analytics Videos
- 15.9K Oracle Analytics Forums
- 6.2K Oracle Analytics Idea Labs
- Oracle Analytics User Groups
- 87 Oracle Analytics Trainings
- 15 Oracle Analytics Data Visualizations Challenge
- Find Partners
- For Partners
Creating key stores using libOVDconfig.sh
 
            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