Since 4.1.12 - tomcat doesn't leave the invoker serlvet on by default. The invoker servlet is the "magic" servlet that allows you to run servlets without registering them in web.xml

For more information see here:
http://tomcatfaq.sourceforge.net/miscellaneous.html

-Tim

Mantri, Mr. Ramesh wrote:
Hi,
Trying to configure Apache 2.0.43 to work with Tomcat 4.1. Module mod_jk
(1.2.2)
was loaded in the modules directory. Inserted appropriate lines in Apache
httpd.conf
and tested with "apachectl configtest".


Apache httpd.conf
---------------------------
LoadModule jk_module modules/mod_jk.so

<IfModule mod_jk.c>

   JkWorkersFile /var/tomcat4/conf/workers.properties
   JkLogFile logs/mod_jk.log
   JkLogLevel info
   JkLogStampFormat "[%a %b %d %H:%M:%s %Y] "

   #JkMount /servlet ajp13
   JkMount /servlet/* ajp13

</IfModule>

Tomcat workers.properties
--------------------------------------
workers.tomcat_home=/var/tomcat4
workers.java_home=/usr/java/jdk

worker.list=ajp12, ajp13

worker.ajp12.port=8007
worker.ajp12.host=HOST_IP (I mean actual value)
worker.ajp12.type=ajp12

worker.ajp13.port=8009
worker.ajp13.host=HOST_IP
worker.ajp13.type=ajp13

Obviously my configuration is not complete. I have been gathering bits and
pieces on the configuration from the web. I need help in completing the
configuration.
When I try to access servlets, I get the following error message:

HTTP Status 404 - /servlet/HelloWorldExample
--------------------------------------------------------------------
type: Status report
message: /servlet/HelloWorldExample
description: The requested resource (/servlet/HelloWorldExample) is not
available.

Appreciate help in completing the configuration. Thanks.
sincerely,
Ramesh

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to