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

Java Secure Store error after system copy

Former Member
0 Likes
1,263

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
Former Member
0 Likes

Markus,

Thanks. I see following information in the system copy doc. So it means, we can restore the database manually to the target system, but we must use SAPinst to install CI system, that way it would connect to database & recreate secure store credentials right?

1. On the Welcome screen, choose the required installation service:SAP NetWeaver 7.0 Support Release 2Software Life-Cycle

OptionsSystem CopyOracleTarget System<Central System | Distributed System | High-Availability System>.

2. When SAPinst prompts for the installation type, choose Homogeneous System Copy (Backup/Restore).

3. Proceed until SAPinst stops to restore the database files on the target system.

The following message is displayed:SAPinst now stops the installation. Please proceed as follows:...

Let us say we have NW 7.0 SR2 base, on top of this we have applied couple of patches. In this case, can we just use the NW 7.0 SR2 master DVD for CI installation?

Thanks,

Kris

markus_doehr2
Active Contributor
0 Likes

You start sapinst, select "backup/restore", continue until sapinst asks you to restore the database, then continue.

You need to have, of course, done an export of Java (using the same method) on the source system.

Markus

Former Member
0 Likes

Kris,

The entire procedure to perform a HSC on ABAP+JAVA or JAVA is:

on SOURCE SYSTEM:

1) Start SAPINST

2) Addtional life-time procedures

3) System Copy

4) Source System

5) Export

6) If is an HOMOGENEOUS, use 'database-specific method

This procedure will generate an export of your JAVA STACK (the files from filesystem mentioned by our colleage), so you have to copy this files to target instance when sapinst finish

so you go to the TARGET INSTANCE and:

1) Start SAPINST

2) Addtional life-time procedures

3) System Copy

4) Target System

5) Install

6) During parameters set, you will asked for a MIGRATION EXPORT DVD, so in that step you select the files generated by sapinst during source system export

7) During SAPINST execution, you`ll asked to perform the backup/restore of your db

Hope that it helps

Kind regards

Marcelo Macedo