Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

sendRedirect method of Java ServletRequest class breaks flow on using Oracle HTTP Server

User_5S8POJun 23 2022 — edited Jun 27 2022

Hi All,
We have 2 war files deployed on standalone JVM in Weblogic 12.2.1.3 and request is routed using ProxyPass module on Apache 2.4.33.
Application 1 with context root (NAS) uses sendRedirect method in servlet to access module in Application 2 with context root(PTS) which is also deployed on the same JVM & port.
The application module is accessible & works fine when Apache HTTP server is used as proxy on Oracle Weblogic Server.
The same application module fails with Page not found error when Oracle HTTP Server is used as proxy server. (Application fails with mod_wl plugin & ProxyPass). Weblogic plugin is enabled on Weblogic.
sendRedirect method route request back to client browser. Can we use RequestDispacther method to route request to other servlet deployed in seperate war file but on the same server.
Any pointers or examples to achieve the same would be helpful.

Comments
Post Details
Added on Jun 23 2022
1 comment
89 views