You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by "Rehman Adil (KI/EAB)" <re...@ericsson.com> on 2005/05/12 10:12:17 UTC
[users@httpd] Urgent Please : Loadbalancing Tomcat using Apache
Hi,
I am trying to use Apache 2.0 on windows to load balance three tomcat workers using mod_jk(mod_jk_1.2.6_2.0.50.dll).
When I browse the URL (http://localhost/jsp-examples/index.jsp), Apache does not forward the request as I get the following in the Apache log file.
File does not exist: C:/apache/Apache2/htdocs/jsp-examples/index.jsp
This means that Apache is not delegating the request to the tomcat workers. Although, I have defined the jsp-examples context in the conf/worker2.properties
file like this:
# Map the Tomcat jsp-examples webapp to the Web server uri space
[uri:/jsp-examples/*.jsp]
info=mapping the jsp-examples context of Tomcat
context=/jsp-examples
group=balanced
In each Tomcat worker, I have a jk2.properties file with different ports, which looks like this.
channelSocket.port=8009
channelSocket.address=localhost
shm.file=c:/cluster/apache/jk2.shm
Any clue ? What could be the reason ?
Regards,
Rehman Adil
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org