tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ruslan V. Makarov" <l...@eltegra.ru>
Subject servlets problem in apache
Date Fri, 17 Mar 2000 18:40:05 GMT
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



Mime
View raw message