Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reports do not show up #1

Closed
antapos opened this issue Jul 22, 2015 · 2 comments
Closed

Reports do not show up #1

antapos opened this issue Jul 22, 2015 · 2 comments

Comments

@antapos
Copy link

antapos commented Jul 22, 2015

No BIRT report can be shown in the UI of abs-webapp.

Steps to reproduce:

  • follow the instructions in the README to checkout main project and git submodules
  • setup the postgres database using the db properties shown in abs-webapp/src/main/resources/application.properties
  • run the web app using ./gradlew tomcatRun
  • open a chrome web browser and open the devtools and the network tab
  • login using admin/admin and visit the URL: http://localhost:8080/abs-webapp/#/ds/hr.root.employee/edit/13
  • press the 'Print CV' button
  • in the network tab of Chrome devtools it shows an error like the following:

HTTP 404 while trying to perform HTTP GET on URL:
http://localhost:8080/birt/frameset?__report=report/Employee.rptdesign&DBName=jdbc:postgresql://localhost:5432/axelor-business-suite&UserName=axelor&Password=*****&__format=pdf&Locale=en&EmployeeId=13

@marioestradarosa
Copy link

First , I installed a tomcat 7.x . then ran ./gradlew war from your project. copied the abs-webappxxx.war from buld/lib to my /opt/tomcat7/webapps/abs-webapp.war . then downloaded the birt-4.4.1 runtime engine. After unzipping it, I copied the birt.war into /opt/tomcat7/webapps also. I also copied the jdbc driver from postgresql to /opt/tomcat7/lib .

And then, here is the funny part, I was playing with
http://localhost:8080/abs-webapp/#/ds/sc.root.sale.customers/edit/14
Print Informations button, so I had to copy the file Partner.rptdesign , from my source code to the birt/report`` directory Birt Report Engine 4.4.1 download link http://www.eclipse.org/downloads/download.php?file=/birt/downloads/drops/R-R1-4_4_1-201409161320/birt-runtime-4_4_1-20140916.zip&mirror_id=576 ```

TODO: Play with the application.properties inside abs-webapp to relocate the reports. Secondly I wonder why axelor gradle build doesn't copy the reports from resource/reports, I had to copy it manually.

Hope this guide you to something, I am still playing around with Axelor adk.

screen shot 2015-11-15 at 00 08 50

@gdu-axelor
Copy link
Contributor

Now (master branch), the application can manage embedded and external Birt engine.

The objective is to simplify the application deployment.

A new parameter has been added in the applications.properties file (axelor.report.use.embedded.engine), to select the report engine. Default is to use embedded Birt engine.

With embedded Birt, there is nothing to do.

Regards

@antapos antapos closed this as completed Jan 5, 2016
pdo-axelor added a commit that referenced this issue May 15, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants