Uploaded image for project: 'Yell'
  1. Yell
  2. YELL-580

Bing Integration:Bing report perfomace script throws 'java.io.FileNotFoundException' exception

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: Bing-Integration
    • Fix Version/s: Bing-Integration
    • Component/s: None
    • Labels:
      None
    • Environment:

      Description

      Pre-conditons:

      1. Do the necessary data set-up as mentione din the wiki page - http://kbase.ri.thesearchagency.com/index.php/Bing_Integration_release_notes#Bing_Performance_Report

      2. Ensure the table 'content_editor_bing.bce_bingAccount' has values (else insert fake values)

      Steps:

      1. Login to the yell-ec-xml2 system with valid credentials

      2. Get inside the jail

      3. Go to /usr/local/tsa/bidmgr and execute the bingreport.sh script as follows and observe the log:

      ./bingreports.sh -d3 -U5929

      Expected Behaviour:

      The execution of the script should be smooth (if if there is no data populated in the report) and no exception should be found

      Actual Behaviour:

      The script executes but the following exception is seen in it :

      2012-04-04 15:54:57.339 (1) [pool-1-thread-2]: Exception [Error encountered: ]:java.io.FileNotFoundException: /var/local/tsa/sedata/bing/tsa-bing-report--adperformance-2012-04-03_1_2.xml.zip (Permission denied)

      at java.io.FileOutputStream.open(Native Method)

      at java.io.FileOutputStream.<init>(FileOutputStream.java:179)

      at java.io.FileOutputStream.<init>(FileOutputStream.java:70)

      at com.thesearchagency.searchengines.bing.BingReportDownloader.downloadAdPerformanceReport(BingReportDownloader.java:669)

      at com.thesearchagency.searchengines.bing.BingReport$SearchEngineUserWorker.run(BingReport.java:555)

      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)

      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)

      at java.util.concurrent.FutureTask.run(FutureTask.java:123)

      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)

      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)

      at java.lang.Thread.run(Thread.java:595)

      > Attaching the complete log

        Attachments

          Activity

            People

            • Assignee:
              pradeep.nair V Pradeep Nair (Inactive)
              Reporter:
              pradeep.nair V Pradeep Nair (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: