You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using webapp runner with docker for hosting a web application , for files less than 1mb, the upload of files are successful but when file size exceeds 1MB, server is throwing 413 request entity too large HTTP status, We are using mvn dependency of web app runner in to our applications pom file,
here is the docker file of our hosted app :
Docker multi-stage build
1. Building the App with Maven
FROM maven:3-jdk-11
ADD . /reportserver
WORKDIR /reportserver
Just echo so we can see, if everything is there :)
RUN ls -l
Run Maven build
RUN mvn clean install
2. Just using the build artifact and then removing the build-container
hello,
I'm using webapp runner with docker for hosting a web application , for files less than 1mb, the upload of files are successful but when file size exceeds 1MB, server is throwing 413 request entity too large HTTP status, We are using mvn dependency of web app runner in to our applications pom file,
here is the docker file of our hosted app :
Docker multi-stage build
1. Building the App with Maven
FROM maven:3-jdk-11
ADD . /reportserver
WORKDIR /reportserver
Just echo so we can see, if everything is there :)
RUN ls -l
Run Maven build
RUN mvn clean install
2. Just using the build artifact and then removing the build-container
FROM openjdk:11-jdk
VOLUME /tmp
Add app.war to Container
COPY --from=0 "/reportserver/target/*.war" reportserver.war
COPY --from=0 "/reportserver/target/dependency/webapp-runner.jar" webapp-runner.jar
CMD java $JAVA_OPTIONS -jar webapp-runner.jar --port $PORT reportserver.war
can you please help us to configure the web app runner with respect to https://stackoverflow.com/questions/51390755/413-request-entity-too-large-apache-tomcat this tomcat thread for tomcat's 413 error
The text was updated successfully, but these errors were encountered: