Uploaded image for project: 'SMB - Optus'
  1. SMB - Optus
  2. OPTUS-48

Optus ADS: deployCampaign fails after Brand Campaign has been deployed

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.3.0
    • Fix Version/s: 1.3.0
    • Labels:
      None
    • Environment:

      optus dev environment

      Description

      Workflow: deploy optus campaign, deploy brand campaign, deploy optus campaign (all using the same customer)

      // soap request
      <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:adm="http://www.thesearchagency.com/AdMaxDeploymentService/">
      <soapenv:Header/>
      <soapenv:Body>
      <adm:deployCampaignsRequest>
      <header>
      <requestID>60817</requestID>
      <retryID>1</retryID>
      </header>
      <customer>
      <customerID>Testing1.3BrandCampaign5</customerID>
      <domainName>www.tsa-test-domain.thesearchagency.net</domainName>
      <budget>5</budget>
      <anniversaryDate>2012-06-13</anniversaryDate>
      <currencyID>1</currencyID>
      </customer>
      <!-1 or more repetitions:->
      <campaignList>
      <campaignID>Testing1.3BrandCampaign5-11</campaignID>
      <businessAreaID>2000084</businessAreaID>
      <businessLocationID>112</businessLocationID>
      </campaignList>
      </adm:deployCampaignsRequest>
      </soapenv:Body>
      </soapenv:Envelope>

      // Admax Listener

      2012-06-12 09:53:55.427 (3) [pool-3-thread-6]: Start processing DEPLOY request (null) for account Testing1.3BrandCampaign5. 3 campaign(s).
      2012-06-12 09:53:55.427 (3) [pool-3-thread-6]: Performing sync for account: Testing1.3BrandCampaign5 ID#6897
      2012-06-12 09:53:56.408 (3) [pool-3-thread-6]: 1 campaign(s) to update.
      2012-06-12 09:53:56.408 (3) [pool-3-thread-6]: 2 campaign(s) to create.
      2012-06-12 09:53:56.408 (3) [pool-3-thread-6]: 0 campaign(s) to retry and update.
      2012-06-12 09:53:56.408 (3) [pool-3-thread-6]: CampaignWorker initialized for account: 6897
      2012-06-12 09:53:56.408 (3) [pool-3-thread-6]: Updating Testing1.3BrandCampaign5_0_0_Testing1.3BrandCampaign5-2_BRAND Status: Paused
      2012-06-12 09:53:56.408 (3) [pool-3-thread-6]: CampaignUpdateWorker started...
      2012-06-12 09:53:57.058 (3) [pool-3-thread-6]: Testing1.3BrandCampaign5_0_0_Testing1.3BrandCampaign5-2_BRAND is already set to Paused in the database.
      2012-06-12 09:53:57.058 (3) [pool-3-thread-6]: No budget update required
      2012-06-12 09:53:57.058 (3) [pool-3-thread-6]: No update necessary: optimizer settings are the same.
      2012-06-12 09:53:57.058 (3) [pool-3-thread-6]: No budget optimizer update required.
      2012-06-12 09:53:57.058 (3) [pool-3-thread-6]: Testing1.3BrandCampaign5_0_0_Testing1.3BrandCampaign5-2_BRAND No targets in message. Skipping target sync.
      2012-06-12 09:53:57.058 (3) [pool-3-thread-6]: Running content editor replace...
      2012-06-12 09:53:57.058 (3) [pool-3-thread-6]: No destinationURL update for Testing1.3BrandCampaign5_0_0_Testing1.3BrandCampaign5-2_BRAND
      2012-06-12 09:54:02.107 (3) [pool-3-thread-6]: JobExecutor running job [2012-06-12_095357_a6897_campaignUpdateWorkerCampaignSync_MkWXpB8FoN]: /usr/bin/java -Xms256m -Xmx1536m -Xincgc -cp /usr/local/tsa/bidmgr/libs/jst.jar:/usr/local/tsa/bidmgr/libs/tsa.jar:/usr/local/tsa/bidmgr/libs/bidmgrtsa.jar:/usr/local/tsa/bidmgr/libs/jdb.jar:/usr/local/tsa/bidmgr/libs/bidmgrse.jar:/usr/local/tsa/bidmgr/libs/bidmgrclients.jar:/usr/local/tsa/bidmgr/libs/bidmgrseov.jar:/usr/local/tsa/bidmgr/libs/bidmgrsefwht.jar:/usr/local/tsa/bidmgr/libs/bidmgrsegoogle.jar:/usr/local/tsa/bidmgr/libs/adwords-api-reseller-8.4.2R1.jar:/usr/local/tsa/bidmgr/libs/bidmgrsemsn.jar:/usr/local/tsa/bidmgr/libs/bidmgrsemsnwsdl.jar:/usr/local/tsa/bidmgr/libs/bidmgrseyahoo.jar:/usr/local/tsa/bidmgr/libs/bidmgrseyahoowsdl.jar:/usr/local/tsa/bidmgr/libs/bidmgrsessp.jar:/usr/local/tsa/bidmgr/libs/bidmgrsesspwsdl.jar:/usr/local/tsa/bidmgr/libs/bidmgrseask.jar:/usr/local/tsa/bidmgr/libs/bidmgrseaskwsdl.jar:/usr/local/tsa/bidmgr/libs/model.jar:/usr/local/tsa/bidmgr/libs/log4j.jar:/usr/local/tsa/bidmgr/libs/axis14/axis.jar:/usr/local/tsa/bidmgr/libs/thirdparty/xercesImpl.jar:/usr/local/tsa/bidmgr/libs/thirdparty/jaxp-1.2.jar:/usr/local/tsa/bidmgr/libs/thirdparty/commons-httpclient.jar:/usr/local/tsa/bidmgr/libs/thirdparty/commons-codec.jar:/usr/local/tsa/bidmgr/libs/thirdparty/commons-logging.jar:/usr/local/tsa/bidmgr/libs/thirdparty/commons-collections-3.2.1.jar:/usr/local/tsa/bidmgr/libs/thirdparty/commons-discovery.jar:/usr/local/tsa/bidmgr/libs/thirdparty/wsdl4j.jar:/usr/local/tsa/bidmgr/libs/thirdparty/jaxrpc.jar:/usr/local/tsa/bidmgr/libs/thirdparty/saaj.jar:/usr/local/tsa/bidmgr/libs/thirdparty/mysql.jar:/usr/local/tsa/bidmgr/libs/thirdparty/commons-cli.jar:/usr/local/tsa/bidmgr/libs/thirdparty/activation.jar:/usr/local/tsa/bidmgr/libs/thirdparty/mail.jar com.thesearchagency.searchengines.SearchEngineUpdater -d 3 --inactive --seaccount --groups --listings
      2012-06-12 09:54:02.811 (3) [pool-3-thread-6]: JobExecutor finished running job [2012-06-12_095357_a6897_campaignUpdateWorkerCampaignSync_MkWXpB8FoN], exit code=0 in 0.703s
      2012-06-12 09:54:02.811 (3) [pool-3-thread-6]: JobExecutor finished 2012-06-12_095357_a6897_campaignUpdateWorkerCampaignSync_MkWXpB8FoN. hasError=false, numTries=1
      2012-06-12 09:54:02.884 (2) [pool-3-thread-6]: Error: CampID: Testing1.3BrandCampaign5-11_GT Info: New campaigns cannot have a missing or zero budget.
      2012-06-12 09:54:02.884 (2) [pool-3-thread-6]: Error: CampID: Testing1.3BrandCampaign5-11_GM Info: New campaigns cannot have a missing or zero budget.
      2012-06-12 09:54:02.884 (3) [pool-3-thread-6]: No valid campaigns to create.
      2012-06-12 09:54:03.208 (3) [pool-3-thread-6]: Testing1.3BrandCampaign5-2_BRAND has no applicable GCE errors.
      2012-06-12 09:54:03.311 (3) [pool-3-thread-6]: Finished DEPLOY request for campaign Testing1.3BrandCampaign5_2000084_59_Testing1.3BrandCampaign5-11_GT: FAILED
      2012-06-12 09:54:03.312 (3) [pool-3-thread-6]: Finished DEPLOY request for campaign Testing1.3BrandCampaign5_2000084_59_Testing1.3BrandCampaign5-11_GM: FAILED
      2012-06-12 09:54:03.384 (3) [pool-3-thread-6]: Finished DEPLOY request for campaign Testing1.3BrandCampaign5_0_0_Testing1.3BrandCampaign5-2_BRAND: SUCCEEDED
      2012-06-12 09:54:03.384 (3) [pool-3-thread-6]: Testing1.3BrandCampaign5 has 0 campaigns for a SE Update accounts sync.
      2012-06-12 09:54:03.384 (3) [pool-3-thread-6]: Testing1.3BrandCampaign5 has 0 campaigns for a SE Update groups-listings sync.
      2012-06-12 09:54:03.384 (3) [pool-3-thread-6]: Finished sub-campaign processing for DEPLOY deploymentID (null). account Testing1.3BrandCampaign5. 3 submitted, 1 ok.
      2012-06-12 09:54:03.428 (3) [pool-3-thread-6]: Updating deployment status to 'Failure' for campaignID: Testing1.3BrandCampaign5-11
      2012-06-12 09:54:03.507 (3) [pool-3-thread-6]: Finished DEPLOY request for Testing1.3BrandCampaign5_2000084_59_Testing1.3BrandCampaign5-11: FAILED

      // ADS log

      22:22:37,845 INFO [DeployCallbackImpl] Executing operation publishDeployResult
      22:22:37,845 INFO [STDOUT] com.thesearchagency.optus.service.callback.service.PublishDeployResultRequest@114fc79
      22:22:37,847 INFO [LoggingInInterceptor] Inbound Message
      ----------------------------
      ID: 7
      Response-Code: 200
      Encoding: UTF-8
      Content-Type: text/xml;charset=UTF-8
      Headers:

      {content-type=[text/xml;charset=UTF-8], Date=[Tue, 12 Jun 2012 12:22:37 GMT], Content-Length=[587], X-Powered-By=[Servlet 2.5; JBoss-5.0/JBossWeb-2.1], Server=[Apache-Coyote/1.1]}

      Payload: <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><ns2:publishDeployResultResponse xmlns:ns2="http://staffware.proxy.oda.isdp.optus.com/"><asyncHeader><requestID>60817</requestID><retryID>60817</retryID></asyncHeader><result><resultCode>failure</resultCode><resultString>[Information: [Testing1.3BrandCampaign5-11_GT:FAILED] New campaigns cannot have a missing or zero budget. [Testing1.3BrandCampaign5-11_GM:FAILED] New campaigns cannot have a missing or zero budget. ]</resultString></result></ns2:publishDeployResultResponse></soap:Body></soap:Envelope>
      --------------------------------------
      22:22:37,851 ERROR [AdMaxDeploymentResponseMDB] Recieved a message fault result from the ESB! (you should look into this).
      22:22:37,851 ERROR [AdMaxDeploymentResponseMDB] Error during response. Message will be replayed.
      java.lang.Exception: ESB error.
      at com.thesearchagency.core.smb.service.admaxdeployment.component.AdMaxDeploymentResponseMDB.handlePublishDeployStatus(AdMaxDeploymentResponseMDB.java:169)
      at com.thesearchagency.core.smb.service.admaxdeployment.component.AdMaxDeploymentResponseMDB.handleDeployResults(AdMaxDeploymentResponseMDB.java:131)
      at com.thesearchagency.core.smb.service.admaxdeployment.component.AdMaxDeploymentResponseMDB.onMessage(AdMaxDeploymentResponseMDB.java:105)
      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 org.jboss.aop.joinpoint.MethodInvocation.invokeTarget(MethodInvocation.java:122)
      at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:111)
      at org.jboss.ejb3.EJBContainerInvocationWrapper.invokeNext(EJBContainerInvocationWrapper.java:69)
      at org.jboss.ejb3.interceptors.aop.InterceptorSequencer.invoke(InterceptorSequencer.java:73)
      at org.jboss.ejb3.interceptors.aop.InterceptorSequencer.aroundInvoke(InterceptorSequencer.java:59)
      at sun.reflect.GeneratedMethodAccessor451.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:616)
      at org.jboss.aop.advice.PerJoinpointAdvice.invoke(PerJoinpointAdvice.java:174)
      at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      at org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor.fillMethod(InvocationContextInterceptor.java:72)
      at org.jboss.aop.advice.org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor_z_fillMethod_8986844.invoke(InvocationContextInterceptor_z_fillMethod_8986844.java)
      at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      at org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor.setup(InvocationContextInterceptor.java:88)
      at org.jboss.aop.advice.org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor_z_setup_8986844.invoke(InvocationContextInterceptor_z_setup_8986844.java)
      at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      at org.jboss.ejb3.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:62)
      at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:56)
      at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47)

        Attachments

          Activity

            People

            • Assignee:
              caitlyn Caitlyn Duggan (Inactive)
              Reporter:
              caitlyn Caitlyn Duggan (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: