Hi Sashika, I recently tried the billing engine war by deploying it on APIM 2.1.0 it self, it worked for me without any issue.
Thanks, Iqbal On Wed, Nov 29, 2017 at 5:08 PM, Sashika Wijesinghe <[email protected]> wrote: > Hi Rukshan, > > Thanks for the quick response. I have used the billing engine version > linked in the APIM documentation (1.2.0). > > Further, I have tried with the artefacts you shared in [1] but still > getting the same issue even after manually executing all the available > analytics scripts. > > Attached the tomcat logs and application logs. > > Thanks > Sashika > > > [1] https://github.com/ruks/wso2-am-billing-engine/releases/tag/am-2.1.0 > > On Wed, Nov 29, 2017 at 2:39 PM, Rukshan Premathunga <[email protected]> > wrote: > >> Hi Sashika, >> >> Which billing engine version did you check? Can you check on the >> following[1] if not already. *invoice* table is empty because invoice >> generation is failed. Also in the billing capp, it take time to generate >> summary tables and please wait bit longer or execute the script manually to >> generate data. If you observed this again, can you please attached the full >> log as well? >> >> [1] https://github.com/ruks/wso2-am-billing-engine/releases/tag/am-2.1.0 >> >> Thanks and Regards >> >> On Wed, Nov 29, 2017 at 2:14 PM, Sashika Wijesinghe <[email protected]> >> wrote: >> >>> Hi All, >>> >>> I have tried to generate an invoice for the monetized APIs as documented >>> in [1]. >>> >>> When I select the 'invoice' tab in the sample billing engine to generate >>> the invoices observed the following error from the billing engine deployed >>> in tomcat server. >>> >>> *HTTP Status 500 - Request processing failed; nested exception is >>> org.springframework.webflow.execution.ActionExecutionException: Exception >>> thrown executing [AnnotatedAction@3fa06082 targetAction = >>> [EvaluateAction@274d6a91 expression = invoiceService.createInvoice(user), >>> resultExpression = viewScope.invoice], attributes = map[[empty]]] in state >>> 'invoiceHome' of flow 'account' -- action execution attributes were >>> 'map[[empty]]'* >>> >>> After verifying the 'billing' database observed that there are >>> no records in the "*invoice*" table. However, as per the API >>> statistics, there are 20 API calls for that particular API. >>> >>> May I know how to solve this issue? >>> >>> >>> [1] https://docs.wso2.com/display/AM210/Enabling+Monetization+of+APIs >>> >>> >>> -- >>> >>> *Sashika WijesingheSoftware Engineer - QA Team* >>> Mobile : +94 (0) 774537487 >>> [email protected] >>> >> >> >> >> -- >> Rukshan Chathuranga. >> Software Engineer. >> WSO2, Inc. >> +94711822074 <+94%2071%20182%202074> >> > > > > -- > > *Sashika WijesingheSoftware Engineer - QA Team* > Mobile : +94 (0) 774537487 > [email protected] > > _______________________________________________ > Dev mailing list > [email protected] > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- Irham Iqbal Software Engineer WSO2 phone: +94 777888452 <http://wso2.com/signature>
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
