cancel
Showing results for 
Search instead for 
Did you mean: 

Java Import issue in the java migration toolkit step during System Copy

Former Member
0 Kudos

At the Migration toolkit step I get the following error:

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

at com.sap.engine.core.configuration.impl.persistence.rdbms.DBConnectionPool.createConnection(DBConnectionPool.java:360)

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

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)

... 14 more

Caused by: java.sql.SQLException: Io exception: The Network Adapter could not establish the connection

at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:111)

at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:145)

at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:254)

at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:386)

at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:419)

at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:164)

at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:34)

at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:752)

at com.sap.sql.jdbc.NativeConnectionFactory.createNativeConnection(NativeConnectionFactory.java:219)

at com.sap.sql.connect.OpenSQLDataSourceImpl.createPooledConnection(OpenSQLDataSourceImpl.java:579)

at com.sap.sql.connect.OpenSQLDataSourceImpl.getPooledConnection(OpenSQLDataSourceImpl.java:263)

at com.sap.engine.core.configuration.impl.persistence.rdbms.DBConnectionPool.createConnection(DBConnectionPool.java:302)

... 19 more

"Could not initialize the offline configuration managers."'.

Any clue guys?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Please perform a database connection test

SQLPLUS SAP<SID>DB/<password>@<SID>

Check if you can connect or if returns any ORA-XXXXX error

Kind regards

Marcelo Macedo

Answers (1)

Answers (1)

Former Member
0 Kudos

Guys,

could the problem be the java version? Because the version form source system is different.

It is a HSC Java Stack.

Former Member
0 Kudos

It says that the user does not exist..:(

Former Member
0 Kudos

Hi Marcelo,

I found out the user...but it can not connect.

should I perform any adjust?

Former Member
0 Kudos

The dba team adjusted the OPS$ user and I got the following message:

ORA-01017: invalid username/password; logon denied

Former Member
0 Kudos

Thank you guys,

the problem was SAP<SID>DB password.

Thanks a lot

Former Member
0 Kudos

Hi.

Thank's very much. I'm glad to have helped you..

Not seems a Java error as you sad on first response because of the following error on dump:

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

So sapinst can't reach your db,

In most cases, user blocked or incorrect password.

In almost all NW environments, the installation uses the schema owner user "SAP<SID>" for ABAP stacks, and "SAP<SID>DB" for Java stacks.

Kind Regards

Marcelo Macedo.

0 Kudos

Dear Marcelo,

I am also facing the same issue.

I have checked in my system there is no user id SAPSIDDB exists in my system.

Instead I have OPS$ORASID, OPS$ORASIDADM and SAPSR3DB users.

Please let me know is there any other way to resolve this issue?

Regards,

Zahir