You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2001/02/04 20:05:05 UTC
[Bug 100] New - wild card mapping to servlet doesn't work through apache BugRat Report#94
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=100
*** shadow/100 Sun Feb 4 11:05:05 2001
--- shadow/100.tmp.2727 Sun Feb 4 11:05:05 2001
***************
*** 0 ****
--- 1,30 ----
+ +============================================================================+
+ | wild card mapping to servlet doesn't work through apache BugRat Report#94 |
+ +----------------------------------------------------------------------------+
+ | Bug #: 100 Product: Tomcat 3 |
+ | Status: UNCONFIRMED Version: Unknown |
+ | Resolution: Platform: Sun |
+ | Severity: Normal OS/Version: All |
+ | Priority: High Component: Connectors |
+ +----------------------------------------------------------------------------+
+ | Assigned To: danmil@shore.net |
+ | Reported By: anonymous-bug@cortexity.com |
+ | CC list: Cc: |
+ +----------------------------------------------------------------------------+
+ | URL: |
+ +============================================================================+
+ | 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?