Questions tagged [springboot]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
2answers
64 views

CORS blocked by No “Access-Control-Allow-Origin” on dockerized Angular frontend app and Spring Boot dockerized backend

I have built an Angular app and created a docker image, which makes it run on an Nginx server (once it is run). For the backend, I have a dockerized implementation as well. While trying to access the ...
0
votes
1answer
93 views

Deploying React + Spring boot Rest + mysql on one cloud – is it possible?

I have finished by project coding, and now I want to launch it online. I need some consulting about my deployment process. At first I though that I will use the “free using” first year of AWS, but ...
0
votes
0answers
14 views

Azure cosmos DB Emulator with spring boot application

I am using spring boot with Azure cosmos DB emulator on my laptop. I can do fetch queries like findAll , findByID etc. But the save method does not create an e
0
votes
2answers
30 views

Are connections to databases http based or tcp based

are connections to Database http based or tcp based. Are jdbc of spring-boot application to postgressql http method connections based or tcp based connections.
0
votes
0answers
120 views

Google App Engine keeps restarting Spring Boot application all the time for no apparent reason

I have a very simple Java 11 Spring Boot application running on Google's App Engine. The problem is that the instance running the app keeps restarting very very often. Sometimes as often as 70 times ...
0
votes
0answers
29 views

Bad Gateway after deployment Spring-boot on GCP

I have been trying since couple of hours to resolve problem with my app engine application made in spring-boot java. There is my app.yaml: runtime: java env: flex instance_class: F2 runtime_config: ...
0
votes
1answer
95 views

Nginx und Tomcat For Spring and Angular App

I have Spring boot and Angular app in Tomcat Container deployed on Server. It works totally fine on localhost. Now I am trying to map my domain with the application. When I call my domain then API ...
0
votes
1answer
19 views

Installing tomcat 9 on oracle linux having tomcat 7

I have a task to deploy a war file of a Springboot 2.2.4 therefore the oracle linux server i am using already contains tomcat 7, and springboot 2.2.4 is not compatible with tomcat7 I am getting an ...
0
votes
0answers
28 views

Oauth2 issue in Spring Boot behind Nginx

I am deploying Spring Boot application behind a Nginx proxy server. Whenever I try to authenticate a user using this endpoint /oauth/token I don't get any response. This is my application.properties ...
0
votes
0answers
52 views

LDAP user registration gives “no global superior knowledge” error while DN is defined as per .ldif file

I am using LDAP for user management and I have configured it with Spring Boot Ldap. User login (authentication) is working properly and now, I am trying to register a new user and inserting an entry ...
0
votes
1answer
50 views

Get system information Response collected by Monit into Springboot/java

I have configured Monit version 5.6 on an Ubuntu 14.04 server. There are few check like filesystem usage, remote host connectivity check and service monitoring. Now, when I check the web gui of monit, ...
0
votes
1answer
178 views

Google App Engine tomcat error with Spring Boot

First of all, I am a real newbie using any cloud services, and this is the first time that I have asked something here, therefore I am apologizing in advance if anything I may say is wrong. I'm ...
0
votes
1answer
621 views

How to enable SSL for a web application and HTTP API running in AWS?

I've held off on writing this question because I'm not sure if it belongs on ServerFault or StackOverflow. I have a React web application hosted in an AWS S3 bucket and using CloudFront. I have a ...
0
votes
1answer
2k views

Running multiple instances of same springboot application

I've a spring-boot application which i want to deploy on OVH public cloud. I need t achieve the goal of deploying multiple instances of the same application, and each instance has to have its own ...
0
votes
0answers
9 views

which ec2 type instance suitable for java web app [duplicate]

We have developed ERP system in Spring Boot. Which have many clients because ERP is our Product. Currently it's Running on T2.large instance. but i want to know which ec2 type instance suitable for ...
0
votes
1answer
108 views

Deploy a spring boot application in jboss fuse

I have created a spring boot application consisting of a rest API. I want to deploy it in jboss fuse karaf so that i can call it from a remote angular application. Kindly help me how to configure this ...
1
vote
1answer
234 views

If I'm redirecting port 80 to 443 with ssl set up in nginx and proxy to my application on port 5000 do I still need to set up Spring boot to use SSL?

Sorry if this should go into stackoverflow or security, it's kind of a middle of the road question. I have nginx on an elastic beanstalk instance which is set to redirect 80 to 443 and is proxying ...
1
vote
0answers
29 views

Finding reason for Spring Boot application failure

My Spring Boot application stopped working a couple of days ago and I'm trying to figure out why so I can prevent it in the future. This is the first time this happens so I don't really know where to ...
-1
votes
1answer
363 views

How to create and use same ssl certificate on RabbitMQ server and Spring Boot App?

can a single ssl certificate either from CA or self signed be used for RabbitMQ server and for Spring boot app? I have RabbitMQ server running on one machine and Spring boot App running on another ...
0
votes
0answers
1k views

Cannot connect to websocket

When I tried to connect to spring boot web socket from android stomp client, it is not connecting and the catalina log shows Handshake failed due to invalid Upgrade header: null Tomcat server is ...
1
vote
1answer
3k views

how to access external mysql from docker

I have an springboot java app inside docker that needs to access an external mysql. How can I configure this? Is it possible to define it inside Dockerfile? I am now to docker so I assume this ...
1
vote
1answer
121 views

Azure application gateway spring boot app VM scaleset

I have a setup of Azure VM scaleset, each Linux VM running java spring boot app on a specific port (8070). I need to use a domain with https on application gateway and use Linux VMSS with java app as ...
1
vote
0answers
1k views

org.springframework.amqp.AmqpTimeoutException

My spring boot application throws connection timeout error, and it is never able to connect. The other interesting problem I see is, it is never picking up the connection timeout property defined in ...
0
votes
1answer
288 views

Degraded performance with NGINX SSL reverse proxy

We have a Java Spring Boot application that is behind a NGIX reverse proxy. Everything works as expected when the using HTTP - the API responds times are quit fast. Once the protocol is switched to ...
1
vote
0answers
150 views

Hyper-v dynamic memory issue with java spring boot

I have a developer who wrote several applications in Java spring boot and I have a VM configured with dynamic memory. His application stops working intermittently and he's pointing the finger at the ...
0
votes
2answers
1k views

Spring endpoints work with IP but not domain name. How to fix?

I have a Spring Boot application deployed in a VPS. I packaged it as a war and deployed it through the Tomcat manager (<IP>:<Tomcat port>/manager/html). It works if I access the endpoints ...
1
vote
2answers
143 views

How can I find disk space usage?

I have a Ubuntu docker run on CentOS host in Google Cloud. The docker runs a spring-boot application used for image uploading to S3. I do not save anything on local disk. Every 2 weeks or so, I have ...
4
votes
1answer
712 views

WSL and maven wrapper?

I'm trying to run my ./mvnw from a Spring Boot project in a WSL (Ubuntu) with Windows 10 Enterprise Build 1803. But I keep getting the same error every time: : not found ./mvnw: : not found ./mvnw: ./...
1
vote
1answer
2k views

Tomcat Tomcat/9.0.8 error java.lang.NoClassDefFoundError: javax/management/MBeanServerNotification

i am getting the following error when starting my java spring application > `16-Jul-2018 12:00:02.108 WARNING [http-nio-8080-exec-4] org.apache.catalina.loader.WebappClassLoaderBase....
0
votes
0answers
4k views

How to stop Spring Boot project running on Tomcat server to re-depeloy it-self each time I change static resources?

I have Maven Spring Boot Project that I configured to run on Tomcat 8.5 server. I run and develop it in Eclipse Java EE IDE. pom.xml is: <?xml version="1.0" encoding="UTF-8"?> <project ...
2
votes
1answer
648 views

Deploying application with SSH tunnel

I am developing spring-boot application where my backend-side is connecting to database using ssh tunneling (this part is required and cannot be changed). I have three ways to deploy application: ...
0
votes
1answer
94 views

Proper method for reloading a Spring (Tomcat) application?

Not sure if this is a ServerFault or StackOverflow question. I'm posting it here since it's more of a server-related thing. We're running a SpringBoot application (Java) running in a Tomcat container ...
1
vote
1answer
1k views

Windows: create a service for running a executable jar with out any external libraries

I have spring boot executable jar file which can run into any command prompt by calling java -jar filename.jar. I want to create a service with out downloading any external libraries for the above ...
0
votes
0answers
326 views

Redirect issues with Spring Boot on AWS Elastic Beanstalk

I've just put a new Spring Boot application on aws via elastic beanstalk. The app has its own static website that it hosts. When I run it locally I can go to localhost:5000 and it redirects me to ...
3
votes
0answers
360 views

Docker Swarm - database connection reset by peer

I am running a Spring Boot application with Docker Swarm and I use Postgres for database. When I run both of them as Docker service, database connection fails consistently and randomly (as you can ...
0
votes
1answer
1k views

Spring boot client and cloud config server HTTP authentication

I'm configuring a spring boot 1.5.4 client with spring cloud config server 1.3.1. The client and the server works without any authentication. However, I'm trying to configure HTTP Basic ...