| 1 |
# |
| 2 |
# Copyright 2009-2014 Roland Huss, Neven Radovanovic |
| 3 |
# |
| 4 |
# Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 |
# you may not use this file except in compliance with the License. |
| 6 |
# You may obtain a copy of the License at |
| 7 |
# |
| 8 |
# http://www.apache.org/licenses/LICENSE-2.0 |
| 9 |
# |
| 10 |
# Unless required by applicable law or agreed to in writing, software |
| 11 |
# distributed under the License is distributed on an "AS IS" BASIS, |
| 12 |
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 |
# See the License for the specific language governing permissions and |
| 14 |
# limitations under the License. |
| 15 |
# |
| 16 |
|
| 17 |
# =============================================================== |
| 18 |
# Configuration properties for the JVM jolokia-agent |
| 19 |
# |
| 20 |
|
| 21 |
# Host address to bind to. |
| 22 |
# Default: localhost, determined dynamically |
| 23 |
# via InetAddress.getLocalHost() |
| 24 |
# host=localhost |
| 25 |
|
| 26 |
# Port to listen to |
| 27 |
port=8778 |
| 28 |
|
| 29 |
# Context path |
| 30 |
agentContext=/jolokia |
| 31 |
|
| 32 |
# Backlog of request to keep when queue |
| 33 |
backlog=10 |
| 34 |
|
| 35 |
# Executor class to use. By default, requests are processed |
| 36 |
# sequentially in the same thread |
| 37 |
|
| 38 |
# Possible values: |
| 39 |
# * "fixed" : Thread pool with at max nrThreads |
| 40 |
# * "single" : A single thread serves all requests (default) |
| 41 |
# * "cached" : A thread pool which reuses threads and creates threads |
| 42 |
# on demand (unbounded) |
| 43 |
# executor=fixed |
| 44 |
# threadNamePrefix=jolokia- |
| 45 |
# nrThreads=5 |
| 46 |
|
| 47 |
# User and password for basic authentication |
| 48 |
# user=bragg |
| 49 |
# password=secret |
| 50 |
|
| 51 |
# How many entroes to keep in the history |
| 52 |
historyMaxEntries=10 |
| 53 |
|
| 54 |
# Switch on debugging |
| 55 |
debug=false |
| 56 |
|
| 57 |
# How many debug entries to keep on the server |
| 58 |
# side which can be queried by JMX |
| 59 |
debugMaxEntries=100 |
| 60 |
|
| 61 |
# Maximum traversal depth for serialization of complex objects. |
| 62 |
# (default: 0. Use 0 for no truncation) |
| 63 |
maxDepth=15 |
| 64 |
|
| 65 |
# Maximum size of collections returned during serialization. |
| 66 |
# If larger, the collection is truncated |
| 67 |
# (default: 0. Use 0 for no truncation) |
| 68 |
maxCollectionSize=0 |
| 69 |
|
| 70 |
# Maximum number of objects returned by serialization |
| 71 |
# (default: 0. Use 0 for no truncation) |
| 72 |
maxObjects=0 |
| 73 |
|
| 74 |
# Whether multicast discovery is enabled or not. |
| 75 |
discoveryEnabled=true |
| 76 |
|
| 77 |
# HTTPS related setting |
| 78 |
secureSocketProtocol=TLS |
| 79 |
keyStoreType=JKS |
| 80 |
serverKeyAlgorithm=RSA |
| 81 |
|