You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@jakarta.apache.org by Brett Knights <br...@KnightsOfTheNet.com> on 2000/06/10 19:45:36 UTC
Servlet Mapping
I have two boxes -
A Win 95 box running Sun jdk 1.2.2 and apache 1.3.9
Classic VM (build JDK-1.2.2-001, native threads, symcjit)
and an mkLinux box running a version of Blackdown and apache 1.3.12
Classic VM(build Linux_JDK_1.2.2_RC4, green threads, nojit)
I have installed the tomcat 3.1 release on each and got both running.
I have not changed the default TOMCAT_HOME/webapps/examples/WEB-INF/web.xml files
When I access
http://eitherbox/examples/SnoopServlet
The example SnoopServlet is invoked as expected.
http://eitherbox/examples/servlet/snoop also works
However:
http://mklinuxbox/examples/snoop this returns a 404
http://win95box/examples/snoop this works
I had to build mod_jserv myself. I just used the apxs call given in the docs.
Any insight would be appreciated.
RE: Servlet Mapping
Posted by Brett Knights <br...@KnightsOfTheNet.com>.
oops!
I had included tomcat.conf on the Win95 box and tomcat-apache.conf on the mkLinux box.
After including tomcat-apache.conf neither responds as I would expect.
I should be able to access
http://defaultbox/examples/servlet/bob.snp
and get the results of SnoopServlet. Instead apache returns a 404 error.
What are the inputs to tomcat-apache.conf?
> -----Original Message-----
>
> I have two boxes -
>
> A Win 95 box running Sun jdk 1.2.2 and apache 1.3.9
> Classic VM (build JDK-1.2.2-001, native threads, symcjit)
>
> and an mkLinux box running a version of Blackdown and apache 1.3.12
> Classic VM(build Linux_JDK_1.2.2_RC4, green threads, nojit)
>
> I have installed the tomcat 3.1 release on each and got both running.
>
> I have not changed the default
> TOMCAT_HOME/webapps/examples/WEB-INF/web.xml files
>
> When I access
>
> http://eitherbox/examples/SnoopServlet
>
> The example SnoopServlet is invoked as expected.
>
> http://eitherbox/examples/servlet/snoop also works
> However:
>
>http://mklinuxbox/examples/snoop this returns a 404
>
>http://win95box/examples/snoop this works
>
>I had to build mod_jserv myself. I just used the apxs call given in the docs.
>
>Any insight would be appreciated.