Announcement

Collapse
No announcement yet.

jdbc error

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • jdbc error

    Hi,

    I am getting jdbc error when I try to run dbpatch_55.sql. I am trying to install OTM 5.5 CU4.

    update_onecsv.sh TRANSLATION_ERR /u01/app/otm/glog/config
    Caught exception: java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver

    java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver

    java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver
    at java.net.URLClassLoader.findClass(URLClassLoader.j ava:376)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:5 70)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:442)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:5 02)
    at java.lang.Class.forName1(Native Method)
    at java.lang.Class.forName(Class.java:180)
    at glog.util.datasource.ConnectionEstablisher.getDriv er(ConnectionEstablisher.java:
    16)
    at glog.util.datasource.GC3ConnectionEstablisher.conn ect(GC3ConnectionEstablisher.j
    ava:33)
    at glog.util.datasource.DataSource.reserve(DataSource .java:14
    at glog.util.datasource.DataSource.reserve(DataSource .java:134)
    at glog.util.datasource.DataSource.reserve(DataSource .java:129)
    at glog.database.admin.CSVUtil.run(CSVUtil.java:2680)
    at glog.database.admin.CSVUtil.main(CSVUtil.java:3011 )
    Caught exception: java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver

    Regards
    -Raj

  • #2
    Re: jdbc error

    Hi Raj,

    The reason you are getting this is because the user does not have the GC3 classpath set. You can run this but executing the otm/install/gc3env.sh or gc3env.cmd command. You should also include this in your users profile to prevent this from occuring again.

    If you do have this set, check the file to ensure you entered the correct location for Oracle.


    Nick
    If my post was helpful please click on the Thanks! button

    MavenWire Hosting Admin
    15 years of OTM experience

    Comment

    Working...
    X
    😀
    🥰
    🤢
    😎
    😡
    👍
    👎