Questions tagged [springframework]

45 questions
10
votes
1 answer

Kerberos authentication, service host and access to KDC

I have a web application (hostname: service.domain.com) and I wish to use Kerberos authentication to identify users that are logged into a Windows domain. Microsoft AD (Windows Server 2008 R2) is providing the Kerberos service. The service is a…
4
votes
1 answer

MongoDB SSL encryption and Spring's Driver

There is very limited information regarding MongoDB and SSL encryption for the transport between replica sets and drivers (java clients). Anyone have any experience setting this up? Looking to have traffic (queries and replica information) between…
Nick Huanca
  • 41
  • 1
  • 3
3
votes
1 answer

How to solve SocketException: Permission denied: connect

I recently encountered a problem that is giving me a headache and I need help ... The System consists of two subsystems, called A and B, each running on a standalone Tomcat instance and currently running on the same machine. A invokes B's service…
luxinxian
  • 31
  • 1
  • 1
  • 2
2
votes
2 answers

Spring Boot Apache SSL Reverse Proxy

I have a Spring Boot application that runs on a Amazon Linux server. I use Apache HTTP server as a proxy server for this application. Recently I installed Let's Encrypt SSL certificate and added a virtual host entry on Apache for that. However, I…
Hakan
  • 225
  • 1
  • 3
  • 8
2
votes
0 answers

Spring Boot 1.2.7, Tomcat, CSS and Thymeleaf = Very Very slow service

I have a Spring Boot 1.2.7.RELEASE web application (with Tomcat embedded) which needs to handle a very high load spike, ~ 10k connections in 4 to 5 minutes on one server (there is actually a cluster of servers but this is the load one node will…
Jim Archer
  • 141
  • 3
2
votes
0 answers

Got 504 Timeout in 200ms. What does that mean?

I have a website. Using Nginx and Spring. Today, some of APIs got 504 gateway timeout, but these time-out return instantly. I suppose a time-out error should be returned after a period of time. So, what does this mean?
hakunami
  • 121
  • 2
2
votes
3 answers

Apache Reverse Proxy setting for site having Spring Security

I am having a Spring MVC app which uses Spring Security for login. I am using Apache Webserver as Proxy and Tomcat. Below is my /etc/apache2/sites-enabled/example.com.conf file: ServerAdmin admin@example.com ServerName example.com ServerAlias…
AAgg
  • 321
  • 1
  • 4
  • 11
2
votes
1 answer

Download deployed Apache Tomcat .war file

I am a Apache Tomcat newbie and about to deploy an upgraded version of a Spring MVC application (compiled to a .war file) on an Apache Tomcat/6.0.28 server, using Tomcat Web Application Manager. Because I am not 100% certain that the application…
Gruber
  • 151
  • 3
  • 9
2
votes
1 answer

Error deploying Spring with JAX-WS application in Jboss 6 server

I'm getting the following error when deploying a Spring+JAX-WS application on JBoss server 6.1.0: 09:14:38,175 ERROR [org.springframework.web.context.ContextLoader] Context initialization failed:…
arlahiru
  • 31
  • 1
  • 4
1
vote
1 answer

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 start. Restarting the server solved the…
darksmurf
  • 111
  • 1
1
vote
0 answers

Port redirect and mask on Windows Server 2012 R2

I'm running a Springboot application on Windows Server 2012 R2. It seems to demand port 80 when executed from a fat JAR but I don't even want to consider freeing up that port on a Windows server. There seem to be far too many steps involved. In…
Martin Erlic
  • 119
  • 1
  • 1
  • 7
1
vote
1 answer

Spring API Resource URIs wrong in Docker Environment

I have an issue with my Spring Boot API, which I use in combination with Docker and Nginx as a reverse proxy. At the moment I am setting up a website together with a REST webservice. The webserver and the REST webservice (Spring Boot) are running in…
Marco N.
  • 21
  • 1
  • 1
  • 4
1
vote
1 answer

How to block IP by interacting with Firewall in JAVA?

I have built an Intrusion Detection System in JAVA. I have a web interface which shows a black listed IP. IP's are categorized as Web attcks, SIP attacks, SSH attacks, Probing and Malware. Now I am required to block this IP which falls in any of…
1
vote
0 answers

Integrate an IM chat server to existing Spring server

I'm trying to integrate an openFire XMPP server to my current company Spring server but have two major questions I cannot find the answer to - I'll start with my current architecture first - 1. The xmpp server have a DB-server of it's own…
Jk Dough
  • 11
  • 2
1
vote
0 answers

Can't get access from outside to the web server in Amazon EC2

I have a Linux instance in Amazon EC2. There is I deployed 2 Docker containers. One with Mysql, another one with Spring Boot. Container with Spring Boot has a TomCat server. I created a new Security group in EC2: Inbound: Custom TCP Rule TCP 8080…
1
2 3