Questions tagged [springboot]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
0answers
87 views

Enabling HSTS header on AWS Application Load Balancer

We have a Spring Boot application behind an AWS Application Load Balancer. The load balancer terminates SSL before forwarding coming requests to our application and also redirects 80 port to 443 port. ...
0
votes
0answers
43 views

Handling large number of concurrent users in spring websocket

I have been working with WebSocket in Spring with StompJS. The use case is for realtime recommendation system. For my scenario there can be from 1,000 to 1,000,000 users connecting concurrently. I can ...
0
votes
0answers
28 views

Requests from docker container in Google Cloud Run Service to Google Cloud SQL takes up to 2 minutes

Im using the Google Cloud Run service to host my Spring application in a docker container. The database is running in the Google SQL service. My problem is that the requests from the application to ...
0
votes
0answers
98 views

Should I use PgBouncer with Spring Boot?

Spring apparently supports connection pooling out of the box. Does it still make sense to use something like PgBouncer? https://docs.spring.io/spring-boot/docs/current/reference/html/spring-boot-...
0
votes
0answers
23 views

Server Requirements when hosting multiple Spring Boot Services on a single System

I need to host multiple instances of a Spring Boot based service container (30+) on a single server. The publisher is not able to provide information about the necessary requirements in regards to the ...
0
votes
0answers
17 views

Centos8 java application as service

Background: We are running java springboot applications on Centos8 (for now...) as service but applications take some time to startup: flyway, DAO initialization... Actualy start of service can take ...
0
votes
0answers
27 views

What is required or need to implement inside microservice which has kafka consumer( B microservice) code to avoid 401 error

I have Microservices called A, B, C, D. A contains Kafka producer code. B contains Kafka consumer code. B consume messages from Kafka consumer and process further and interact with other microservice ...
0
votes
1answer
65 views

How can I connect My Domain and Spring-boot project?

my env : Linux, maven, AWS EC2, Spring boot I can see the main screen of the project when I connect to the Elastic IP of EC2. However, when I try to connect to the purchased .dev domain, I get an 403 ...
0
votes
3answers
576 views

CORS Error in Google App Engine on java server

I have two apps. Frontend(Angular) running on Firebase Backend Spring Boot (Java11) running on App Engine Got this error while trying to reach any endpoints in app engine "Access has been blocked ...
0
votes
0answers
80 views

Kubernetes pod return 401 with Keycloak Bearer header

I have the k8s cluster which ALB(ingress) --> (api service, keycload service) --> (api deployment, pod deployment). I use authorize code authentication to Keycloak and get the access token. But ...
0
votes
0answers
73 views

OpenLdap - getting MDB_READERS_FULL

we run an OpenLdap server Version: openldap 2.4.47 On the application side: Spring Boot, spring data I have enabled the cluster mode. Today I received MDB_READERS_FULL. Restarting the LDAP server did ...
0
votes
0answers
30 views

SSL handshake failure when EC type keystore is exchanged

I have a Spring boot (version 2.2.5.RELEASE) application which works on one-way SSL. There are 2 cases: Case 1: Client has all the RSA type ciphers (TLS_DHE_RSA_WITH_AES_128_GCM_SHA256,...
0
votes
0answers
202 views

Easy AWS deployment of Spring Boot application with reasonable SSL costs

I am experimenting with deploying a standalone, executable Spring Boot JAR on AWS with SSL support. I tried using Elastic Beanstalk, which created an EC instance. It uses Route 53 with an Elastic Load ...
-1
votes
1answer
160 views

Google App Engine 500 internal server error

is there any way to solve this probleme but in my local m org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [...
0
votes
0answers
373 views

Spring Boot Application on EC2 Keeps Terminating when Served through CloudFront

I've deployed a Spring Boot REST application in an Amazon EC2 instance. Then I created a CloudFront distribution with behavior of "Redirect HTTP to HTTPS" and origin configuration as "...
1
vote
1answer
1k views

Seeing Java Spring Boot logs from AWS Elastic Beanstalk in AWS CloudWatch

I'm reading the documentation but I'm not understanding simple Java application log access via CloudWatch from AWS Elastic Beanstalk. I have a simple Java Spring Boot Application deployed on Elastic ...
1
vote
0answers
24 views

Simple site access analytics with Spring Boot on AWS Elastic Beanstalk

I have successfully set up a Spring Boot application, deployed as an executable JAR, on AWS Elastic Beanstalk. It has a load balancer with a maximum of 2 (for now) EC2 instances and uses HTTPS. It ...
0
votes
1answer
76 views

Spring application low performance when filtering data

I have created Spring application in app engine B2, I can see in logs that application takes 1s to complete data filtering(after wakening application up). When in my local machine it takes 10ms. Data ...
0
votes
0answers
306 views

Spring Boot and stop by systemctl not working

My application uses Spring Boot 2.3.1.RELEASE, it is an executable jar that uses an Embedded Tomcat and is listening on port 10605. I deployed on CentOS Linux release 7.6.1810 (Core). I took the ...
2
votes
2answers
3k 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
667 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
2answers
163 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.
1
vote
0answers
486 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
1answer
392 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
125 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
1answer
84 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
263 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
1k 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
3k 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
1answer
140 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
310 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
1answer
49 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
533 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
2k 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
5k 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
138 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
2k 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
447 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
212 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
2k 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
224 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 ...
5
votes
1answer
1k 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
6k 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
743 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
107 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
371 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
455 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
2k 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 ...