Uploaded image for project: 'AdMaxLocal'
  1. AdMaxLocal
  2. AML-212

CallDataFeed: Execution of calldata script results in Exception [loading database driver]:java.lang.ClassNotFoundException: com.mysql.jdbc.Driver

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.5.0
    • Component/s: Other / Misc.
    • Labels:
      None
    • Environment:

      Description

      After touching the calldata file to done, calldata script throws exception.

      1.Run [tsaapp@optus-qa-agency1 bidmgr]$ ./calldata.sh /var/local/tsa/config/com.thesearchagency.datafeeds.calldata.properties

      2. Place to calldata file to /var/local/tsa/calldata

      3.touch the file /var/local/tsa/calldata/ODA_20120721_1323465.csv with suffix as done

      [root@optus-qa-agency1 done]# touch /var/local/tsa/calldata/ODA_20120720_1323465.csv.done

      4.[tsaapp@optus-qa-agency1 bidmgr]$ ./calldata.sh /var/local/tsa/config/com.thesearchagency.datafeeds.calldata.properties
      2012-07-24 18:42:26.368 (3) [main]: Debug Level set to 3
      2012-07-24 18:42:26.378 (3) [main]: Configuration file: /var/local/tsa/config/com.thesearchagency.datafeeds.calldata.properties
      2012-07-24 18:42:26.378 (3) [main]: Observing directory: /var/local/tsa/calldata/
      2012-07-24 18:42:26.389 (3) [main]: Using filter: AndFileFilter(FileFileFilter,SuffixFileFilter(.csv),PrefixFileFilter(ODA_))
      2012-07-24 18:43:38.714 (3) [Thread-1]: Processing [/var/local/tsa/calldata/ODA_20120721_1323465.csv]
      2012-07-24 18:43:38.716 (3) [pool-1-thread-1]: Waiting for done file [/var/local/tsa/calldata/ODA_20120721_1323465.csv.done]
      2012-07-24 18:43:56.749 (3) [pool-1-thread-1]: ======== Starting Call Data Load ========
      2012-07-24 18:43:56.749 (3) [pool-1-thread-1]: Loading filename: /var/local/tsa/calldata/ODA_20120721_1323465.csv
      2012-07-24 18:43:56.761 (3) [pool-1-thread-1]: DatabasePool with a limit of 80 created
      2012-07-24 18:43:56.768 (1) [pool-1-thread-1]: Exception [loading database driver]:java.lang.ClassNotFoundException: com.mysql.jdbc.Driver
      at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
      at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
      at java.lang.Class.forName0(Native Method)
      at java.lang.Class.forName(Class.java:169)
      at com.carldunham.jst.db.Database.init(Database.java:198)
      at com.carldunham.jst.db.Database.<init>(Database.java:188)
      at com.carldunham.jst.db.DatabasePool.create(DatabasePool.java:171)
      at com.carldunham.jst.db.DatabasePool.create(DatabasePool.java:35)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                therouxj Jeff Theroux
                Reporter:
                atul.sanagar Atul Sanagar (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: