You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Jason Garbis <jg...@iona.com> on 1999/12/28 23:13:56 UTC
Servlet configuration questions / problems
hi Folks,
I have (semi) successfully downloaded, installed & configured Apache and
Tomcat on NT.
Apache is working just fine, and Tomcat is working fine with JSPs.
However, I am encountering a problem with the use of servlets -- both with
Tomcat standalone, and with Apache.
The simple examples work perfectly for the JSPs, but fail to work at all
for the servlets.
This happens consistently, both "out of box", as well as with all amounts
of fiddling with web.xml and server.xml.
When I attempt to run the provided example servlets, I just get:
Error: 404
No detailed message
Any pointers or help on this? Is something simply not working, or do I have
to configure things differently?
TIA,
Jason
_______________________________________________________________________
Jason Garbis IONA Technologies Professional Services
jason.garbis@iona.com 781-902-8180
_______________________________________________________________________
Re: Servlet configuration questions / problems
Posted by Jason Garbis <jg...@iona.com>.
Figured out the problem, after a great deal of poking and prodding --
tomcat works properly with servlets, out-of-box.
...a conflicting JAR file was the culprit!
I had another (older!) copy of xml.jar in my jre's lib\ext directory, lying
around from an installation of some beta software a while back.
Figured this out by comparing a clean install of JDK and tomcat on a clean
machine, then diffing the setups.
This is what you get for using a well-worn computer for development!
Unlike fine wines, computers tend not to age well.
Onward...
Jason
At 05:13 PM 12/28/99 -0500, I wrote:
>hi Folks,
>
> I have (semi) successfully downloaded, installed & configured Apache and
>Tomcat on NT.
>Apache is working just fine, and Tomcat is working fine with JSPs.
>
>However, I am encountering a problem with the use of servlets -- both with
>Tomcat standalone, and with Apache.
>
>The simple examples work perfectly for the JSPs, but fail to work at all
>for the servlets.
>This happens consistently, both "out of box", as well as with all amounts
>of fiddling with web.xml and server.xml.
>
>When I attempt to run the provided example servlets, I just get:
>Error: 404
>No detailed message
>
>Any pointers or help on this? Is something simply not working, or do I have
>to configure things differently?
_______________________________________________________________________
Jason Garbis IONA Technologies Professional Services
jason.garbis@iona.com 781-902-8180
_______________________________________________________________________