Posts

Showing posts from January, 2022

SQL for finding out diff in maxattribute/maxobject class files

While running updatedb on an environment the classname of objects and attributes would get overwritten and reset to original class names. To identify and restore them back its important that a backup of the maxobject/maxattribute tables is taken before updatedb was executed using something like "select into maxattribute_backup * from  maxattribute" and then later it can be used to identify the differences and restore using SQL queries similar to below select * from maxattributecfg cfg1 join maxattributecfg_backup cfg2 on cfg1.objectname = cfg2.objectname and cfg1.attributename = cfg2.attributename where (cfg1.classname is null and cfg2.classname is not null or cfg1.classname is not null and cfg2.classname is null or cfg2.classname != cfg1.classname) or (cfg1. length is null and cfg2. length is not null or cfg1. length is not null and cfg2. length is null or cfg2. length != cfg1. length ) or (cfg1.maxtype is null and cf...

Maximo Application deployment fails with "IWAE0017E Unable to replace original archive" error

Image
Recently we encountered an error while trying to deploy maximo ear and spent good few hours trying to identify the issue. Turns out it was caused due to antivirus either locking the file or not closing the file handle properly. We had to disable all antivirus on the system to solve the issue. During investigation we also found that a similar error could also be caused by a known error for which there is a fixpack in place. https://www.ibm.com/support/pages/apar/PH37152 but this wasn't the issue in our case. Error: Below error log was captured in the ffdc log of dmgr profile during Application deployment after clicking Finish. [ 1 / 27 / 22 18 : 16 : 43 : 396 GST ] FFDC Exception: org . eclipse . jst . j2ee . commonarchivecore . internal . exception . SaveFailureException SourceId: com . ibm . websphere . management . application . client . ArchiveDeploymentInfo . close ProbeId: 705 Reporter: java . lang . Class @ 408414 e5 org . eclipse . jst . j2ee . commonarchiv...