because the (new, upgraded) Tomcat Gradle plugin needs more memory (and this seems to make the build a bit faster, may be less is fine), and it does not work with the Gradle daemon; this fixes: > Task :tomcatRunWar Failed to initialize end point associated with ProtocolHandler ["http-bio-8080"] Failed to initialize connector [Connector[HTTP/1.1-8080]] Failed to initialize end point associated with ProtocolHandler ["ajp-bio-8009"] Failed to initialize connector [Connector[AJP/1.3-8009]] Failed to initialize end point associated with ProtocolHandler ["http-bio-8443"] Failed to initialize connector [Connector[HTTP/1.1-8443]] which appears on the 2nd (only!) run of `./gradlew tomcatRunWAR` (because the Tomcat embedded in the previous daemon-ized Gradle did not stop).
25 lines
1.1 KiB
Properties
25 lines
1.1 KiB
Properties
#
|
|
# 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.
|
|
#
|
|
|
|
# Increased memory and disabled daemon are required by gradle-tomcat-plugin
|
|
# The daemon is more pain than gain, because the Tomcat in the Gradle process does not shut down cleanly.
|
|
# TODO remove this after https://issues.apache.org/jira/browse/FINERACT-764
|
|
org.gradle.jvmargs=-Xmx4g
|
|
org.gradle.daemon=false
|