Thank you Tim.
The FileNotFoundException is fixed. However, another exception broke
the images download.
org.xml.sax.SAXParseException: Premature end of file.
at
com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:
195)
at
com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:
174)
at
com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:
388)
at
com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner.java:
1414)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl
$PrologDriver.next(XMLDocumentScannerImpl.java:1059)
at
com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:
648)
at
com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:
140)
at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:
511)
at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:
808)
at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:
737)
at
com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:
119)
at
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:
1205)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl
$JAXPSAXParser.parse(SAXParserImpl.java:522)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:395)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:198)
at org.nrg.xdat.bean.reader.XDATXMLReader.parse(XDATXMLReader.java:
997)
at org.nrg.xnat.fileManager.DownloaderApplet
$InitSessionThread.InitSession(DownloaderApplet.java:699)
at org.nrg.xnat.fileManager.DownloaderApplet
$InitSessionThread.run(DownloaderApplet.java:554)
The xml file can be pulled by
http://hostname/xnat/archive/catalogs/stored/1306503931787.xml
its content:
<?xml version="1.0" encoding="UTF-8"?>
<cat:Catalog xmlns:arc="
http://nrg.wustl.edu/arc" xmlns:cat="http://
nrg.wustl.edu/catalog" xmlns:fs="
http://nrg.wustl.edu/fs"
xmlns:phd="
http://nrg.wustl.edu/phd" xmlns:pipe="
http://nrg.wustl.edu/
pipe" xmlns:prov="
http://www.nbirn.net/prov" xmlns:val="http://
nrg.wustl.edu/val" xmlns:wrk="
http://nrg.wustl.edu/workflow"
xmlns:xdat="
http://nrg.wustl.edu/security" xmlns:xnat="http://
nrg.wustl.edu/xnat" xmlns:xnat_a="
http://nrg.wustl.edu/
xnat_assessments" xmlns:xsi="
http://www.w3.org/2001/XMLSchema-
instance">
<cat:sets>
<cat:entrySet ID="PREDICTHD_E11173">
<cat:sets>
<cat:entrySet ID="RAW">
<cat:entries>
<cat:entry
URI="
https://hostname/xnat/data/experiments/PREDICTHD_E11173/scans/
T1-30/resources/SNAPSHOTS/files?
format=zip&projectIncludedInPath=true&subjectIncludedInPath=true"
format="ZIP"/>
<cat:entry
URI="
https://hostname/xnat/data/experiments/PREDICTHD_E11173/scans/
T1-30/resources/DICOM/files?
format=zip&projectIncludedInPath=true&subjectIncludedInPath=true"
format="ZIP"/>
<cat:entry
URI="
https://hostname/xnat/data/experiments/PREDICTHD_E11173/scans/
T2-30/resources/SNAPSHOTS/files?
format=zip&projectIncludedInPath=true&subjectIncludedInPath=true"
format="ZIP"/>
<cat:entry
URI="
https://hostname/xnat/data/experiments/PREDICTHD_E11173/scans/
T2-30/resources/DICOM/files?
format=zip&projectIncludedInPath=true&subjectIncludedInPath=true"
format="ZIP"/>
</cat:entries>
</cat:entrySet>
</cat:sets>
</cat:entrySet>
</cat:sets>
</cat:Catalog>
Thanks,
Shuhua
> That is a bug. I've fixed it and just pushed the fix to the public dev repository. You can pull it from there.
>
>
https://bitbucket.org/nrg/xdat_release/src/d8a2ee79c5ef/plugin-resour...
>
> Place that file in your XNAT_HOME/plugin-resources/originals/application-web.xml and run your update.sh -Ddeploy=true command. That should resolve the issue.
>
> Tim
>
> -----Original Message-----
> From:
xnat_di...@googlegroups.com [mailto:
xnat_di...@googlegroups.com] On Behalf Of Shuhua Wu
> Sent: Thursday, May 26, 2011 3:03 PM
> To: xnat_discussion
> Subject: [XNAT Discussion] Download Images doesn't work for XNAT 1.5
>
> Download Images failed in our testing.
>
> Some foundings:
>
> Java console:
> java.io.FileNotFoundException:
http://hostname/xnat/archive/catalogs/stored/1306439377934.xml
>
> 1306439377934.xml exists in cache/4/catalogs/
>
> URL pattern /archive/* is missing in web.xml
>
> Is this a bug or we haven't installed/upgraded properly?
>
> Thanks,
> Shuhua
>
> --
> You received this message because you are subscribed to the Google Groups "xnat_discussion" group.
> To post to this group, send email to
xnat_di...@googlegroups.com.
> To unsubscribe from this group, send email to
xnat_discussi...@googlegroups.com.
> For more options, visit this group athttp://
groups.google.com/group/xnat_discussion?hl=en.