|
From: Brad T. <br...@ar...> - 2007-11-15 19:55:55
|
There are some newline problems in your last message, but it looks OK at =
first glance.
I haven't run wayback on Windows in a long time - this could be the=20
problem..
Your procedure to install the webapp looks OK. Your changes to the=20
wayback.xml also look good, and placing the ARC file in the 'arcDir'=20
directory should be all that is needed with that configuration.
Are there additional messages in the catalina.out log file indicating=20
that the ARC file(s) were indexed and then merged?
There is also a command line tool (again, not sure if these work on=20
Windows...) called 'bdb-client' that may help you debug the BDB file, or =
at least verify that your documents are in the index, which is the=20
0000000.jdb file you mentioned. As the BDB grows, more files,=20
00000001.jdb, etc, will be created, too.
I'll do a test on Windows in the next day or two.
Brad
Sitttichai Sombat wrote:
> Thanks Brad,for this answer but I checking the catalina.out log file,i=
ts good. This is the catalina.out log file.15 =BE.=C2. 2550 10:52:21 org.=
apache.catalina.core.AprLifecycleListener lifecycleEventINFO: The Apache =
Portable Runtime which allows optimal performance in production environme=
nts was not found on the java.library.path: C:\Program Files\Apache Softw=
are Foundation\Tomcat 5.5\bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS=
\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem15 =BE.=C2. 2550 10:52:21 or=
g.apache.coyote.http11.Http11BaseProtocol initINFO: Initializing Coyote H=
TTP/1.1 on http-808015 =BE.=C2. 2550 10:52:21 org.apache.catalina.startup=
=2ECatalina loadINFO: Initialization processed in 922 ms15 =BE.=C2. 2550 =
10:52:21 org.apache.catalina.core.StandardService startINFO: Starting ser=
vice Catalina15 =BE.=C2. 2550 10:52:21 org.apache.catalina.core.StandardE=
ngine startINFO: Starting Servlet Engine: Apache Tomcat/5.5.1215 =BE.=C2.=
2550 10:52:21 org.apache.catalina.core.StandardHost startINFO: XML v
> alidation disabled15 =BE.=C2. 2550 10:52:22 org.apache.catalina.startu=
p.HostConfig deployWARINFO: Deploying web application archive wayback-web=
app-1.0.1.war15 =BE.=C2. 2550 10:52:22 org.apache.catalina.startup.Contex=
tConfig validateSecurityRolesINFO: WARNING: Security role name wayback us=
ed in an <auth-constraint> without being defined in a <security-role>15 =BE=
=2E=C2. 2550 10:52:22 org.archive.wayback.webapp.RequestFilter initINFO: =
Wayback Filter initializing...15 =BE.=C2. 2550 10:52:23 org.springframewo=
rk.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitionsINFO: Loa=
ding XML bean definitions from file [C:\Program Files\Apache Software Fou=
ndation\Tomcat 5.5\webapps\wayback-webapp-1.0.1\WEB-INF\wayback.xml]15 =BE=
=2E=C2. 2550 10:52:23 org.springframework.beans.factory.support.DefaultLi=
stableBeanFactory preInstantiateSingletonsINFO: Pre-instantiating singlet=
ons in org.springframework.beans.factory.xml.XmlBeanFactory@1c5f743: defi=
ning beans [localbdbcollection,8080:wayback]; root of factory hi
> erarchy15 =BE.=C2. 2550 10:52:23 org.archive.wayback.resourcestore.Loc=
alARCResourceStore$AutoARCIndexThread <init>INFO: AutoARCIndexThread is a=
live.15 =BE.=C2. 2550 10:52:24 org.archive.wayback.resourceindex.bdb.BDBI=
ndexUpdater$BDBIndexUpdaterThread <init>INFO: BDBIndexUpdaterThread is al=
ive.15 =BE.=C2. 2550 10:52:24 org.archive.wayback.webapp.RequestFilter in=
itINFO: Wayback Filter initialization complete.15 =BE.=C2. 2550 10:52:25 =
org.apache.coyote.http11.Http11BaseProtocol startINFO: Starting Coyote HT=
TP/1.1 on http-808015 =BE.=C2. 2550 10:52:25 org.apache.jk.common.Channel=
Socket initINFO: JK: ajp13 listening on /0.0.0.0:800915 =BE.=C2. 2550 10:=
52:25 org.apache.jk.server.JkMain startINFO: Jk running ID=3D0 time=3D0/9=
4 config=3Dnull15 =BE.=C2. 2550 10:52:25 org.apache.catalina.storeconfig=
=2EStoreLoader loadINFO: Find registry server-registry.xml at classpath r=
esource15 =BE.=C2. 2550 10:52:25 org.apache.catalina.startup.Catalina sta=
rtINFO: Server startup in 3937 msThanks again,and this is all work about =
wayback at
> I do.1. I use waback version 1.0.1.2. I place .war file in a non-ROOT=
at "wayback-webapp-1.0.1".3. I place .arc.gz file in the "arcDir" as con=
figured in the wayback.xml configuration file.4. I modify wayback.xml fil=
e as follows: <property name=3D"jsInserts"> <l=
ist> <value>http://localhost:8080/wayback-webapp-1=
=2E0.1/wm.js</value> from =
<value>http://localhost:8080/wm.js</valu=
e> </list> </property> and <prope=
rty name=3D"uriConverter"> <bean class=3D"org.archive.wayback.=
archivalurl.ArchivalUrlResultURIConverter"> <property name=
=3D"replayURIPrefix" value=3D"http://localhost:8080/wayback-webapp-1.0.1/=
wayback/" /> from <property name=3D"replay=
URIPrefix" value=3D"http://localhost:8080/wayback/" /> </bean>=
</property>5. This work is enough.6. File searched=20
> is "00000000.jdb" file yes or no?Thank you very much.Sorry,if this que=
stion is use wrong sentence.> Hi Sitttichai,> > > >> > 1. If I have a ARC=
file. Can I use it immediately?> > The current version requires compress=
ed ARC files (.arc.gz) which using> the automatic indexing features of th=
e wayback software should be all you> need. Just place the .arc.gz files =
in the "arcDir" as configured in the> wayback.xml configuration file. Wit=
h the default wayback.xml> configuration, automatic indexing is enabled. =
If you're still having> problems, you might try checking the catalina.out=
Tomcat log file and see> if you find anything that looks bad -- feel fre=
e to post log messages with> questions.> > The next release, which should=
be available in the next few weeks will> support uncompressed ARC files.=
> > > 2. If I cannot use immediately then how I should be?> > see #1> > >=
3. Wayback must be work relation with NutchWax?> > Wayback does not req=
uire NutchWax. NutchWax allows you to perfo
> rm> full-text searches against documents in your ARC files. Wayback cu=
rrently> allows URL-based searching only, which is enough to browse conte=
nt in ARC> files, and perform queries by URL.> > Brad> > >> > thank yo> >=
> > _________________________________________________________________> > =
Express yourself instantly with MSN Messenger! Download today it's FREE!>=
> http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/-------=
------------------------------------------------------------------> > Thi=
s SF.net email is sponsored by: Splunk Inc.> > Still grepping through log=
files to find problems? Stop.> > Now Search log events and configuratio=
n files using AJAX and a browser.> > Download your FREE copy of Splunk no=
w >>> > http://get.splunk.com/___________________________________________=
____> > Archive-access-discuss mailing list> > Archive-access-discuss@lis=
ts.sourceforge.net> > https://lists.sourceforge.net/lists/listinfo/archiv=
e-access-discuss> >> >=20
> _________________________________________________________________
> Express yourself instantly with MSN Messenger! Download today it's FREE=
!
> http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
> =20
|