Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Java System Copy Error while accessing secure store

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

Former Member
Not what you were looking for? View more on this topic or Ask a question