Forum Stats

  • 3,824,872 Users
  • 2,260,435 Discussions
  • 7,896,336 Comments

Discussions

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

User_5S8PO
User_5S8PO Member Posts: 1 Employee
edited Jun 23, 2022 4:27PM in Java Servlet

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.