You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by KK CHN <kk...@gmail.com> on 2009/07/29 15:38:25 UTC

[users@httpd] apache ajp interconnection Issue

Hi  list,

I am trying     ajp   connector  for apache  to   tomcat

using   mod_ajp    apache2.2   and tomcat  5.5    on Debian platform

apache  and  Tomcat  are in separate  boxes  both are in  same  LAN.  and
apache  machine is bind to  a public IP address  in firwall level.

this is the virtual host configuration


<VirtualHost *:80>
ServerName demo.mydomain.in
ProxyPass /    balancer://mycluster/
ProxyPassReverse /     balancer://mycluster/
<Proxy balancer://mycluster>
BalancerMember ajp://192.168.31.128:8009/MyJava min=10 max=100
Allow from all
</Proxy>


when I access   demo.mydomain.in     the home page of   MyJava      is
served  by my apache box,  and when  enter  login name & password to login
into the application     and press submit button  ,  getting  error  in
browser
the requested resource path is incorrect   .

But  If  I access the  MyJava  application from  the  Ipaddress of the
tomcat box    by http://Ipaddress:8080/MyJava
able to login and perform  actions in the Java applications.

What I made  wrong ,     any   error  in  the Vhost    entry.

Let me request h   your  valuable  advice  and   hints to solve the issue


Thanks in advance
kk

RE: [users@httpd] apache ajp interconnection Issue

Posted by Boyle Owen <Ow...@six-group.com>.
>        BalancerMember ajp://192.168.31.128:8009/MyJava min=10 max=100

> http://Ipaddress:8080/MyJava
       
Not same port.

What happens if you try direct login to back-end on same port as
Balancer (8009)?

Rgds,
Owen Boyle
Disclaimer: Any disclaimer attached to this message may be ignored. 
 
This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. If you receive this message in error, please notify the sender urgently and then immediately delete the message and any copies of it from your system. Please also immediately destroy any hardcopies of the message. 
The sender's company reserves the right to monitor all e-mail communications through their networks.

---------------------------------------------------------------------
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