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
1e9d4a22
Commit
1e9d4a22
authored
Nov 22, 2015
by
cornelcreanga@yahoo.com
Committed by
Andy Wilkinson
Dec 03, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Document how to use Actuator with Jersey
Closes gh-4577
parent
3f9a2aa1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
1 deletion
+16
-1
howto.adoc
spring-boot-docs/src/main/asciidoc/howto.adoc
+14
-0
production-ready-features.adoc
...oot-docs/src/main/asciidoc/production-ready-features.adoc
+2
-1
No files found.
spring-boot-docs/src/main/asciidoc/howto.adoc
View file @
1e9d4a22
...
@@ -1776,6 +1776,20 @@ See also the section on <<boot-features-error-handling, Error Handling>> for det
...
@@ -1776,6 +1776,20 @@ See also the section on <<boot-features-error-handling, Error Handling>> for det
how to register handlers in the servlet container.
how to register handlers in the servlet container.
[[howto-use-actuator-with-jersey]]
=== Actuator and Jersey
Actuator HTTP endpoints are only available for Spring MVC-based applications. If you want
to use Jersey and still use the actuator you will need to enable Spring MVC (by depending
on `spring-boot-starter-web`, for example). By default, both Jersey and the Spring MVC
dispatcher servlet are mapped to the same path (`/`). You will need to change the path for
one of them (by configuring `server.servlet-path` for Spring MVC or
`spring.jersey.application-path` for Jersey). For example, if you add
`server.servlet-path=/system` into `application.properties`, the actuator HTTP endpoints
will be available under `/system`.
[[howto-security]]
[[howto-security]]
== Security
== Security
...
...
spring-boot-docs/src/main/asciidoc/production-ready-features.adoc
View file @
1e9d4a22
...
@@ -9,7 +9,8 @@ application using HTTP endpoints, with JMX or even by remote shell (SSH or Telne
...
@@ -9,7 +9,8 @@ application using HTTP endpoints, with JMX or even by remote shell (SSH or Telne
Auditing, health and metrics gathering can be automatically applied to your application.
Auditing, health and metrics gathering can be automatically applied to your application.
Actuator HTTP endpoints are only available with a Spring MVC-based application. In
Actuator HTTP endpoints are only available with a Spring MVC-based application. In
particular, it will not work with Jersey unless you enable Spring MVC as well.
particular, it will not work with Jersey <<howto.adoc#howto-use-actuator-with-jersey,
unless you enable Spring MVC as well.>>
--
--
...
...
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