• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
  • Knute Snortum
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
  • Piet Souris
  • Frits Walraven
  • Ganesh Patekar

Pentaho 3.5 for java developers + problem

Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have read de book pentaho 3.5 for java developers, and it is very good. However, I am having a problem trying to include my reports in a web application.
I followed step by step everything mentioned in the book, and this problem its shown

Estado HTTP 404 - /report/

type Informe de estado

mensaje /report/

descripción El recurso requerido (/report/) no está disponible.

Description: The resource required(/report/) is not available

I will describe what i have done

First of all, I imported all the libraries from pentaho report designer 3.5.

Then I created an index.html.

Then, i build my java servlet

Fourtly, I created a folder in the web-inf directory called data, and there I put my report reporte1.prpt

Finally I wrote my web.xml file

When I run my application, the index page is shown, and the error ocurrs when I click on Generate PDF Report link
I noticed that the link goes to /report/, but there is no folder o file called report.
How can I solve this problem?
Any suggestion?

Thank You
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello, you should either map your servlet url to report, or change the link in your HTML page to your defined controller/ServletPrimero url.

Glad you liked the book! Good luck!

matias casal
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, it is what i ve done now
My code is

But with that and error 500 happens saying that cant find the resource report.
However, I tried to create a new folder name report, and there i put the files and folders from de folder report-viewer in the biserver 3.5
The error 500 and 400 dont appear now, but when i click on view pdf report, after loading a seconds, an error label from pentaho appears ( without a name).
I think that i am near the solution, but there is something i m missing

my new html is

Thank you for answering
If you know how to solve my problem, you are welcome
She still doesn't approve of my superhero lifestyle. Or this shameless plug:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!