talk@lists.collectionspace.org

WE HAVE SUNSET THIS LISTSERV - Join us at collectionspace@lyrasislists.org

View all threads

report missing specified source file.

T
toolhater
Mon, Aug 22, 2016 10:21 PM

After having several problems with a font that didn't exist in ubuntu, I changed the report and gave it another name. I posted the report and got a status of 100. I went to run the report and got this error:POST failed:  detail: java.lang.RuntimeException: Report is missing the specified source file!
I went to look in the reports folder for the .jrxml file and I realized that I didn't move it to the directory before I posted the payload file. So I went back and put the .jrxml file in the reports directory and I'm still getting the same message. I restarted the cs service and I'm still getting the same error. 
Anyone have any idea what might be going wrong?

After having several problems with a font that didn't exist in ubuntu, I changed the report and gave it another name. I posted the report and got a status of 100. I went to run the report and got this error:POST failed:  detail: java.lang.RuntimeException: Report is missing the specified source file! I went to look in the reports folder for the .jrxml file and I realized that I didn't move it to the directory before I posted the payload file. So I went back and put the .jrxml file in the reports directory and I'm still getting the same message. I restarted the cs service and I'm still getting the same error.  Anyone have any idea what might be going wrong?
RM
Richard Millet
Mon, Aug 22, 2016 11:16 PM

I think an HTTP status code of 100 for a POST to the report service is unusual and could indicate that something went wrong?  It might be best to use the report service to get a list of the currently installed reports and delete the Report resource in question.

Use cURL with a URL something like http://core.collectionspace.org/cspace-services/reports to make a GET request.

If you see the report that you're having trouble with in the list, make a note of its CSID and make a DELETE request to this URL, http://core.collectionspace.org/cspace-services/reports/_the_CSID_of_the_report

Double-check all the values in the XML that you're going to use in the POST to the Report service and then make the POST to create a new Report resource.


From: Talk talk-bounces@lists.collectionspace.org on behalf of toolhater toolhater@yahoo.com
Sent: Monday, August 22, 2016 3:21 PM
To: CollectionSpace Talk List
Subject: [Talk] report missing specified source file.

After having several problems with a font that didn't exist in ubuntu, I changed the report and gave it another name. I posted the report and got a status of 100. I went to run the report and got this error:
POST failed:  detail: java.lang.RuntimeException: Report is missing the specified source file!

I went to look in the reports folder for the .jrxml file and I realized that I didn't move it to the directory before I posted the payload file. So I went back and put the .jrxml file in the reports directory and I'm still getting the same message. I restarted the cs service and I'm still getting the same error.

Anyone have any idea what might be going wrong?

I think an HTTP status code of 100 for a POST to the report service is unusual and could indicate that something went wrong? It might be best to use the report service to get a list of the currently installed reports and delete the Report resource in question. Use cURL with a URL something like http://core.collectionspace.org/cspace-services/reports to make a GET request. If you see the report that you're having trouble with in the list, make a note of its CSID and make a DELETE request to this URL, http://core.collectionspace.org/cspace-services/reports/_the_CSID_of_the_report Double-check all the values in the XML that you're going to use in the POST to the Report service and then make the POST to create a new Report resource. ________________________________________ From: Talk <talk-bounces@lists.collectionspace.org> on behalf of toolhater <toolhater@yahoo.com> Sent: Monday, August 22, 2016 3:21 PM To: CollectionSpace Talk List Subject: [Talk] report missing specified source file. After having several problems with a font that didn't exist in ubuntu, I changed the report and gave it another name. I posted the report and got a status of 100. I went to run the report and got this error: POST failed: detail: java.lang.RuntimeException: Report is missing the specified source file! I went to look in the reports folder for the .jrxml file and I realized that I didn't move it to the directory before I posted the payload file. So I went back and put the .jrxml file in the reports directory and I'm still getting the same message. I restarted the cs service and I'm still getting the same error. Anyone have any idea what might be going wrong?
CH
Chris Hoffman
Mon, Aug 22, 2016 11:23 PM

Hi,

Did you add a new record to the Reports service?  If the jrxml file (and the resulting jasper) file have a different name than the one that was originally working, you would need to add a new record to the Reports service that references the new file name.  The current docs describe this on this page
https://wiki.collectionspace.org/display/DOC/How+to+add+and+run+reports https://wiki.collectionspace.org/display/DOC/How+to+add+and+run+reports
in step 2 under the heading

Preparing reports for running from within CollectionSpace

Maybe that’s completely off target, but that would be the first thing to check.  You can also check the installed Report service records by checking the API at yourhostname/cspace-services/reports.

I hope that helps!
Chris
UC Berkeley

On Aug 22, 2016, at 3:21 PM, toolhater toolhater@yahoo.com wrote:

After having several problems with a font that didn't exist in ubuntu, I changed the report and gave it another name. I posted the report and got a status of 100. I went to run the report and got this error:
POST failed:  detail: java.lang.RuntimeException: Report is missing the specified source file!

I went to look in the reports folder for the .jrxml file and I realized that I didn't move it to the directory before I posted the payload file. So I went back and put the .jrxml file in the reports directory and I'm still getting the same message. I restarted the cs service and I'm still getting the same error.

Anyone have any idea what might be going wrong?


Talk mailing list
Talk@lists.collectionspace.org
http://lists.collectionspace.org/mailman/listinfo/talk_lists.collectionspace.org

Hi, Did you add a new record to the Reports service? If the jrxml file (and the resulting jasper) file have a different name than the one that was originally working, you would need to add a new record to the Reports service that references the new file name. The current docs describe this on this page https://wiki.collectionspace.org/display/DOC/How+to+add+and+run+reports <https://wiki.collectionspace.org/display/DOC/How+to+add+and+run+reports> in step 2 under the heading > Preparing reports for running from within CollectionSpace Maybe that’s completely off target, but that would be the first thing to check. You can also check the installed Report service records by checking the API at yourhostname/cspace-services/reports. I hope that helps! Chris UC Berkeley > On Aug 22, 2016, at 3:21 PM, toolhater <toolhater@yahoo.com> wrote: > > After having several problems with a font that didn't exist in ubuntu, I changed the report and gave it another name. I posted the report and got a status of 100. I went to run the report and got this error: > POST failed: detail: java.lang.RuntimeException: Report is missing the specified source file! > > I went to look in the reports folder for the .jrxml file and I realized that I didn't move it to the directory before I posted the payload file. So I went back and put the .jrxml file in the reports directory and I'm still getting the same message. I restarted the cs service and I'm still getting the same error. > > Anyone have any idea what might be going wrong? > _______________________________________________ > Talk mailing list > Talk@lists.collectionspace.org > http://lists.collectionspace.org/mailman/listinfo/talk_lists.collectionspace.org
AR
Aron Roberts
Tue, Aug 23, 2016 12:01 AM

So I went back and put the .jrxml file in the reports directory ...

It might also be worth double-checking that the reports directory into
which that file has been moved is: $CSPACE_JEESERVER_HOME/cspace/reports.
(E.g., on most systems, that's
/usr/local/share/apache-tomcat-7.0.57/cspace/reports)

On Mon, Aug 22, 2016 at 4:23 PM, Chris Hoffman chris_h@berkeley.edu wrote:

Hi,

Did you add a new record to the Reports service?  If the jrxml file (and
the resulting jasper) file have a different name than the one that was
originally working, you would need to add a new record to the Reports
service that references the new file name.  The current docs describe this
on this page
https://wiki.collectionspace.org/display/DOC/How+to+add+and+run+reports
in step 2 under the heading

Preparing reports for running from within CollectionSpace

Maybe that’s completely off target, but that would be the first thing to
check.  You can also check the installed Report service records by checking
the API at yourhostname/cspace-services/reports.

I hope that helps!
Chris
UC Berkeley

On Aug 22, 2016, at 3:21 PM, toolhater toolhater@yahoo.com wrote:

After having several problems with a font that didn't exist in ubuntu, I
changed the report and gave it another name. I posted the report and got a
status of 100. I went to run the report and got this error:
POST failed:  detail: java.lang.RuntimeException: Report is missing the
specified source file!

I went to look in the reports folder for the .jrxml file and I realized
that I didn't move it to the directory before I posted the payload file. So
I went back and put the .jrxml file in the reports directory and I'm still
getting the same message. I restarted the cs service and I'm still getting
the same error.

Anyone have any idea what might be going wrong?


Talk mailing list
Talk@lists.collectionspace.org
http://lists.collectionspace.org/mailman/listinfo/talk_
lists.collectionspace.org


Talk mailing list
Talk@lists.collectionspace.org
http://lists.collectionspace.org/mailman/listinfo/talk_
lists.collectionspace.org

> So I went back and put the .jrxml file in the reports directory ... It might also be worth double-checking that the reports directory into which that file has been moved is: $CSPACE_JEESERVER_HOME/cspace/reports. (E.g., on most systems, that's /usr/local/share/apache-tomcat-7.0.57/cspace/reports) On Mon, Aug 22, 2016 at 4:23 PM, Chris Hoffman <chris_h@berkeley.edu> wrote: > Hi, > > Did you add a new record to the Reports service? If the jrxml file (and > the resulting jasper) file have a different name than the one that was > originally working, you would need to add a new record to the Reports > service that references the new file name. The current docs describe this > on this page > https://wiki.collectionspace.org/display/DOC/How+to+add+and+run+reports > in step 2 under the heading > > Preparing reports for running from within CollectionSpace > > > Maybe that’s completely off target, but that would be the first thing to > check. You can also check the installed Report service records by checking > the API at yourhostname/cspace-services/reports. > > I hope that helps! > Chris > UC Berkeley > > On Aug 22, 2016, at 3:21 PM, toolhater <toolhater@yahoo.com> wrote: > > After having several problems with a font that didn't exist in ubuntu, I > changed the report and gave it another name. I posted the report and got a > status of 100. I went to run the report and got this error: > POST failed: detail: java.lang.RuntimeException: Report is missing the > specified source file! > > I went to look in the reports folder for the .jrxml file and I realized > that I didn't move it to the directory before I posted the payload file. So > I went back and put the .jrxml file in the reports directory and I'm still > getting the same message. I restarted the cs service and I'm still getting > the same error. > > Anyone have any idea what might be going wrong? > _______________________________________________ > Talk mailing list > Talk@lists.collectionspace.org > http://lists.collectionspace.org/mailman/listinfo/talk_ > lists.collectionspace.org > > > > _______________________________________________ > Talk mailing list > Talk@lists.collectionspace.org > http://lists.collectionspace.org/mailman/listinfo/talk_ > lists.collectionspace.org > >
T
toolhater
Tue, Aug 23, 2016 9:36 AM

Guys, I removed them all and readied and it was fixed. And here's where I owe everyone an apology. My xml payload actually had the wrong file name in there! Sorry for wasting everyone's time!

On Monday, August 22, 2016 5:01 PM, Aron Roberts <aron@socrates.berkeley.edu> wrote:

So I went back and put the .jrxml file in the reports directory ...

It might also be worth double-checking that the reports directory into which that file has been moved is: $CSPACE_JEESERVER_HOME/cspace/reports. (E.g., on most systems, that's /usr/local/share/apache-tomcat-7.0.57/cspace/reports)

On Mon, Aug 22, 2016 at 4:23 PM, Chris Hoffman chris_h@berkeley.edu wrote:

Hi, 
Did you add a new record to the Reports service?  If the jrxml file (and the resulting jasper) file have a different name than the one that was originally working, you would need to add a new record to the Reports service that references the new file name.  The current docs describe this on this page  https://wiki. collectionspace.org/display/ DOC/How+to+add+and+run+reportsin step 2 under the heading

Preparing reports for running from within CollectionSpace

Maybe that’s completely off target, but that would be the first thing to check.  You can also check the installed Report service records by checking the API at yourhostname/cspace-services/ reports.
I hope that helps!ChrisUC Berkeley

On Aug 22, 2016, at 3:21 PM, toolhater toolhater@yahoo.com wrote:
After having several problems with a font that didn't exist in ubuntu, I changed the report and gave it another name. I posted the report and got a status of 100. I went to run the report and got this error:POST failed:  detail: java.lang.RuntimeException: Report is missing the specified source file!
I went to look in the reports folder for the .jrxml file and I realized that I didn't move it to the directory before I posted the payload file. So I went back and put the .jrxml file in the reports directory and I'm still getting the same message. I restarted the cs service and I'm still getting the same error. 
Anyone have any idea what might be going wrong?______________________________ _________________
Talk mailing list
Talk@lists.collectionspace.org
http://lists.collectionspace. org/mailman/listinfo/talk_ lists.collectionspace.org


Talk mailing list
Talk@lists.collectionspace.org
http://lists.collectionspace. org/mailman/listinfo/talk_ lists.collectionspace.org

Guys, I removed them all and readied and it was fixed. And here's where I owe everyone an apology. My xml payload actually had the wrong file name in there! Sorry for wasting everyone's time! On Monday, August 22, 2016 5:01 PM, Aron Roberts <aron@socrates.berkeley.edu> wrote: > So I went back and put the .jrxml file in the reports directory ... It might also be worth double-checking that the reports directory into which that file has been moved is: $CSPACE_JEESERVER_HOME/cspace/reports. (E.g., on most systems, that's /usr/local/share/apache-tomcat-7.0.57/cspace/reports) On Mon, Aug 22, 2016 at 4:23 PM, Chris Hoffman <chris_h@berkeley.edu> wrote: Hi,  Did you add a new record to the Reports service?  If the jrxml file (and the resulting jasper) file have a different name than the one that was originally working, you would need to add a new record to the Reports service that references the new file name.  The current docs describe this on this page  https://wiki. collectionspace.org/display/ DOC/How+to+add+and+run+reportsin step 2 under the heading Preparing reports for running from within CollectionSpace Maybe that’s completely off target, but that would be the first thing to check.  You can also check the installed Report service records by checking the API at yourhostname/cspace-services/ reports. I hope that helps!ChrisUC Berkeley On Aug 22, 2016, at 3:21 PM, toolhater <toolhater@yahoo.com> wrote: After having several problems with a font that didn't exist in ubuntu, I changed the report and gave it another name. I posted the report and got a status of 100. I went to run the report and got this error:POST failed:  detail: java.lang.RuntimeException: Report is missing the specified source file! I went to look in the reports folder for the .jrxml file and I realized that I didn't move it to the directory before I posted the payload file. So I went back and put the .jrxml file in the reports directory and I'm still getting the same message. I restarted the cs service and I'm still getting the same error.  Anyone have any idea what might be going wrong?______________________________ _________________ Talk mailing list Talk@lists.collectionspace.org http://lists.collectionspace. org/mailman/listinfo/talk_ lists.collectionspace.org ______________________________ _________________ Talk mailing list Talk@lists.collectionspace.org http://lists.collectionspace. org/mailman/listinfo/talk_ lists.collectionspace.org
CH
Chris Hoffman
Tue, Aug 23, 2016 3:57 PM

Hi, no apology needed!  It is unfortunately way too easy to make these kinds of mistakes.
Chris

On Aug 23, 2016, at 2:36 AM, toolhater toolhater@yahoo.com wrote:

Guys, I removed them all and readied and it was fixed. And here's where I owe everyone an apology. My xml payload actually had the wrong file name in there! Sorry for wasting everyone's time!

On Monday, August 22, 2016 5:01 PM, Aron Roberts aron@socrates.berkeley.edu wrote:

So I went back and put the .jrxml file in the reports directory ...

It might also be worth double-checking that the reports directory into which that file has been moved is: $CSPACE_JEESERVER_HOME/cspace/reports. (E.g., on most systems, that's /usr/local/share/apache-tomcat-7.0.57/cspace/reports)

On Mon, Aug 22, 2016 at 4:23 PM, Chris Hoffman <chris_h@berkeley.edu mailto:chris_h@berkeley.edu> wrote:
Hi,

Did you add a new record to the Reports service?  If the jrxml file (and the resulting jasper) file have a different name than the one that was originally working, you would need to add a new record to the Reports service that references the new file name.  The current docs describe this on this page
https://wiki. collectionspace.org/display/ DOC/How+to+add+and+run+reports https://wiki.collectionspace.org/display/DOC/How+to+add+and+run+reports
in step 2 under the heading

Preparing reports for running from within CollectionSpace

Maybe that’s completely off target, but that would be the first thing to check.  You can also check the installed Report service records by checking the API at yourhostname/cspace-services/ reports.

I hope that helps!
Chris
UC Berkeley

On Aug 22, 2016, at 3:21 PM, toolhater <toolhater@yahoo.com mailto:toolhater@yahoo.com> wrote:

After having several problems with a font that didn't exist in ubuntu, I changed the report and gave it another name. I posted the report and got a status of 100. I went to run the report and got this error:
POST failed:  detail: java.lang.RuntimeException: Report is missing the specified source file!

I went to look in the reports folder for the .jrxml file and I realized that I didn't move it to the directory before I posted the payload file. So I went back and put the .jrxml file in the reports directory and I'm still getting the same message. I restarted the cs service and I'm still getting the same error.

Anyone have any idea what might be going wrong?


Talk mailing list
Talk@lists.collectionspace.org mailto:Talk@lists.collectionspace.org
http://lists.collectionspace. org/mailman/listinfo/talk_ lists.collectionspace.org http://lists.collectionspace.org/mailman/listinfo/talk_lists.collectionspace.org

Hi, no apology needed! It is unfortunately way too easy to make these kinds of mistakes. Chris > On Aug 23, 2016, at 2:36 AM, toolhater <toolhater@yahoo.com> wrote: > > Guys, I removed them all and readied and it was fixed. And here's where I owe everyone an apology. My xml payload actually had the wrong file name in there! Sorry for wasting everyone's time! > > > On Monday, August 22, 2016 5:01 PM, Aron Roberts <aron@socrates.berkeley.edu> wrote: > > > > So I went back and put the .jrxml file in the reports directory ... > > It might also be worth double-checking that the reports directory into which that file has been moved is: $CSPACE_JEESERVER_HOME/cspace/reports. (E.g., on most systems, that's /usr/local/share/apache-tomcat-7.0.57/cspace/reports) > > On Mon, Aug 22, 2016 at 4:23 PM, Chris Hoffman <chris_h@berkeley.edu <mailto:chris_h@berkeley.edu>> wrote: > Hi, > > Did you add a new record to the Reports service? If the jrxml file (and the resulting jasper) file have a different name than the one that was originally working, you would need to add a new record to the Reports service that references the new file name. The current docs describe this on this page > https://wiki. collectionspace.org/display/ DOC/How+to+add+and+run+reports <https://wiki.collectionspace.org/display/DOC/How+to+add+and+run+reports> > in step 2 under the heading >> Preparing reports for running from within CollectionSpace > > > Maybe that’s completely off target, but that would be the first thing to check. You can also check the installed Report service records by checking the API at yourhostname/cspace-services/ reports. > > I hope that helps! > Chris > UC Berkeley > >> On Aug 22, 2016, at 3:21 PM, toolhater <toolhater@yahoo.com <mailto:toolhater@yahoo.com>> wrote: >> >> After having several problems with a font that didn't exist in ubuntu, I changed the report and gave it another name. I posted the report and got a status of 100. I went to run the report and got this error: >> POST failed: detail: java.lang.RuntimeException: Report is missing the specified source file! >> >> I went to look in the reports folder for the .jrxml file and I realized that I didn't move it to the directory before I posted the payload file. So I went back and put the .jrxml file in the reports directory and I'm still getting the same message. I restarted the cs service and I'm still getting the same error. >> >> Anyone have any idea what might be going wrong? >> ______________________________ _________________ >> Talk mailing list >> Talk@lists.collectionspace.org <mailto:Talk@lists.collectionspace.org> >> http://lists.collectionspace. org/mailman/listinfo/talk_ lists.collectionspace.org <http://lists.collectionspace.org/mailman/listinfo/talk_lists.collectionspace.org> > > > ______________________________ _________________ > Talk mailing list > Talk@lists.collectionspace.org <mailto:Talk@lists.collectionspace.org> > http://lists.collectionspace. org/mailman/listinfo/talk_ lists.collectionspace.org <http://lists.collectionspace.org/mailman/listinfo/talk_lists.collectionspace.org> > > > >