SKAe

Blog

view:  full / summary

OSM7: Salt Store does not exist. Please run the utility EncryptPasswords to generate a Salt Store

Posted by Supriya Kumar Acharjee on October 8, 2012 at 5:25 AM Comments comments (1)

     Getting error like :

"Salt Store does not exist. Please run the utility EncryptPasswords to generate a Salt Store"  while trying to do import/export in OSM 7.2?

Well a new feature of password encrytion has been introduced in OSM 7.2 where the config xml can't have hardcoded password. 1st fill up the config xml with required set of data(usernames 7 passwords), then run the tool after setting the env variables :MIDDLEWARE_HOME & JAVA_HOME.

JAVA_HOME can be JDK 1.5, 1.6, 1.7 (for this tool) though only supported version os 1.6

MIDDLEWARE_HOME is to be the value for weblogic home.

D:\OSM7\SDK\XMLImportExport>EncryptPasswords

Usage:

EncryptPasswords [XML_CONFIG] OPTIONAL{-dbUser} OPTIONAL{-xmlapiUser} OPTIONAL{-

wlsUser}

Description: "Encrypts the given passwords in the specified configuration file."

Options :

XML_CONFIG : path to the configuration file containing the passwords to be

encrypted.

-dbUser : if provided, the database password will be encrypted, if prese

nt in the configuration file.

-xmlapiUser : if provided, the XML API password will be encrypted, if presen

t in the configuration file.

-wlsUser : if provided, the WebLogic administrator password will be encry

pted, if present in the configuration file.

For example:

EncryptPasswords config.xml -dbUser (to set the database user password only)

EncryptPasswords config.xml -dbUser -xmlapiUser -wlsUser (to set all passwords)

D:\OSM7\SDK\XMLImportExport>EncryptPasswords ./config/config_testBox.xml -dbUser -xmlapiUser -wlsUser

Enter user name for database connection

oms

Enter password for database connection

Enter user name for xmlapi connection

omsadmin

Enter password for xmlapi connection

Enter user name for weblogic connection

system

Enter password for weblogic connection

 

ASAP: Not sending all the responses OR sending only "createOrderByValueResponse"

Posted by Supriya Kumar Acharjee on January 10, 2012 at 1:55 AM Comments comments (0)

  Multiple reasons, crosscheck the below :

  •    Check the URL & "servername" property of RPC Connection Pool  are proper & having proper hostname values.
  •     Check for the hostname value in TBL_SERVER_INFO of CTRL DB & srp_host_name value in TBL_ASAP_SRP of SARM DB to have proper values (IP/hostname)

ASAP: Error while starting ASAP - : "ld.so.1: asc_crypt: fatal: libclntsh.so.11.1: open failed: No such file or directory"

Posted by Supriya Kumar Acharjee on January 10, 2012 at 1:45 AM Comments comments (0)

    Well this issue is seen while starting the ASAP application server . On investigating it was found the ORACLE_HOME_ASAP variable in Environment_Profile was not having the proper directory value to Oracle 11

ASAP: SAR deployment getting stuck

Posted by Supriya Kumar Acharjee on December 28, 2011 at 7:55 AM Comments comments (0)

Well on investigating multiple reasons were found.

Ø There was a durable subscriber which was listening to the SU01.XVTEventTopic(the default topic of ASAP) & there were 12000+ messages in it. As per Weblogic 9.2.3 product fault, these messages will remain there till the year 2053 even after deleting the subscriber. Ways to clear :

         ○ Truncate or drop the persistent storage table

         ○ Remove the default storage of Weblogic (file storage)

Ø There was a java process owned by "noaccess" and that could not be killed even using root user. It restarts again using a new process ID ,every time after killing using root access. Way to clear:

         ○ Fool that process by first renaming the java (to java_bak)which the process is using , and then kill the process. It would not be able to start again as it will not get the java in that location and would stop. Then rename back the java_bak to java

Ø There were multiple sessions of java ( java com.mslv.activation.management.application.sadtClient ) still open which were trying to deploy SAR. All were to be killed.

Ø Restart Oracle (after shutting down all the servers) after doing all the above steps.

 

Well if someone is having the luxury of restart the entire Solaris environment , then all the above steps won't be required. :)

ASAP: Issue with the text limit of EVAL_EXP..workaround

Posted by Supriya Kumar Acharjee on December 22, 2011 at 5:00 AM Comments comments (0)

 Shorten the expressions by more use of operands (where ever safe), like below:

A. (PARAMETER LIKE "False") - > (PARAMETER  "F%”) [Profit of 3 letters / bracketed-expression]

B. (PARAMETER LIKE "Yes") -> (PARAMETER  LIKE "Y%") [Profit of 2 letters / bracketed-expression]

C. (PARAMETER LIKE “123”) -> (PARAMETER=123) (Applicable for numbers only) [Profit of 7 letters / bracketed-expression]

D. (PARAMETER !LIKE “123”) -> (PARAMETER<>123) (Applicable for numbers only) [Profit of 7 letters / bracketed-expression]

 

 Removing the spaces between Boolean operators & brackets . For eg:

 

Instead of : (PARAMETER LIKE "N") AND (PARAMETER_2 LIKE "Yes")

Use of : (PARAMETER LIKE "N")AND(PARAMETER_2 LIKE "Yes") [Profit of 2 letters / bracketed-expression]

OSM: Issue with if condition - 1

Posted by Supriya Kumar Acharjee on December 21, 2011 at 11:30 AM Comments comments (0)

       It's seen that in some OSM 6.3 versions (prior to Patch 38.5) , the nested if condition of OSM view freame work rule doesn't works :

       When there is ‘and’ between 2 comparators in a ‘if condition’ and out of those comparators , one is a ‘instance’ type & another is a normal variable type , then the rule doesn’t works if the instance type on the LHS of ‘and’ & normal variable type on the RHS of ‘and’ . The same rule will start working once LHS & RHS of ‘and’ is switched between each other. I will not confuse you any more, hence going through examples.:

 

if(../../parameter/name='No',if(count(instance('instanceName')/xpath/to/parameter)!=0 and ../../parameter/name2!='Yes',false(),true()),true())         ->  Doesn’t works

 

The same exression will start working on switching the LHS & RHS of ‘and’ it like below :

 

if(../../parameter/name='No',if( ../../parameter/name2!='Yes' and count(instance('instanceName')/xpath/to/parameter)!=0,false(),true()),true())

 

 

Don't worry I didn't find the issue in OSM 6.3 Patch 48 onwards


Rss_feed