Jump to content
Changes to the Jaspersoft community edition download ×

resource.not.found error when trying to look up reportExecution details by requestID


Recommended Posts

I have jasper 6.2 community edition installed using bundeled tomcat and postgres databases that the installer configured up.  So nothing custom.

Logged in as jasperuser, I launch a report.  Then using the rest_v2 URL interface I can query the currently running reports.   No problem.  I see the report that I'm running. 

From the docs:    http://<host>:<port>/jasperserver[-pro]/rest_v2/reportExecutions/

In my case:    http://MYSERVERNAME:MYPORT/jasperserver/rest_v2/reportExecutions/

Which gives me output:

<reportExecutions>
  <reportExecution>
    <reportURI>/Reports/PATHTOMYREPORT/MYREPORT.jrxml</reportURI>
    <requestId>1675750762_1496834835548_1</requestId>
  </reportExecution>
</reportExecutions>

Looking at the docs I should be able to get the details of this report running by doing

From the docs:    http://<host>:<port>/jasperserver[-pro]/rest_v2/reportExecutions/requestID

In my case:     http://MYSERVER:MYPORT/jasperserver/rest_v2/reportExecutions/1675750762_1496834835548_1

But that gives me an error every time.

<errorDescriptor>
  <errorCode>resource.not.found</errorCode>
  <message>Resource 1675750762_1496834835548_1 not found.</message>
  <parameters>
    <parameter>1675750762_1496834835548_1</parameter>
  </parameters>
</errorDescriptor>

I must be doing something wrong?

Link to comment
Share on other sites

  • 2 years later...
  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...