Category "tomcat"

Form based Authentication in Tomcat

I performed login using form based authentication in tomcat(using j_security_check). I have added jdbc realm code in server.xml and also security constrains in

Using Docker to launch web app, can't connect to Postgresql DB?

I received the following error when trying to write session data using Tomcat's PersistentManager to a Postgres DB running on my local machine: SEVERE: A SQL

Deploying Spring Boot war in AWS ec2 instance

I am trying to deploy a spring boot application as war file in Apache Tomcat/8.5.29 on aws ec2 instance. Same war file working fine if i paste it in local machi

Generating and accessing WSDL on Tomcat with Maven

I have a JAX-WS server that I package with Maven and deploy on Tomcat. The pom.xml generates the WSDL file automatically with the trick from Use Maven to trigge

Change tomcats default URL

I have 2 runnings tomcats (version 8). 1 is reachable via http://localhost:8080/ . All other apps of this tomcat are reachable as expected on: http://localhost

How to implement Auto scale on Memory based metric in EKS cluster

I have a EKS cluster with min 3 and max 6 nodes, Created auto scaling group for this setup, How can i implement auto scale of nodes when spike up/down on Memory

uploading the war file to Azure web app, 404 error

In an attempt to learn and publish the war file to azure web app, I am using Azure Cli and publishing the war file. I followed the below article from microsoft

PHP Java bridge exception - protocol error

I am running the PHP-Java bridge server (apache-tomcat). Sometimes I get an intermittent error. It's working when I restart the tomcat server from /opt/apache-t

Adding .crt to Spring Boot to enable SSL

I have never done this before, and most of the tutorials do not mention how to deal with .crt files. I bought an SSL certificate from GoDaddy, and selected To

Apache Server: no listening sockets available

I recently downloaded an Apache server binary (Apache 2.4.12 x64) When I try to run the server in command prompt I get the following error: (OS 10048)Only one

Is it safe to delete catalina.out if Tomcat is stopped?

My catalina.out file has 37 GB which seems to prevent my app running correctly on a linux (Centos) server since the file takes up all my server space. I never t

How to split catalina.out for tomcat?

I have log4j2.xml properties: <?xml version="1.0" encoding="UTF-8"?> <Configuration> <Appenders> <Console name="Console" target

Bearer token for upstream server with NGINX reverse proxy. Is the header being stripped?

I have a Tomcat server that is behind an NGINX reverse proxy applying SSL. There is a bearer token in place for API calls on the Tomcat server, but I am getting

Server is not connected. Deploy is not available. IntelliJ 13 and Tomcat 7

Trying to run my app with IntelliJ 13 and Apache tomcat 7.0.42. JDK1.6 Always getting the error Artifact app:war exploded: Server is not connected. Deploy is n

Servlet ignores Content-Length and uses Transfer-Encoding: chunked based on User-Agent

I want to compress response body in javax.servlet.Filter. Here is my code byte[] bytes = // compressing response body response.addHeader("Content-Encoding", "

SEVERE [localhost-startStop-1] org.apache.catalina.core.ContainerBase.addChildInternal

I've just opened the project in netbeans, cleaned and build it then run the project but its showing the following error message. Note:Same project is working fi

Tomcat installation issue - "Could not find or load main class"

I want to create a 'Dynamic web project' in eclipse. To do so, I want Tomcat to be listed in 'Target runtime' combo. So, I'm trying to install Tomcat. I changed

unable to start embedded Tomcat when running Eureka Server

I am just starting with microservices and I want to creat a simple Eureka Server to do my Serviceregistry. For now I just want to run the server on localhost an

Enable HTTP2 with Tomcat in Spring Boot

Tomcat 8.5, which will be the default in Spring Boot 1.4, supports HTTP/2. How can HTTP/2 be enabled in a Spring Boot application?

resteasy-cdi breaks deployment to Tomcat 7

I am developing a simple REST server using resteasy 3.0.6.Final, which is deployed to tomcat 7.0.50. According to the official doc, there are basically two way