cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Java Secure Store error after system copy

Former Member
0 Likes
1,261

Hi,

We recently done system copy from Production to Sandbox. The system is a dual stack ABAP+Java, after system copy ABAP is working file. But having issues with Java stack, can't start, when try to start configtool, it's throwing an error

"com.sap.security.core.server.secstorefs.WrongKeyException: The encryption key (usually in the key file) is not the key that is required to decrypt the data in the secure store file or the system name (SID) is wrong"

We used restore/backup method for system copy on oracle.

Can anybody advice the resolution?

Thanks,

Kris

View Entire Topic
markus_doehr2
Active Contributor
0 Likes

> We used restore/backup method for system copy on oracle.

This works for ABAP but not for Java because the J2EE engine stores lots of its configuration locally on the filesystem. There will be some dozen .properties files around with the old hostname and SID.

Because of that you need to always do Java system copies by starting sapinst and exporting the Java content. You can use backup/restore for the database part but you have to use sapinst to re-import the Java part into the target system. A Java migration kit (part of sapinst) will do all the necessary changes so the Java instance will be running.

Check the system copy guides.

Markus