• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Proxy Applicaton

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello to you all.

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?

I hope that you can help me.

Thanks.
 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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?
 
Daniel Oliva
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
thanks Baski.

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.
 
Baski Reddy
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic