Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Removes depreacted information and adds new ones, WIP notably about 8080 (we no longer use HTTP by default)

...

The following configuration files contain port configuration configurations that may configured for custom OFBiz installations:. You may also use the global portoffset Java properties. Use "java -jar build/libs/ofbiz.jar -h" to know more about this option.

  • ${ofbiz install dir}/framework/base/config/ofbiz-containers.xml (The Containers Configuration File)
  • Deprecated in recent versions: Sometimes other container configuration files are used, but are generally in that same directory and will be specified in the start properties file used (see start.properties, pos.properties, install.properties, etc)
  • The commented out BSH client (the last container in the file) should generally be disabled or at least protected by a firewall for production deployments. Otherwise this is a significant security risk.
  • Note that if an external application server is used instead of the embedded Tomcat or Jetty servers then many things normally configured here will be configured in the setup files for the external application server.
  • ${ofbiz install dir}/framework/webapp/config/url.properties (The URL Properties File)
    • These properties are used to configure the settings to send to the client browser. The port and host settings may be different than the port and host settings of the local machine if it is running through Apache through AJP, through any proxy, or through a load balancer of any sort. The settings in this file should be set to what the client browser will see when communicating with your system.
    • Note that the settings in this file can be overridden on the WebSite record with the ID specified by the webSiteId field in the web.xml file in each webapp, if applicable. These can be viewed and modified in the WebSites tab of the Content Manager application.

...