Re: Web demo example: Errors from Tomcat startup

2002-02-10 Thread Don Gilchrest - Sun Microsystems
D'oh! Thanks for pointing out that Ian! I looked at the demo instructions again more closing and noticed that Andy had specified ".." as the last argument: java -verbose org.apache.lucene.demo.IndexHTML -create -index {index} .. The command succeeds that way. thanks again, -don (embarrassed)

Re: Web demo example: Errors from Tomcat startup

2002-02-09 Thread Andrew C. Oliver
Hey Don, My earlier correction was only half right. I read it over again, walked through it and corrected it. The error you got below was because you left off the directory at the end (in the instructions it was "..").. I've clarified the instructions and corrected them... Thanks for reporting

Re: Re: Web demo example: Errors from Tomcat startup

2002-02-08 Thread acoliver
you left off the last argument >On Fri, 8 Feb 2002 10:25:55 -0500 (EST) Don Gilchrest - Sun Microsystems <[EMAIL PROTECTED]> wrote. >Hi Andy, > >Thanks for clarifying the demo instructions! > >Now, what about the NPE that Ken Munro cited (included below)? I'm >encountering this too: > >dpgd $TOM

Re: Web demo example: Errors from Tomcat startup

2002-02-08 Thread Ian Lea
> ... > Now, what about the NPE that Ken Munro cited (included below)? I'm > encountering this too: > > dpg% cd $TOMCAT_HOME/webapps/ > dpg% java -verbose org.apache.lucene.demo.IndexHTML -create -index > /opt/lucene/index > ... > [Loaded java.io.RandomAccessFile from /usr/local/j2sdk1_3_1_02/jr

Re: Web demo example: Errors from Tomcat startup

2002-02-08 Thread Don Gilchrest - Sun Microsystems
Hi Andy, Thanks for clarifying the demo instructions! Now, what about the NPE that Ken Munro cited (included below)? I'm encountering this too: dpg% cd $TOMCAT_HOME/webapps/ dpg% java -verbose org.apache.lucene.demo.IndexHTML -create -index /opt/lucene/index ... [Loaded java.io.RandomAccessFi

Re: Re: Web demo example: Errors from Tomcat startup

2002-02-08 Thread acoliver
I'll fix it when I get back from Boston next week. Or if someone else wants to go for it thats cool with me. -Andy >On Fri, 08 Feb 2002 13:59:53 Ian Lea <[EMAIL PROTECTED]> wrote. >Looks like it does. > > >-- >Ian. > >"Andrew C. Oliver" wrote: >> >> Does tomcat 4 understand the 3.2.x hea

Re: Web demo example: Errors from Tomcat startup

2002-02-08 Thread Ian Lea
Looks like it does. -- Ian. "Andrew C. Oliver" wrote: > > Does tomcat 4 understand the 3.2.x header? If so, lets just use the > 3.2.x header. -- To unsubscribe, e-mail: For additional commands, e-mail:

Re: Web demo example: Errors from Tomcat startup

2002-02-08 Thread Andrew C. Oliver
Does tomcat 4 understand the 3.2.x header? If so, lets just use the 3.2.x header. On Fri, 2002-02-08 at 04:55, Ian Lea wrote: > > ... > > note that I make the assumption you're using 4.0.x or know how to adapt it. > > I'd guess if you take that top line and replace it with the top line from > >

Re: Re: Web demo example: Errors from Tomcat startup

2002-02-08 Thread Andrew C. Oliver
ED]> > > List-Help: <mailto:[EMAIL PROTECTED]> > > List-Post: <mailto:[EMAIL PROTECTED]> > > List-Id: "Lucene Users List" > > Delivered-To: mailing list [EMAIL PROTECTED] > > Date: Thu, 7 Feb 2002 06:23:02 -0800 (PST) > > From: acoliver <[E

Re: Web demo example: Errors from Tomcat startup

2002-02-08 Thread Ian Lea
> ... > note that I make the assumption you're using 4.0.x or know how to adapt it. > I'd guess if you take that top line and replace it with the top line from > one of the tomcat 3.2.x example web.xml files, you'll probably hit paydirt. > Probably tomcat can't read the newer format. (but the fil

Re: Re: Web demo example: Errors from Tomcat startup

2002-02-07 Thread acoliver
I'll take a look at the confusing instructions on demo3. I have no idea why the dtd isn't validating. Can anyone else answer this? You might want to pose the dtd problem to the tomcat-user mailing list. Due note that I make the assumption you're using 4.0.x or know how to adapt it. I'd guess

Re: Web demo example: Errors from Tomcat startup

2002-02-07 Thread Ian Lea
The UnknownHostException is probably because the parser trying to read WEB-INF/web.xml wants to lookup the dtd and is failing because it can't locate java.sun.com. Perhaps suprising given your email address! Perhaps you need to fix your local DNS setup so it can find java.sun.com or use a differe

Re: Web demo example: Errors from Tomcat startup

2002-02-06 Thread Ken Munro
>Also, the instructions (in demo3.html) related to this step are a bit >confusing to me and seem like they may be out of order. For example, i>n Indexing files section, it states to execute the command to create >the index within "your {tomcat}/webapps/luceneweb directory"; but that >directory d