You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by rohit2006 <ro...@yahoo.com> on 2006/11/27 12:40:57 UTC

ofbiz with mod_proxy_ajp on apache 2.2 and FC5

Hi,

Has anyone tried ofbiz with mod_proxy_ajp on apache 2.2 and FC5. Please
share your experience with it. I am trying to use it but without success.
There is some information about it on rimuhosting.com and old wiki, but they
didn't work.

I assume this is way to use mod_proxy_ajp:

ProxyPass /ecommerce ajp://localhost:8009/ecommerce

I am getting the following error:

[Mon Nov 27 03:07:48 2006] [error] (13)Permission denied: proxy: AJP:
attempt to connect to 127.0.0.1:8009 (localhost) failed
[Mon Nov 27 03:07:48 2006] [error] ap_proxy_connect_backend disabling worker
for (localhost)
[Mon Nov 27 03:07:48 2006] [error] proxy: AJP: failed to make connection to
backend: localhost
[Mon Nov 27 03:07:50 2006] [error] proxy: AJP: disabled connection for
(localhost)
[Mon Nov 27 03:07:52 2006] [error] proxy: AJP: disabled connection for
(localhost)

I am not sure if ajp is disable and if it is then how to enable it. Ofbiz
console log shows that its listing on 127.0.0.1 at port 8009. 

If some one has any idea or suggestion, then please do help.

Rohit
-- 
View this message in context: http://www.nabble.com/ofbiz-with-mod_proxy_ajp-on-apache-2.2-and-FC5-tf2711280.html#a7558644
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: ofbiz with mod_proxy_ajp on apache 2.2 and FC5

Posted by rohit2006 <ro...@yahoo.com>.
Hi Phani,

Does the log help in any way in determing what might be the issue.


[Mon Nov 27 03:07:48 2006] [error] (13)Permission denied: proxy: AJP:
attempt to connect to 127.0.0.1:8009 (localhost) failed
[Mon Nov 27 03:07:48 2006] [error] ap_proxy_connect_backend disabling worker
for (localhost)
[Mon Nov 27 03:07:48 2006] [error] proxy: AJP: failed to make connection to
backend: localhost
[Mon Nov 27 03:07:50 2006] [error] proxy: AJP: disabled connection for
(localhost)
[Mon Nov 27 03:07:52 2006] [error] proxy: AJP: disabled connection for
(localhost) 



Rohit


G.Venkata Phanindra wrote:
> 
> Hi rohit,
>            Its
> <weapp
>           ...........
>      .............
> 
>        >  <virtual-host host-name="http://yourip/ or the location from
> where
> u wantto acess like  www.abc.com"/>
> </webapp>
> sorry for ot giving complty i am not having environment now .......
>     u have to add this for all applications u want to access .....
> Cheers
> Phani
> 
> 
> On 11/28/06, rohit2006 <ro...@yahoo.com> wrote:
>>
>>
>> can you give an example of how to create a virtual in
>> ofbiz-component.xmland
>> do i have to do this in all file.
>>
>> rohit
>>
>> G.Venkata Phanindra wrote:
>> >
>> > Hi rohit...
>> >     U have to define the following in apache.conf or httpd.conf
>> > i.e ..
>> >         ProxyPass / ajp:// your ip:8009/
>> > and in ofbiz u have to add this ajp port in ofbiz-containers.xml
>> > u have to access somthing like http://yourip/ rather than
>> > http://yourip:8009/
>> > u also have to define virtua-host in odfbiz-component.xml
>> >
>> > try it.......
>> > let me know if  u need more info
>> >
>> > regards
>> > G Venkata Phanindra....
>> >
>> >
>> >
>> > On 11/27/06, rohit2006 <ro...@yahoo.com> wrote:
>> >>
>> >>
>> >> Hi,
>> >>
>> >> Has anyone tried ofbiz with mod_proxy_ajp on apache 2.2 and FC5.
>> Please
>> >> share your experience with it. I am trying to use it but without
>> success.
>> >> There is some information about it on rimuhosting.com and old wiki,
>> but
>> >> they
>> >> didn't work.
>> >>
>> >> I assume this is way to use mod_proxy_ajp:
>> >>
>> >> ProxyPass /ecommerce ajp://localhost:8009/ecommerce
>> >>
>> >> I am getting the following error:
>> >>
>> >> [Mon Nov 27 03:07:48 2006] [error] (13)Permission denied: proxy: AJP:
>> >> attempt to connect to 127.0.0.1:8009 (localhost) failed
>> >> [Mon Nov 27 03:07:48 2006] [error] ap_proxy_connect_backend disabling
>> >> worker
>> >> for (localhost)
>> >> [Mon Nov 27 03:07:48 2006] [error] proxy: AJP: failed to make
>> connection
>> >> to
>> >> backend: localhost
>> >> [Mon Nov 27 03:07:50 2006] [error] proxy: AJP: disabled connection for
>> >> (localhost)
>> >> [Mon Nov 27 03:07:52 2006] [error] proxy: AJP: disabled connection for
>> >> (localhost)
>> >>
>> >> I am not sure if ajp is disable and if it is then how to enable it.
>> Ofbiz
>> >> console log shows that its listing on 127.0.0.1 at port 8009.
>> >>
>> >> If some one has any idea or suggestion, then please do help.
>> >>
>> >> Rohit
>> >> --
>> >> View this message in context:
>> >>
>> http://www.nabble.com/ofbiz-with-mod_proxy_ajp-on-apache-2.2-and-FC5-tf2711280.html#a7558644
>> >> Sent from the OFBiz - User mailing list archive at Nabble.com.
>> >>
>> >>
>> >
>> >
>> > --
>> > G.Venkata Phanindra
>> > Mob:: 9849852989
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/ofbiz-with-mod_proxy_ajp-on-apache-2.2-and-FC5-tf2711280.html#a7581586
>> Sent from the OFBiz - User mailing list archive at Nabble.com.
>>
>>
> 
> 
> -- 
> G.Venkata Phanindra
> Mob:: 9849852989
> 
> 

-- 
View this message in context: http://www.nabble.com/ofbiz-with-mod_proxy_ajp-on-apache-2.2-and-FC5-tf2711280.html#a7771360
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: ofbiz with mod_proxy_ajp on apache 2.2 and FC5

Posted by rohit2006 <ro...@yahoo.com>.
Hi thanks for the help.

I am sorry i am still getting this error:

[Tue Nov 28 08:44:56 2006] [error] (13)Permission denied: proxy: AJP:
attempt to connect to 127.0.0.1:8009 (localhost) failed
[Tue Nov 28 08:44:56 2006] [error] ap_proxy_connect_backend disabling worker
for (localhost)
[Tue Nov 28 08:44:56 2006] [error] proxy: AJP: failed to make connection to
backend: localhost
[Tue Nov 28 08:45:03 2006] [error] proxy: AJP: disabled connection for
(localhost)


Is it a issue with AJP, i mean i am using the default apache setup. Do we
have to make some adjustments to it and also can it be a firewall issue.

i greatly appreciate your help

Rohit


G.Venkata Phanindra wrote:
> 
> Hi rohit,
>            Its
> <weapp
>           ...........
>      .............
> 
>        >  <virtual-host host-name="http://yourip/ or the location from
> where
> u wantto acess like  www.abc.com"/>
> </webapp>
> sorry for ot giving complty i am not having environment now .......
>     u have to add this for all applications u want to access .....
> Cheers
> Phani
> 
> 
> On 11/28/06, rohit2006 <ro...@yahoo.com> wrote:
>>
>>
>> can you give an example of how to create a virtual in
>> ofbiz-component.xmland
>> do i have to do this in all file.
>>
>> rohit
>>
>> G.Venkata Phanindra wrote:
>> >
>> > Hi rohit...
>> >     U have to define the following in apache.conf or httpd.conf
>> > i.e ..
>> >         ProxyPass / ajp:// your ip:8009/
>> > and in ofbiz u have to add this ajp port in ofbiz-containers.xml
>> > u have to access somthing like http://yourip/ rather than
>> > http://yourip:8009/
>> > u also have to define virtua-host in odfbiz-component.xml
>> >
>> > try it.......
>> > let me know if  u need more info
>> >
>> > regards
>> > G Venkata Phanindra....
>> >
>> >
>> >
>> > On 11/27/06, rohit2006 <ro...@yahoo.com> wrote:
>> >>
>> >>
>> >> Hi,
>> >>
>> >> Has anyone tried ofbiz with mod_proxy_ajp on apache 2.2 and FC5.
>> Please
>> >> share your experience with it. I am trying to use it but without
>> success.
>> >> There is some information about it on rimuhosting.com and old wiki,
>> but
>> >> they
>> >> didn't work.
>> >>
>> >> I assume this is way to use mod_proxy_ajp:
>> >>
>> >> ProxyPass /ecommerce ajp://localhost:8009/ecommerce
>> >>
>> >> I am getting the following error:
>> >>
>> >> [Mon Nov 27 03:07:48 2006] [error] (13)Permission denied: proxy: AJP:
>> >> attempt to connect to 127.0.0.1:8009 (localhost) failed
>> >> [Mon Nov 27 03:07:48 2006] [error] ap_proxy_connect_backend disabling
>> >> worker
>> >> for (localhost)
>> >> [Mon Nov 27 03:07:48 2006] [error] proxy: AJP: failed to make
>> connection
>> >> to
>> >> backend: localhost
>> >> [Mon Nov 27 03:07:50 2006] [error] proxy: AJP: disabled connection for
>> >> (localhost)
>> >> [Mon Nov 27 03:07:52 2006] [error] proxy: AJP: disabled connection for
>> >> (localhost)
>> >>
>> >> I am not sure if ajp is disable and if it is then how to enable it.
>> Ofbiz
>> >> console log shows that its listing on 127.0.0.1 at port 8009.
>> >>
>> >> If some one has any idea or suggestion, then please do help.
>> >>
>> >> Rohit
>> >> --
>> >> View this message in context:
>> >>
>> http://www.nabble.com/ofbiz-with-mod_proxy_ajp-on-apache-2.2-and-FC5-tf2711280.html#a7558644
>> >> Sent from the OFBiz - User mailing list archive at Nabble.com.
>> >>
>> >>
>> >
>> >
>> > --
>> > G.Venkata Phanindra
>> > Mob:: 9849852989
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/ofbiz-with-mod_proxy_ajp-on-apache-2.2-and-FC5-tf2711280.html#a7581586
>> Sent from the OFBiz - User mailing list archive at Nabble.com.
>>
>>
> 
> 
> -- 
> G.Venkata Phanindra
> Mob:: 9849852989
> 
> 

-- 
View this message in context: http://www.nabble.com/ofbiz-with-mod_proxy_ajp-on-apache-2.2-and-FC5-tf2711280.html#a7582887
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: ofbiz with mod_proxy_ajp on apache 2.2 and FC5

Posted by "G.Venkata Phanindra" <ph...@gmail.com>.
Hi rohit,
           Its
<weapp
          ...........
     .............

       >  <virtual-host host-name="http://yourip/ or the location from where
u wantto acess like  www.abc.com"/>
</webapp>
sorry for ot giving complty i am not having environment now .......
    u have to add this for all applications u want to access .....
Cheers
Phani


On 11/28/06, rohit2006 <ro...@yahoo.com> wrote:
>
>
> can you give an example of how to create a virtual in ofbiz-component.xmland
> do i have to do this in all file.
>
> rohit
>
> G.Venkata Phanindra wrote:
> >
> > Hi rohit...
> >     U have to define the following in apache.conf or httpd.conf
> > i.e ..
> >         ProxyPass / ajp:// your ip:8009/
> > and in ofbiz u have to add this ajp port in ofbiz-containers.xml
> > u have to access somthing like http://yourip/ rather than
> > http://yourip:8009/
> > u also have to define virtua-host in odfbiz-component.xml
> >
> > try it.......
> > let me know if  u need more info
> >
> > regards
> > G Venkata Phanindra....
> >
> >
> >
> > On 11/27/06, rohit2006 <ro...@yahoo.com> wrote:
> >>
> >>
> >> Hi,
> >>
> >> Has anyone tried ofbiz with mod_proxy_ajp on apache 2.2 and FC5. Please
> >> share your experience with it. I am trying to use it but without
> success.
> >> There is some information about it on rimuhosting.com and old wiki, but
> >> they
> >> didn't work.
> >>
> >> I assume this is way to use mod_proxy_ajp:
> >>
> >> ProxyPass /ecommerce ajp://localhost:8009/ecommerce
> >>
> >> I am getting the following error:
> >>
> >> [Mon Nov 27 03:07:48 2006] [error] (13)Permission denied: proxy: AJP:
> >> attempt to connect to 127.0.0.1:8009 (localhost) failed
> >> [Mon Nov 27 03:07:48 2006] [error] ap_proxy_connect_backend disabling
> >> worker
> >> for (localhost)
> >> [Mon Nov 27 03:07:48 2006] [error] proxy: AJP: failed to make
> connection
> >> to
> >> backend: localhost
> >> [Mon Nov 27 03:07:50 2006] [error] proxy: AJP: disabled connection for
> >> (localhost)
> >> [Mon Nov 27 03:07:52 2006] [error] proxy: AJP: disabled connection for
> >> (localhost)
> >>
> >> I am not sure if ajp is disable and if it is then how to enable it.
> Ofbiz
> >> console log shows that its listing on 127.0.0.1 at port 8009.
> >>
> >> If some one has any idea or suggestion, then please do help.
> >>
> >> Rohit
> >> --
> >> View this message in context:
> >>
> http://www.nabble.com/ofbiz-with-mod_proxy_ajp-on-apache-2.2-and-FC5-tf2711280.html#a7558644
> >> Sent from the OFBiz - User mailing list archive at Nabble.com.
> >>
> >>
> >
> >
> > --
> > G.Venkata Phanindra
> > Mob:: 9849852989
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/ofbiz-with-mod_proxy_ajp-on-apache-2.2-and-FC5-tf2711280.html#a7581586
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>
>


-- 
G.Venkata Phanindra
Mob:: 9849852989

Re: ofbiz with mod_proxy_ajp on apache 2.2 and FC5

Posted by rohit2006 <ro...@yahoo.com>.
can you give an example of how to create a virtual in ofbiz-component.xml and
do i have to do this in all file.

rohit

G.Venkata Phanindra wrote:
> 
> Hi rohit...
>     U have to define the following in apache.conf or httpd.conf
> i.e ..
>         ProxyPass / ajp:// your ip:8009/
> and in ofbiz u have to add this ajp port in ofbiz-containers.xml
> u have to access somthing like http://yourip/ rather than
> http://yourip:8009/
> u also have to define virtua-host in odfbiz-component.xml
> 
> try it.......
> let me know if  u need more info
> 
> regards
> G Venkata Phanindra....
> 
> 
> 
> On 11/27/06, rohit2006 <ro...@yahoo.com> wrote:
>>
>>
>> Hi,
>>
>> Has anyone tried ofbiz with mod_proxy_ajp on apache 2.2 and FC5. Please
>> share your experience with it. I am trying to use it but without success.
>> There is some information about it on rimuhosting.com and old wiki, but
>> they
>> didn't work.
>>
>> I assume this is way to use mod_proxy_ajp:
>>
>> ProxyPass /ecommerce ajp://localhost:8009/ecommerce
>>
>> I am getting the following error:
>>
>> [Mon Nov 27 03:07:48 2006] [error] (13)Permission denied: proxy: AJP:
>> attempt to connect to 127.0.0.1:8009 (localhost) failed
>> [Mon Nov 27 03:07:48 2006] [error] ap_proxy_connect_backend disabling
>> worker
>> for (localhost)
>> [Mon Nov 27 03:07:48 2006] [error] proxy: AJP: failed to make connection
>> to
>> backend: localhost
>> [Mon Nov 27 03:07:50 2006] [error] proxy: AJP: disabled connection for
>> (localhost)
>> [Mon Nov 27 03:07:52 2006] [error] proxy: AJP: disabled connection for
>> (localhost)
>>
>> I am not sure if ajp is disable and if it is then how to enable it. Ofbiz
>> console log shows that its listing on 127.0.0.1 at port 8009.
>>
>> If some one has any idea or suggestion, then please do help.
>>
>> Rohit
>> --
>> View this message in context:
>> http://www.nabble.com/ofbiz-with-mod_proxy_ajp-on-apache-2.2-and-FC5-tf2711280.html#a7558644
>> Sent from the OFBiz - User mailing list archive at Nabble.com.
>>
>>
> 
> 
> -- 
> G.Venkata Phanindra
> Mob:: 9849852989
> 
> 

-- 
View this message in context: http://www.nabble.com/ofbiz-with-mod_proxy_ajp-on-apache-2.2-and-FC5-tf2711280.html#a7581586
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: ofbiz with mod_proxy_ajp on apache 2.2 and FC5

Posted by "G.Venkata Phanindra" <ph...@gmail.com>.
Hi rohit...
    U have to define the following in apache.conf or httpd.conf
i.e ..
        ProxyPass / ajp:// your ip:8009/
and in ofbiz u have to add this ajp port in ofbiz-containers.xml
u have to access somthing like http://yourip/ rather than
http://yourip:8009/
u also have to define virtua-host in odfbiz-component.xml

try it.......
let me know if  u need more info

regards
G Venkata Phanindra....



On 11/27/06, rohit2006 <ro...@yahoo.com> wrote:
>
>
> Hi,
>
> Has anyone tried ofbiz with mod_proxy_ajp on apache 2.2 and FC5. Please
> share your experience with it. I am trying to use it but without success.
> There is some information about it on rimuhosting.com and old wiki, but
> they
> didn't work.
>
> I assume this is way to use mod_proxy_ajp:
>
> ProxyPass /ecommerce ajp://localhost:8009/ecommerce
>
> I am getting the following error:
>
> [Mon Nov 27 03:07:48 2006] [error] (13)Permission denied: proxy: AJP:
> attempt to connect to 127.0.0.1:8009 (localhost) failed
> [Mon Nov 27 03:07:48 2006] [error] ap_proxy_connect_backend disabling
> worker
> for (localhost)
> [Mon Nov 27 03:07:48 2006] [error] proxy: AJP: failed to make connection
> to
> backend: localhost
> [Mon Nov 27 03:07:50 2006] [error] proxy: AJP: disabled connection for
> (localhost)
> [Mon Nov 27 03:07:52 2006] [error] proxy: AJP: disabled connection for
> (localhost)
>
> I am not sure if ajp is disable and if it is then how to enable it. Ofbiz
> console log shows that its listing on 127.0.0.1 at port 8009.
>
> If some one has any idea or suggestion, then please do help.
>
> Rohit
> --
> View this message in context:
> http://www.nabble.com/ofbiz-with-mod_proxy_ajp-on-apache-2.2-and-FC5-tf2711280.html#a7558644
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>
>


-- 
G.Venkata Phanindra
Mob:: 9849852989