Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 2015-10-07 16:45:00,014 2208199 [schedulerFactoryBean_Worker-3] INFO c.a.a.s.s.i.DomainTransferOrderServiceImpl - Checking domain transfer orders...
- 2015-10-07 16:45:00,014 2208199 [schedulerFactoryBean_Worker-3] INFO c.a.a.s.s.i.DomainTransferOrderServiceImpl - 0 domain transfer orders found
- 2015-10-07 16:45:00,014 2208199 [schedulerFactoryBean_Worker-3] INFO com.afilias.api.scheduledTasks.Task - Job DomainTransferOrderTask completed
- 2015-10-07 16:45:00,029 2208214 [schedulerFactoryBean_Worker-3] INFO com.afilias.api.scheduledTasks.Task - Finished running job DomainTransferOrderTask, took 17 ms to run
- 2015-10-07 16:45:00,039 2208224 [schedulerFactoryBean_Worker-2] DEBUG c.a.a.s.FinancialDataExport - Financial Exports - startDate: 2015-09-29T00:00 to endDate: 2015-10-06T00:00
- 2015-10-07 16:45:00,039 2208224 [schedulerFactoryBean_Worker-2] INFO c.a.a.s.s.i.FinanceGeneratorServiceImpl - Generating Finance Report data for all invoices created between 2015-09-29T00:00 and 2015-10-06T00:00
- 2015-10-07 16:45:00,131 2208316 [schedulerFactoryBean_Worker-2] DEBUG c.a.a.s.s.i.FinanceGeneratorServiceImpl - Found 2 Invoices for inclusion in the Finance Report Data
- 2015-10-07 16:45:00,229 2208414 [schedulerFactoryBean_Worker-2] DEBUG c.a.a.s.s.i.FinanceGeneratorServiceImpl - Retail price associated with InvoiceItem invoiceItem{id=1000, invoice=com.afilias.api.domain.model.Invoice@4e422401, resellerPricingId=10023, price=12.95, subTotal=0.0, productDescription='asaplocal-cp-gtewrewrew.info', quantity=1, productName='info', purchaseType='SUBSCRIBE', periodMonths='12'} is 12.95
- 2015-10-07 16:45:00,229 2208414 [schedulerFactoryBean_Worker-2] DEBUG c.a.a.s.s.i.FinanceGeneratorServiceImpl - Populating Domain Registration data for Invoice Item asaplocal-cp-gtewrewrew.info with Domain Name {}
- 2015-10-07 16:45:00,229 2208414 [schedulerFactoryBean_Worker-2] DEBUG c.a.a.s.s.i.FinanceGeneratorServiceImpl - FinanceReportEntry {
- id=4265070096090941097,
- invoiceItemId=1000,
- invoiceId=3110,
- invoiceNumber=idomains-1,
- resellerId=105,
- reseller=idomains,
- purchaseType=CREATE,
- resellerPackageId=null,
- couponId=null,
- product=info,
- identifier=asaplocal-cp-gtewrewrew.info,
- startDate=2015-10-07T14:47,
- endDate=2016-10-07T14:47,
- periodMonths=12,
- quantity=1,
- currency=USD,
- costPriceUsd=8.97,
- wholesalePriceUsd=8.97,
- retailPrice='12.95',
- icannFee=0.18,
- couponDiscount='null',
- redemptionFee='0.00',
- subtotal=13.13
- }
- 2015-10-07 16:45:00,230 2208415 [schedulerFactoryBean_Worker-2] DEBUG c.a.a.s.s.i.FinanceGeneratorServiceImpl - FinanceReportEntry {
- id=7462819289755885823,
- invoiceItemId=1000,
- invoiceId=3110,
- invoiceNumber=idomains-1,
- resellerId=105,
- reseller=idomains,
- purchaseType=CREATE,
- resellerPackageId=null,
- couponId=null,
- product=ICANN Fee,
- identifier=asaplocal-cp-gtewrewrew.info,
- startDate=2015-10-07T14:47,
- endDate=2016-10-07T14:47,
- periodMonths=12,
- quantity=1,
- currency=USD,
- costPriceUsd=0.18,
- wholesalePriceUsd=0.18,
- retailPrice='0.18',
- icannFee=0.00,
- couponDiscount='null',
- redemptionFee='0.00',
- subtotal=0.00
- }
- 2015-10-07 16:45:00,396 2208581 [schedulerFactoryBean_Worker-2] DEBUG c.a.a.s.s.i.FinanceGeneratorServiceImpl - Retail price associated with InvoiceItem invoiceItem{id=1002, invoice=com.afilias.api.domain.model.Invoice@87c1bc86, resellerPricingId=10023, price=12.95, subTotal=0.0, productDescription='asaplocal-cp-werwer32.info', quantity=1, productName='info', purchaseType='SUBSCRIBE', periodMonths='12'} is 12.95
- 2015-10-07 16:45:00,396 2208581 [schedulerFactoryBean_Worker-2] DEBUG c.a.a.s.s.i.FinanceGeneratorServiceImpl - Populating Domain Registration data for Invoice Item asaplocal-cp-werwer32.info with Domain Name {}
- 2015-10-07 16:45:00,396 2208581 [schedulerFactoryBean_Worker-2] DEBUG c.a.a.s.s.i.FinanceGeneratorServiceImpl - FinanceReportEntry {
- id=3423853458808675453,
- invoiceItemId=1002,
- invoiceId=3111,
- invoiceNumber=idomains-2,
- resellerId=105,
- reseller=idomains,
- purchaseType=CREATE,
- resellerPackageId=null,
- couponId=null,
- product=info,
- identifier=asaplocal-cp-werwer32.info,
- startDate=2015-10-07T14:50,
- endDate=2016-10-07T14:50,
- periodMonths=12,
- quantity=1,
- currency=USD,
- costPriceUsd=8.97,
- wholesalePriceUsd=8.97,
- retailPrice='12.95',
- icannFee=0.18,
- couponDiscount='null',
- redemptionFee='0.00',
- subtotal=13.13
- }
- 2015-10-07 16:45:00,397 2208582 [schedulerFactoryBean_Worker-2] DEBUG c.a.a.s.s.i.FinanceGeneratorServiceImpl - FinanceReportEntry {
- id=4979405190422706856,
- invoiceItemId=1002,
- invoiceId=3111,
- invoiceNumber=idomains-2,
- resellerId=105,
- reseller=idomains,
- purchaseType=CREATE,
- resellerPackageId=null,
- couponId=null,
- product=ICANN Fee,
- identifier=asaplocal-cp-werwer32.info,
- startDate=2015-10-07T14:50,
- endDate=2016-10-07T14:50,
- periodMonths=12,
- quantity=1,
- currency=USD,
- costPriceUsd=0.18,
- wholesalePriceUsd=0.18,
- retailPrice='0.18',
- icannFee=0.00,
- couponDiscount='null',
- redemptionFee='0.00',
- subtotal=0.00
- }
- 2015-10-07 16:45:00,397 2208582 [schedulerFactoryBean_Worker-2] DEBUG c.a.a.s.s.i.FinanceGeneratorServiceImpl - Retail price associated with InvoiceItem invoiceItem{id=1003, invoice=com.afilias.api.domain.model.Invoice@87c1bc86, resellerPricingId=10403, price=155.4, subTotal=0.0, productDescription='Professional', quantity=1, productName='Professional', purchaseType='SUBSCRIBE', periodMonths='12'} is 155.4
- 2015-10-07 16:45:00,450 2208635 [schedulerFactoryBean_Worker-2] DEBUG c.a.a.s.s.i.FinanceGeneratorServiceImpl - Populating Saas data for Invoice Item invoiceItem{id=1003, invoice=com.afilias.api.domain.model.Invoice@87c1bc86, resellerPricingId=10403, price=155.4, subTotal=0.0, productDescription='Professional', quantity=1, productName='Professional', purchaseType='SUBSCRIBE', periodMonths='12'} with Saas Subscription with ID 2004
- 2015-10-07 16:45:00,451 2208636 [schedulerFactoryBean_Worker-2] DEBUG c.a.a.s.s.i.FinanceGeneratorServiceImpl - FinanceReportEntry {
- id=551990911561577620,
- invoiceItemId=1003,
- invoiceId=3111,
- invoiceNumber=idomains-2,
- resellerId=105,
- reseller=idomains,
- purchaseType=CREATE,
- resellerPackageId=null,
- couponId=null,
- product=Site Builder - Professional,
- identifier=2004,
- startDate=2015-10-07T14:50,
- endDate=2016-10-07T14:50,
- periodMonths=12,
- quantity=1,
- currency=USD,
- costPriceUsd=54.00,
- wholesalePriceUsd=96.00,
- retailPrice='155.40',
- icannFee=0.00,
- couponDiscount='null',
- redemptionFee='0.00',
- subtotal=155.40
- }
- 2015-10-07 16:45:00,451 2208636 [schedulerFactoryBean_Worker-2] DEBUG c.a.a.s.s.i.FinanceGeneratorServiceImpl - Retail price associated with InvoiceItem invoiceItem{id=1001, invoice=com.afilias.api.domain.model.Invoice@87c1bc86, resellerPricingId=10023, price=12.95, subTotal=0.0, productDescription='asaplocal-cp-tg42ewrewwer.info', quantity=1, productName='info', purchaseType='SUBSCRIBE', periodMonths='12'} is 12.95
- 2015-10-07 16:45:00,451 2208636 [schedulerFactoryBean_Worker-2] DEBUG c.a.a.s.s.i.FinanceGeneratorServiceImpl - Populating Domain Registration data for Invoice Item asaplocal-cp-tg42ewrewwer.info with Domain Name {}
- 2015-10-07 16:45:00,452 2208637 [schedulerFactoryBean_Worker-2] DEBUG c.a.a.s.s.i.FinanceGeneratorServiceImpl - FinanceReportEntry {
- id=314437333205926799,
- invoiceItemId=1001,
- invoiceId=3111,
- invoiceNumber=idomains-2,
- resellerId=105,
- reseller=idomains,
- purchaseType=CREATE,
- resellerPackageId=null,
- couponId=null,
- product=info,
- identifier=asaplocal-cp-tg42ewrewwer.info,
- startDate=2015-10-07T14:50,
- endDate=2016-10-07T14:50,
- periodMonths=12,
- quantity=1,
- currency=USD,
- costPriceUsd=8.97,
- wholesalePriceUsd=8.97,
- retailPrice='12.95',
- icannFee=0.18,
- couponDiscount='null',
- redemptionFee='0.00',
- subtotal=13.13
- }
- 2015-10-07 16:45:00,452 2208637 [schedulerFactoryBean_Worker-2] DEBUG c.a.a.s.s.i.FinanceGeneratorServiceImpl - FinanceReportEntry {
- id=7602432104896403900,
- invoiceItemId=1001,
- invoiceId=3111,
- invoiceNumber=idomains-2,
- resellerId=105,
- reseller=idomains,
- purchaseType=CREATE,
- resellerPackageId=null,
- couponId=null,
- product=ICANN Fee,
- identifier=asaplocal-cp-tg42ewrewwer.info,
- startDate=2015-10-07T14:50,
- endDate=2016-10-07T14:50,
- periodMonths=12,
- quantity=1,
- currency=USD,
- costPriceUsd=0.18,
- wholesalePriceUsd=0.18,
- retailPrice='0.18',
- icannFee=0.00,
- couponDiscount='null',
- redemptionFee='0.00',
- subtotal=0.00
- }
- 2015-10-07 16:45:00,454 2208639 [schedulerFactoryBean_Worker-2] DEBUG c.a.a.s.s.i.FinanceExportServiceImpl - generateSummaryInvoiceExport found 2 records
- 2015-10-07 16:45:00,454 2208639 [schedulerFactoryBean_Worker-2] DEBUG c.a.a.s.s.i.FinanceExportServiceImpl - generateSummaryInvoiceDataCSV headers: Invoice ID,Invoice Number,Order ID,Reseller ID,Reseller,Customer ID,Customer Name,CC Country,CC Last Digits,Customer VAT Country,Customer VAT Number,VAT Rate,Transaction Number,Transaction Date,Currency,Subtotal,VAT Total,Invoice Total
- 2015-10-07 16:45:00,454 2208639 [schedulerFactoryBean_Worker-2] DEBUG c.a.a.s.s.i.FinanceExportServiceImpl - Generating New Export File: /tmp/asap-invoice-export-{}.csv
- 2015-10-07 16:45:00,454 2208639 [schedulerFactoryBean_Worker-2] DEBUG c.a.a.s.s.i.FinanceExportServiceImpl - New Export File created successfully: /tmp/asap-invoice-export-{}.csv
- 2015-10-07 16:45:00,454 2208639 [schedulerFactoryBean_Worker-2] DEBUG c.a.a.s.s.i.FinanceExportServiceImpl - generateDetailedInvoiceExport found 7 records
- 2015-10-07 16:45:00,454 2208639 [schedulerFactoryBean_Worker-2] DEBUG c.a.a.s.s.i.FinanceExportServiceImpl - generateDetailedInvoiceDataCSV headers: Report ID,Invoice Item ID,Invoice ID,Invoice Number,Reseller ID,Reseller,Purchase Type,Reseller Package ID,Coupon ID,Product,Identifier,Start Date,End Date,Period Months,Quantity,Currency,Cost Price (USD),Wholesale Price (USD),Retail Price,ICANN Fee,Coupon Discount,Redemption Fee,Subtotal
- 2015-10-07 16:45:00,454 2208639 [schedulerFactoryBean_Worker-2] DEBUG c.a.a.s.s.i.FinanceExportServiceImpl - Generating New Export File: /tmp/asap-invoice-details-export-{}.csv
- 2015-10-07 16:45:00,454 2208639 [schedulerFactoryBean_Worker-2] DEBUG c.a.a.s.s.i.FinanceExportServiceImpl - New Export File created successfully: /tmp/asap-invoice-details-export-{}.csv
- 2015-10-07 16:45:00,457 2208642 [schedulerFactoryBean_Worker-2] DEBUG c.a.a.s.s.i.FinanceExportServiceImpl - generateCancellationExport found 2 records
- 2015-10-07 16:45:00,457 2208642 [schedulerFactoryBean_Worker-2] DEBUG c.a.a.s.s.i.FinanceExportServiceImpl - generateCancellationDataCSV headers: Cancellation ID,Date,Product,Identifier,Type,To Be Refunded,Report ID
- 2015-10-07 16:45:00,460 2208645 [schedulerFactoryBean_Worker-2] WARN c.a.a.s.s.i.FinanceExportServiceImpl - Unable to determine Finance Report for Domain Cancellation: asaplocal-cp-gtewrewrew.info
- 2015-10-07 16:45:00,462 2208647 [schedulerFactoryBean_Worker-2] WARN c.a.a.s.s.i.FinanceExportServiceImpl - Unable to determine Finance Report for Cancellation of Saas ID : 2004
- 2015-10-07 16:45:00,462 2208647 [schedulerFactoryBean_Worker-2] DEBUG c.a.a.s.s.i.FinanceExportServiceImpl - Generating New Export File: /tmp/asap-cancel-export-{}.csv
- 2015-10-07 16:45:00,462 2208647 [schedulerFactoryBean_Worker-2] DEBUG c.a.a.s.s.i.FinanceExportServiceImpl - New Export File created successfully: /tmp/asap-cancel-export-{}.csv
- 2015-10-07 16:45:00,462 2208647 [schedulerFactoryBean_Worker-2] INFO c.a.a.s.FinancialDataExport - Total number of summary, detailed and cancellation records: 11
- 2015-10-07 16:45:00,462 2208647 [schedulerFactoryBean_Worker-2] DEBUG c.a.a.s.FinancialDataExport - Attaching files to Finance Report Email: /tmp/asap-invoice-export-29-09-2015-00-00-00-to-06-10-2015-00-00-00.csv, /tmp/asap-invoice-details-export-29-09-2015-00-00-00-to-06-10-2015-00-00-00.csv, /tmp/asap-cancel-export-29-09-2015-00-00-00-to-06-10-2015-00-00-00.csv
- 2015-10-07 16:45:00,462 2208647 [schedulerFactoryBean_Worker-2] DEBUG c.a.a.s.email.impl.EmailServiceImpl - Sending Internal Email to: cpurcell@afilias.info with Subject: ASAP Finance Export
- 2015-10-07 16:45:00,474 2208659 [schedulerFactoryBean_Worker-2] ERROR com.afilias.api.scheduledTasks.Task - Job FinancialDataExport failed with an exception
- org.springframework.mail.MailSendException: Failed messages: javax.mail.MessagingException: IOException while sending message;
- nested exception is:
- java.io.FileNotFoundException: /tmp/asap-invoice-export-29-09-2015-00-00-00-to-06-10-2015-00-00-00.csv (No such file or directory)
- at org.springframework.mail.javamail.JavaMailSenderImpl.doSend(JavaMailSenderImpl.java:448) ~[spring-context-support-4.1.1.RELEASE.jar:4.1.1.RELEASE]
- at org.springframework.mail.javamail.JavaMailSenderImpl.send(JavaMailSenderImpl.java:346) ~[spring-context-support-4.1.1.RELEASE.jar:4.1.1.RELEASE]
- at org.springframework.mail.javamail.JavaMailSenderImpl.send(JavaMailSenderImpl.java:363) ~[spring-context-support-4.1.1.RELEASE.jar:4.1.1.RELEASE]
- at org.springframework.mail.javamail.JavaMailSenderImpl.send(JavaMailSenderImpl.java:351) ~[spring-context-support-4.1.1.RELEASE.jar:4.1.1.RELEASE]
- at com.afilias.api.service.email.impl.EmailServiceImpl.sendInternalEmail(EmailServiceImpl.java:105) ~[classes/:na]
- at com.afilias.api.scheduledTasks.service.impl.FinanceExportServiceImpl.sendEmail(FinanceExportServiceImpl.java:342) ~[classes/:na]
- at com.afilias.api.scheduledTasks.FinancialDataExport.generateFinancialExport(FinancialDataExport.java:103) ~[classes/:na]
- at com.afilias.api.scheduledTasks.FinancialDataExport.runTask(FinancialDataExport.java:52) ~[classes/:na]
- at com.afilias.api.scheduledTasks.Task.lambda$execute$19(Task.java:91) ~[classes/:na]
- at com.afilias.api.persistence.impl.TransactionalWrapperImpl.performInNestedTransaction(TransactionalWrapperImpl.java:18) ~[classes/:na]
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_60]
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_60]
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_60]
- at java.lang.reflect.Method.invoke(Method.java:497) ~[na:1.8.0_60]
- at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) ~[spring-aop-4.1.1.RELEASE.jar:4.1.1.RELEASE]
- at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190) ~[spring-aop-4.1.1.RELEASE.jar:4.1.1.RELEASE]
- at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) ~[spring-aop-4.1.1.RELEASE.jar:4.1.1.RELEASE]
- at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:98) ~[spring-tx-4.1.1.RELEASE.jar:4.1.1.RELEASE]
- at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:266) ~[spring-tx-4.1.1.RELEASE.jar:4.1.1.RELEASE]
- at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:95) ~[spring-tx-4.1.1.RELEASE.jar:4.1.1.RELEASE]
- at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[spring-aop-4.1.1.RELEASE.jar:4.1.1.RELEASE]
- at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207) ~[spring-aop-4.1.1.RELEASE.jar:4.1.1.RELEASE]
- at com.sun.proxy.$Proxy272.performInNestedTransaction(Unknown Source) ~[na:na]
- at com.afilias.api.scheduledTasks.Task.execute(Task.java:82) ~[classes/:na]
- at org.quartz.core.JobRunShell.run(JobRunShell.java:202) ~[quartz-2.2.1.jar:na]
- at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) ~[quartz-2.2.1.jar:na]
- 2015-10-07 16:45:00,504 2208689 [schedulerFactoryBean_Worker-2] INFO com.afilias.api.scheduledTasks.Task - Finished running job FinancialDataExport, took 467 ms to run
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement