| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one |
| or more contributor license agreements. See the NOTICE file |
| distributed with this work for additional information |
| regarding copyright ownership. The ASF licenses this file |
| to you under the Apache License, Version 2.0 (the |
| "License"); you may not use this file except in compliance |
| with the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, |
| software distributed under the License is distributed on an |
| "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| KIND, either express or implied. See the License for the |
| specific language governing permissions and limitations |
| under the License. |
| --> |
| |
| <ofbiz-component name="jetty" enabled="false" |
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/ofbiz-component.xsd"> |
| <resource-loader name="main" type="component"/> |
| <classpath type="jar" location="lib/*"/> |
| <classpath type="jar" location="build/lib/*"/> |
| |
| <container name="jetty-container" class="org.ofbiz.jetty.container.JettyContainer"> |
| <property name="default-server" value="server"> |
| <property name="send-server-version" value="false"/> |
| <!-- thread pool config --> |
| <property name="min-threads" value="5"/> |
| <property name="max-threads" value="100"/> |
| <property name="max-idle-time-ms" value="30000"/> |
| <property name="max-stop-time-ms" value="5000"/> |
| <!-- connectors --> |
| <!-- |
| <property name="http-connector" value="connector"> |
| <property name="type" value="http"/> |
| <property name="host" value="0.0.0.0"/> |
| <property name="port" value="8080"/> |
| </property> |
| <property name="https-connector" value="connector"> |
| <property name="type" value="https"/> |
| <property name="host" value="0.0.0.0"/> |
| <property name="port" value="8443"/> |
| <property name="keystore" value="framework/base/config/ofbizssl.jks"/> |
| <property name="password" value="changeit"/> |
| <property name="key-password" value="changeit"/> |
| <property name="client-auth" value="false"/> |
| </property> |
| --> |
| <property name="nio-http-connector" value="connector"> |
| <property name="type" value="nio-http"/> |
| <property name="host" value="0.0.0.0"/> |
| <property name="port" value="8080"/> |
| </property> |
| <property name="nio-https-connector" value="connector"> |
| <property name="type" value="nio-https"/> |
| <property name="host" value="0.0.0.0"/> |
| <property name="port" value="8443"/> |
| <property name="keystore" value="framework/base/config/ofbizssl.jks"/> |
| <property name="password" value="changeit"/> |
| <property name="key-password" value="changeit"/> |
| <property name="client-auth" value="false"/> |
| </property> |
| <!-- |
| <property name="ajp13-connector" value="connector"> |
| <property name="type" value="ajp13"/> |
| <property name="host" value="0.0.0.0"/> |
| <property name="port" value="8009"/> |
| </property> |
| --> |
| <!-- request logs --> |
| <property name="request-log" value="request-log"> |
| <property name="filename" value="runtime/logs/yyyy_mm_dd.request.log"/> |
| <property name="append" value="true"/> |
| <property name="extended" value="true"/> |
| <property name="timezone" value="GMT"/> |
| <property name="retain-days" value="90"/> |
| </property> |
| </property> |
| </container> |
| </ofbiz-component> |