Good morning all. I'm back at looking into this (with some urgency this time) and I'm taking Mark's
https://github.com/mjordan/islandora_rest_ingester for a spin. Unfortunately I've had no luck thus far. Just now I attempted to create a new object from a set of datastreams saved by Bagit. The command and output follow...
~/islandora_rest_ingester$ php ingest.php -l mylog.log -m islandora:sp_pdf -p grinnell:student-scholarship -n test -o fedoraAdmin -u fedoraAdmin -t XXXXXXX /archive/grinnell_bags/Bag-grinnell_99
~/islandora_rest_ingester$ cat mylog.log
[2017-10-04 09:56:20] Ingest via
REST.INFO: ingest.php (endpoint
http://localhost/islandora/rest/v1) started at October 4, 2017, 9:56 am [] []
[2017-10-04 09:56:20] Ingest via REST.WARNING: /archive/grinnell_bags/Bag-grinnell_99/manifest-sha1.txt appears to be empty, skipping. [] []
[2017-10-04 09:56:20] Ingest via REST.WARNING: /archive/grinnell_bags/Bag-grinnell_99/bagit.txt appears to be empty, skipping. [] []
[2017-10-04 09:56:20] Ingest via REST.WARNING: /archive/grinnell_bags/Bag-grinnell_99/tagmanifest-sha1.txt appears to be empty, skipping. [] []
[2017-10-04 09:59:48] Ingest via REST.INFO: Object ingested from /archive/grinnell_bags/Bag-grinnell_99/data [] [][2017-10-04 09:59:49] Ingest via
REST.INFO: Object datastream ADMIN_COVERSHEET ingested from /archive/grinnell_bags/Bag-grinnell_99/data/ADMIN_COVERSHEET.html [] []
Watching this work in my debugger shows me that the REST request returns a status 200, which I presume is "OK", but the response_body has no 'pid', hence the empty/null PID reference in the log above.
I checked my catalina.out log and found only numerous instances of this...
ClientAbortException: java.net.SocketException: Connection reset
at org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:369)
at org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:368)
at org.apache.catalina.connector.OutputBuffer.writeBytes(OutputBuffer.java:392)
at org.apache.catalina.connector.OutputBuffer.write(OutputBuffer.java:381)
at org.apache.catalina.connector.CoyoteOutputStream.write(CoyoteOutputStream.java:89)
at org.apache.cxf.helpers.IOUtils.copy(IOUtils.java:160)
at org.apache.cxf.helpers.IOUtils.copy(IOUtils.java:104)
Can anyone suggest what/where to look for the root cause and a solution? Thanks.