Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
S
spring-boot
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
DEMO
spring-boot
Commits
a3f5aaaf
Commit
a3f5aaaf
authored
Aug 11, 2017
by
Andy Wilkinson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update the documentation following changes to Jolokia's auto-config
See gh-9843
parent
7e97495c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
12 deletions
+9
-12
appendix-application-properties.adoc
...cs/src/main/asciidoc/appendix-application-properties.adoc
+4
-4
production-ready-features.adoc
...oot-docs/src/main/asciidoc/production-ready-features.adoc
+5
-8
No files found.
spring-boot-docs/src/main/asciidoc/appendix-application-properties.adoc
View file @
a3f5aaaf
...
@@ -1118,8 +1118,6 @@ content into your application; rather pick only the properties that you need.
...
@@ -1118,8 +1118,6 @@ content into your application; rather pick only the properties that you need.
endpoints.info.enabled= # Enable the endpoint.
endpoints.info.enabled= # Enable the endpoint.
endpoints.info.id= # Endpoint identifier.
endpoints.info.id= # Endpoint identifier.
endpoints.info.path= # Endpoint path.
endpoints.info.path= # Endpoint path.
endpoints.jolokia.enabled=true # Enable Jolokia endpoint.
endpoints.jolokia.path=/jolokia # Endpoint URL path.
endpoints.liquibase.enabled= # Enable the endpoint.
endpoints.liquibase.enabled= # Enable the endpoint.
endpoints.liquibase.id= # Endpoint identifier.
endpoints.liquibase.id= # Endpoint identifier.
endpoints.logfile.enabled=true # Enable the endpoint.
endpoints.logfile.enabled=true # Enable the endpoint.
...
@@ -1159,8 +1157,10 @@ content into your application; rather pick only the properties that you need.
...
@@ -1159,8 +1157,10 @@ content into your application; rather pick only the properties that you need.
endpoints.jmx.static-names= # Additional static properties to append to all ObjectNames of MBeans representing Endpoints.
endpoints.jmx.static-names= # Additional static properties to append to all ObjectNames of MBeans representing Endpoints.
endpoints.jmx.unique-names=false # Ensure that ObjectNames are modified in case of conflict.
endpoints.jmx.unique-names=false # Ensure that ObjectNames are modified in case of conflict.
# JOLOKIA ({sc-spring-boot-actuator}/autoconfigure/JolokiaProperties.{sc-ext}[JolokiaProperties])
# JOLOKIA ({sc-spring-boot-actuator}/autoconfigure/jolokia/JolokiaProperties.{sc-ext}[JolokiaProperties])
jolokia.config.*= # See Jolokia manual
management.jolokia.config.*= # Jolokia settings. See the Jolokia manual for details.
management.jolokia.enabled=true # Enable Jolokia.
management.jolokia.path=/jolokia # Path at which Jolokia will be available.
# MANAGEMENT HTTP SERVER ({sc-spring-boot-actuator}/autoconfigure/ManagementServerProperties.{sc-ext}[ManagementServerProperties])
# MANAGEMENT HTTP SERVER ({sc-spring-boot-actuator}/autoconfigure/ManagementServerProperties.{sc-ext}[ManagementServerProperties])
management.add-application-context-header=false # Add the "X-Application-Context" HTTP header in each response.
management.add-application-context-header=false # Add the "X-Application-Context" HTTP header in each response.
...
...
spring-boot-docs/src/main/asciidoc/production-ready-features.adoc
View file @
a3f5aaaf
...
@@ -125,9 +125,6 @@ If you are using Spring MVC, the following additional endpoints can also be used
...
@@ -125,9 +125,6 @@ If you are using Spring MVC, the following additional endpoints can also be used
|`heapdump`
|`heapdump`
|Returns a GZip compressed `hprof` heap dump file.
|Returns a GZip compressed `hprof` heap dump file.
|`jolokia`
|Exposes JMX beans over HTTP (when Jolokia is on the classpath).
|`logfile`
|`logfile`
|Returns the contents of the logfile (if `logging.file` or `logging.path` properties have
|Returns the contents of the logfile (if `logging.file` or `logging.path` properties have
been set). Supports the use of the HTTP `Range` header to retrieve part of the log file's
been set). Supports the use of the HTTP `Range` header to retrieve part of the log file's
...
@@ -802,7 +799,7 @@ using Maven you would add the following:
...
@@ -802,7 +799,7 @@ using Maven you would add the following:
</dependency>
</dependency>
----
----
Jolokia can then be accessed using `/jolokia` on your management HTTP server.
Jolokia can then be accessed using `/
application/
jolokia` on your management HTTP server.
...
@@ -810,11 +807,11 @@ Jolokia can then be accessed using `/jolokia` on your management HTTP server.
...
@@ -810,11 +807,11 @@ Jolokia can then be accessed using `/jolokia` on your management HTTP server.
==== Customizing Jolokia
==== Customizing Jolokia
Jolokia has a number of settings that you would traditionally configure using servlet
Jolokia has a number of settings that you would traditionally configure using servlet
parameters. With Spring Boot you can use your `application.properties`, simply prefix the
parameters. With Spring Boot you can use your `application.properties`, simply prefix the
parameter with `jolokia.config.`:
parameter with `
management.
jolokia.config.`:
[source,properties,indent=0]
[source,properties,indent=0]
----
----
jolokia.config.debug=true
management.
jolokia.config.debug=true
----
----
...
@@ -822,11 +819,11 @@ parameter with `jolokia.config.`:
...
@@ -822,11 +819,11 @@ parameter with `jolokia.config.`:
[[production-ready-disabling-jolokia]]
[[production-ready-disabling-jolokia]]
==== Disabling Jolokia
==== Disabling Jolokia
If you are using Jolokia but you don't want Spring Boot to configure it, simply set the
If you are using Jolokia but you don't want Spring Boot to configure it, simply set the
`
endpoints
.jolokia.enabled` property to `false`:
`
management
.jolokia.enabled` property to `false`:
[source,properties,indent=0]
[source,properties,indent=0]
----
----
endpoints
.jolokia.enabled=false
management
.jolokia.enabled=false
----
----
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment