These are chat archives for spring-cloud/spring-cloud

25th
Nov 2015
ccit-spence
@ccit-spence
Nov 25 2015 21:52
Has something changed with Actuator and Spring Cloud Brixton 3? Noticing my endpoints are 404’s
Dave Syer
@dsyer
Nov 25 2015 22:00
Not that I noticed
Maybe it's an optional dependency on some places now?
ccit-spence
@ccit-spence
Nov 25 2015 22:01
I see the endpoint register during app start
Dave Syer
@dsyer
Nov 25 2015 22:01
404 could mean you don't have the endpoint on the classpath
It's there then I guess
Wrong port. Wrong interface?
ccit-spence
@ccit-spence
Nov 25 2015 22:03
no different than I would access it any other time
it is port 8085
Dave Syer
@dsyer
Nov 25 2015 22:03
Are they all missing ?
Can you see them in JMX?
ccit-spence
@ccit-spence
Nov 25 2015 22:04
haven’t tried JMX. can’t find one yet to work
nvm just figured it out
Spencer Gibb
@spencergibb
Nov 25 2015 22:06
and? what was it?
ccit-spence
@ccit-spence
Nov 25 2015 22:06
has management.context-pathalways prepended the server.context-path?
the properties file had this config management.context-path = /${spring.application.name}/admin
not sure why it was like that
ccit-spence
@ccit-spence
Nov 25 2015 22:14
I probably need to go ski instead of code. That would probably fix the problem
Dave Syer
@dsyer
Nov 25 2015 22:17
The management.context-path would be prepended with the server.context-path if there is one.
Nothing new there
Skiing sounds like a sound idea
ccit-spence
@ccit-spence
Nov 25 2015 22:22
I didn’t write the properties file and it confused me when I could see the endpoint within app start. It didn’t indicate it was doubled essentially.
still not sure why the properties file would have ever been done that way.