Return-Path: Delivered-To: apmail-jakarta-lucene-user-archive@apache.org Received: (qmail 53332 invoked from network); 6 Feb 2002 23:49:21 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 6 Feb 2002 23:49:21 -0000 Received: (qmail 18082 invoked by uid 97); 6 Feb 2002 23:49:07 -0000 Delivered-To: qmlist-jakarta-archive-lucene-user@jakarta.apache.org Received: (qmail 17989 invoked by uid 97); 6 Feb 2002 23:49:06 -0000 Mailing-List: contact lucene-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Lucene Users List" Reply-To: "Lucene Users List" Delivered-To: mailing list lucene-user@jakarta.apache.org Received: (qmail 25393 invoked from network); 6 Feb 2002 22:34:57 -0000 Message-Id: <200202062234.RAA28858@kaley.East.Sun.COM> Date: Wed, 6 Feb 2002 17:34:00 -0500 (EST) From: Don Gilchrest - Sun Microsystems Reply-To: Don Gilchrest - Sun Microsystems Subject: Web demo example: Errors from Tomcat startup To: lucene-user@jakarta.apache.org Cc: Donald.Gilchrest@Sun.COM MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii Content-MD5: JJCknweEaY9afa7UZzaLHg== X-Mailer: dtmail 1.3.0 @(#)CDE Version 1.4.2 SunOS 5.8 sun4u sparc X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi, I'm going through the Lucene 'Getting Started" Guide and am up to creating the index for the Web app. After copying lucene-1.2-rc3/luceneweb.war to $TOMCAT_HOME/webapps, the following errors are reported when I startup Tomcat (v3.2.1): XmlMapper: Can't find resource for entity: -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN --> http://java.sun.com/dtd/web-app_2_3.dtd "null" ERROR reading /opt/jakarta-tomcat-3.2.1/webapps/luceneweb/WEB-INF/web.xml At External entity not found: "http://java.sun.com/dtd/web-app_2_3.dtd". ERROR reading /opt/jakarta-tomcat-3.2.1/webapps/luceneweb/WEB-INF/web.xml java.net.UnknownHostException: java.sun.com at java.net.InetAddress.getAllByName0(InetAddress.java:571) at java.net.InetAddress.getAllByName0(InetAddress.java:540) at java.net.InetAddress.getByName(InetAddress.java:449) at java.net.Socket.(Socket.java:100) at sun.net.NetworkClient.doConnect(NetworkClient.java:50) at sun.net.www.http.HttpClient.openServer(HttpClient.java:335) at sun.net.www.http.HttpClient.openServer(HttpClient.java:521) at sun.net.www.http.HttpClient.(HttpClient.java:271) at sun.net.www.http.HttpClient.(HttpClient.java:281) at sun.net.www.http.HttpClient.New(HttpClient.java:293) at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:404) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.jav a:497) at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:230) at com.sun.xml.parser.Resolver.createInputSource(Resolver.java:248) at com.sun.xml.parser.ExternalEntity.getInputSource(ExternalEntity.java:49) at com.sun.xml.parser.Parser.pushReader(Parser.java:2768) at com.sun.xml.parser.Parser.externalParameterEntity(Parser.java:2504) at com.sun.xml.parser.Parser.maybeDoctypeDecl(Parser.java:1137) at com.sun.xml.parser.Parser.parseInternal(Parser.java:481) at com.sun.xml.parser.Parser.parse(Parser.java:284) at javax.xml.parsers.SAXParser.parse(SAXParser.java:155) at javax.xml.parsers.SAXParser.parse(SAXParser.java:126) at org.apache.tomcat.util.xml.XmlMapper.readXml(XmlMapper.java:214) at org.apache.tomcat.context.WebXmlReader.processWebXmlFile(WebXmlReader.java:202) at org.apache.tomcat.context.WebXmlReader.contextInit(WebXmlReader.java:109) at org.apache.tomcat.core.ContextManager.initContext(ContextManager.java:491) at org.apache.tomcat.core.ContextManager.init(ContextManager.java:453) at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:195) at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235) 2002-02-06 04:51:53 - PoolTcpConnector: Starting HttpConnectionHandler on 8080 2002-02-06 04:51:53 - PoolTcpConnector: Starting Ajp12ConnectionHandler on 8007 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, in Indexing files section, it states to execute the command to create the index within "your {tomcat}/webapps/luceneweb directory"; but that directory doesn't exist until I do the next step -- copying luceneweb.war to {tomcat}/webapps and re-start Tomcat, which is when I get the errors shown above. What am I missing here? Thanks in advance for any help with this. regards, -don PS Here's my classpath output from 'tomcat.sh start': /opt/jakarta-tomcat-3.2.1/lib/ant.jar:/opt/jakarta-tomcat-3.2.1/lib/jasper.jar:/ opt/jakarta-tomcat-3.2.1/lib/jaxp.jar:/opt/jakarta-tomcat-3.2.1/lib/parser.jar:/ opt/jakarta-tomcat-3.2.1/lib/servlet.jar:/opt/jakarta-tomcat-3.2.1/lib/test:/opt /jakarta-tomcat-3.2.1/lib/webserver.jar:/usr/local/j2sdk1_3_1_02/lib/tools.jar:/ usr/local/lucene-1.2-rc3/lucene-1.2-rc3.jar:/usr/local/lucene-1.2-rc3/lucene-dem os-1.2-rc3.jar:.:/usr/local/j2sdk1_3_1_02/lib/dt.jar:/usr/local/j2sdk1_3_1_02/li b/tools.jar:/usr/local/j2sdk1_3_1_02/lib/htmlconverter.jar:/usr/local/jdom-b7/bu ild/jdom.jar:/opt/java/jsdk2.2/lib/jsdk.jar Let me know if I need to provide any other info. -- To unsubscribe, e-mail: For additional commands, e-mail: