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 2001/01/23 15:57:29 UTC
BugRat Report #823 has been filed.
Bug report #823 has just been filed.
You can view the report at the following URL:
<http://znutar.cortexity.com/BugRatViewer/ShowReport/823>
REPORT #823 Details.
Project: Tomcat
Category: Bug Report
SubCategory: New Bug Report
Class: swbug
State: received
Priority: medium
Severity: non-critical
Confidence: public
Environment:
Release: 3.2.1
JVM Release: 1.2.2_05a
Operating System: Solaris
OS Release: 5.6
Platform: single CPU Sparc
Synopsis:
Exception on wildcard URL servlet mapping
Description:
I am unable to use tomcat 3.2.1 with PathInfo and Servlets. I
tried with Apache and the mod_jserv-Connector (from
Tomcat 3.2.1).
When specifing a servlet mapping like
..
<servlet-name>net.xx.yy.myservlet</servlet-name>
<url-pattern>/servlet/net.xx.yy.myservlet</url-pattern>
..
in web.xml I get a 404 from Tomcat when accessing URLs
like
/servlet/net.xx.yy.myservlet/anyinformation
When specifing a mapping like
..
<servlet-name>net.xx.yy.myservlet</servlet-name>
<url-pattern>/servlet/net.xx.yy.myservlet/*</url-pattern>
..
the response is like this:
Internal Servlet Error:
java.lang.IllegalStateException: Can't happen - classname is null, who added this ?
at java.lang.Throwable.fillInStackTrace(Native Method)
at java.lang.Throwable.fillInStackTrace(Compiled Code)
at java.lang.Throwable.(Compiled Code)
at java.lang.Exception.(Compiled Code)
at java.lang.RuntimeException.(Compiled Code)
at java.lang.IllegalStateException.(Compiled Code)
at org.apache.tomcat.core.ServletWrapper.loadServlet(Compiled Code)
at org.apache.tomcat.core.ServletWrapper.init(Compiled Code)
at org.apache.tomcat.core.Handler.service(Compiled Code)
....
As I guess every time a program says "this can't happen"
a bug is involved, I felt invited to report it like
this.
Regards,
Georg