Hi,
I want to deploy single OFBiz application,hosted on a single application server but with multiple domain names. I do not want to clone the components to achieve this.Can you help me in this regard... ______________________________________________________________________ |
Hi Neha,
Do you want to deploy the store front (e-commerce) you want to deploy on multiple domain? Or you want to access the complete suite of applications through different domains? Thanks, Raj [hidden email] wrote: > Hi, > > I want to deploy single OFBiz application,hosted on a single application > server but with multiple domain names. > I do not want to clone the components to achieve this.Can you help me in > this regard... > > > > > ______________________________________________________________________ > |
In reply to this post by Neha Mehta
A possible way to achieve this would be putting apache http server in front of ofbiz. Apache http can then be configured to forward traffic from multiple domains to the single ofbiz instance.
|
In reply to this post by rajsaini
Hi Raj,
I need to deploy complete complete suite of applications through different domains with single OFBiz instance and on same server. Raj Saini <[hidden email]> 09/11/2009 11:22 AM Please respond to [hidden email] To [hidden email] cc Subject Re: Hosting OFBiz on a single server with multiple domain names, without cloning components Hi Neha, Do you want to deploy the store front (e-commerce) you want to deploy on multiple domain? Or you want to access the complete suite of applications through different domains? Thanks, Raj [hidden email] wrote: > Hi, > > I want to deploy single OFBiz application,hosted on a single application > server but with multiple domain names. > I do not want to clone the components to achieve this.Can you help me in > this regard... > > > > > ______________________________________________________________________ > ______________________________________________________________________ ______________________________________________________________________ |
In reply to this post by chris snow
Hi Chris,
Thanx a lot for the help.If i am not bothering you, could you please brief me about this. Thanks & Regards, Neha Mehta Software Engineer (A-1-1) Larsen & Toubro Infotech Ltd. Cell: +91 97694 72267 Email-id: [hidden email] EL-200, TTC Electronic Zone, Shil Mahape Road, Navi Mumbai, 400710 T: +91 022 67954324 India +0530 UTC/GMT ********************************************************************************************************************** The most beautiful thing is to see a person smiling… And even more beautiful is knowing that you are the reason behind it!!! Be a reason for others to smile HAVE A NICE DAY AHEAD...... ********************************************************************************************************************** Larsen & Toubro Infotech Ltd. www.Lntinfotech.com This Document is classified as: L&T Infotech Proprietary L&T Infotech Confidential L&T Infotech Internal Use Only L&T Infotech General Business This Email may contain confidential or privileged information for the intended recipient (s) If you are not the intended recipient, please do not use or disseminate the information, notify the sender and delete it from your system. snowc <[hidden email]> 09/11/2009 11:39 AM Please respond to [hidden email] To [hidden email] cc Subject Re: Hosting OFBiz on a single server with multiple domain names, without cloning components A possible way to achieve this would be putting apache http server in front of ofbiz. Apache http can then be configured to forward traffic from multiple domains to the single ofbiz instance. neha mehta wrote: > > Hi, > > I want to deploy single OFBiz application,hosted on a single application > server but with multiple domain names. > I do not want to clone the components to achieve this.Can you help me in > this regard... > > > > > ______________________________________________________________________ > -- View this message in context: http://www.nabble.com/Hosting-OFBiz-on-a-single-server-with-multiple-domain-names%2C-without-cloning-components-tp25395146p25395573.html Sent from the OFBiz - User mailing list archive at Nabble.com. ______________________________________________________________________ ______________________________________________________________________ |
In reply to this post by Neha Mehta
Hi Neha,
One way is to front your OFBiz with Apache Web server. You can create virtual host in Apache web server and then user AJP Proxy to connect to the OFBiz. It is also possible to use the Virtual hosts in Tomcat and since OFBiz embeds Tomcat, it should be possible as well. I never tried this and do not have idea how it would work. Thanks, Raj [hidden email] wrote: > Hi Raj, > > I need to deploy complete complete suite of applications through different > domains with single OFBiz instance and on same server. > > > > > > Raj Saini <[hidden email]> > 09/11/2009 11:22 AM > Please respond to > [hidden email] > > > To > [hidden email] > cc > > Subject > Re: Hosting OFBiz on a single server with multiple domain names, without > cloning components > > > > > > > Hi Neha, > > Do you want to deploy the store front (e-commerce) you want to deploy on > multiple domain? Or you want to access the complete suite of > applications through different domains? > > Thanks, > > Raj > > [hidden email] wrote: > >> Hi, >> >> I want to deploy single OFBiz application,hosted on a single application >> > > >> server but with multiple domain names. >> I do not want to clone the components to achieve this.Can you help me in >> > > >> this regard... >> >> >> >> >> ______________________________________________________________________ >> >> > > > ______________________________________________________________________ > > > > ______________________________________________________________________ > |
Guys,
I think this discussion goes the wrong way. Since the original requirement is very simple to achieve: I think that multiple DNS zone records (one for each domainname), simply pointing to the same public IP of an OFBiz instance can do the job. As far as I can see all mountpoints are specified relative to the OFBiz webroot in the respective ofbiz-component.xml <webapp> tags. So no reason to "complicate" your setup with Apache, vHosts etc. Just make sure your DNS provider points all your URLs to the very same OFBiz instance. IMHO the reasons for Apache in the game are few, e.g.: - You want to rewrite URLs because you want different URLs to seamlessly point to different shops (i.e. ecommerce application instances on OFBiz) or different shop layouts (also for this you will need two ecommerce applications with two different THEME settings) ... however I do not see these requirements in the original mail. - As I mentioned in earlier posts, Apache does also need to come into play for enforced 2- or 3-tier architectures when coping with PCI or SOX requirements etc. Hope this helps? Regards Carsten 2009/9/11 Raj Saini <[hidden email]> > Hi Neha, > > One way is to front your OFBiz with Apache Web server. You can create > virtual host in Apache web server and then user AJP Proxy to connect to the > OFBiz. > > It is also possible to use the Virtual hosts in Tomcat and since OFBiz > embeds Tomcat, it should be possible as well. I never tried this and do not > have idea how it would work. > > > Thanks, > > Raj > > [hidden email] wrote: > >> Hi Raj, >> >> I need to deploy complete complete suite of applications through different >> domains with single OFBiz instance and on same server. >> >> >> >> >> >> Raj Saini <[hidden email]> 09/11/2009 11:22 AM >> Please respond to >> [hidden email] >> >> >> To >> [hidden email] >> cc >> >> Subject >> Re: Hosting OFBiz on a single server with multiple domain names, without >> cloning components >> >> >> >> >> >> >> Hi Neha, >> >> Do you want to deploy the store front (e-commerce) you want to deploy on >> multiple domain? Or you want to access the complete suite of applications >> through different domains? >> >> Thanks, >> >> Raj >> >> [hidden email] wrote: >> >> >>> Hi, >>> >>> I want to deploy single OFBiz application,hosted on a single application >>> >>> >> >> >> >>> server but with multiple domain names. >>> I do not want to clone the components to achieve this.Can you help me in >>> >>> >> >> >> >>> this regard... >>> >>> >>> >>> >>> ______________________________________________________________________ >>> >>> >>> >> >> >> ______________________________________________________________________ >> >> >> >> ______________________________________________________________________ >> >> > > -- Best Carsten Schinzer Waisenhausstr. 53a 80637 München Germany |
In reply to this post by rajsaini
On Fri, Sep 11, 2009 at 2:32 AM, Raj Saini <[hidden email]> wrote:
> Hi Neha, > > One way is to front your OFBiz with Apache Web server. You can create > virtual host in Apache web server and then user AJP Proxy to connect to the > OFBiz. If it's a single physical server, mod_rewrite + mod_proxy is usually more efficient than AJP. OFBiz does some of its own URL rewriting for SSL and this will probably be an issue. The approaches I would try, would all start with turning off SSL in OFBiz and putting an Apache SSL proxy in front of everything. But if the application needs to be aware of what domain it is serving, I suspect you need multiple instances of it. I wonder how multiple instances of OFBiz behave when connected to a single database. I also wonder if it is more efficient to run a single ofbiz.jar with applications in multiple contexts, or more efficient to run several ofbiz.jar which means multiple tomcat instances on several ports. (My suspicion is the second approach would allow more strict isolation but would be a memory hog.) -- James McGill Able Engineering |
Well this is really getting interesting (as it touches some points I was
making in earlier posts): 2009/9/11 James McGill <[hidden email]> > But if the application needs to be aware of what domain it is serving, > I suspect you need multiple instances of it. I wonder how multiple > instances of OFBiz behave when connected to a single database. I > also wonder if it is more efficient to run a single ofbiz.jar with > applications in multiple contexts, or more efficient to run several > ofbiz.jar which means multiple tomcat instances on several ports. (My > suspicion is the second approach would allow more strict isolation but > would be a memory hog.) > > solved. In our daily business practice we tend to run 'smaller' JVMs (ca. 500-1000 MB heap) on multiple ports rather than a single big jvm. One of the main reasons is that we want the GC rather run every 500 msec for ca. 50 msec than every sec for 300 msec. so heap design and cleanup speed are less work intensive when dealing with several smaller jvms. Is it a possible scaling approach to separate on the service layer, i.e. have a "backend" OFBiz instance running that serves several front-end applications in different containers? probably, the service layer is not yet externalizable, e.g. using web services. well ... any thoughts? Regards Carsten |
In reply to this post by James McGill-5
Hi,
I have created a virtual host in Apache OFBiz server and am trying to connect AJP proxy to OFBiz. I am not able to generate mod_proxy_ajp.so file. I know Linux command to generate .so file but i have no clue regarding its generation in windows. In Apache's httpd.conf file, i need to load the following components : LoadModule proxy_module modules/mod_proxy.so LoadModule proxy_ajp_module modules/mod_proxy_ajp.so LoadModule ssl_module modules/mod_ssl.so I have downloaded mod_jk-1.2.28-src, but not able to generate above .so files... Kindly help me in this regard. Thanks & Regards, Neha Mehta . James McGill <[hidden email]> 09/11/2009 08:38 PM Please respond to [hidden email] To [hidden email] cc Subject Re: Hosting OFBiz on a single server with multiple domain names, without cloning components On Fri, Sep 11, 2009 at 2:32 AM, Raj Saini <[hidden email]> wrote: > Hi Neha, > > One way is to front your OFBiz with Apache Web server. You can create > virtual host in Apache web server and then user AJP Proxy to connect to the > OFBiz. If it's a single physical server, mod_rewrite + mod_proxy is usually more efficient than AJP. OFBiz does some of its own URL rewriting for SSL and this will probably be an issue. The approaches I would try, would all start with turning off SSL in OFBiz and putting an Apache SSL proxy in front of everything. But if the application needs to be aware of what domain it is serving, I suspect you need multiple instances of it. I wonder how multiple instances of OFBiz behave when connected to a single database. I also wonder if it is more efficient to run a single ofbiz.jar with applications in multiple contexts, or more efficient to run several ofbiz.jar which means multiple tomcat instances on several ports. (My suspicion is the second approach would allow more strict isolation but would be a memory hog.) -- James McGill Able Engineering ______________________________________________________________________ ______________________________________________________________________ |
Administrator
|
Did you follow http://docs.ofbiz.org/x/YwU ?
Jacques From: <[hidden email]> > Hi, > > I have created a virtual host in Apache OFBiz server and am trying to > connect AJP proxy to OFBiz. I am not able to generate mod_proxy_ajp.so > file. I know Linux command to generate .so file but i have no clue > regarding its generation in windows. > > In Apache's httpd.conf file, i need to load the following components : > > LoadModule proxy_module modules/mod_proxy.so > LoadModule proxy_ajp_module modules/mod_proxy_ajp.so > LoadModule ssl_module modules/mod_ssl.so > > I have downloaded mod_jk-1.2.28-src, but not able to generate above .so > files... > > Kindly help me in this regard. > > Thanks & Regards, > Neha Mehta > . > > > > James McGill <[hidden email]> > 09/11/2009 08:38 PM > Please respond to > [hidden email] > > > To > [hidden email] > cc > > Subject > Re: Hosting OFBiz on a single server with multiple domain names, without > cloning components > > > > > > > On Fri, Sep 11, 2009 at 2:32 AM, Raj Saini <[hidden email]> wrote: >> Hi Neha, >> >> One way is to front your OFBiz with Apache Web server. You can create >> virtual host in Apache web server and then user AJP Proxy to connect to > the >> OFBiz. > > If it's a single physical server, mod_rewrite + mod_proxy is usually > more efficient than AJP. > > OFBiz does some of its own URL rewriting for SSL and this will > probably be an issue. The approaches I would try, would all start > with turning off SSL in OFBiz and putting an Apache SSL proxy in front > of everything. > > But if the application needs to be aware of what domain it is serving, > I suspect you need multiple instances of it. I wonder how multiple > instances of OFBiz behave when connected to a single database. I > also wonder if it is more efficient to run a single ofbiz.jar with > applications in multiple contexts, or more efficient to run several > ofbiz.jar which means multiple tomcat instances on several ports. (My > suspicion is the second approach would allow more strict isolation but > would be a memory hog.) > > > -- > James McGill > Able Engineering > > ______________________________________________________________________ > > > > ______________________________________________________________________ |
In reply to this post by Neha Mehta
Hi Neha,
I think you are mixing up few things here: 1. You need to create virtual hosts in Apache Web server (httpd) and not in Apache OFBiz. 2. If your Apache Web server is running on Winodw, Apache modules are .dll files. You can download the binary modules. Try searching on net. Though you can compile from source, I don't think it is easier to do unless you have MS build environment setup. Thanks, Raj [hidden email] wrote: > Hi, > > I have created a virtual host in Apache OFBiz server and am trying to > connect AJP proxy to OFBiz. I am not able to generate mod_proxy_ajp.so > file. I know Linux command to generate .so file but i have no clue > regarding its generation in windows. > > In Apache's httpd.conf file, i need to load the following components : > > LoadModule proxy_module modules/mod_proxy.so > LoadModule proxy_ajp_module modules/mod_proxy_ajp.so > LoadModule ssl_module modules/mod_ssl.so > > I have downloaded mod_jk-1.2.28-src, but not able to generate above .so > files... > > Kindly help me in this regard. > > Thanks & Regards, > Neha Mehta > . > > > > James McGill <[hidden email]> > 09/11/2009 08:38 PM > Please respond to > [hidden email] > > > To > [hidden email] > cc > > Subject > Re: Hosting OFBiz on a single server with multiple domain names, without > cloning components > > > > > > > On Fri, Sep 11, 2009 at 2:32 AM, Raj Saini <[hidden email]> wrote: > >> Hi Neha, >> >> One way is to front your OFBiz with Apache Web server. You can create >> virtual host in Apache web server and then user AJP Proxy to connect to >> > the > >> OFBiz. >> > > If it's a single physical server, mod_rewrite + mod_proxy is usually > more efficient than AJP. > > OFBiz does some of its own URL rewriting for SSL and this will > probably be an issue. The approaches I would try, would all start > with turning off SSL in OFBiz and putting an Apache SSL proxy in front > of everything. > > But if the application needs to be aware of what domain it is serving, > I suspect you need multiple instances of it. I wonder how multiple > instances of OFBiz behave when connected to a single database. I > also wonder if it is more efficient to run a single ofbiz.jar with > applications in multiple contexts, or more efficient to run several > ofbiz.jar which means multiple tomcat instances on several ports. (My > suspicion is the second approach would allow more strict isolation but > would be a memory hog.) > > > |
Hi,
I have followed http://docs.ofbiz.org/x/YwU document for implementing the same. I am able to do all the APache settings. I am not able to know how to connect the Apache server to OFBiz. I have added the following code but i still dont know which URL should i write in the browser to access OFBiz components. <VirtualHost 172.17.88.53:80> # General setup for the virtual host. ServerName 172.17.88.53:443 ServerAdmin [hidden email] ProxyRequests Off ProxyPreserveHost On <Location /order/> ProxyPass ajp://localhost:9009/order/ </Location> </VirtualHost> Kindly let me know, whwther i am going in tha right track... Thanx in advance.. Regards, Neha Mehta Raj Saini <[hidden email]> 09/14/2009 03:08 PM Please respond to [hidden email] To [hidden email] cc Subject Re: Hosting OFBiz on a single server with multiple domain names, without cloning components Hi Neha, I think you are mixing up few things here: 1. You need to create virtual hosts in Apache Web server (httpd) and not in Apache OFBiz. 2. If your Apache Web server is running on Winodw, Apache modules are .dll files. You can download the binary modules. Try searching on net. Though you can compile from source, I don't think it is easier to do unless you have MS build environment setup. Thanks, Raj [hidden email] wrote: > Hi, > > I have created a virtual host in Apache OFBiz server and am trying to > connect AJP proxy to OFBiz. I am not able to generate mod_proxy_ajp.so > file. I know Linux command to generate .so file but i have no clue > regarding its generation in windows. > > In Apache's httpd.conf file, i need to load the following components : > > LoadModule proxy_module modules/mod_proxy.so > LoadModule proxy_ajp_module modules/mod_proxy_ajp.so > LoadModule ssl_module modules/mod_ssl.so > > I have downloaded mod_jk-1.2.28-src, but not able to generate above .so > files... > > Kindly help me in this regard. > > Thanks & Regards, > Neha Mehta > . > > > > James McGill <[hidden email]> > 09/11/2009 08:38 PM > Please respond to > [hidden email] > > > To > [hidden email] > cc > > Subject > Re: Hosting OFBiz on a single server with multiple domain names, without > cloning components > > > > > > > On Fri, Sep 11, 2009 at 2:32 AM, Raj Saini <[hidden email]> wrote: > >> Hi Neha, >> >> One way is to front your OFBiz with Apache Web server. You can create >> virtual host in Apache web server and then user AJP Proxy to connect to >> > the > >> OFBiz. >> > > If it's a single physical server, mod_rewrite + mod_proxy is usually > more efficient than AJP. > > OFBiz does some of its own URL rewriting for SSL and this will > probably be an issue. The approaches I would try, would all start > with turning off SSL in OFBiz and putting an Apache SSL proxy in front > of everything. > > But if the application needs to be aware of what domain it is serving, > I suspect you need multiple instances of it. I wonder how multiple > instances of OFBiz behave when connected to a single database. I > also wonder if it is more efficient to run a single ofbiz.jar with > applications in multiple contexts, or more efficient to run several > ofbiz.jar which means multiple tomcat instances on several ports. (My > suspicion is the second approach would allow more strict isolation but > would be a memory hog.) > > > ______________________________________________________________________ ______________________________________________________________________ |
Hi Neha,
Sufix the text you have in Location directive to your hostname. for example if your host is www.example.com, per given below example URL should be http://www.example.com/order. I assume your server is configured to listen on default http port that is port 80. Thanks, Raj > connect the Apache server to OFBiz. I have > added the following code but i still dont know which URL should i write in > the browser to access OFBiz components. > > <VirtualHost 172.17.88.53:80> > # General setup for the virtual host. > ServerName 172.17.88.53:443 > ServerAdmin [hidden email] > ProxyRequests Off > ProxyPreserveHost On > <Location /order/> > ProxyPass ajp://localhost:9009/order/ > </Location> > </VirtualHost> > > Kindly let me know, whwther i am going in tha right track... > Thanx in advance.. > > Regards, > Neha Mehta > > > > > Raj Saini <[hidden email]> > 09/14/2009 03:08 PM > Please respond to > [hidden email] > > > To > [hidden email] > cc > > Subject > Re: Hosting OFBiz on a single server with multiple domain names, without > cloning components > > > > > > > Hi Neha, > > I think you are mixing up few things here: > > 1. You need to create virtual hosts in Apache Web server (httpd) and not > in Apache OFBiz. > 2. If your Apache Web server is running on Winodw, Apache modules are > .dll files. You can download the binary modules. Try searching on net. > Though you can compile from source, I don't think it is easier to do > unless you have MS build environment setup. > > Thanks, > > Raj > > [hidden email] wrote: > >> Hi, >> >> I have created a virtual host in Apache OFBiz server and am trying to >> connect AJP proxy to OFBiz. I am not able to generate mod_proxy_ajp.so >> file. I know Linux command to generate .so file but i have no clue >> regarding its generation in windows. >> >> In Apache's httpd.conf file, i need to load the following components : >> >> LoadModule proxy_module modules/mod_proxy.so >> LoadModule proxy_ajp_module modules/mod_proxy_ajp.so >> LoadModule ssl_module modules/mod_ssl.so >> >> I have downloaded mod_jk-1.2.28-src, but not able to generate above .so >> files... >> >> Kindly help me in this regard. >> >> Thanks & Regards, >> Neha Mehta >> . >> >> >> >> James McGill <[hidden email]> >> 09/11/2009 08:38 PM >> Please respond to >> [hidden email] >> >> >> To >> [hidden email] >> cc >> >> Subject >> Re: Hosting OFBiz on a single server with multiple domain names, without >> > > >> cloning components >> >> >> >> >> >> >> On Fri, Sep 11, 2009 at 2:32 AM, Raj Saini <[hidden email]> wrote: >> >> >>> Hi Neha, >>> >>> One way is to front your OFBiz with Apache Web server. You can create >>> virtual host in Apache web server and then user AJP Proxy to connect to >>> > > >> the >> >> >>> OFBiz. >>> >>> >> If it's a single physical server, mod_rewrite + mod_proxy is usually >> more efficient than AJP. >> >> OFBiz does some of its own URL rewriting for SSL and this will >> probably be an issue. The approaches I would try, would all start >> with turning off SSL in OFBiz and putting an Apache SSL proxy in front >> of everything. >> >> But if the application needs to be aware of what domain it is serving, >> I suspect you need multiple instances of it. I wonder how multiple >> instances of OFBiz behave when connected to a single database. I >> also wonder if it is more efficient to run a single ofbiz.jar with >> applications in multiple contexts, or more efficient to run several >> ofbiz.jar which means multiple tomcat instances on several ports. (My >> suspicion is the second approach would allow more strict isolation but >> would be a memory hog.) >> >> >> >> > > > ______________________________________________________________________ > > > > ______________________________________________________________________ > |
In reply to this post by Neha Mehta
with a browser on the local machine can you see
http://localhost:9009/order/ [hidden email] sent the following on 9/14/2009 10:09 PM: > Hi, > > I have followed http://docs.ofbiz.org/x/YwU document for implementing the > same. I am able to do all the APache settings. > I am not able to know how to connect the Apache server to OFBiz. I have > added the following code but i still dont know which URL should i write in > the browser to access OFBiz components. > > <VirtualHost 172.17.88.53:80> > # General setup for the virtual host. > ServerName 172.17.88.53:443 > ServerAdmin [hidden email] > ProxyRequests Off > ProxyPreserveHost On > <Location /order/> > ProxyPass ajp://localhost:9009/order/ > </Location> > </VirtualHost> > > Kindly let me know, whwther i am going in tha right track... > Thanx in advance.. > > Regards, > Neha Mehta > > > > > Raj Saini <[hidden email]> > 09/14/2009 03:08 PM > Please respond to > [hidden email] > > > To > [hidden email] > cc > > Subject > Re: Hosting OFBiz on a single server with multiple domain names, without > cloning components > > > > > > > Hi Neha, > > I think you are mixing up few things here: > > 1. You need to create virtual hosts in Apache Web server (httpd) and not > in Apache OFBiz. > 2. If your Apache Web server is running on Winodw, Apache modules are > .dll files. You can download the binary modules. Try searching on net. > Though you can compile from source, I don't think it is easier to do > unless you have MS build environment setup. > > Thanks, > > Raj > > [hidden email] wrote: >> Hi, >> >> I have created a virtual host in Apache OFBiz server and am trying to >> connect AJP proxy to OFBiz. I am not able to generate mod_proxy_ajp.so >> file. I know Linux command to generate .so file but i have no clue >> regarding its generation in windows. >> >> In Apache's httpd.conf file, i need to load the following components : >> >> LoadModule proxy_module modules/mod_proxy.so >> LoadModule proxy_ajp_module modules/mod_proxy_ajp.so >> LoadModule ssl_module modules/mod_ssl.so >> >> I have downloaded mod_jk-1.2.28-src, but not able to generate above .so >> files... >> >> Kindly help me in this regard. >> >> Thanks & Regards, >> Neha Mehta >> . >> >> >> >> James McGill <[hidden email]> >> 09/11/2009 08:38 PM >> Please respond to >> [hidden email] >> >> >> To >> [hidden email] >> cc >> >> Subject >> Re: Hosting OFBiz on a single server with multiple domain names, without > >> cloning components >> >> >> >> >> >> >> On Fri, Sep 11, 2009 at 2:32 AM, Raj Saini <[hidden email]> wrote: >> >>> Hi Neha, >>> >>> One way is to front your OFBiz with Apache Web server. You can create >>> virtual host in Apache web server and then user AJP Proxy to connect to > >> the >> >>> OFBiz. >>> >> If it's a single physical server, mod_rewrite + mod_proxy is usually >> more efficient than AJP. >> >> OFBiz does some of its own URL rewriting for SSL and this will >> probably be an issue. The approaches I would try, would all start >> with turning off SSL in OFBiz and putting an Apache SSL proxy in front >> of everything. >> >> But if the application needs to be aware of what domain it is serving, >> I suspect you need multiple instances of it. I wonder how multiple >> instances of OFBiz behave when connected to a single database. I >> also wonder if it is more efficient to run a single ofbiz.jar with >> applications in multiple contexts, or more efficient to run several >> ofbiz.jar which means multiple tomcat instances on several ports. (My >> suspicion is the second approach would allow more strict isolation but >> would be a memory hog.) >> >> >> > > > ______________________________________________________________________ > > > > ______________________________________________________________________ -- BJ Freeman http://www.businessesnetwork.com/automation http://bjfreeman.elance.com http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro Systems Integrator. |
Hi,
Thanx a lot to all for your replies.They helped me a lot. I have successfully configured Apache Http Server and is able to view OFbiz directories on the browser, once i put apache's url on browser. But i am still not able to access ecommerce component. <VirtualHost *:80> # General setup for the virtual host. ServerName 172.17.88.53:80 // This is my machine's IP address DocumentRoot "D:\dev\Latest-OFBiz-20aug\" // i can view this directory list on browser ServerAdmin [hidden email] ProxyRequests Off ProxyPreserveHost On <Location /ecommerce/> // Is it the correct way to call OFBiz' components from apache?? ProxyPass http://localhost:8088/ecommerce </Location> Thanks & Regards, Neha Mehta ______________________________________________________________________ |
Hi Neha,
With the Location, you need to pass the request to the AJP and tomcat default AJP port is 8009. And the URL in your browser should not include port as port 80 is default. Thanks, Raj [hidden email] wrote: > Hi, > > Thanx a lot to all for your replies.They helped me a lot. > I have successfully configured Apache Http Server and is able to view > OFbiz directories on the browser, once i put apache's url on browser. > But i am still not able to access ecommerce component. > > > <VirtualHost *:80> > # General setup for the virtual host. > ServerName 172.17.88.53:80 // This > is my machine's IP address > DocumentRoot "D:\dev\Latest-OFBiz-20aug\" // > i can view this directory list on browser > ServerAdmin [hidden email] > ProxyRequests Off > ProxyPreserveHost On > <Location /ecommerce/> // Is it > the correct way to call OFBiz' components from apache?? > ProxyPass http://localhost:8088/ecommerce > </Location> > > > > > Thanks & Regards, > Neha Mehta > > > ______________________________________________________________________ > |
Hi Raj,
I am sorry for bothering you so much ,could you please tell me whether i need to configure OFBiz' internal tomcat for mod_jk? Actually i am very new to OFBiz and am not getting a clear idea of implementing this.. Raj Saini <[hidden email]> 09/16/2009 03:31 PM Please respond to [hidden email] To [hidden email] cc Subject Re: Hosting OFBiz on a single server with multiple domain names, without cloning components Hi Neha, With the Location, you need to pass the request to the AJP and tomcat default AJP port is 8009. And the URL in your browser should not include port as port 80 is default. Thanks, Raj [hidden email] wrote: > Hi, > > Thanx a lot to all for your replies.They helped me a lot. > I have successfully configured Apache Http Server and is able to view > OFbiz directories on the browser, once i put apache's url on browser. > But i am still not able to access ecommerce component. > > > <VirtualHost *:80> > # General setup for the virtual host. > ServerName 172.17.88.53:80 // This > is my machine's IP address > DocumentRoot "D:\dev\Latest-OFBiz-20aug\" // > i can view this directory list on browser > ServerAdmin [hidden email] > ProxyRequests Off > ProxyPreserveHost On > <Location /ecommerce/> // Is it > the correct way to call OFBiz' components from apache?? > ProxyPass http://localhost:8088/ecommerce > </Location> > > > > > Thanks & Regards, > Neha Mehta > > > ______________________________________________________________________ > ______________________________________________________________________ ______________________________________________________________________ |
Hi Neha,
This is less related to OFBiz and more of Apache Web server. There are various ways to front the OFbiz with Apache httpd. 1. mod_jk (old way and only way with Apache HTTPd 2.0 and below) 2. AJP Proxy with Reverse Proxy (Preferred way to integrate with HTTPd 2.2+) 3. Reverse Proxy I have been trying to explain the AJP Proxy for HTTPd 2.2+ For this to work, there is no need to change any thing in the OFBiz. You will need to setup your Apache HTTPd properly. I would suggest you to search for the Apache Web Server and Tomcat Integration on web. OFBiz integration is no different than the Tomcat. Thanks, Raj [hidden email] wrote: > Hi Raj, > > I am sorry for bothering you so much ,could you please tell me whether i > need to configure OFBiz' internal tomcat for mod_jk? Actually i am very > new to OFBiz and am not getting a clear idea of implementing this.. > > > > > Raj Saini <[hidden email]> > 09/16/2009 03:31 PM > Please respond to > [hidden email] > > > To > [hidden email] > cc > > Subject > Re: Hosting OFBiz on a single server with multiple domain names, without > cloning components > > > > > > > Hi Neha, > > With the Location, you need to pass the request to the AJP and tomcat > default AJP port is 8009. And the URL in your browser should not include > port as port 80 is default. > > Thanks, > > Raj > > [hidden email] wrote: > >> Hi, >> >> Thanx a lot to all for your replies.They helped me a lot. >> I have successfully configured Apache Http Server and is able to view >> OFbiz directories on the browser, once i put apache's url on browser. >> But i am still not able to access ecommerce component. >> >> >> <VirtualHost *:80> >> # General setup for the virtual host. >> ServerName 172.17.88.53:80 // This >> > > >> is my machine's IP address >> DocumentRoot "D:\dev\Latest-OFBiz-20aug\" // >> i can view this directory list on browser >> ServerAdmin [hidden email] >> ProxyRequests Off >> ProxyPreserveHost On >> <Location /ecommerce/> // Is it >> the correct way to call OFBiz' components from apache?? >> ProxyPass http://localhost:8088/ecommerce >> </Location> >> >> >> >> >> Thanks & Regards, >> Neha Mehta >> >> >> ______________________________________________________________________ >> >> > > > ______________________________________________________________________ > > > > ______________________________________________________________________ > |
Free forum by Nabble | Edit this page |