www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Detlev Beutner <dbeut...@acg-gmbh.de>
Subject mod_jserv/6148: Apache throws "404 Not Found" if the classpath does not contain required classes
Date Mon, 05 Jun 2000 13:01:05 GMT

>Number:         6148
>Category:       mod_jserv
>Synopsis:       Apache throws "404 Not Found" if the classpath does not contain required
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    jserv
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Mon Jun 05 06:10:00 PDT 2000
>Originator:     dbeutner@acg-gmbh.de
>Release:        1.3.12
WinNT 4.0 SP5
JVM 1.2.2_0.0.5
HotSpot Java Server VM 2.0
Apache JServ 1.1.1
If in "jserv.properties" the "wrapper.classpath" does not contain a class, which is required
in a servlet, apache throws a 404 instead of a JServ-Error that a subclass has not been found.
In addition, even if the logs (jserv.log, mod_jserv.log) have been set to debug, no hint is
given that a class required by a servlet is missing.

This behaviour is not nice at all!
For example, a servlet called "Servlet404" requires JavaMail and therefore imports javax.mail.*

But in wrapper.classpath, there is no path to mail.jar (but the servlet is referred).

 [In order for any reply to be added to the PR database, you need]
 [to include <apbugs@Apache.Org> in the Cc line and make sure the]
 [subject line starts with the report component and number, with ]
 [or without any 'Re:' prefixes (such as "general/1098:" or      ]
 ["Re: general/1098:").  If the subject doesn't match this       ]
 [pattern, your message will be misfiled and ignored.  The       ]
 ["apbugs" address is not added to the Cc line of messages from  ]
 [the database automatically because of the potential for mail   ]
 [loops.  If you do not include this Cc, your reply may be ig-   ]
 [nored unless you are responding to an explicit request from a  ]
 [developer.  Reply only with text; DO NOT SEND ATTACHMENTS!     ]

View raw message