当我在guidewire CC中启动服务器时,我得到了这个错误。
已删除或更改com.guidewire.pl.system.exception.UpgradeException:加密,但未定义OldEncryption插件。有关加密升级的详细信息,请参阅您的文档。
请帮助我解决此错误。
发布于 2018-01-03 01:14:36
当ClaimCenter检测到您更改了加密方案,而没有正确保留旧插件的注册时,就会发生此异常。
你可以有多个插件来实现IEncryption接口。
假设您正在使用通过SHA1Encryption.gwp插件注册表注册的SHA1加密:
<plugin
interface="IEncryption"
name="SHA1Encryption">
<plugin-gosu
gosuclass="com.mycompany.plugins.encryption.SHA1EncryptionPluginImpl"/>
</plugin>并在config.xml中进行配置
<!-- The name of the current encryption plugin. -->
<param name="CurrentEncryptionPlugin" value="SHA1Encryption"/>然后,您决定切换到AES加密。
首先必须创建一个新的插件注册表文件AESEncryption.gwp
<plugin
interface="IEncryption"
name="AESEncryption">
<plugin-gosu
gosuclass="com.mycompany.plugins.encryption.AESEncryptionPluginImpl"/>
</plugin>然后,您必须修改config.xml以告知ClaimCenter使用新插件:
<!-- The name of the current encryption plugin. -->
<param name="CurrentEncryptionPlugin" value="AESEncryption"/>请勿删除SHA1Encryption.gwp插件注册表。
ClaimCenter按插件注册表文件的名称跟踪用于加密每条记录的加密插件。如果它找不到这个文件,你会得到这个错误。
ClaimCenter还能够检测到实现类已经更改,即使插件名称没有更改(元数据更改)。在这种情况下,它会查找一个名为OldEncryption.gwp的插件注册表。
如果它找不到特定的名称,也找不到OldEncryption.gwp,那么您将收到此错误。
更多信息可以在Guidewire的集成指南中找到。
发布于 2016-03-31 12:15:42
听起来你正在连接的数据库是一个较新的或不同的加密版本,这是你正在运行的Guidewire应用程序代码库所期望的。
config.xml文件中CurrentEncryptionPlugin的值是什么?
<!-- The name of the current encryption plugin. -->
<param name="CurrentEncryptionPlugin" value="AESEncrypter"/>发布于 2020-02-19 23:07:38
我发现这是因为我没有将extensions.properties文件更新到最新的编号。要修复,请执行以下操作:
在文件中输入Cntl-Shift-n
我做完这件事后就准备好了。
https://stackoverflow.com/questions/35866571
复制相似问题