cancel
Showing results for 
Search instead for 
Did you mean: 

Java System Copy Error while accessing secure store

former_member215961
Contributor
0 Kudos

Hi experts,

We're performing an homogeneous copy of JAVA only system ( NW2004 Portal 6.30 ) and after restoring database we cannot connect due a login incorrect of SAPR3.

4 ETW000  [     dev trc,00000]  Connecting as SAPR3/<pwd>@PDD on connection 0 (nls 0) ... (dbsl 700 170611, UNICODE[2])

4 ETW000                                                                                                  18  0.037801

4 ETW000  [     dev trc,00000]  Assigning username to user session: con_hdl=0, usrhp=0x1b79728            12  0.037813

4 ETW000  [     dev trc,00000]  Assigning password to user session: con_hdl=0, usrhp=0x1b79728            23  0.037836

4 ETW000  [     dev trc,00000]  Starting user session: OCISessionBegin(con_hdl=0, usr=SAPR3/<pwd>, svchp=0x1b89958, srvhp=0x1b8d0d8, usrhp=0x1b79728)

4 ETW000                                                                                                  34  0.037870

4 ETW000  [     dev trc,00000]     OCISessionBegin(OCI_DEFAULT) failed with -1=OCI_ERROR                3480  0.041350

4 ETW000  [     dev trc,00000]     OCISessionBegin(OCI_DEFAULT) failed with SQL error 1017:               55  0.041405

4 ETW000  [     dev trc,00000]     ORA-01017: invalid username/password; logon denied

4 ETW000                                                                                                  19  0.041424

4 ETW000  [    dbsloci.,00000]  *** ERROR => CONNECT failed with sql error '1017'                         16  0.041440

4 ETW000  [     dev trc,00000]     set_ocica() -> SQL error code 1017                                     11  0.041451

4 ETW000  [     dev trc,00000]  -->oci_get_errmsg (con_hdl=0, rc=1017)                                    12  0.041463

4 ETW000  [     dev trc,00000]     OCIErrorGet -> SQL error code: 1017                                    31  0.041494

4 ETW000  [     dev trc,00000]     ORA-01017: invalid username/password; logon denied

4 ETW000                                                                                                  17  0.041511

4 ETW000  [    dblink  ,00433]  ***LOG BY2=>sql error 1017   performing CON [dblink#8 @ 433]              49  0.041560

4 ETW000  [    dblink  ,00433]  ***LOG BY0=>ORA-01017: invalid username/password; logon denied [dblink#8 @ 433]

We didn't have any SAPR3 user either we have SAPSR3DB.

We changed the password by brtools but doesn't solve the issue.

We must change the securestore but offlineconfigtooll throw :

ERROR: Error while connecting to DB.

com.sap.engine.frame.core.configuration.ConfigurationException: Error while connecting to DB.

        at com.sap.engine.core.configuration.impl.persistence.rdbms.DBConnectionPool.<init>(DBConnectionPool.java:120)

        at com.sap.engine.core.configuration.impl.persistence.rdbms.PersistenceHandler.<init>(PersistenceHandler.java:38)

        at com.sap.engine.core.configuration.impl.cache.ConfigurationCache.<init>(ConfigurationCache.java:149)

        at com.sap.engine.core.configuration.bootstrap.ConfigurationManagerBootstrapImpl.init(ConfigurationManagerBootstrapImpl.java:236)

        at com.sap.engine.core.configuration.bootstrap.ConfigurationManagerBootstrapImpl.<init>(ConfigurationManagerBootstrapImpl.java:49)

        at com.sap.engine.services.configuration.gui.ToolLauncher.main(ToolLauncher.java:39)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)

        at java.lang.reflect.Method.invoke(Method.java:391)

        at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:81)

Caused by: com.sap.sql.log.OpenSQLException: Error while accessing secure store: 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..

Thanks a lot

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Sargan,

You can use a workaround:

  1. Download CORETOOLS<latest SP release of your j2ee engine version>.SCA from the marketplace
    1. service.sap.com/support
    2. Software Downloads
    3. Support Packages and Patches
    4. Then browse to your SAP Netweaver J2ee version 
    5. J2ee Engine Core Tools
  2. Extract from this SCA using a zip/rar tool the configtool.sda file
  3. From the configtool.sda extract the configtool.jar using a zip/rar tool (found in the lib directory)
  4. Replace the current ....j2ee\configtool\lib\configtool.jar with new configtool.jar
  5. Now you will be able to run the new configtool and edit the secure store from this directory

Regards,

Vipin

former_member215961
Contributor
0 Kudos

Hi Vipin,

We have followed your steps and the error is the same:

24> ./offlinecfgeditor.sh

ERROR: Error while connecting to DB.

com.sap.engine.frame.core.configuration.ConfigurationException: Error while connecting to DB.

        at com.sap.engine.core.configuration.impl.persistence.rdbms.DBConnectionPool.<init>(DBConnectionPool.java:120)

        at com.sap.engine.core.configuration.impl.persistence.rdbms.PersistenceHandler.<init>(PersistenceHandler.java:38)

        at com.sap.engine.core.configuration.impl.cache.ConfigurationCache.<init>(ConfigurationCache.java:149)

        at com.sap.engine.core.configuration.bootstrap.ConfigurationManagerBootstrapImpl.init(ConfigurationManagerBootstrapImpl.java:236)

        at com.sap.engine.core.configuration.bootstrap.ConfigurationManagerBootstrapImpl.<init>(ConfigurationManagerBootstrapImpl.java:49)

        at com.sap.engine.services.configuration.gui.ToolLauncher.main(ToolLauncher.java:39)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)

        at java.lang.reflect.Method.invoke(Method.java:391)

        at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:81)

Caused by: com.sap.sql.log.OpenSQLException: Error while accessing secure store: 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..

        at com.sap.sql.log.Syslog.createAndLogOpenSQLException(Syslog.java:106)

        at com.sap.sql.log.Syslog.createAndLogOpenSQLException(Syslog.java:145)

        at com.sap.sql.connect.OpenSQLDataSourceImpl.setDataSourceName(OpenSQLDataSourceImpl.java:226)

        at com.sap.sql.connect.OpenSQLDataSourceImpl.setDataSourceName(OpenSQLDataSourceImpl.java:197)

        at com.sap.engine.core.configuration.impl.persistence.rdbms.DBConnectionPool.<init>(DBConnectionPool.java:117)

        at com.sap.engine.core.configuration.impl.persistence.rdbms.PersistenceHandler.<init>(PersistenceHandler.java:38)

        at com.sap.engine.core.configuration.impl.cache.ConfigurationCache.<init>(ConfigurationCache.java:149)

        at com.sap.engine.core.configuration.bootstrap.ConfigurationManagerBootstrapImpl.init(ConfigurationManagerBootstrapImpl.java:236)

        at com.sap.engine.core.configuration.bootstrap.ConfigurationManagerBootstrapImpl.<init>(ConfigurationManagerBootstrapImpl.java:49)

        at com.sap.engine.services.configuration.gui.ToolLauncher.main(ToolLauncher.java:39)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)

        at java.lang.reflect.Method.invoke(Method.java:391)

        at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:81)

Caused by: 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.

        at com.sap.security.core.server.secstorefs.SecStoreFS.openExistingStore(SecStoreFS.java:2017)

        at com.sap.sql.connect.OpenSQLConnectInfo.getStore(OpenSQLConnectInfo.java:802)

        at com.sap.sql.connect.OpenSQLConnectInfo.lookup(OpenSQLConnectInfo.java:783)

        at com.sap.sql.connect.OpenSQLDataSourceImpl.setDataSourceName(OpenSQLDataSourceImpl.java:209)

        at com.sap.sql.connect.OpenSQLDataSourceImpl.setDataSourceName(OpenSQLDataSourceImpl.java:197)

        at com.sap.engine.core.configuration.impl.persistence.rdbms.DBConnectionPool.<init>(DBConnectionPool.java:117)

        at com.sap.engine.core.configuration.impl.persistence.rdbms.PersistenceHandler.<init>(PersistenceHandler.java:38)

        at com.sap.engine.core.configuration.impl.cache.ConfigurationCache.<init>(ConfigurationCache.java:149)

        at com.sap.engine.core.configuration.bootstrap.ConfigurationManagerBootstrapImpl.init(ConfigurationManagerBootstrapImpl.java:236)

        at com.sap.engine.core.configuration.bootstrap.ConfigurationManagerBootstrapImpl.<init>(ConfigurationManagerBootstrapImpl.java:49)

        at com.sap.engine.services.configuration.gui.ToolLauncher.main(ToolLauncher.java:39)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)

        at java.lang.reflect.Method.invoke(Method.java:391)

        at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:81)

Caused by: com.sap.security.core.server.secstorefs.InvalidStateException: Internal error during the decryption process.

        at com.sap.security.core.server.secstorefs.Crypt.decrypt(Crypt.java:850)

        at com.sap.security.core.server.secstorefs.SecStoreFS.openExistingStore(SecStoreFS.java:1985)

        at com.sap.sql.connect.OpenSQLConnectInfo.getStore(OpenSQLConnectInfo.java:802)

        at com.sap.sql.connect.OpenSQLConnectInfo.lookup(OpenSQLConnectInfo.java:783)

        at com.sap.sql.connect.OpenSQLDataSourceImpl.setDataSourceName(OpenSQLDataSourceImpl.java:209)

        at com.sap.sql.connect.OpenSQLDataSourceImpl.setDataSourceName(OpenSQLDataSourceImpl.java:197)

        at com.sap.engine.core.configuration.impl.persistence.rdbms.DBConnectionPool.<init>(DBConnectionPool.java:117)

        at com.sap.engine.core.configuration.impl.persistence.rdbms.PersistenceHandler.<init>(PersistenceHandler.java:38)

        at com.sap.engine.core.configuration.impl.cache.ConfigurationCache.<init>(ConfigurationCache.java:149)

        at com.sap.engine.core.configuration.bootstrap.ConfigurationManagerBootstrapImpl.init(ConfigurationManagerBootstrapImpl.java:236)

        at com.sap.engine.core.configuration.bootstrap.ConfigurationManagerBootstrapImpl.<init>(ConfigurationManagerBootstrapImpl.java:49)

        at com.sap.engine.services.configuration.gui.ToolLauncher.main(ToolLauncher.java:39)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)

        at java.lang.reflect.Method.invoke(Method.java:391)

        at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:81)

Caused by: javax.crypto.BadPaddingException: Invalid PKCS#5 padding length: 163

        at iaik.security.cipher.v.b(Unknown Source)

        at iaik.security.cipher.z.b(Unknown Source)

        at iaik.security.cipher.z.engineDoFinal(Unknown Source)

        at javax.crypto.Cipher.doFinal(Unknown Source)

        at com.sap.security.core.server.secstorefs.Crypt.decrypt(Crypt.java:825)

        at com.sap.security.core.server.secstorefs.SecStoreFS.openExistingStore(SecStoreFS.java:1985)

        at com.sap.sql.connect.OpenSQLConnectInfo.getStore(OpenSQLConnectInfo.java:802)

        at com.sap.sql.connect.OpenSQLConnectInfo.lookup(OpenSQLConnectInfo.java:783)

        at com.sap.sql.connect.OpenSQLDataSourceImpl.setDataSourceName(OpenSQLDataSourceImpl.java:209)

        at com.sap.sql.connect.OpenSQLDataSourceImpl.setDataSourceName(OpenSQLDataSourceImpl.java:197)

        at com.sap.engine.core.configuration.impl.persistence.rdbms.DBConnectionPool.<init>(DBConnectionPool.java:117)

        at com.sap.engine.core.configuration.impl.persistence.rdbms.PersistenceHandler.<init>(PersistenceHandler.java:38)

        at com.sap.engine.core.configuration.impl.cache.ConfigurationCache.<init>(ConfigurationCache.java:149)

        at com.sap.engine.core.configuration.bootstrap.ConfigurationManagerBootstrapImpl.init(ConfigurationManagerBootstrapImpl.java:236)

        at com.sap.engine.core.configuration.bootstrap.ConfigurationManagerBootstrapImpl.<init>(ConfigurationManagerBootstrapImpl.java:49)

        at com.sap.engine.services.configuration.gui.ToolLauncher.main(ToolLauncher.java:39)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)

        at java.lang.reflect.Method.invoke(Method.java:391)

        at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:81)

caused by

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.

        at com.sap.security.core.server.secstorefs.SecStoreFS.openExistingStore(SecStoreFS.java:2017)

        at com.sap.sql.connect.OpenSQLConnectInfo.getStore(OpenSQLConnectInfo.java:802)

        at com.sap.sql.connect.OpenSQLConnectInfo.lookup(OpenSQLConnectInfo.java:783)

        at com.sap.sql.connect.OpenSQLDataSourceImpl.setDataSourceName(OpenSQLDataSourceImpl.java:209)

        at com.sap.sql.connect.OpenSQLDataSourceImpl.setDataSourceName(OpenSQLDataSourceImpl.java:197)

        at com.sap.engine.core.configuration.impl.persistence.rdbms.DBConnectionPool.<init>(DBConnectionPool.java:117)

        at com.sap.engine.core.configuration.impl.persistence.rdbms.PersistenceHandler.<init>(PersistenceHandler.java:38)

        at com.sap.engine.core.configuration.impl.cache.ConfigurationCache.<init>(ConfigurationCache.java:149)

        at com.sap.engine.core.configuration.bootstrap.ConfigurationManagerBootstrapImpl.init(ConfigurationManagerBootstrapImpl.java:236)

        at com.sap.engine.core.configuration.bootstrap.ConfigurationManagerBootstrapImpl.<init>(ConfigurationManagerBootstrapImpl.java:49)

        at com.sap.engine.services.configuration.gui.ToolLauncher.main(ToolLauncher.java:39)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)

        at java.lang.reflect.Method.invoke(Method.java:391)

        at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:81)

Caused by: com.sap.security.core.server.secstorefs.InvalidStateException: Internal error during the decryption process.

        at com.sap.security.core.server.secstorefs.Crypt.decrypt(Crypt.java:850)

        at com.sap.security.core.server.secstorefs.SecStoreFS.openExistingStore(SecStoreFS.java:1985)

        at com.sap.sql.connect.OpenSQLConnectInfo.getStore(OpenSQLConnectInfo.java:802)

        at com.sap.sql.connect.OpenSQLConnectInfo.lookup(OpenSQLConnectInfo.java:783)

        at com.sap.sql.connect.OpenSQLDataSourceImpl.setDataSourceName(OpenSQLDataSourceImpl.java:209)

        at com.sap.sql.connect.OpenSQLDataSourceImpl.setDataSourceName(OpenSQLDataSourceImpl.java:197)

        at com.sap.engine.core.configuration.impl.persistence.rdbms.DBConnectionPool.<init>(DBConnectionPool.java:117)

        at com.sap.engine.core.configuration.impl.persistence.rdbms.PersistenceHandler.<init>(PersistenceHandler.java:38)

        at com.sap.engine.core.configuration.impl.cache.ConfigurationCache.<init>(ConfigurationCache.java:149)

        at com.sap.engine.core.configuration.bootstrap.ConfigurationManagerBootstrapImpl.init(ConfigurationManagerBootstrapImpl.java:236)

        at com.sap.engine.core.configuration.bootstrap.ConfigurationManagerBootstrapImpl.<init>(ConfigurationManagerBootstrapImpl.java:49)

        at com.sap.engine.services.configuration.gui.ToolLauncher.main(ToolLauncher.java:39)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)

        at java.lang.reflect.Method.invoke(Method.java:391)

        at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:81)

Caused by: javax.crypto.BadPaddingException: Invalid PKCS#5 padding length: 163

        at iaik.security.cipher.v.b(Unknown Source)

        at iaik.security.cipher.z.b(Unknown Source)

        at iaik.security.cipher.z.engineDoFinal(Unknown Source)

        at javax.crypto.Cipher.doFinal(Unknown Source)

        at com.sap.security.core.server.secstorefs.Crypt.decrypt(Crypt.java:825)

        at com.sap.security.core.server.secstorefs.SecStoreFS.openExistingStore(SecStoreFS.java:1985)

        at com.sap.sql.connect.OpenSQLConnectInfo.getStore(OpenSQLConnectInfo.java:802)

        at com.sap.sql.connect.OpenSQLConnectInfo.lookup(OpenSQLConnectInfo.java:783)

        at com.sap.sql.connect.OpenSQLDataSourceImpl.setDataSourceName(OpenSQLDataSourceImpl.java:209)

        at com.sap.sql.connect.OpenSQLDataSourceImpl.setDataSourceName(OpenSQLDataSourceImpl.java:197)

        at com.sap.engine.core.configuration.impl.persistence.rdbms.DBConnectionPool.<init>(DBConnectionPool.java:117)

        at com.sap.engine.core.configuration.impl.persistence.rdbms.PersistenceHandler.<init>(PersistenceHandler.java:38)

        at com.sap.engine.core.configuration.impl.cache.ConfigurationCache.<init>(ConfigurationCache.java:149)

        at com.sap.engine.core.configuration.bootstrap.ConfigurationManagerBootstrapImpl.init(ConfigurationManagerBootstrapImpl.java:236)

        at com.sap.engine.core.configuration.bootstrap.ConfigurationManagerBootstrapImpl.<init>(ConfigurationManagerBootstrapImpl.java:49)

        at com.sap.engine.services.configuration.gui.ToolLauncher.main(ToolLauncher.java:39)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)

        at java.lang.reflect.Method.invoke(Method.java:391)

        at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:81)

Thanks

Former Member
0 Kudos

Hi,

During the installation of the target system, the secure store must be

created using the same key phrase as the source system.

So during the target installation, you need to make sure that

the key phrase is correct otherwise encrypted content cannot be

decrypted and that will prevent the server from starting.

That's why you get the exception below in the server0 logs:

Caused by: javax.crypto.BadPaddingException: Invalid PKCS#5 padding

length: 66

If the database is copied using database tools, SAPinst

does not run on the source system, therefore the customer must enter the

correct key phrase during the target system installation as it is not

checked by sapinst.

This is described in attached notes #1490839 and #968242.

The only way to fix the issue now is to run the target

system installation again and make sure the key phrase is the same as in

the source system.

Regards,

Vipin

former_member215961
Contributor
0 Kudos

Hi,

Now we can edit the config tool but we cannot start the instance:

[Thr 182896153536] JStartupICreateProcess: fork process (pid 8763)

[Thr 182896153536] Mon Sep 17 18:16:35 2012

[Thr 182896153536] *** ERROR => invalid return code of process [bootstrap] (exitcode = 66) [jstartxx_mt. 1642]

[Thr 182896153536] JControlExecuteBootstrap: error executing bootstrap node [bootstrap] (rc = 66)

[Thr 182896153536] JControlCloseProgram: started (exitcode = 66)

[Thr 182896153536] JControlCloseProgram: good bye... (exitcode = 66)

Thank you

Former Member
0 Kudos

Hi,

Check the log file "log_bootstrap*" in the work dir and you will find the exect error in that file. Paste it here. Exit code =66 means that J2ee server is not able to connect to Database. Reason of this is

mentioned in log_bootstrap* file.

Thanks and Regards,

Vipin

blanca_serrano
Advisor
Advisor
0 Kudos

Hello Sargan,

There is a note that deals with this errror, note 1592575, please, see if it helps you.

Regards,

Blanca

Former Member
0 Kudos

Hi ,

For JAVA systems one should always use SAPinst in my opinion and not perform direct backup/restore proceedures. When using SAPinst you install DB instance it creates secure store for the new system.

Regards.

Ruchit

Former Member
0 Kudos

Hi Sargan,

Fro JAVA systems less than NW 7.10 there is still stuff return to file system and that has to be exported and im,ported using SAPinst. Stuff like SDM data etc.

In the guide when go to database specific section don't jump to your Database directly. Start reading from the beginning of that section. When the general part is complete then go to DB section

Regards.

Ruchit.

Former Member
0 Kudos

What do you mean by restoring? How did you do the copy? For Java systems only sapinst export and import are supported.

Cheers Michael

former_member215961
Contributor
0 Kudos

Hi,

We do a system copy by backup/restore method. At System copy guide of Sap NW 2004 for Java only ( sr2 ) is a valid method.

Please advice.

Former Member
0 Kudos

If you system is Java Stack only then you need use export / import method to perform the system copy.

Regards

Amit Padmawar

former_member215961
Contributor
0 Kudos

Hi Amit,

see section 4.1 Database-Specific System Copy

https://websmp205.sap-ag.de/~sapidb/011000358700006457682006E.pdf

Do you mean that I can use backup/restore method but I've to export the SDM configuration on the source system?

Thanks,

Former Member
0 Kudos

Hi

if you are referring to this section from the guide then it does say that you will have to use sapinst along with restoring of the database. Ruchit also mentioned the same below. 

For java based systems export / import via sapinst is the quickest and cleanest approach to perform a system copy.

Regards

Amit Padmawar