Categories
- All Categories
- Oracle Analytics and AI Learning Hub
- 44 Oracle Analytics and AI Sharing Center
- 20 Oracle Analytics and AI Lounge
- 278 Oracle Analytics and AI News
- 56 Oracle Analytics and AI Videos
- 16.2K Oracle Analytics and AI Forums
- 6.4K Oracle Analytics and AI Labs
- Oracle Analytics and AI User Groups
- 103 Oracle Analytics and AI Trainings
- 20 Oracle Analytics and AI 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