In addition to my previous post below, I do not see port 80 or 443 
configuration anywhere in the application.  What is the meaning of Raj's first 
line? 
"1. Mount your application to root mount point change the http port to 80and 
SSL to 443." 

We need to change the ports in the production servers - It won't be 80 and 443 
for sure, so we need to know where to change.

Any help you can give would be greatly appreciated.

Thank you,
Robert Volke

>>> Robert Volke 7/22/2008 10:09 AM >>>
Hi,

We need some assistance configuring application connection with Apache.  We 
followed all the instructions from:
http://docs.ofbiz.org/display/OFBIZ/FAQ+-+Tips+-+Tricks+-+Cookbook+-+HowTo#FAQ-Tips-Tricks-Cookbook-HowTo-Howtousemodproxyajp
 

The main error is:
[Mon Jul 21 16:40:30 2008] [error] (70007)The timeout specified has expired: 
ajp_ilink_receive() can't receive he
ader
[Mon Jul 21 16:40:30 2008] [error] ajp_read_header: ajp_ilink_receive failed
[Mon Jul 21 16:40:30 2008] [error] (120006)APR does not understand this error 
code: proxy: read response failed f
rom (null) ()
 
 
The debug error is:
[Mon Jul 21 18:03:30 2008] [debug] mod_proxy_ajp.c(45): proxy: AJP: 
canonicalising URL //nillx22.bradgroup:8087/gmgweb
[Mon Jul 21 18:03:30 2008] [debug] proxy_util.c(1488): [client 172.16.38.101] 
proxy: ajp: found worker ajp://nillx22.bradgroup:8087/gmgweb for 
ajp://nillx22.bradgroup:8087/gmgweb
[Mon Jul 21 18:03:30 2008] [debug] mod_proxy.c(966): Running scheme ajp handler 
(attempt 0)
[Mon Jul 21 18:03:30 2008] [debug] mod_proxy_ajp.c(579): proxy: AJP: serving 
URL ajp://nillx22.bradgroup:8087/gmgweb
[Mon Jul 21 18:03:30 2008] [debug] proxy_util.c(2044): proxy: AJP: has acquired 
connection for (nillx22.bradgroup)
[Mon Jul 21 18:03:30 2008] [debug] proxy_util.c(2102): proxy: connecting 
ajp://nillx22.bradgroup:8087/gmgweb to nillx22.bradgroup:8087
[Mon Jul 21 18:03:30 2008] [debug] proxy_util.c(2195): proxy: connected /gmgweb 
to nillx22.bradgroup:8087
[Mon Jul 21 18:03:30 2008] [debug] proxy_util.c(2347): proxy: AJP: fam 2 socket 
created to connect to nillx22.bradgroup
[Mon Jul 21 18:03:30 2008] [debug] ajp_header.c(224): Into ajp_marshal_into_msgb
[Mon Jul 21 18:03:30 2008] [debug] ajp_header.c(290): ajp_marshal_into_msgb: 
Header[0] [Accept] = [image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, 
application/x-shockwave-flash, application/vnd.ms-excel, 
application/vnd.ms-powerpoint, application/msword, application/x-silverlight, 
application/x-ms-application, application/x-ms-xbap, 
application/vnd.ms-xpsdocument, application/xaml+xml, */*]
[Mon Jul 21 18:03:30 2008] [debug] ajp_header.c(290): ajp_marshal_into_msgb: 
Header[1] [Accept-Language] = [en-us]
[Mon Jul 21 18:03:30 2008] [debug] ajp_header.c(290): ajp_marshal_into_msgb: 
Header[2] [UA-CPU] = [x86]
[Mon Jul 21 18:03:30 2008] [debug] ajp_header.c(290): ajp_marshal_into_msgb: 
Header[3] [Accept-Encoding] = [gzip, deflate]
[Mon Jul 21 18:03:30 2008] [debug] ajp_header.c(290): ajp_marshal_into_msgb: 
Header[4] [User-Agent] = [Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; 
.NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 
3.5.21022)]
[Mon Jul 21 18:03:30 2008] [debug] ajp_header.c(290): ajp_marshal_into_msgb: 
Header[5] [Host] = [gmob1it1as1.bradgroup]
[Mon Jul 21 18:03:30 2008] [debug] ajp_header.c(290): ajp_marshal_into_msgb: 
Header[6] [Connection] = [Keep-Alive]
[Mon Jul 21 18:03:30 2008] [debug] ajp_header.c(290): ajp_marshal_into_msgb: 
Header[7] [NovINet] = [v1.2]
[Mon Jul 21 18:03:30 2008] [debug] ajp_header.c(430): ajp_marshal_into_msgb: 
Done
[Mon Jul 21 18:03:30 2008] [debug] mod_proxy_ajp.c(239): proxy: 
APR_BUCKET_IS_EOS
[Mon Jul 21 18:03:30 2008] [debug] mod_proxy_ajp.c(244): proxy: data to read 
(max 8186 at 4)
[Mon Jul 21 18:03:30 2008] [debug] mod_proxy_ajp.c(259): proxy: got 0 bytes of 
data

Any help you can give will be greatly appreciated.

Thank you,
Robert Volke

>>> Raj Saini <[EMAIL PROTECTED]> 07/14/08 11:45 AM >>>

There are different way of doing it:

1. Mount your application to root mount point change the http port to 80
and SSL to 443.
2. Front OFbiz server with Apache web server and use mod ajp proxy,
mod_jk or mod_rewrite. You can find more about mod_jk and mod_ajp_proxy
somewhere on wiki and mailing list.

Thanks,

Raj
Robert Volke wrote:
> Hi,
>
> I'm trying to redirect the url for my ecommerce application.  So what I need 
> to make happend is when somebody types in www.sitename.com it should redirect 
> to http://server.domain:<port>/ecommerce .  
> I'm trying to look at Apache HTTP redirect but is there an easier way?
>
> Thanks
>
>
>  

Reply via email to