-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 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 iD8DBQFJsDiCrP3NbaWWqE4RAs3yAJsEOl6h/3MmI0wt4vIrNQ6jy8KA7wCfcXKQ /yviZOV+BA5oQNoxVILGhbQ= =4ZV/ -----END PGP SIGNATURE-----
