Ravi Sharma wrote:
Hi Andre,
       Thanks for reply and sorry for my incomplete reply.
So here is what i have done now.
First i have reinstalled everything again,So i have fresh environment with
apache (version 2.2.3) and tomcat (version 5.5).
JK module(1.2.26 ) is already installed in apache, so i don't need to get it
from anywhere.

Allright ! That was a very good idea.
Now we have a chance to start from a clean situation.

[...]

You can access following files from this url
http://www.jaatmusic.com/log.html
httpd.conf
server.xml
worker.properties
jk.conf which is being included in httpd.conf by using this line Include
conf.d/*.conf
from this url

I looked at this.  That was also a good idea for now.
So,

STEP 1 :
Stop Tomcat and Apache
Go back to the original configuration files.
Really.  Forget your changes for now. Put back
- the original Tomcat server.xml
- the original Apache httpd.conf
- the original workers.properties

STEP 2 :
At the end of the original http.conf, add these lines :
JkLogFile /etc/httpd/logs/jk.log
JkLogLevel debug
JkMount /servlets-examples ajp13w
JkMount /servlet-examples/* ajp13w

(note the change of the URLs and the change of the worker name, to match the existing worker name in workers.properties)

STEP 3 :
Restart Tomcat and Apache, and wait 30 sec.

STEP 4 :
Try :
a) http://www.jaatmusic.com:9080/servlets-examples
b) http://www.jaatmusic.com:80/servlets-examples

Both URLs should give you the same result.

With (a), you access Tomcat directly, through its HTTP connector at port 9080. With (b), you access Tomcat through Apache (at port 80), the Apache mod_jk module, and the Tomcat AJP13 Connector.

Let me know...
And then, we can start making changes again to get the ports you really want etc..

André



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to