From: Mahmoud M. <mah...@bi...> - 2011-05-18 08:17:21
|
Thanks Brad for your reply. By default AccessPoint name, wayback, I have tried "http://localhost.archive.org:8080/wayback/wayback/" but with "HTTP Status 404 - /wayback/wayback" response. Instead, http://localhost.archive.org:8080/wayback/" showed the UI with no problem. But when I clicked on the "Take Me Back" button, the error I mentioned before: *HTTP Status 404 - /query _____________________________________________________________________ type Status report message /query description The requested resource (/query) is not available. * The URL became "http://localhost.archive.org:8080/query?type=urlquery&url=http%3A%2F%2Farchive.org&date&Submit=Take+Me+Back." I have tried to add wayback/ in the URL as "http://localhost.archive.org:8080/*wayback/*query?type=urlquery&url=http%3A%2F%2Farchive.org&date&Submit=Take+Me+Back" or even "http://localhost.archive.org:8080/*wayback/wayback/*query?type=urlquery&url=http%3A%2F%2Farchive.org&date&Submit=Take+Me+Back" with no change. Using the reference, I have tried also "http://localhost.archive.org:8080/wayback/wayback/*/http://archive.org/", but ,again, an error: "HTTP Status 404 - /wayback/wayback/*/http://archive.org/" My wayback.xml: <bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"> <property name="properties"> <value> wayback.basedir=/var/lib/tomcat6/webapps/wayback wayback.urlprefix=http://localhost.archive.org:8080/wayback/ </value> </property> </bean> <bean name="8080:wayback" class="org.archive.wayback.webapp.AccessPoint"> <property name="serveStatic" value="true" /> <property name="bounceToReplayPrefix" value="false" /> <property name="bounceToQueryPrefix" value="false" /> <property name="replayPrefix" value="${wayback.urlprefix}" /> <property name="queryPrefix" value="${wayback.urlprefix}" /> <property name="staticPrefix" value="${wayback.urlprefix}" /> <!-- <property name="exactHostMatch" value="true" /> --> <property name="collection" ref="localbdbcollection" /> <!-- <property name="collection" ref="localcdxcollection" /> --> <property name="replay" ref="archivalurlreplay" /> <property name="query"> <bean class="org.archive.wayback.query.Renderer"> <property name="captureJsp" value="/WEB-INF/query/CalendarResults.jsp" /> <!-- This .jsp provides a "search engine" style listing of results vertically <property name="captureJsp" value="/WEB-INF/query/HTMLCaptureResults.jsp" /> --> </bean> </property> <property name="uriConverter"> <bean class="org.archive.wayback.archivalurl.ArchivalUrlResultURIConverter"> <property name="replayURIPrefix" value="${wayback.urlprefix}"/> </bean> </property> <property name="parser"> <bean class="org.archive.wayback.archivalurl.ArchivalUrlRequestParser"> <property name="maxRecords" value="10000" /> <!-- <property name="earliestTimestamp" value="1999" /> <property name="latestTimestamp" value="2004" /> --> </bean> </property> <!-- See the LiveWeb.xml import above. <property name="exclusionFactory" ref="excluder-factory-static" /> --> </bean> -- Mahmoud A. Mubarak Bibliotheca Alexandrina On 05/17/2011 07:19 PM, Bradley Tofel wrote: > Hi Mahmoud, > > Do you intend to run Wayback as the ROOT context? This is the > recommended deployment mode, enabling Wayback to successfully handle > some server-relative URLs that are not replayed correctly. If so, > you'll need to name the .war file "ROOT.war" in the webapps directory. > > If you are unable to run Wayback in the ROOT webapp context, then > you'll need to specify the correct AccessPoint URL, which will depend > on the bean name in your wayback.xml. > > By default, the AccessPoint name is "wayback", meaning the URL for > your AccessPoint would be > "http://localhost.archive.org:8080/wayback/wayback/". > > Please refer to: > > http://archive-access.sourceforge.net/projects/wayback/access_point_naming.html > > for more specific examples and help with Access Point names. > > Please let me know if this doesn't help you resolve the problem! > > Brad > > On 5/17/11 6:36 AM, Mahmoud Mubarak wrote: >> I have done the following steps after installing tomcat: >> >> - Stopped tomcat >> - Placed wayback.war in /var/lib/tomcat6/webapps >> - Changed wayback.basedir=wayback to be >> wayback.basdir=/var/lib/tomcat6/webapps/wayback >> - Made a soft link from files1 to my warc directory as: >> root@mymachine:/var/lib/tomcat6/webapps/wayback# ln -s <absolute path >> of warc directory> files1 >> -Started tomcat >> >> When I wrote a URL in the text box in >> http://localhost.archive.org:8080/wayback/ and click "take Me Back", >> this error appeared: >> >> *HTTP Status 404 - /query >> _____________________________________________________________________ >> type Status report >> message /query >> description The requested resource (/query) is not available. >> >> *How can I solve this problem? How can I change years range in the >> drop down list in http://localhost.archive.org:8080/wayback/? >> >> Thanks in advance for your help. >> -- >> Mahmoud A. Mubarak >> Software Engineer, ICT Sector >> Bibliotheca Alexandrina >> P.O. Box 138 >> 21526 El Shatby, Alexandria >> Tel: +20-3-4839999 >> Fax: +20-3-4820405 >> E-mail:mah...@bi... >> >> >> ------------------------------------------------------------------------------ >> Achieve unprecedented app performance and reliability >> What every C/C++ and Fortran developer should know. >> Learn how Intel has extended the reach of its next-generation tools >> to help boost performance applications - inlcuding clusters. >> http://p.sf.net/sfu/intel-dev2devmay >> >> >> _______________________________________________ >> Archive-access-discuss mailing list >> Arc...@li... >> https://lists.sourceforge.net/lists/listinfo/archive-access-discuss |