数据结构

OFBiz端口修改

由于8080端口号被其它项目所占用,今天分析了下OFBiz默认端口号(8080,8443)的修改。发现只需要修改两个文件,还是比较简单的。 1、OFBIZ_HOME\framework\base\config\ofbiz-containers.xml中的以下部分中的8080和8443端口
  1. <property?name="http-connector"?value="connector">
  2. ????...
  3. ????<property?name="port"?value="8080"/>
  4. ????...
  5. </property>
  1. <property?name="https-connector"?value="connector">
  2. ????...
  3. ????<property?name="port"?value="8443"/>
  4. ????...
  5. </property>
2、OFBIZ_HOME\framework\webapp\config\url.properties中的以下部分中的8443和8080端口
  1. #?HTTPS?Port?(Secure?port)
  2. port.https.enabled=Y
  3. port.https=8443
  4. force.https.host=
  5. #?HTTP?Port?(Not?Secure?port)
  6. port.http=8080
  7. force.http.host=
The following is a list of IP port configuration file locators for reference: