アーティクル - CS285349
Servigistics Parts Planning でオートパイロット ジョブを実行中にデータベース パスワードの復号化中にエラーが発生しました
修正日: 17-Jan-2023
適用対象
- Servigistics Service Parts Management 11.4.0.1
説明
- オートパイロット ジョブの実行中にデータベース パスワードの暗号化解除中にエラーが発生しました
- Autopilot.log には以下が含まれます。
- データベース パスワードの復号化エラー\
.;ネストされた例外は java.lang.RuntimeException: データベース パスワードの暗号化解除エラーです。
スレッド「メイン」org.springframework.beans.factory.BeanDefinitionStoreException での例外: 'dat\ という名前の無効な Bean 定義
クラスパス リソース [spring/autoPilotClientContext.xml] で定義された aSource': データベース パスワードの復号化中にエラーが発生しました。;ネストされた例外\
n は java.lang.RuntimeException: データベース パスワードの復号化エラーです。
org.springframework.beans.factory.config.PlaceholderConfigurerSupport.doProcessProperties(PlaceholderConfigurerSupport.java:2\
11)
org.springframework.beans.factory.config.PropertyPlaceholderConfigurer.processProperties(PropertyPlaceholderConfigurer.java:2\) で
22)
org.springframework.beans.factory.config.PropertyResourceConfigurer.postProcessBeanFactory(PropertyResourceConfigurer.java:86) で
org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrati\
onDelegate.java:284)
org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrati\
onDelegate.java:166)
org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.jav\
a:677)
org.springframework.context.support.AbstractApplicationContext.refresh (AbstractApplicationContext.java:519) で
com.svg.core.application.ApplicationContextUtil.loadContext(ApplicationContextUtil.java:20) で
com.svg.core.autopilot.AutoPilotClient.main (AutoPilotClient.java:241) で
原因: java.lang.RuntimeException: データベース パスワードの復号化中にエラーが発生しました。
com.svg.core.util.DBUtil.getDatabasePassword (DBUtil.java:996) で
com.svg.core.spring.PropertyPlaceholderConfigurer.resolveProperty(PropertyPlaceholderConfigurer.java:82) で
com.svg.core.spring.PropertyPlaceholderConfigurer.resolveSystemProperty(PropertyPlaceholderConfigurer.java:74) で
org.springframework.beans.factory.config.PropertyPlaceholderConfigurer.resolvePlaceholder(PropertyPlaceholderConfigurer.java:\
159)
org.springframework.beans.factory.config.PropertyPlaceholderConfigurer$PropertyPlaceholderConfigurerResolver.resolvePlacehold\ で
er(PropertyPlaceholderConfigurer.java:274)
org.springframework.util.PropertyPlaceholderHelper.parseStringValue(PropertyPlaceholderHelper.java:147) で
org.springframework.util.PropertyPlaceholderHelper.replacePlaceholders(PropertyPlaceholderHelper.java:126) で
org.springframework.beans.factory.config.PropertyPlaceholderConfigurer$PlaceholderResolvingStringValueResolver.resolveStringV\ で
alue(PropertyPlaceholderConfigurer.java:258)
org.springframework.beans.factory.config.BeanDefinitionVisitor.resolveStringValue(BeanDefinitionVisitor.java:282) で
org.springframework.beans.factory.config.BeanDefinitionVisitor.resolveValue(BeanDefinitionVisitor.java:204) で
org.springframework.beans.factory.config.BeanDefinitionVisitor.visitPropertyValues(BeanDefinitionVisitor.java:141) で
org.springframework.beans.factory.config.BeanDefinitionVisitor.visitBeanDefinition(BeanDefinitionVisitor.java:82) で
org.springframework.beans.factory.config.PlaceholderConfigurerSupport.doProcessProperties(PlaceholderConfigurerSupport.java:2\
08)
... 8 つ以上
原因: javax.crypto.IllegalBlockSizeException: パディングされた暗号で復号化する場合、入力の長さは 8 の倍数でなければなりません
com.sun.crypto.provider.CipherCore.doFinal(CipherCore.java:913) で
com.sun.crypto.provider.CipherCore.doFinal(CipherCore.java:824) で
com.sun.crypto.provider.BlowfishCipher.engineDoFinal(BlowfishCipher.java:319) で
javax.crypto.Cipher.doFinal(Cipher.java:2165)で
com.svg.core.database.DBPassword.decrypt (DBPassword.java:74) で
com.svg.core.util.DBUtil.getDatabasePassword (DBUtil.java:994) で
... 20以上
- データベース パスワードの復号化エラー\
最新バージョンはこちらを参照ください CS285349