Hi Adam,

The log4j warning are caused by a missing log4j.properties file in your
classpath. Solprovider wrote a nice article about searching in Lenya
with an example log4j.properties file
[http://solprovider.com/solprovider/lenya.nsf/Home?readform&pg=search]

The four nulls in the Error output should contain the crawler setup
(Base URL, Scope URL, User Agent and URI List) configured in the
file crawler-live.xconf.
So my guess is that your "-Dcrawler.xconf" parameter is wrong ?


hope that helps

Michael


Adam LIM wrote:
Hi!!!
Thank you for ya help. I correct the errors about
java.lang.NoClassDefFoundError I got but some new errors come up. This what
the command line returned:

     [echo] INFO: Crawl and dump hypertext documents
(/usr/local/tomcat/webapps/lenya/lenya/pubs/AML-REGION/config/search/lucene-
live.xconf)
     [echo] INFO: Show configuration
     [java] log4j:WARN No appenders could be found for logger
(org.apache.lenya.xml.DOMUtil).
     [java] log4j:WARN Please initialize the log4j system properly.
     [java] null
     [java] null
     [java] null
     [java] null
     [java] java.lang.NullPointerException
     [java]     at
org.apache.tools.ant.taskdefs.ExecuteJava.execute(ExecuteJava.java:172)
     [java]     at org.apache.tools.ant.taskdefs.Java.run(Java.java:705)


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to