为提高效率,提问时请提供以下信息,问题描述清晰可优先响应。
【DM版本】:DM8
【操作系统】:kylinv10
【CPU】:
【问题描述】*:
log4j-api.2.14.0.jar和log4j-core.2.14.0.jar两个jar包更换为log4j-api.2.18.0.jar和log4j-core.2.18.0.jar后,客户端工具全部无法正常打开,权限与更换前一致,尝试过重新赋予权限;
虚拟机测试更换为 2.18.0.jar 客户端可正常打开。
!message warnings while parsing the key bindings from the ‘org.eclipse.ui.commands’ extension point
!SUBENTRY 1 org.eclipse.ui 2 0 2022-08-22 11:20:05 119
! message Defining a key binding with no key squence has no effect :plug-in=‘com.dameng.manager’ , id=‘com.dameng.manager.action.debug.stopDebug’
!message An Error occurred while automatically bundle com.dameng.common.registry(11);
客户端更换jar包,需注意修改对应配置文件(注意空格),参考以下方案。
DM8客户端替换方案:
在安装目录tool\dropins\com.dameng\plugins\com.dameng.third下,将log4j-api-2.xxx.jar、log4j-core-2.xxx.jar替换升级为最新版本log4j-api-2.18.0.jar和log4j-core-2.18.0.jar文件,并修改META-INF目录下MANIFEST.MF文件,将其中的log4j-api-2.xxx.jar、log4j-core-2.xxx.jar改为log4j-api-2.18.0.jar和log4j-core-2.18.0.jar(注意:检查替换后文件权限;MANIFEST.MF文件中,log4j-api-2.18.0.jar和log4j-core-2.18.0.jar前面有空格,不能删除;更新到更高版本方法同上)。
注:log4j.jar是达梦客户端所依赖的jar包,替换完毕后无需重启数据库服务。