I have a customer that need to install a Weblogic with one application on it. It´s OK . But this application work over the http cookie and then my customer want that the request be forwarded to another weblogic instance in another machine.
So, the situation is in Weblogic Server instance 1 Im going to have an application and the httpProxyServlet.
The question is: Is possible to configure the application that strips with cookie for send the http request to another WLS in another machine?
Can I use HttpProxyServlet, but How can I configure the application for forward the http request when the application that strip cookie finish its work?
Yes it's definitely possible to use WebLogic's proxy servlet but bit complicated and documentation is scarce. Any reasons why you can't use Apache's HttpClient besides that you need a additional set of jars?
Joined: Nov 24, 2011
Yes, It's a customer requirement. I can't make a guess.
We need install the HttpProxySerlvet en Weblogic and configure it to forward to a IIS site. This is relative simple but, I need to add Servlet filter to HttpProxyServlet to modify http request before this servlet forward the request to IIS.
It's nice!!!. Have you information that help me with this challenge!.
Thanks to you all.
Joined: Feb 09, 2010
I tried in the past but gave up since I couldn't figure how to cleanly handle the cookie from the other domain. However if you don't care about the cookie or content from the IIS server you can do this quickly.
I guess you meant Servet Mapping when you said Servlet Filter. All you probably have to do is configure the servlet and servlet-mapping with the URI's that needs to be proxy.