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:
--------------------------------------------------
Project: Bing Integration
Bidmgr Build: tsa-build-bidmgr-2012-04-04-p142-r2276
MMS Build:p8-r3238
Bing Admax Server: yell-ec-xml2.ri.thesearchagency.com (192.168.30.226)
Bing MMS Server: Yell-ec-mms3.ri.thesearchagency.com (192.168.30.216)
DB: yell-ec-db2 (192.168.30.225)
--------------------------------------------------
-------------------------------------------------- Project: Bing Integration Bidmgr Build: tsa-build-bidmgr-2012-04-04-p142-r2276 MMS Build:p8-r3238 Bing Admax Server: yell-ec-xml2.ri.thesearchagency.com (192.168.30.226) Bing MMS Server: Yell-ec-mms3.ri.thesearchagency.com (192.168.30.216) DB: yell-ec-db2 (192.168.30.225) --------------------------------------------------
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