Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 74217 invoked from network); 23 Sep 2002 02:06:52 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 23 Sep 2002 02:06:52 -0000 Received: (qmail 2212 invoked by uid 97); 23 Sep 2002 02:07:23 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@jakarta.apache.org Received: (qmail 2176 invoked by uid 97); 23 Sep 2002 02:07:22 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 2164 invoked by uid 98); 23 Sep 2002 02:07:21 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Message-ID: From: Toby Saville To: "'Tomcat Users List'" Subject: XML Parsing in Servlet Date: Mon, 23 Sep 2002 12:06:19 +1000 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C262A5.CEE20500" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N ------_=_NextPart_001_01C262A5.CEE20500 Content-Type: text/plain; charset="iso-8859-1" Hi, Im not sure if this is the correct place to post this type of message but ill try anyways. Im trying to parse an XML file in a servlet's init(Servlet config) method on a tomcat4.1 server. I am using a xerces SAX parser. The servlet has a load-on-startup tag in web.xml with a value of 1. When i attempt to parse the file in the init method, the loading of the web server stops. The standard output prints up to: The log file outputs up to "starting filters", but nothing else. i pass a URI compliant string to the parser which looks like this: file:///d:/Projects/portfolio/webapps/xml/metadata.xml I can create a File object using this URI and look at its details in the init method, but as soon as i say parser.parse(fileURI, handler); the loading of tomcat stops. Any ideas why this could be? Thanks -Tobes *************************************************************** This message is intended for the addressee named and may contain confidential information. If you are not the intended recipient, please delete it and notify the sender. Views expressed in this message are those of the individual sender, and are not necessarily the views of the Department of Information Technology & Management. This email message has been swept by MIMEsweeper for the presence of computer viruses. *************************************************************** ------_=_NextPart_001_01C262A5.CEE20500--