You received this message because you are subscribed to a topic in the Google Groups "islandora" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/islandora/tLE-_ya45SI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to islandora+...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to islandora+...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to islandora+...@googlegroups.com.
To unsubscribe from this group and all its topics, send an email to islandora+...@googlegroups.com.
There is a note there on the config page, in setting the URL, that it has to be publicly addressable. Put that URL in (which should be taken care of by your Apache redirects) and you should be fine.
-nruest
To unsubscribe from this group and stop receiving emails from it, send an email to islandora+...@googlegroups.com.
To unsubscribe from this group and all its topics, send an email to islandora+...@googlegroups.com.
To unsubscribe from this group and all its topics, send an email to islandora+...@googlegroups.com.
To unsubscribe from this group and all its topics, send an email to islandora+...@googlegroups.com.
Caused by: gov.lanl.adore.djatoka.DjatokaException: gov.lanl.adore.djatoka.DjatokaException: Unrecognized file format: java.lang.Exception: Unsupported file format. Cannot find decoder capable of reading: convert15784391289174544633968614651.img
at gov.lanl.adore.djatoka.openurl.DjatokaImageMigrator.processImage(DjatokaImageMigrator.java:170)
at gov.lanl.adore.djatoka.openurl.DjatokaImageMigrator.convert(DjatokaImageMigrator.java:128)
... 24 moreso I checked the real request sent in browser which shows like this:
HTTP_TRANSACTION_READ_RESPONSE_HEADERS --> HTTP/1.1 404 Not Found Date: Fri, 10 Oct 2014 15:44:53 GMT Content-Type: text/html;charset=utf-8
--
For more information about using this group, please read our Listserv Guidelines: http://islandora.ca/content/welcome-islandora-listserv
---
You received this message because you are subscribed to the Google Groups "islandora" group.
To unsubscribe from this group and stop receiving emails from it, send an email to islandora+...@googlegroups.com.
--
You received this message because you are subscribed to a topic in the Google Groups "islandora" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/islandora/tLE-_ya45SI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to islandora+...@googlegroups.com.
Hi Giancarlo and Diego,
I appreciate your continued help, but I'm afraid the answer is yes, I've already got it set up (as far as I can tell, anyway) -- I have every Proxy-related line in my httpd.conf commented out except for
ProxyPass /adore-djatoka http://localhost:8080/adore-djatokaProxyPassReverse /adore-djatoka http://localhost:8080/adore-djatoka
Which I believe should be sufficient to do it?
ProxyRequests Off
ProxyPreserveHost On
<Proxy *>
AddDefaultCharset off
Order deny,allow
Allow from all
</Proxy>
ProxyPass /adore-djatoka http://v2p2repo.to.cnr.it/adore-djatoka
ProxyPassReverse /adore-djatoka http://v2p2repo.to.cnr.it/adore-djatoka
ProxyRequests Off
ProxyPreserveHost On
<Proxy *>
AddDefaultCharset off
Order deny,allow
Allow from all
</Proxy>After doing that and trying to restart httpd, I get a syntax error "ProxyRequests must be on or off". This implies that ProxyRequests are being forced on in some other configuration file, which I suppose could be the source of my troubles -- except that there's absolutely nothing else about a Proxy that's uncommented in any other file in /etc/httpd, and (terrifyingly) there are no Google results for that issue.
...
Hi Alex, don't worry, is not trouble at all.I got it running on several Ubuntus and OSX. No Redhat here to test, but this should not be an issue.
We could start from the beginning maybe(sorry, i need more info!) i can't promise a solution, but i will try.1.I would love to have some version numbers on every involved package.2.- Some log outputs (apache error.log and catalina.out), just a chunk where i can see what happens when you try to make it work3.- mmm…maybe some config files too? (environmental vars for Tomcat)4.- and also some info on how you have your Repo installed. Included tomcat or standalone? localhost for everything or valid host names?Giancarlo: any other info that could help?
You received this message because you are subscribed to a topic in the Google Groups "islandora" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/islandora/tLE-_ya45SI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to islandora+...@googlegroups.com.
...
...
--
--
For more information about using this group, please read our Listserv Guidelines: http://islandora.ca/content/welcome-islandora-listserv
---
You received this message because you are subscribed to the Google Groups "islandora" group.
To unsubscribe from this group and stop receiving emails from it, send an email to islandora+...@googlegroups.com.
Visit this group at http://groups.google.com/group/islandora.
For more options, visit https://groups.google.com/d/optout.
Hi Alex, sorry to hear that. I took some minutes(ok, maybe an hour) to check your repo. Your reverse proxy is working fine, so the problem is not there. I can use http://researchdata.sfu.ca/adore-djatoka/resolve as base url for any correct external JP2 image using your adore-djakota web interface, but using your datastream (JP2) gives me always a Tomcat 404 resource not found error.
So i downloaded your JP2 stream and your original TIFF image. (I think the problem is there). Comparing your local JP2 with an working external one i see two differences:
Color Space: yours is a grey image, the ones i found working are RGB (8 bit)
Color profile: I see your(i my mac) gives me a Generic Grayscale profile, those that worked for me did not have does:
So, just for the matter of giving finally up: could you replace the current TIFF(OBJ datastream) with a 8 bit one, no color profile and see if the JP2 derivative is done correctly? (same object please). Thats the last thing i can think of, djakota is very old and i did not found many "hits" on google.
Finally if that does not work, could you try replacing only the JP2 datastream with http://memory.loc.gov/gmd/gmd433/g4330/g4330/np000066.jp2 (the test image).
That would give us the final answer: if kakadu is not compressing JP2 correctly, there is some problem on how Apache is serving the image(maybe response header) or i really don't know anything about linux!Diego
You received this message because you are subscribed to the Google Groups "islandora" group.
To unsubscribe from this group and stop receiving emails from it, send an email to islandora+...@googlegroups.com.
...
Date Wed, 26 Nov 2014 20:28:44 GMT
Etag "1417033724"
Last-Modified Mon, 06 Oct 2014 20:32:25 GMT
Server Apache/2.2.15 (Red Hat)
X-Powered-By PHP/5.5.16
Content-Type image/jp2
Cache-Control public, must-revalidate, max-age=0
Connection close
Content-Length 1223748
Expires Sun, 19 Nov 1978 05:00:00 GMT
The first one (Fedora) gives this response headers:
Content-Disposition inline; filename="JPEG 2000.bin"
Content-Length 1223748
Server Apache-Coyote/1.1
Content-Type image/jp2
...
On Mon, May 18, 2015 at 9:25 AM <gavin....@commonmediainc.com> wrote:
On our Islandora/Web Server yes:
Thanks for the link Giancaro.
I actually followed much of your previous setup to get Djatoka running in the first place, so I'm grateful for that.
For the conf steps,I'll be using http instead of the ajp as these are separate servers. (assuming)
Took a look at the Islandora / Web server /etc/httpd/conf/httpd.conf file.
At the bottom is the reverse proxy information:
Should there be more to this entry?
<Proxy *>Order deny,allowAllow from all</Proxy>ProxyPass /fedora/get http://fedoraserver.domain.com:8080/fedora/getProxyPassReverse /fedora/get http://fedoraserver.domain.com:8080/fedora/getProxyPass /fedora/services http://fedoraserver.domain.com:8080/fedora/servicesProxyPassReverse /fedora/services http://fedoraserver.domain.com:8080/fedora/servicesProxyPass /fedora/describe http://fedoraserver.domain.com:8080/fedora/describeProxyPassReverse /fedora/describe http://fedoraserver.domain.com:8080/fedora/describeProxyPass /fedora/risearch http://fedoraserver.domain.com:8080/fedora/risearchProxyPassReverse /fedora/risearch http://fedoraserver.domain.com:8080/fedora/risearchProxyPass /adore-djatoka http://fedoraserver.domain.com:8080/adore-djatokaProxyPassReverse /adore-djatoka http://fedoraserver.domain.com:8080/adore-djatoka
--
Hi Giancarlo,
Thanks for your continued patience.
Apologies for missing your original question:
"My question is again: can an external user access http://fedoraserver.domain.com:8080/adore-djatoka/ ?"
No. An external user cannot access http://fedoraserver.domain.com:8080/adore-djatoka/ ? (Port 8080 is not publicly accessible. I use a VPN to connect to the Tomcat interface.)
I have the same configuration and for this reason I installed Apache + reverse proxy onto fedora server to make adore-djatoka accessible on port 80 from external user.
The Islandora Server is publicly accessible by port 80.
Okay, so I spun up the vagrant boxes and am still having the issue but with more details. (server settings at bottom of new post)
I ingested a .TIFF file and it shows up properly in the Fedora Commons 3.8 Repository. JP2 derivatives are created properly. I can download them from the repository and view them in exiftool and JP2 image status is confirmed. However when I attempt to view the resulting ingested image via Open Seadragon, it doesn't show up. Blank.
When I reload the page when running the Chrome>View>Developer Tools>Developer Tools>Network>Console
There is a new error: Instead of proper JSON it looks like it is returning the value of the now publicly accessible Adore-djatoka Demo URL page. Odd?
Error: Output
Uncaught Invalid JSON: <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html><head><link rel="shortcut icon" href="images/elogo.gif" /><meta http-equiv="Content-Type" content="text/html; ">
...
to live, taking the form of r...
Hi Giancarlo,
Followed your recently recommended configuration.
What do you recommend here?
OpenSeadragon (Not working despite different values)
/adore-djatoka/resolver (Red X This does not seem to be a functioning Djatoka server.)/adore-djatoka/ (Red X This does not seem to be a functioning Djatoka server.)/adore-djatoka (Red X This does not seem to be a functioning Djatoka server.)
It's very strange ... I'm running out of ideas ...
Paged Content Module (accepts value as suggested)http://islandora.domain.com/adore-djatoka/ (Externally accessible URL to the djatoka instance.djatoka url is valid.)
http://islandora.domain.com/adore-djatoka/ is publicly accessible. I can navigate to it quickly.resolves to Fedora Server Adore-Djatoka Demo (index.html)
--
Try also this on fedora server:
ProxyPass /adore-djatoka http://localhost:8080/adore-djatoka
ProxyPassReverse /adore-djatoka http://localhost:8080/adore-djatoka
[1] https://github.com/Islandora/islandora_openseadragon
On 05/19/2015 03:54 PM, gavin....@commonmediainc.com wrote:
fedora server reverse proxy (configured as below)
ProxyPass /adore-djatoka http://fedoraserver.domain.com:8080/adore-djatokaProxyPassReverse /adore-djatoka
...
--
For more information about using this group, please read our Listserv Guidelines: http://islandora.ca/content/welcome-islandora-listserv
---
You received this message because you are subscribed to a topic in the Google Groups "islandora" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/islandora/tLE-_ya45SI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to islandora+...@googlegroups.com.
...
...
--
For more information about using this group, please read our Listserv Guidelines: http://islandora.ca/content/welcome-islandora-listserv
---
You received this message because you are subscribed to a topic in the Google Groups "islandora" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/islandora/tLE-_ya45SI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to islandora+...@googlegroups.com.
For more information about using this group, please read our Listserv Guidelines: http://islandora.ca/content/welcome-islandora-listserv --- You received this message because you are subscribed to a topic in the Google Groups "islandora" group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/islandora/tLE-_ya45SI/unsubscribe. To unsubscribe from this group and all its topics, send an email to islandora+...@googlegroups.com. Visit this group at http://groups.google.com/group/islandora. For more options, visit https://groups.google.com/d/optout.
Caused by: gov.lanl.adore.djatoka.DjatokaException: Unrecognized file format: java.lang.Exception: Unsupported file format. Cannot find decoder capable of reading: convert5132024202007499297825283658.img
at gov.lanl.adore.djatoka.kdu.KduCompressExe.compressImage(KduCompressExe.java:297)
at gov.lanl.adore.djatoka.openurl.DjatokaImageMigrator.processImage(DjatokaImageMigrator.java:158)
... 26 more
Yup:
JP2* JP2 rw- JPEG-2000 File Format Syntax
Hi Brad,
on my machine (ubuntu 16.04):
convert -list format |grep JP2 -> nothing
convert -list format |grep JPEG-2000
DCM* DCM r-- Digital Imaging and Communications in
Medicine image
DICOM is used by the medical community for images like
X-rays. The
specification, "Digital Imaging and Communications in
Medicine
(DICOM)", is available at http://medical.nema.org/. In
particular,
see part 5 which describes the image encoding (RLE,
JPEG, JPEG-LS),
and supplement 61 which adds JPEG-2000 encoding.
Version: ImageMagick 6.8.9-9 Q16 x86_64 2017-07-31
--
For more information about using this group, please read our Listserv Guidelines: http://islandora.ca/content/welcome-islandora-listserv
---
You received this message because you are subscribed to the Google Groups "islandora" group.
To unsubscribe from this group and stop receiving emails from it, send an email to islandora+...@googlegroups.com.
Visit this group at https://groups.google.com/group/islandora.
To view this discussion on the web visit https://groups.google.com/d/msgid/islandora/9dea2ac9-91c0-4a87-85c0-96bab555f3ec%40googlegroups.com.
--
For more information about using this group, please read our Listserv Guidelines: http://islandora.ca/content/welcome-islandora-listserv
---
You received this message because you are subscribed to a topic in the Google Groups "islandora" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/islandora/tLE-_ya45SI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to islandora+...@googlegroups.com.
Visit this group at https://groups.google.com/group/islandora.
To view this discussion on the web visit https://groups.google.com/d/msgid/islandora/b5873baa-8844-4e45-8bf8-8916524c25f5%40googlegroups.com.