You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by BugRat Mail System <to...@cortexity.com> on 2000/09/08 20:19:57 UTC

BugRat Report #94 has been filed.

Bug report #94 has just been filed.

You can view the report at the following URL:

   <http://znutar.cortexity.com:8888/BugRatViewer/ShowReport/94>

REPORT #94 Details.

Project: Tomcat
Category: Bug Report
SubCategory: New Bug Report
Class: swbug
State: received
Priority: high
Severity: critical
Confidence: public
Environment: 
   Release: 3.1
   JVM Release: 1.2.2
   Operating System: Solaris
   OS Release: 2.6
   Platform: Sun

Synopsis: 
wild card mapping to servlet doesn't work through apache

Description:
I downloaded Oracles XML Servlet to run under apache-tomcat and followed the install instructions.  When I put in http://myhost:8080/xsql/anyfile.xsql the servlet is invoked.  When I put in http://myhost/xsql/servlet/<anyfile>.xsql I get a java.lang.ClassNotFoundException: anyfile.xsql in the tomcat.log.  
Apache is config correctly:

Alias /xsql /usr/local/tomcat/webapps/xsql
<Directory "/usr/local/tomcat/webapps/xsql">
    Options Indexes FollowSymLinks
</Directory>
ApJServMount /xsql/servlet /xsql
<Location /xsql/WEB-INF/ >
    AllowOverride None
    deny from all
</Location>

As is tomcat context and xsql/WEB-INF/web.xml which maps the servlet to *.xsql files.  The problem appears when the URL goes through mod_jserv then over to tomcat.  ANy fixes out there?