I\'m having a trouble deploying a Spring boot application in webLogic 12C.
10.4.4 403 Forbidden The server understood the request, but is refusing to fulfill it. Au
If you are going to use multipart
file request, you may still find issues in deploying the war.
The root of the problem is that OrderedCharacterEncodingFilter is running after HiddenHttpMethodFilter. HiddenHttpMethodFilter
triggers processing of the request body as it calls getParameter
on the request. OrderedCharacterEncodingFilter
then runs and sets the request's encoding. Setting the request's encoding after its body has been processed is bad and, on WebLogic, causes the request to lose track of all its multipart data.
A workaround is to disable the character encoding filter in application.properties:
spring.http.encoding.enabled: false