ofbiz with mod_proxy_ajp on apache 2.2 and FC5

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

ofbiz with mod_proxy_ajp on apache 2.2 and FC5

rohit
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
Reply | Threaded
Open this post in threaded view
|

Re: ofbiz with mod_proxy_ajp on apache 2.2 and FC5

G.Venkata Phanindra
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 <[hidden email]> 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
Reply | Threaded
Open this post in threaded view
|

Re: ofbiz with mod_proxy_ajp on apache 2.2 and FC5

rohit
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 <rohitksureka@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
Reply | Threaded
Open this post in threaded view
|

Re: ofbiz with mod_proxy_ajp on apache 2.2 and FC5

G.Venkata Phanindra
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 <[hidden email]> 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 <[hidden email]> 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
Reply | Threaded
Open this post in threaded view
|

Re: ofbiz with mod_proxy_ajp on apache 2.2 and FC5

rohit
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 <rohitksureka@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 <rohitksureka@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
Reply | Threaded
Open this post in threaded view
|

Re: ofbiz with mod_proxy_ajp on apache 2.2 and FC5

rohit
In reply to this post by G.Venkata Phanindra
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 <rohitksureka@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 <rohitksureka@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