cancel
Showing results for 
Search instead for 
Did you mean: 

reg configtool

Former Member
0 Kudos

hi guys i am trying to use the offline config tool- i am getting the following error

help appreciated

thanks

-


ERROR: Error while connecting to DB.

com.sap.engine.frame.core.configuration.ConfigurationException: Error while conn

ecting to DB.

at com.sap.engine.core.configuration.impl.persistence.rdbms.DBConnection

Pool.createConnection(DBConnectionPool.java:364)

at com.sap.engine.core.configuration.impl.persistence.rdbms.DBConnection

Pool.<init>(DBConnectionPool.java:129)

at com.sap.engine.core.configuration.impl.persistence.rdbms.PersistenceH

andler.<init>(PersistenceHandler.java:38)

at com.sap.engine.core.configuration.impl.cache.ConfigurationCache.<init

(ConfigurationCache.java:149)

at com.sap.engine.core.configuration.bootstrap.ConfigurationManagerBoots

trapImpl.init(ConfigurationManagerBootstrapImpl.java:236)

at com.sap.engine.core.configuration.bootstrap.ConfigurationManagerBoots

trapImpl.<init>(ConfigurationManagerBootstrapImpl.java:49)

at com.sap.engine.services.configuration.gui.ToolLauncher.main(ToolLaunc

her.java:39)

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

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.

java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces

sorImpl.java:25)

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

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

)

Caused by: com.sap.sql.log.OpenSQLException: Could not load class com.microsoft.

sqlserver.jdbc.SQLServerDriver.

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

at com.sap.sql.jdbc.NativeConnectionFactory.createNativeConnection(Nativ

eConnectionFactory.java:143)

at com.sap.sql.connect.OpenSQLDataSourceImpl.createPooledConnection(Open

SQLDataSourceImpl.java:608)

at com.sap.sql.connect.OpenSQLDataSourceImpl.getPooledConnection(OpenSQL

DataSourceImpl.java:285)

at com.sap.engine.core.configuration.impl.persistence.rdbms.DBConnection

Pool.createConnection(DBConnectionPool.java:306)

... 11 more

Caused by: java.lang.ClassNotFoundException: com.microsoft.sqlserver.jdbc.SQLSer

verDriver

at com.sap.engine.offline.FileClassLoader.findClass(FileClassLoader.java

:691)

at com.sap.engine.offline.FileClassLoader.loadClass(FileClassLoader.java

:600)

at com.sap.engine.offline.FileClassLoader.loadClass(FileClassLoader.java

:578)

at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)

at java.lang.Class.forName0(Native Method)

at java.lang.Class.forName(Class.java:141)

at com.sap.sql.jdbc.NativeConnectionFactory.createNativeConnection(Nativ

eConnectionFactory.java:134)

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Please refer to the SAP Note 639702. You need to SQL Server driver (jars) installed and in path.

Hope the above helps.

Regards,

Snehal Bhaidasna

Former Member
0 Kudos

Hi,

Config tool tries to connect to the database when you run the config tool script "configtool.bat" (windows)

As per you above input the config tool trying to define a connection with the database which is failing

-


ERROR: Error while connecting to DB.

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

I hope you are running the config tool script using <SID>adm user, which has the authority to use the same.

For more information on Config tool see

http://help.sap.com/saphelp_nw04/helpdata/en/4e/d1cf8d09a94ae79319893c2537d3a0/frameset.htm

Rgds

Radhakrishna D S