Oracle Analytics Cloud and Server

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

Credentials using wlst when extending domain with biee

Received Response
1
Views
3
Comments
cvezalis
cvezalis Rank 1 - Community Starter

Hello,

I try to extend a 12.2.1.2 domain with oracle.bi-bieetemplate.jar and oracle.bi-bipsuitetemplate.jar template using wlst offline.

When i update the domain i get the following error:

com.oracle.cie.domain.script.jython.WLSTException:

com.oracle.cie.domain.script.jython.WLSTException:

Error updating domain:

Invalid or missing credentials configuration.:

The credentials configuration in your domain is invalid.:

Correct the configuration.

The required property is missing.

Invalid property "Username" of Credential: value "" is invalid. The property value is required.

Provide property value

Is there any wlst command that sets the 2 missing credentials system.user and jms.queue.auth?

I have already try to set them using createCred() from wlst online or using em and create them in credential store before i extend the domain  but the error remains.

Thank you

Answers

  • User_NIM8P
    User_NIM8P Rank 1 - Community Starter

    I was facing the same issue.  It took me forever to figure out.  I looked online for about a week and it would appear that Oracle has absolutely no documentation for this online.  I also opened a MOS ticket, but that only resulted in more time wasted.

    Eventually I tried this:

    find $ORACLE_HOME/bi -print0 | xargs -0 egrep "system\.user|jms\.queue\.auth"

    Which revealed the following script, which is how the configuration assistant creates the credentials:

    $ORACLE_HOME/bi/modules/oracle.bi.configassistant/pymodules/bipimpl.py

    Using it as a reference, I created my own function:

    def createCredential(credential, username, password):

      cd('/Credential/TargetStore/oracle.bi.system/TargetKey/' + credential)

      create('c', 'Credential')

      cd('Credential')

      set('Username', username)

      set('Password', password)

    createCredential('jms.queue.auth', 'weblogic', '<wl_password>')

    createCredential('system.user', '<random_un>', '<random_pw>')

  • cvezalis
    cvezalis Rank 1 - Community Starter

    Thanks i will try that

  • cvezalis
    cvezalis Rank 1 - Community Starter

    I try it and it works. Thanks a lot.