SAP Knowledge Base Article - Preview

2193768 - DASD backup and restore: Exception occurred loading module - SRS DA Option 15.7

Symptom

Restoring DASD (Data Asurance System Database) backup from one installation to another installation does not work.
If attempted, one may receive error similar to following when starting the DA server after DASD restore and automatic shutdown of the DA server--

AUDIT SystemDatabaseModule.restore@50 #276 User "da_admin" restoring DASD backup from directory: <full path of the backup>
DASD DerbyInstanceAdmin.restoreFrom@50 #174 Restoring DASD from <full path of the backup>/dasd
CONTAINER RestoreBackupStatement.execute@50 [#86] The DASD has been restored, the server will now shutdown.
CONTAINER Container.a@1 Exception occurred loading module!
STD .@1 java.lang.Error: javax.crypto.BadPaddingException: Given final block not properly padded
STD .@1       at com.sybase.da.fw.security.provider.EncryptionProvider.a(Unknown Source)
STD .@1       at com.sybase.da.fw.security.provider.EncryptionProvider.decryptString(Unknown Source)
STD .@1       at com.sybase.da.fw.security.SecurityUtils.decryptString(Unknown Source)
STD .@1       at com.sybase.da.server.repository.handler.TableHandler$Methods.set(Unknown Source)
STD .@1       at com.sybase.da.server.repository.handler.TableHandler.createTableObject(Unknown Source)
STD .@1       at com.sybase.da.server.repository.handler.TableHandler.createTableObject(Unknown Source)
STD .@1       at com.sybase.da.server.repository.handler.TableHandler$TableRSProcessor.process(Unknown Source)
STD .@1       at com.sybase.da.server.repository.handler.TableHandler.a(Unknown Source)
STD .@1       at com.sybase.da.server.repository.handler.TableHandler.getObjectByPk(Unknown Source)
STD .@1       at com.sybase.da.server.profile.ProfileModule.g(Unknown Source)
STD .@1       at com.sybase.da.server.profile.ProfileModule.f(Unknown Source)
STD .@1       at com.sybase.da.server.profile.ProfileModule.init(Unknown Source)
STD .@1       at com.sybase.da.fw.Module.a(Unknown Source)
STD .@1       at com.sybase.da.fw.Container.loadModules(Unknown Source)
STD .@1       at com.sybase.da.fw.Container.load(Unknown Source)
STD .@1       at com.sybase.da.server.ServerContainer.main(Unknown Source)
STD .@1 Caused by: javax.crypto.BadPaddingException: Given final block not properly padded
STD .@1       at com.sun.crypto.provider.CipherCore.doFinal(CipherCore.java:811)
STD .@1       at com.sun.crypto.provider.CipherCore.doFinal(CipherCore.java:676)
STD .@1       at com.sun.crypto.provider.DESCipher.engineDoFinal(DESCipher.java:314)
STD .@1       at javax.crypto.Cipher.doFinal(Cipher.java:2087)
STD .@1       ... 15 more


Read more...

Environment

Product

SAP Replication Server 15.7

Keywords

KBA , BC-SYB-REP , Sybase Replication Server (standalone) , How To

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.