Episode #125 of the Stack Overflow podcast is here. We talk Tilde Club and mechanical keyboards. Listen now

Questions tagged [springframework]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
8 views

WildFly v10 server was working Friday and failed on Monday

I have a WildFly v10 server set up in Eclipse to do local tests of an application I'm developing. It was running fine on Friday, but when I tried to fire it up today, the server refused to start and ...
0
votes
0answers
31 views

Java spring security for multiple spring-boot applications

I'm not quite sure if this question is allowed here or maybe it's too broad (if not I apologize). Let's say I have 2 spring-boot applications (.war files). One holds REST endpoints, the other ...
1
vote
0answers
17 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 ...
0
votes
0answers
2k 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 ...
0
votes
1answer
269 views

Tomcat serving pages from temp directory instead of webapps directory

I have an Apache Tomcat (Spring) application deployed inside a Docker container. Host is Centos 7, container is Debian 9. In the past, I have run this application without any problems outside of ...
1
vote
1answer
3k views

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 ...
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 ...
0
votes
1answer
795 views

nginx reverse proxy + docker spring war application

I have a nginx reverse proxy set up with this configuration: location /auth { proxy_pass http://example.com:8083; } location /blog { proxy_pass http://example.com:8082; } The blog docker ...
1
vote
0answers
313 views

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. ...
1
vote
1answer
539 views

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 ...
0
votes
0answers
436 views

Session issue on Load balancing URL Apache Web Server + Tomcat 7.0.54

I'm facing the session issue on the load balancing URL, the session is not getting created but it works fine when I use the Tomcat URL directly. Controller: @RequestMapping(value = "/...
0
votes
1answer
1k views

nginx proxy pass removing header SM_USER from java spring rest client request

We are using nginx as a proxy for a java application (both in docker containers, but that's probably not relevant). When we try to reach the java application via a rest client a specific header, ...
1
vote
1answer
521 views

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 ...
1
vote
0answers
504 views

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 ...
1
vote
0answers
404 views

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 ...
0
votes
1answer
133 views

Oracle 8.x what combination of JDBC driver, Hibernate and Spring? [closed]

I'm working to a small project which must run on Tomcat6. It's a small web application, that will use an old DB server which run HP-UX and Oracle8. Now, after several combining config, I'm stuck at ...
0
votes
1answer
2k views

Configure Database Properties for Tomcat Webapp

I setup a sample application in Tomcat but have trouble getting the database connection working. It is a standard WAR package written in Spring framework and uses a MySQL database. The application is ...
2
votes
0answers
1k views

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 ...
2
votes
0answers
211 views

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, ...
1
vote
1answer
3k views

Can't access to a port (which is running Spring boot jar) via it's public ip

I have deployed my spring boot app jar to centos server with this command: nohup java -jar black-0.0.1-SNAPSHOT.jar > log_black.out & In my application.properties I set the server port like ...
2
votes
3answers
7k views

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@...
1
vote
1answer
492 views

Signed ssl certificate not working on EBS AWS for Java Spring webapp

I am looking for help getting HTTPS working on my AWS EBS wepapp. I have loaded the cert into AWS however I still cannot connect to my site via HTTPS. My application uses Spring 4.1 and Spring ...
0
votes
1answer
228 views

Deploying grails application to iplanet webserver

I asked this question in stackoverflow and was advised to ask here. I have project that connects to a few Oracle 11g databases. So I have 3 different logins. This does fine when I run it locally from ...
1
vote
0answers
662 views

Openshift : SocketException (Permission denied) using Spring and embedded Ldap server

I'm facing the following error when I try to deploy my app which initializes an embedded Ldap server using Spring and ApacheDS on port 33389: 2014-10-20 12:55:22,933 ERROR (ContextLoader.java:331) - ...
1
vote
0answers
360 views

Java Spring application working on one system, dying on almost identical one

Introduction I'm running a third party Java Spring application on RHEL, that refuses to run on machines cloned from a certain RHEL 6.5 template. It just dies on startup with a bogus exception (see ...
2
votes
1answer
9k views

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 ...
0
votes
2answers
5k views

302/301 and 404 redirect issue for apache redirection for tomcat

I'm using Apache HTTPD in front of Apache Tomcat with the following virtual host: $ cat /etc/apache2/sites-enabled/onlinetaskboarddotcom <VirtualHost *:80> ServerAdmin comented@out.com ...
0
votes
1answer
145 views

Restricting access from the internet to a website in beta conflicting with the website's own authentication

I have a java website that runs on Apache Tomcat. As the website is in Beta, I don't want it to be publicly accessible to anyone on the internet and I want a restricted group of beta testers to ...
0
votes
2answers
2k views

JVM/Tomcat crashes when to many uploads occur in parallel (Heap Space)?

I have a Servlet application running on Tomcat 7. I set the following in setenv.sh CATALINA_OPTS=" -server -Xms1G -Xmx5G -XX:MaxPermSize=512m -Dfile.encoding=UTF-8"; The server runs on Ubuntu 12....
-1
votes
2answers
80 views

How to find out domain name for Win 2k8 server

I'm following this blog post: http://blog.springsource.com/2009/09/28/spring-security-kerberos/ It says: For this to work, every web applications needs to be registered at the Kerberos server ...
1
vote
2answers
548 views

Pros & Cons of Session Replication

Do I really need Session Replication? I am working on a number of web projects for a firm. Most of the projects are about one or two pages of input and then doing a save to a mysql database. Very ...
10
votes
1answer
1k views

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 ...
2
votes
1answer
3k views

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. ...
1
vote
1answer
844 views

Issue with resetting auto increment from default to big number [closed]

I have a MySQL table naming Invoice for a Inventory Monitoring site, invoice_number is bigint(19) AUTO_INCREMENT field. Currently AUTO_INCREMENT value is 1. Client want it to start the ...
0
votes
1answer
8k views

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: org....
4
votes
1answer
3k views

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 ...
0
votes
1answer
574 views

Spring-mvc project can't select from a particular mysql table

I'm building a Spring-mvc project (using JPA and Hibernate for DB access) that is running just great locally, on my dev box, with a local MySQL database. Now I'm trying to put a snapshot up on a ...
1
vote
2answers
2k views

Tomcat behind Apache httpd - ignoring RewriteRule?

I have a fairly common setup of a tomcat app server behind apache httpd using mod_proxy. My virtualhost looks like this: <VirtualHost test.example.be:80> ServerName test.example.be ...
0
votes
2answers
417 views

Tomcat/Spring SSL configuration

I'm trying to configure my Spring application to use an SSL certificate I purchased from a CA. I followed the directions for the Tomcat 6.0 configuration and have imported the key into my Tomcat ...
1
vote
1answer
4k views

Creating a configuration based virtual directory in WEB-INF

Within a web application I want to create a "virtual directory" that lives under the WEB-INF directory. In effect what I am trying to accomplish is the same effect as creating a soft link in the ...
0
votes
1answer
2k views

jboss 5.1 mysql connection pooling

I am using JBOSS 5.1.0.GA, MySQL 5.5 and Hibernate 3.3.1 GA (included with JBOSS) + Spring. My question is do I need to add c3p0 as a data source in my spring/hibernate configuration for connection ...
0
votes
1answer
2k views

Moving from WebSphere to Oracle WebLogic, getting a ClassNotFoundException

I was given an "EAR" file and told to try to deploy it on an Oracle WebLogic server. I had successfully deployed it on a IBM WebSphere server. When I attempt to start it on WebLogic, however, I get ...