Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 74397 invoked from network); 29 Aug 2006 20:54:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 29 Aug 2006 20:54:47 -0000 Received: (qmail 16073 invoked by uid 500); 29 Aug 2006 20:54:36 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 15745 invoked by uid 500); 29 Aug 2006 20:54:35 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 15734 invoked by uid 99); 29 Aug 2006 20:54:35 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Aug 2006 13:54:35 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [128.117.91.219] (HELO sam.globe.ucar.edu) (128.117.91.219) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Aug 2006 13:54:34 -0700 Received: from hamburg (hamburg.globe.ucar.edu [128.117.92.31]) by sam.globe.ucar.edu (Postfix) with SMTP id CD1F31D018A for ; Tue, 29 Aug 2006 14:54:13 -0600 (MDT) Message-ID: <028501c6cbad$48b41520$1f5c7580@globe.ucar.edu> From: "David Salisbury" To: Subject: XSQL Date: Tue, 29 Aug 2006 14:54:13 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2869 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2962 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N I'm not sure if I have a tomcat configuration problem or some other problem. I'm try to get Oracle's XSQLServer application up and working under tomcat... but something's amiss. In trying to get a proof of concept going, I'm installing under servlets-examples under the tomcat installation directory. I'm a newbie on tomcat, but it's my understanding that installing applications under the installation directory will help in that I will not have to change server.xml or CLASSPATH. Is that correct? Seems that tomcat _should_ be able to serve /usr/local/tomcat/webapps/servlets-examples/WEB-INF/demo.xml without changes to server.xml, but it only seems to see this file if I put a directive into server.xml. But the above .xml problem may be parenthetical.. back to my XSQL So, I have the class files that Oracle says I need under webapps/servlets-examples/WEB-INF/lib oraclexsql.jar xmlparserv2.jar xsqlserializers.jar xsu12.jar with the XSQLConfig.xml file is in here too In order to get the servlet to kick off with a url referencing a .xsql file extension, I have in servlets-examples/WEB-INF/web.xml xsql oracle/xml/xsql/XSQLServlet xsql *.xsql It seems that indeed, the XSQLServlet app is launched with a url reference to http://farley:8090/servlets-examples/demo.xsql It seems to be found if this demo.xsql file is under WEB-INF or WEB-INF/classes ( normal? ). But I get the error message on the browser: XSQL-001: Cannot locate requested XSQL file. Check the name. either way. I don't see any messages in the tomcat log files. So tomcat seems to find the file, but the servlet doesn't. Adjusting my CLASSPATH to add tomcat/webapps/servlets-examples/WEB-INF in either setclasspath.sh or catalina.sh seems to have no effect. Any help on how things should be set up is more than appreciated. -ds --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org