Skip to Content
0
Aug 04, 2011 at 06:14 AM

orabrcopy error

149 Views

Dear expert,

I'm doing system copy of the following enviroment.

- SAP NetWeaver 7.3 ABAP

- Oracle Database 11.2.0.2

- Red Hat Enterprise Linux 6.0

I have run orabrcopy script, but it stopped for the below error.

Kindly help me for teh solution.

sapvm05:oranw7 53> ./ora_br_copy.sh -generateFiles -forceLogSwitches -targetSid NW7 -password XXXX -listenerPort 1527
+ /usr/lib/jvm/jre-1.6.0-openjdk.x86_64//bin/java -showversion -cp ./.:./orabrcopy.jar:/oracle/NW7/112_64/jdbc/lib/ojdbc5.jar com.sap.inst.lib.app.SecureStartup '' com.sap.inst.orabrcopy.OraBRCopy -oracleHome /oracle/NW7/112_64 -sourceSid NW7 -generateFiles -forceLogSwitches -targetSid NW7 -password XXXX -listenerPort 1527
java version "1.6.0_17"
OpenJDK Runtime Environment (IcedTea6 1.7.4) (rhel-1.21.b17.el6-x86_64)
OpenJDK 64-Bit Server VM (build 14.0-b16, mixed mode)

java.lang.IllegalStateException: Oracle JDBC driver must be loaded
        at com.sap.inst.lib.db.OracleDriver.getUrlConnection(OracleDriver.java:139)
        at com.sap.inst.orabrcopy.OraSourceTask.generateFiles(OraSourceTask.java:213)
        at com.sap.inst.orabrcopy.OraSourceTask.execute(OraSourceTask.java:191)
        at com.sap.inst.orabrcopy.OraSourceTask.run(OraSourceTask.java:157)
        at com.sap.inst.orabrcopy.OraBRCopy.startAppJob(OraBRCopy.java:316)
        at com.sap.inst.lib.app.CommandLineApp.doMain(CommandLineApp.java:111)
        at com.sap.inst.orabrcopy.OraBRCopy.main(OraBRCopy.java:367)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:616)
        at com.sap.inst.lib.app.SecureStartup.startAppMain(SecureStartup.java:153)
        at com.sap.inst.lib.app.SecureStartup.startJavaProcess(SecureStartup.java:83)
        at com.sap.inst.lib.app.SecureStartup.main(SecureStartup.java:252)