Questions tagged [springboot]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
2 answers
25 views

K8S limit number of starting pods at the same time

I have problem with K8S, I have about 30 microservices (java running on spring boot). Microservices needs a lot of CPUs only for startup because there are a lot of libraries. When I deploy all ...
user avatar
  • 1
0 votes
0 answers
5 views

Does springBoot Jar and React build from ubuntu server will work on CentOs server?

We have our jenkins on ubuntu server, we have 2 jobs, one is to create springboot jar's and another one to build react project. After successful completion of job we have to copy it on UAT server ...
user avatar
1 vote
0 answers
44 views

Configuring different apps in Nginx using same domain

I have an ecommerce application running 2 applications. App 1 (example1.com) is written as react.js and built as a normal html site. Nginx is serving this on port 7000. App 2 (my.example1.com) is a ...
user avatar
  • 11
0 votes
0 answers
35 views

How to pass https requests to http in nginx

I have a self signed certificate, I deployed my front end react app on nginx which is served by using HTTPS but front end is making call to back-end spring-boot app over HTTP and when i check inspect ...
user avatar
0 votes
1 answer
103 views

handel tls when domain point to subdomain in cname record

we are trying to point domain to sub doamins *.com --> *.zeineldin.link for example https://www.asrevo.com --> https://petman.zeineldin.link we need to support all domain not few domains for ...
user avatar
0 votes
0 answers
161 views

An I/O error occurred while reading from the JWK Set source: PKIX path building failed: unable to find valid certification path to requested target

I am trying to test my spring boot application in my local with http://localhost:8294/test but keep getting the certificate error. It was working until last week and all of sudden stopped working. I ...
user avatar
  • 1
0 votes
0 answers
31 views

Why won't exchange authenticate user in admin role?

I have a java spring boot application that I authenticate through our exchange servers. The from address included in the email is the same address associated with the authenticated user. When I point ...
user avatar
0 votes
0 answers
560 views

I am getting "During an aborted deployment, some instances may have deployed the new application version" error while deploying my app

I am getting Action execution failed Deployment completed, but with errors: During an aborted deployment, some instances may have deployed the new application version. To ensure all instances are ...
user avatar
0 votes
0 answers
35 views

Site working without SSL but not with SSL it will showing me Forbidden You don't have permission to access this resource

I have a live domain which is working perfectly without SSL but on SSL it will showing me following page Error Image: https://i.stack.imgur.com/9GXjO.png For this made changes in following files: 000-...
user avatar
0 votes
0 answers
281 views

Configuring VirtualHost in Spring Boot application embedded Tomcat server in Windows

I have a private Windows server running a Spring Boot jar file and I can access it via the IP address. I have a few websites available which I am able to access via the IP address and filters. (Note ...
user avatar
0 votes
0 answers
460 views

Nginx patch request ends up with Invalid CORS request

It's simple set up. Three docker containers in same network. ReactJs - production build on nginx server Spring Boot Mysql GET, POST request works like a charm but when i try to use PATCH request i ...
user avatar
  • 1
0 votes
0 answers
378 views

Apache Tomcat reject post request for more than 19KB and return 400 BAD REQUEST

Spring boot application deployed on apache tomcat 9 reject post request larger than 19kb. the bookController: @CrossOrigin(origins = "*", maxAge = 3600) @RestController @RequestMapping("...
user avatar
  • 1
0 votes
0 answers
136 views

Let's Encrypt: SSL Certificate is valid for the Domain but not valid Specific Port (net::ERR_SSL_PROTOCOL_ERROR)

I am using VPS: Amazon EC2 and SSL Cert Provider: Let's Encrypt (through Certbot) I have seen some kind of a question but the answer is not useful for my situation. I have a domain api.example.com ...
user avatar
1 vote
0 answers
70 views

How to diagnose a quietly dying Java server application?

We run a cluster of Java Spring server apps on AWS EC2 instances running Centos 7. We have health monitors on them, and occasionally an alarm will go off and we'll find that the Java process has ...
user avatar
1 vote
1 answer
2k views

maxConnections or maxThreads on tomcat

Looking for advice - I've read the other two threads about this in my server.xml file I have two places where maxThreads are defined in two places: <Executor name="tomcatThreadPool" ...
user avatar
  • 11
3 votes
0 answers
3k 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. ...
user avatar
0 votes
0 answers
27 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 ...
user avatar
  • 111
0 votes
1 answer
178 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 ...
user avatar
0 votes
3 answers
1k 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 ...
user avatar
0 votes
0 answers
169 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 ...
user avatar
  • 1
1 vote
0 answers
333 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 ...
user avatar
-1 votes
1 answer
278 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 [...
user avatar
1 vote
1 answer
2k 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 ...
user avatar
1 vote
0 answers
43 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 ...
user avatar
0 votes
1 answer
83 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 ...
user avatar
  • 1
0 votes
0 answers
522 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 ...
user avatar
2 votes
2 answers
7k 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 ...
user avatar
  • 21
0 votes
1 answer
856 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 ...
user avatar
  • 101
1 vote
2 answers
2k 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.
user avatar
  • 21
1 vote
0 answers
664 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 ...
user avatar
0 votes
1 answer
481 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 ...
user avatar
  • 101
0 votes
1 answer
223 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 ...
user avatar
  • 1
0 votes
1 answer
118 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, ...
user avatar
0 votes
1 answer
303 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 ...
user avatar
0 votes
1 answer
2k 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 ...
user avatar
  • 103
0 votes
1 answer
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 ...
user avatar
  • 101
0 votes
1 answer
160 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 ...
user avatar
1 vote
1 answer
381 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 ...
user avatar
  • 125
1 vote
1 answer
202 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 ...
user avatar
  • 111
-1 votes
1 answer
630 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 ...
user avatar
0 votes
0 answers
3k 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 ...
user avatar
  • 103
1 vote
1 answer
6k 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 ...
user avatar
  • 195
1 vote
1 answer
162 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 ...
user avatar
  • 111
1 vote
0 answers
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 ...
user avatar
  • 11
0 votes
1 answer
557 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 ...
user avatar
  • 293
1 vote
0 answers
272 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 ...
user avatar
  • 250
0 votes
2 answers
3k 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 ...
user avatar
  • 109
1 vote
2 answers
287 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 ...
user avatar
5 votes
2 answers
2k 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: ./...
user avatar
  • 153
1 vote
1 answer
3k 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....
user avatar
  • 143