Spring Boot Devtools Remote cause error at Pivotal Cloud Foundry - spring-boot

Sorry, cant post images with low reputation)
Here is my settings:
Spring Boot: 2.3.0.RELEASE
secret
build.gradle
Intellij Idea IDE Run/Debug Configuration
I have this app working at Pivotal Cloud Foundry. I have runing Remote App and after build through IDE or using
./gradlew clean assemble
I get
Exception in thread "File Watcher" java.lang.IllegalStateException: Unexpected 404 NOT_FOUND response uploading class files
error

Ok, so after looking through your demo app I believe the issue is that you're using Spring Webflux and that's not supported at the moment.
The remote devtools functionality is only available with Spring WebMVC & Servlet. See this Github issue for reference: https://github.com/spring-projects/spring-boot/issues/13092#issuecomment-387350811

Related

Unable to deploy spring boot application to weblogic server

Issue :
Unable to deploy Spring-Boot application in WebLogic Server.
Description
I am new to Spring boot trying to build a proxy application to route the requests to source system but having issues deploying to weblogic-12c. It's a very simple application that exposes a rest service and then redirects the received request to upstream system.
What did I try ?
Tried log4j version in pom.xml and dispatcher-servlet.xml approaches googling, I've also read the issue is b'coz of the data sources but I don't have any persistence logic and don't need a data source to be configured in weblogic.
Below is the error I am seeing, any suggestions are highly appreciated.
ERROR:
Unable to access the selected application.
Message icon - Error java.io.IOException
Message icon - Error weblogic.utils.compiler.ToolFailureException

Auto reload spring boot application in docker when using spring-security

I am developing an application with spring boot 2.
I deployed the application in docker, and I activated the "auto reload in docker with spring devtools"
but after adding spring-security, the autoreload does not work anymore.
I'm getting an error when the auto restart is triggered:
Exception in thread "File Watcher" java.lang.IllegalStateException: Unexpected 302 FOUND response uploading class files
Spring security is likely intercepting the HTTP requests that the autoreload system is using and redirecting you to the login page. You'll need to figure out what URLs the system uses and set those to permitAll() in the development environment.

How to deploy Spring Boot (1.3.6) or any Spring Boot project (connection to cloud database) to Google App Engine?

I want to deploy spring boot application (connect to cloud sql and return result) on Google App Engine, please share what are the steps to deploy it.
You can try jenkins auto deployment feature to deploy the application on to the server
Refer this link to get more Idea on jenkins.
http://www.tutorialspoint.com/jenkins/jenkins_automated_deployment.htm
please share more info on what is the server and how do you set up connection with database for more info.

Spring Cloud Hystrix Dashboard not working with OAuth

I am trying to run a simple Spring app with Hystrix Dashboard. I have also enabled Spring security on this app, as the hystrix.streams I want to monitor are security enabled.
When I access the dashboard url, I get redirected to a login page as expected to get my token, and then after login, I see the dashboard page. I then paste in the url of a hystrix.stream that I wish to monitor and press monitor, however, the next page simply has "Loading..." for both Circuit and Thread pools. I am running this in a PCF environment :
I can see in the Gradle Dependencies for the project that the version of Hystrix that Spring Cloud Starter is including is 1.4.0-RC6. I download the war for hystrix-dashboard 1.4.0-RC6 from here, and ran that, and noticed that even though I pasted in a correct token in the Authorization window, the effect was the same as the Spring Cloud Hystrix Dashboard - stuck in "Loading..."
When I ran hystrix-dashboard wars versions 1.4.3 and higher, there was no issue.
Perhaps the version of hystrix in Spring Cloud Hystrix needs to be updated?
For gradle we recommend using dependency-management-plugin as the gradle policies for resolving dependencies can cause problems.

Using Spring Console Extension in WebLogic 10.3.4.0 with Spring 3.0.3

I've a Spring 3.0.3-based EAR+WAR which I'm deploying to WebLogic 10.3.4.0. I want to be able to see my the various framework Spring Beans at runtime via JMX and ideally in the WebLogic console. (Note, these are NOT bean's we've written but the ones which come by default with Spring.)
Ideally we'd have been able to get it working with the WebLogic Spring Console Extension as described here. However after following all these steps (plus adding the weblogic-spring.jar to our WAR after we saw ClassNotFoundException errors in our WebLogic log when trying to navigate to the Spring tab in the WL Admin UI) we still see the following message in the WL console "This application does not use the Spring Framework or Spring MBean integration is not enabled." and no errors or messages in the log.
Does anyone know if it is possible to get Spring 3 apps working with the WebLogic 10.3.4.0 Spring Console Extension or should I try another route?
Weblogic family 10.3.X supports only Spring Framework 2.5.X

Resources