Category "tomcat"

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

vaadin 23 reporting debug mode when built for production

I've built my vaadin 23 app in production mode via: mvn clean package -Pproduction -DskipTests -U My pom.xml contains the necessary profile: <!-- vaadin pro

Servlet 5.0 JAR throws compile error on javax.servlet.* but Servlet 4.0 JAR does not

I am trying to compile and deploy a simple web app from command line. servlet-api.jar from Apache Tomcat does not compile my java file, but javax.servlet-api-4.

Tomcat Manager - Active Directory Authentication

I want to know how it's possible to use Active directory, for access roles on tomcat manager app? The idea is to make possible accees to http://localhost:8080/m

Spark saveAsTextFile() results in Mkdirs failed to create for half of the directory

I am currently running a Java Spark Application in tomcat and receiving the following exception: Caused by: java.io.IOException: Mkdirs failed to create file:/

Restart Tomcat Service on AWS EC2 instance, on a schedule

I have an instance on Tomcat running on EC2. Based on some resourcing reasons that I don't want to get into, I'd like it to restart each evening at 11:00pm. I

Customize keycloak error page with spring boot

I use keycloak-spring-boot-starter to protect my rest-service from unauthorized access. The authentication works as expected, but if the authentication fails, t