Return-Path: Delivered-To: apmail-ofbiz-user-archive@www.apache.org Received: (qmail 28948 invoked from network); 6 Mar 2009 00:02:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 Mar 2009 00:02:53 -0000 Received: (qmail 28106 invoked by uid 500); 6 Mar 2009 00:02:50 -0000 Delivered-To: apmail-ofbiz-user-archive@ofbiz.apache.org Received: (qmail 28097 invoked by uid 500); 6 Mar 2009 00:02:50 -0000 Mailing-List: contact user-help@ofbiz.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@ofbiz.apache.org Delivered-To: mailing list user@ofbiz.apache.org Received: (qmail 28084 invoked by uid 99); 6 Mar 2009 00:02:50 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Mar 2009 16:02:50 -0800 X-ASF-Spam-Status: No, hits=2.7 required=10.0 tests=SPF_NEUTRAL,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [205.178.146.57] (HELO omr7.networksolutionsemail.com) (205.178.146.57) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Mar 2009 00:02:39 +0000 Received: from mail.networksolutionsemail.com (ns-omr7.mgt.netsol.com [10.49.6.70]) by omr7.networksolutionsemail.com (8.13.6/8.13.6) with SMTP id n2602HMV030541 for ; Thu, 5 Mar 2009 19:02:17 -0500 Received: (qmail 3114 invoked by uid 78); 6 Mar 2009 00:02:17 -0000 Received: from unknown (HELO ?70.192.237.85?) (bjfree@free-man.net@70.192.237.85) by ns-omr7.lb.hosting.dc2.netsol.com with SMTP; 6 Mar 2009 00:02:17 -0000 Message-ID: <49B067FE.3010606@free-man.net> Date: Thu, 05 Mar 2009 16:02:06 -0800 From: BJ Freeman User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: user@ofbiz.apache.org Subject: Re: Ofbiz prepare for deployment References: <49B016C3.9040308@gmail.com> <49B01D8A.1060708@free-man.net> <49B035E6.4040403@gmail.com> <49B03882.3050101@free-man.net> <49B05CA9.9000203@gmail.com> In-Reply-To: <49B05CA9.9000203@gmail.com> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I suggest you only diable the tabs till you have completed you project this will keep direct acces. if you look in the eccomerce ofbiz-component.xml you will find the line that disables the tab for it app-bar-display="false Mansour Al Akeel sent the following on 3/5/2009 3:13 PM: > Wonderful, so I have to do this through apache httpd. But what about > disabling other components? I tried it, and it never worked. > > > BJ Freeman wrote: > mount points are for after the domain or localhost > the backend are https > you also need the control > https:/localhost:8443/catalog/control/FA-100/FA-100 > ecommerce is > http://localhost:8080/ecommerce/control/main > > Now if you want to have > http://www.mydomain.com/ for your eccomerce > and > https://www.mydomain.com/catalog/ > for the url it is best to use ajp > http://docs.ofbiz.org/display/OFBIZ/FAQ+-+Tips+-+Tricks+-+Cookbook+-+HowTo#FAQ-Tips-Tricks-Cookbook-HowTo-HTTPD > > > > Mansour Al Akeel sent the following on 3/5/2009 12:28 PM: > >>>> Following up: >>>> I have installed ofbiz since I don't need all this funcitionality. Then >>>> I mounted the ecommerce as per documentation: >>>> ============================================================= >>>> Mounting a Root WebApp >>>> >>>> It is often desirable to have one of the webapps mounted on the root. >>>> This is often either the ecommerce webapp or your own web site, which is >>>> created as a webapp in an OFBiz component would be setup the same way. >>>> >>>> 1. To set the mount point to root (or "/") for a webapp, find the >>>> corresponding "webapp" tag in the appropriate ofbiz-component.xml >>>> file and change the "mount-point" attribute on that tag to equal >>>> "/". >>>> 2. For the default OFBiz ecommerce webapp, this is found in the file: >>>> >>>> ${ofbiz install dir}/applications/ecommerce/ofbiz-component.xml >>>> ============================================================== >>>> >>>> Now all the links in the point to the root without the hostname, for >>>> example: >>>> When the mount-point="ecommerce" I get the on the main ecommerce page >>>> these links, which is correct: >>>> >>>> http://myhost:8080/ecommerce/catalog/FA-100/FA-100 >>>> http://neptune:8080/ecommerce/catalog/dropShip/dropShip >>>> >>>> Now when I set mount-point="/" then the links points to none existing >>>> pages: >>>> >>>> http://catalog/FA-100/FA-100 >>>> http://catalog/dropShip/dropShip >>>> What I am expecting is: >>>> >>>> http://myhost:8080/catalog/FA-100/FA-100 >>>> http://neptune:8080/catalog/dropShip/dropShip >>>> >>>> I am sure I missed something here. >>>> >>>> >>>> >>>> BJ Freeman wrote: >>>> This is a OpenTaps distribution it has many things added that may cause >>>> you problem. >>>> Please contact them at >>>> https://sourceforge.net/forum/forum.php?forum_id=487771 >>>> >>>> >>>> Mansour Al Akeel sent the following on 3/5/2009 10:15 AM: >>>> >>>> >>>>>>> Hello all: >>>>>>> I need to develop on top of ofbiz for an ecommerce solutions. At this >>>>>>> point, I 'd like to disable/remove the rest of the component that we >>>>>>> don't need. Some posts on this list suggested commenting out the >>>>>>> components in "applications/component-load.xml". Other posts >>>>>>> reported a >>>>>>> success with deleting the whole directory of the applications that >>>>>>> are >>>>>>> not needed. None of these approaches worked for us. As we are >>>>>>> starting >>>>>>> with ofbiz, we would like to work with a minimal version, and add >>>>>>> optional components as we need. >>>>>>> >>>>>>> If removing these components are not possible, then at least how do I >>>>>>> disable external access to them. Normally, only some services >>>>>>> need to >>>>>>> be exposed to the public. Definitely, more to be added in the future. >>>>>>> >>>>>>> Another thing, is mounting the e-commerce component on the root. This >>>>>>> page explains it >>>>>>> http://docs.ofbiz.org/display/OFBTECH/Apache+OFBiz+Technical+Production+Setup+Guide >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> However, this didn't work as well. That's what I have from the log >>>>>>> file >>>>>>> >>>>>>> 2009-03-05 13:49:21,909 (main) [ >>>>>>> UtilXml.java:246:DEBUG] XML >>>>>>> Read 0.01s: >>>>>>> file:/home/mansour/opentaps-1.0.3/framework/catalina/config/mime-type.xml >>>>>>> >>>>>>> >>>>>>> java.lang.IllegalArgumentException: addChild: Child name '/' is not >>>>>>> unique >>>>>>> at >>>>>>> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:749) >>>>>>> >>>>>>> >>>>>>> >>>>>>> at >>>>>>> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739) >>>>>>> >>>>>>> at >>>>>>> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524) >>>>>>> at >>>>>>> org.ofbiz.catalina.container.CatalinaContainer.createContext(CatalinaContainer.java:558) >>>>>>> >>>>>>> >>>>>>> >>>>>>> at >>>>>>> org.ofbiz.catalina.container.CatalinaContainer.loadComponents(CatalinaContainer.java:600) >>>>>>> >>>>>>> >>>>>>> >>>>>>> at >>>>>>> org.ofbiz.catalina.container.CatalinaContainer.init(CatalinaContainer.java:202) >>>>>>> >>>>>>> >>>>>>> >>>>>>> at >>>>>>> org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoader.java:144) >>>>>>> >>>>>>> >>>>>>> >>>>>>> at >>>>>>> org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:68) >>>>>>> >>>>>>> at org.ofbiz.base.start.Start.initStartLoaders(Start.java:251) >>>>>>> at org.ofbiz.base.start.Start.init(Start.java:90) >>>>>>> at org.ofbiz.base.start.Start.main(Start.java:406) >>>>>>> >>>>>>> It looks like I have to mess with the catalina/config. I will keep >>>>>>> this as the last resort. If someone have an idea, please advice me. >>>>>>> >>>>>>> >>>>>>> I am using the latest from SVN. >>>>>>> >>>>>>> Thank you in advance. >>>>>>> >>>>>>> >>>>>>> >>>>>>> -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFJsGf+rP3NbaWWqE4RArDmAJ4yWYOTkrDKECfQkLhiyYCdHK8AXQCfTC8E 8gdrKRH1PTU/XxjN/GiyaNY= =jmDX -----END PGP SIGNATURE-----