Agile PLM:Agile PLM 9.3.1.2メインプログラムのアップグレードに失敗したケース
記事のテーマ
9.3.1.2 databaseのアップグレードに成功したお客様は、Applicationプライマリ・プログラムのアップグレード時に「patch_install_log.properties doesn't exist」エラーを報告しています.
エラーメッセージ
9.3.1.2 databaseのアップグレードに成功したお客様は、Applicationプライマリ・プログラムのアップグレード時に「patch_install_log.properties doesn't exist」エラーを報告しています.
エラーメッセージ
错误提示Patch-Installer.xml的482行有个Replace方法的错误。查看该行:
patch_install_log.properties在此处做一次文件分隔符的转换,但此时该文件不存在。是什么原因导致文件不存在,继续分析。日志文件
9.3.1.2_Install.dbg 日志显示如下
setVariables: [available] Unable to find C:\Agile_2\Agile931\agileDomain\applications\application.ear [available] Unable to find C:\Agile_2\Agile931\agileDomain\applications\webfs.war [available] Unable to find C:\Agile_2\Agile931\agileDomain\applications\webdav.war [available] Unable to find C:\Agile_2\Agile931\integration\sdk\lib\AgileAPI.jar [available] Unable to find C:\Agile_2\Agile931\AgilePharma\applications\AgilePharma.ear [available] Unable to find C:\Agile_2\Agile931\AgileProxies\iisproxy.dll [available] Unable to find C:\Agile_2\Agile931\changecast\ChangeCAST.exe setVariables: duration 0 seconds readConfig: [available] Unable to find C:\Agile_2\Agile931\Install\config\agile_api.cfg to set property exists.api.file [available] Unable to find C:\Agile_2\Agile931\Install\config\agile_dfm.cfg to set property exists.dfm.file [available] Unable to find C:\Agile_2\Agile931\Install\config\agile_cc.cfg to set property exists.cc.file [available] Unable to find C:\Agile_2\Agile931\Install\config\agile_ws.cfg to set property exists.ws.file [available] Unable to find C:\Agile_2\Agile931\Install\config\agile_pharma.cfg to set property exists.pharma.file [available] Unable to find C:\Agile_2\Agile931\Install\config\agile_app.cfg to set property exists.app.file
C:Agile_2Agile 931はAgileHomeのルートディレクトリではないようです.アプリケーションもありますから.earおよび大量のcfgファイルは存在しません.patch_install_log.propertiesの生成は、cfgファイルごとに読み込まれます.再分析为什么这些动态文件不存在。
AgileHome定义
拿agile_api.cfg来举例,看他的路径是从哪里来的,一层层往上层找到最初定义。 先找到agile_api.cfg
再找到PRODUCT_HOME最后我们去找AgileHome,发现它是根据不同的操作系统从文件中读取而来
最终问题
在windows上,找到C:\Program Files\Agile\agilehome文件,打开后,发现其AgileHome目录已经被人为修改指向错误的C:\Agile_2\Agile931 正确的举例如下:
AgilePLMVersion=9.3.1 AgileHome=D:\Agile\Agile931