tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Kaiser" <michael.kai...@v-connect.com>
Subject AW: servlets problem in apache
Date Mon, 20 Mar 2000 07:41:33 GMT
Try

############################## Context mapping - all requests go to tomcat
ApJServMount /examples /root

michi

-----Ursprüngliche Nachricht-----
Von: Ruslan V. Makarov [mailto:lord@eltegra.ru]
Gesendet: Freitag, 17. März 2000 19:40
An: tomcat-user@jakarta.apache.org
Betreff: servlets problem in apache


Hello tomcat-user,

I have a problem (usual start for such kind of messages, yeas ? :)))
Probably my configuration wrong but i can not find where.

I have Tomcat3.1beta, Apache/Linux

I try to call some servlet - let it be for example standard
HelloWorldExample:
http://www.eltegra.ru/examples/servlet/HelloWorldExample
it can't find it - "The requested URL
/examples/servlet/HelloWorldExample was not found on this server."

in my server.xml i pointed to tomcat to start it's own http-server on
8080 port also so we can call the same servlet on tomcat's engine:
http://www.eltegra.ru:8080/examples/servlet/HelloWorldExample

It works!!!!

The same happens with any servlet
e.g. http://www.eltegra.ru:8080/snoop and http://www.eltegra.ru/snoop

So, from my understanding, web.xml and server.xml are ok. The problem
is in the apache and mod_jserv

This is my include in apache's httpd.conf:

----------------------------------------------
LoadModule jserv_module libexec/mod_jserv.so

<IfModule mod_jserv.c>
ApJServManual on
ApJServDefaultProtocol ajpv12
ApJServSecretKey DISABLED
ApJServMountCopy on
ApJServLogLevel notice

ApJServDefaultPort 8007

AddType test/jsp .jsp
AddHandler jserv-servlet .jsp

</IfModule>
----------------------------------------------

So it assumes default parameters for the docs root directory

I tried to add
ApJServMount /servlet /ROOT
but it does not help.

Help me, please, people.

--
Best regards,
Ruslan
mailto:lord@eltegra.ru



--------------------------------------------------------------------------
To unsubscribe, email: tomcat-user-unsubscribe@jakarta.apache.org
For additional commmands, email: tomcat-user-help@jakarta.apache.org



Mime
View raw message