cancel
Showing results for 
Search instead for 
Did you mean: 

DBIMPORT does not start -7.0 Distributed install

Former Member
0 Kudos
105

Hello Experts,

The DBIMPORT tool is not starting. After running the configure.exe , i am not able to run the DBIMPORT to do the rest of the steps.

This is distributed install, with CI running on one server and DB running on the other. The error whcih is thrown is below.

-


2011-10-13 18:38:55.743 local3 DEBUG class=SAPConfigParser;sessionid=system-4

;username=system;tenantid=#system#;server=GLSR7-JCI-Q1;method=loadFromNetWeaver;

thread=main entering loadFromNetWeaver

2011-10-13 18:38:55.743 local3 INFO class=ConfigDatabase;server=GLSR7-JCI-Q1

;method=loadFromServletContext();thread=main Attempted to cache servlet conte

xt parameters without a servlet context.

2011-10-13 18:38:55.759 local3 INFO class=ConfigDatabase;server=GLSR7-JCI-Q1

;method=loadFromServletContext();thread=main Attempted to cache servlet conte

xt parameters without a servlet context.

2011-10-13 18:38:55.775 INFO local3 main

Disabling logging blackbox support

Exception in thread "main" java.lang.reflect.InvocationTargetException

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:585)

at com.sap.odp.common.platform.BootstrapClassRunner.runStatic(BootstrapC

lassRunner.java:145)

at com.sap.odp.common.util.ClassStarter.main(ClassStarter.java:48)

Caused by: java.lang.UnsupportedClassVersionError: Bad version number in .class

file

at java.lang.ClassLoader.defineClass1(Native Method)

at java.lang.ClassLoader.defineClass(ClassLoader.java:664)

at java.lang.ClassLoader.defineClass(ClassLoader.java:509)

at com.sap.odp.common.platform.BootstrapClassRunner.findClass(BootstrapC

lassRunner.java:176)

at java.lang.ClassLoader.loadClass(ClassLoader.java:350)

at java.lang.ClassLoader.loadClass(ClassLoader.java:295)

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

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

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

at com.sap.odp.common.db.DbCtx.createConnection(DbCtx.java:556)

at com.sap.odp.common.db.DbConnection.connect(DbConnection.java:249)

at com.sap.odp.common.db.DbConnection.<init>(DbConnection.java:106)

at com.sap.odp.common.db.DbConnection.<init>(DbConnection.java:96)

at com.sap.odp.common.db.DbAbsConnectionPool.createConnection(DbAbsConne

ctionPool.java:388)

at com.sap.odp.common.db.DbAbsConnectionPool.createConnections(DbAbsConn

ectionPool.java:371)

at com.sap.odp.common.db.DbAbsConnectionPool.<init>(DbAbsConnectionPool.

java:136)

at com.sap.odp.common.db.DbConnectionPool.<init>(DbConnectionPool.java:5

9)

at com.sap.odp.common.db.DbPoolManager.createService(DbPoolManager.java:

724)

at com.sap.odp.common.db.DbPoolManager.createService(DbPoolManager.java:

639)

at com.sap.odp.common.db.PoolManager.createService(PoolManager.java:533)

at com.sap.odp.common.db.PoolManager.createService(PoolManager.java:501)

at com.sap.odp.install.tools.DbImport.initDatabase(DbImport.java:532)

at com.sap.odp.install.tools.gui.DbGuiImporter.initialize(DbGuiImporter.

java:116)

at com.sap.odp.install.tools.gui.DbGuiImporter.main(DbGuiImporter.java:6

65)

at com.sap.odp.install.tools.DbImport.main(DbImport.java:637)

... 6 more

Press any key to continue . . .

-


The command line being used for starting the DBIMPORT tool is below, whcih looks correct.

-


"E:\usr\sap\EJQ\SYS\exe\jvm\NTAMD64\sapjvm_5.1.024\sapjvm_5\bin\java" -Xms64m -X

mx1024m -DFCI.HOMEDIR=E:/usr/sap/sourcing -Djava.endorsed.dirs=E:/usr/sap/sour

cing/lib/endorsed -classpath E:/usr/sap/sourcing/lib/fcistartup.jar com.sap.odp.

common.util.ClassStarter -cn:com.sap.odp.install.tools.DbImport

-


The sourcing directory is created on the CI server. All the variables have been set according to the guide.

Please share any ideas.

thanks

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Prasanna,

From the exception it seems the JDBC driver seems to be not in the classpath. Depending on the DB used, check if the respective JDBC jar files (e.g. OJDBC jar file) are in the classpath. During the install time, you might have had a step where you should mention the jdbc jar file.

Please check

Baski

Former Member
0 Kudos

Thanks Baski for the reply.

We are using oracle 11.2 database. The install went fine for the Sandbox and Dev installs.

I had specified the ojdbc6.jar file present in the SAP kernel directory while running the configure.exe.

Can you please let me know how can i find if the right jar file is set in the classpath ?

thanks a lot for your reply.

Regards

Prasanna

Former Member
0 Kudos

Hi,

If I understand the installer right, while you are performing the first time installation you would be asked to specify the ojdbc.jar file location and during the instal time, the ojdbc.jar file will be copied into the install directory (guess as <install dir>\database\oracle.jar) and when you execute the dbimport it would be picked from here.. Looks like when you running the dbimport remotely from a different machine the classpath reference seem to have an issue.

btw, did you copy or execute dbimport from a shared drive? Try adding the ojdbc*.jar to your classpath while running the dbimport or run the installer fresh in the new m/c.

Thanks,

Baski

Former Member
0 Kudos

Hello Baski,

Did the install from another server, still getting the same error. I copied all the files on the DB server and ran the setup.exe and configure.exe again, but no change in the error.

Can you please give me the command to add ojdbc*.jar in the classpath, while running DBIMPORT?

I could find the ojdbc.jar file in any of the sourcing install directory.Is ther eany documentation on installing sourcing on Distributed environment?

Thanks for all help.We have also raised a SAP message, but they are taking too long to respond.

Regards

Prasanna

Former Member
0 Kudos

The error is solved, the error is with using ojdbc6.jar file in confiure.exe.

Use ojdbc5.jar in configure.exe and the error will not come. the DBimport tool is runing fine.