Spring Boot Admin and the business spring boot app in one war file? - spring-boot-admin

Is it possible to just host the spring boot admin web app within the same spring boot app it is monitoring? Conceptually I want to deploy a single war file to my application server that contains my spring boot web app and the admin features provided by spring boot admin all-in-one war file. Does that make sense?

Related

How to integrate Spring Batch ( without Spring Boot ) with Spring Cloud Data Flow Server

We are running spring batch with jboss application server (therefore cant run it as spring boot app). Is there any integration options for monitoring/administering spring batch with Spring Cloud DataFlowServer for the spring batch running in Jboss container ?
I had a similar issue where I was using spring batch with a weblogic 12.2.1.4 application server and wanted an admin console to view the status of job executions. Spring Cloud Data Flow was not suitable for my requirement. I ended up forking the old spring-batch-admin project and upgrading it to work with the latest version of spring batch and spring boot libraries. My forked git repo is here. I include this as a dependency in my war file that i deploy to weblogic and it provides the spring batch admin functionality, embedded in my application.

What controls the appearance of the "Web" option in the spring boot administrator UI?

I'm having an issue with using Spring Boot Administrator against a number of different Spring Boot microservices, where the Web left-hand menu option (which has the Mappings and HTTP Traces suboptions) only shows for some of the microservices.
The only obvious POM differences between those microservices that work and those that don't is the Spring Boot Starter parent version; those which display the Web option are using version 2.1.6.RELEASE, while those that do not are using higher versions like 2.3.1.RELEASE (which I'm guessing will affect versions of e.g. spring boot actuator libraries).
I'm using version 2.3.0 of Spring Boot Admin Server with Spring Boot Starter Parent 2.3.1.RELEASE.
For anyone else that stumbled upon this, the answer is that from Spring Boot 2.0.0 onwards, in order to expose the Spring Boot actuator httptrace endpoint (which is what drives the Web option in the Spring Boot Administrator), you now need to also add a bean that implements HttpTraceRepository into your Spring context.
e.g.
#Configuration
public class HttpTraceActuatorConfiguration {
#Bean
public HttpTraceRepository httpTraceRepository() {
return new InMemoryHttpTraceRepository();
}
}

Java Melody with Spring cloud apps

java Melody is good app instrumentation tool with old Java EE apps but doesn't find good support with any spring cloud stack apps. There is some support for spring boot app on Github
Any pointers will help how to use with spring cloud apps or spring boot app with eureka, zuul, config server

Why when i run the spring boot project in STS ,"there is no resource that can be added or removed from server in STS"

Its a Spring boot project which i have deployed in STS IDE when i am trying to run the web app in spring boot it doesn't run and shows a popup message that server resource not found.

Can't deploy Spring boot app on Jelastic

I'm using Jelastic . It works great with my PHP and servlet apps. But when I deploy Spring boot apps it's not working at all, even for a simple spring boot apps. Didn't find any doc in this case. Can i get some help?
Intelio,
There are two ways to deploy Spring boot app on Jelastic:
By building it from your Git/SVN repository using Maven;
By deployment your WAR file directly to Jelastic environment via archive/URL.
Please note that Spring Boot usage requires Java 8 at your application server.