|
From: Erik H. <eri...@uc...> - 2008-01-11 15:59:43
|
At Fri, 11 Jan 2008 11:10:41 -0000, "Pope, Jackson" <Jac...@bl...> wrote: >=20 > Hiya Erik, >=20 > Thanks for your help. I've now got an ArcProxy running (by copying > wayback.war to arc-proxy.war, deploying the proxy and changing its > config so only the ArcProxy/LocationDB section is not commented > out), but I still can't see the files. >=20 > I've run curl as you suggested and it appears to work (urls munged > below): > curl http://www.example.com:8080/arc-proxy/locationDB -d operation=3Dadd > -d > name=3D/wap/filestore/2523139/arcs/IAH-20070920101741-00000-wap300.bl.uk.a > rc.gz -d > url=3Dhttp://www.example.com:8080/arc-proxy/arcs/IAH-20070920101741-00000- > wap300.bl.uk.arc.gz > OK added url > http://www.example.com:8080/arc-proxy/arcs/IAH-20070920101741-00000-wap3 > 00.bl.uk.arc.gz for > /wap/filestore/2523139/arcs/IAH-20070920101741-00000-wap300.bl.uk.arc.gz >=20 > Yet when I try to browse the wayback for a URL in that arc I get an > error saying the resource is unavailable with the following error in > catalina.out: > > INFO: initialized org.archive.wayback.resourcestore.http.FileLocationDB > com.sleepycat.je.DatabaseException: Unable to > locate(IAH-20070920101741-00000-wap300.bl.uk.arc.gz) > [=E2=80=A6] >=20 > It's not a problem with the arc file, as this was fine when I was using > a local ARC store. >=20 > Any ideas? Hi Jack. I think that the problem might be that you are using the full path as the name parameter. Can you try using just the ARC name as the name parameter instead? For example: curl http://www.example.com:8080/arc-proxy/locationDB -d operation=3Dadd -d= name=3DIAH-20070920101741-00000-wap300.bl.uk.arc.gz -d url=3Dhttp://www.ex= ample.com:8080/arc-proxy/arcs/IAH-20070920101741-00000-wap300.bl.uk.arc.gz I believe that name is what arc-proxy uses as the lookup key, so it makes sense that the proxy would be unable to locate =E2=80=98IAH-20070920101741-00000-wap300.bl.uk.arc.gz=E2=80=99: it knows th= at ARC as /wap/filestore/... best, Erik Hetzner ;; Erik Hetzner, California Digital Library ;; gnupg key id: 1024D/01DB07E3 |