3 Replies Latest reply: Feb 5, 2012 2:13 AM by 908348 RSS

    Getting Error on publishing MDS

    908348
      Hi,

      I am getting below error while publishing AIA artifacts in MDS. I tried with security configurations as per exception but couldn't resolve it..

      C:\AIA_HOME\Infrastructure\Install\config>ant -f UpdateMetaData.xml
      Buildfile: UpdateMetaData.xml

      updateData:
      [AIAXmlProperty] Decipher value does not exist for the key : oer.server.password

      Install:

      InstallDeploymentPlan:
      [echo]
      [echo]
      [echo]
      [echo] Deployment log -- C:\AIA_HOME\aia_instances\AIA_DEV\logs/UpdateMetaDataDP_PreInstallScript_2012-01-16_13-13-19.log
      [echo]
      [echo]
      [echo] === Executing PreInstallScript of C:\\AIA_HOME/aia_instances/AIA_DEV/config/UpdateMetaDataDP.xml===
      [echo]
      [echo]
      [xslt] Processing C:\AIA_HOME\aia_instances\AIA_DEV\config\UpdateMetaDataDP.xml to C:\AIA_HOME\aia_instances\AIA_DEV\tmp\AIDExecuteDP_temp_2003481370.xml
      [xslt] Loading stylesheet C:\AIA_HOME\aia_instances\AIA_DEV\tmp\AIDExtractxsl_temp_1199431142.xsl

      executeDP:
      [delete] Deleting: C:\AIA_HOME\aia_instances\AIA_DEV\tmp\AIDExecuteDP_temp_2003481370.xml
      [delete] Deleting: C:\AIA_HOME\aia_instances\AIA_DEV\tmp\AIDExtractxsl_temp_1199431142.xsl
      [echo]
      [echo] === Completed PreInstallScript of C:\\AIA_HOME/aia_instances/AIA_DEV/config/UpdateMetaDataDP.xml===
      [echo]
      [echo]
      [echo]
      [echo]
      [echo] Deployment log -- C:\AIA_HOME\aia_instances\AIA_DEV\logs/UpdateMetaDataDP_Configurations_2012-01-16_13-13-19.log
      [echo]
      [echo]
      [echo] === Executing Configurations of C:\\AIA_HOME/aia_instances/AIA_DEV/config/UpdateMetaDataDP.xml===
      [echo]
      [echo]
      [xslt] Processing C:\AIA_HOME\aia_instances\AIA_DEV\config\UpdateMetaDataDP.xml to C:\AIA_HOME\aia_instances\AIA_DEV\tmp\AIDExecuteDP_temp_2003481370.xml
      [xslt] Loading stylesheet C:\AIA_HOME\aia_instances\AIA_DEV\tmp\AIDExtractxsl_temp_1199431142.xsl

      executeDP:
      [delete] Deleting directory C:\AIA_HOME\aia_instances\AIA_DEV\AIAMetaData\tempMetadata
      [mkdir] Created dir: C:\AIA_HOME\aia_instances\AIA_DEV\AIAMetaData\tempMetadata\apps\AIAMetaData
      [copy] Copying 2 files to C:\AIA_HOME\aia_instances\AIA_DEV\AIAMetaData\tempMetadata\apps\AIAMetaData
      [delete] Deleting: C:\AIA_HOME\aia_instances\AIA_DEV\AIAMetaData\MetaData.zip
      [zip] Building zip: C:\AIA_HOME\aia_instances\AIA_DEV\AIAMetaData\MetaData.zip
      [java] Exception in thread "main" java.lang.NegativeArraySizeException
      [java] at weblogic.security.UserConfigFileManager.initEncryptionRead(UserConfigFileManager.java:670)
      [java] at weblogic.security.UserConfigFileManager.initEncryption(UserConfigFileManager.java:722)
      [java] at weblogic.security.UserConfigFileManager.setUsernameAndPassword(UserConfigFileManager.java:190)
      [java] at oracle.aia.utils.keyStoreUtil.storeUserConfig.main(storeUserConfig.java:79)

      BUILD FAILED
      C:\AIA_HOME\Infrastructure\Install\config\UpdateMetaData.xml:8: The following error occurred while executing this line:
      C:\AIA_HOME\Infrastructure\Install\AID\AIAExecuteDriver.xml:103: The following error occurred while executing this line:
      C:\AIA_HOME\Infrastructure\Install\AID\AIAExecuteDriver.xml:64: The following error occurred while executing this line:
      C:\AIA_HOME\aia_instances\AIA_DEV\tmp\AIDExecuteDP_temp_2003481370.xml:4: The following error occurred while executing this line:
      C:\AIA_HOME\Infrastructure\Install\AID\lib\AIDConfigurationLibraryTasks.xml:795: Java returned: 1

      Total time: 10 seconds


      Seek your help..

      Regards,
      Ankit
        • 1. Re: Getting Error on publishing MDS
          751073
          Hi,

          Please try adding the MDS password property in the adf-config.xml.

          1) Browse to $AIA_INSTANCE/config/MDSConfig/.adf/META-INF
          2) Open adf-config.xml in edit mode
          3) Add mds password property with clear text password under the <metadata-store-usages> element. for eg.,

          <metadata-store-usages>
          <metadata-store-usage id="mstore-usage_2">
          <metadata-store class-name="oracle.mds.persistence.stores.db.DBMetadataStore">
          <property value="<MDS UserID>" name="jdbc-userid"/>
          <property value="<MDS Password>" name="jdbc-password"/>
          .
          .
          </metadata-store>
          </metadata-store-usage>

          <metadata-store-usage id="mstore-usage_3">
               <metadata-store class-name="oracle.mds.persistence.stores.db.DBMetadataStore">
          <property value="<MDS UserID>" name="jdbc-userid"/>
          <property value="<MDS Password>" name="jdbc-password"/>
          .
          .
          </metadata-store>
          </metadata-store-usage>
          </metadata-store-usages>

          4) Save the file.
          5) Try executing the UpdateMetaData.xml.

          -Pavan
          • 2. Re: Getting Error on publishing MDS
            717634
            Hi Ankit,
            I recommend you look into the $AIA_INSTANCE/tmp directory and check if a file names "keyFile" exists. If it does please delete it and retry running the deployment plan. It should work for you.

            Thanks
            Nipun
            • 3. Re: Getting Error on publishing MDS
              908348
              thanks Nipun will take care of this point if next time same thing happens... It was taking time to debug it so I reinstalled AIA its working fine now :)