How does a proxy servlet work and how to set up

I'm a newbie to Weblogic, using 8.1SP3. I came across documentation about a Proxy Servlet that allow weblogic to proxy requests to another web server. This is the scenerio I'm trying to set up. I want to create a weblogic module that proxies to yahoo.com. The communications between weblogic and yahoo may not be SSL, but from weblogic back to my client is SSL. I created a yahoo directory under user-projects\domains\mydomain. I created a WEB-INF\web.xml with the following based on the documentation:
          <!DOCTYPE web-app PUBLIC
          "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
          "http://java.sun.com/j2ee/dtds/web-app_2_3.dtd">
          <web-app>
          <servlet>
          <servlet-name>ProxyServlet</servlet-name>
          <servlet-class>weblogic.servlet.proxy.HttpProxyServlet
          </servlet-class>
          <init-param>
          <param-name>redirectURL</param-name>
          <param-value>http://www.yahoo.com:80</param-value>
          </init-param>
          </servlet>
          <servlet-mapping>
          <servlet-name>ProxyServlet</servlet-name>
          <url-pattern>/</url-pattern>
          </servlet-mapping>
          <servlet-mapping>
          <servlet-name>ProxyServlet</servlet-name>
          <url-pattern>*.jsp</url-pattern>
          </servlet-mapping>
          <servlet-mapping>
          <servlet-name>ProxyServlet</servlet-name>
          <url-pattern>*.htm</url-pattern>
          </servlet-mapping>
          <servlet-mapping>
          <servlet-name>ProxyServlet</servlet-name>
          <url-pattern>*.html</url-pattern>
          </servlet-mapping>
          </web-app>
          I deploy the yahoo directory from the admin console and when I go to https://localhost:7002/
          I would expect to see the www.yahoo.com page. Am I missing something. Is this not what the proxy servlet is for, is the above possible? Any help and suggestions appreciated.
          --Sam                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

Hey Anders, it's working....
          Believe it or not, all I did after adding the weblogic.xml was restart the bea server; even though I had redeployed the module.
          So, thank you very much for your patience and suggestions.
          --Sam                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

Similar Messages

  • How does the Passbook application work? How am I able to import my plane ticket, concert ticket etc into Passbook?

    How does the Passbook application work? How am I able to import my plane ticket, concert ticket etc into Passbook?

    Try the following to fix the iTunes Can't Connect issue that you are having:
    Open Settings.
    Open General.
    Open Date & Time.
    Switch the Set Automatically setting to Off.
    Open Set Date & Time.
    Set the date to a year ahead.
    Go back to the Home screen and open Passbook.
    Tap the App Store button. The App Store should load.
    Go back to Date & Time and turn on Set Automatically.
    Thanks to: https://discussions.apple.com/message/19622208#19622208

  • When ever I reboot my device, I get an error message that says, "runtime error info.plist not found". What is this, how does it effect my ipod and how do I correct this error?

    I have an ipod touch 64gb. Lately, I discovered an error message on the lockscreen that says "Runtime Error Info.plist not found". What is this, will it effect my ipod, how does it effect my ipod and how do I correct the error? (I see the error message when I power up my ipod and when I reboot).

    Follow  this article:
    How to restart the Apple Mobile Device Service (AMDS) on Windows

  • When I bookmark a page, a list of suggested places to save it is available, but how does it select those places (and how can I edit it to remove unneeded folders)?

    The pull-down includes a few logical places where I might want to save my bookmark, but it also includes a few that I may have used in the past but no longer want listed. How do I remove the erroneous locations??

    Chard..this is Chard, will someone really read my pleas for both needing help...and wanting to give the Mozilla Family help? Hmmm...I am hopefulllll...

  • How does the event structure work & ...

    How does the event structure work & and how to modify the case example if you want to change the name of the case? I haven't a look at the manual but nothing about event structure is mentioned.

    I know how it works.. =P

  • HOW DB POOLING WORK AND HOW TO CREATA A DB POOLING IN JSP

    HI! I'm new in programming JSP and in web programming. I would like to learn how does the DB pooling work and how to create a DB Pooling. THANKS....

    Thanks for the idea but i need a more detail one...
    Hi,
    Db connections are one of the most expensive
    operations in an application.So at applicatin launch
    only multiple connections to the dbase are opened and
    used and returned/closed after usage.
    You can have a loop running 10 times creating a
    connection every time and putting those in a
    Collection object (say hashtable) marked with a key.
    Then in the application code , take an available
    connection from the hashtable and use it . After use
    return /close the connection (your pool can be
    incremental..creating 5 connections evey 10-15
    minutes).

  • How does CDC consistant mode work

    Gurus,
    Please explain in simple words how does CDC consistant mode works and what are the Min_window and Max_window_id we see in the code generated by ODI
    Thanks

    When you turn off the iPod and then return to it within a few minute/hours, it will resume from where you left it. So far, so good.
    However, if you leave the iPod inactive for a period of 14 hours or more, it goes into a hibernation mode in order to conserve battery power. Then when next you turn it on, the iPod will restart with the Apple logo, and return to the main menu. Under those circumstances, it will not resume from the point you left it.

  • How does Internal Business Elimination work?

    Hello!
    Reading through this link http://help.sap.com/saphelp_nw04s/helpdata/en/d5/784d3c596f0b26e10000000a11402f/frameset.htm
    Any one knows...
    How does Internal Business Elimination work?
    How is the new key figure calculated?
    I really appreciate any information about that, because I don't know if this solution fits the problem I'm facing.
    Thanks a lot
    Andy
    Edited by: Andy Smith on Mar 30, 2008 4:50 PM
    Edited by: Andy Smith on Mar 31, 2008 10:04 AM

    Thank you Shweta,
    There is one point I don't understand very well. When you say "there has been some business between CC2 and CC3", do you mean CC3 is a partner cc of CC2?
    Maybe my problem is easier. Imagine I have a group of cc in the last level of the hierarchy
    cc1, cc2... cc5
    I need a new key figure (apart from 0Balance) for each cc that shows the balance of the internal operations, I mean for example, CC1 has CC2 and CC3 as partner cost centers. Then I need for each cc the quantity produced by their partner cost centers.
    Example
    CC1                                                                                CC2               CC3...
    Balance  |  New KYF
    100.000  |   50.000  <-- internal operation: sum of CC2, CC3
    Any information about how to do it would be great.
    Thanks!

  • Is it possible to have your whole family on one apple id or is it better to have each person have there own? If each has their own does each id have to buy their own music and apps? How does find my iphone work with one apple id or two?

    Is it possible to have your whole family on one apple id or is it better to have each person have there own? If each has their own does each id have to buy their own music and apps? How does find my iphone work with one apple id or two? also I am going to be going off to college soon should I make an itunes id for my self and how will I get all the music from the old id?

    Is it possible to have your whole family on one apple id or is it better to have each person have there own?
    Yes, it is possible. 1 apple ID can be associated with up to 10 devices.
    If each has their own does each id have to buy their own music and apps?
    Yes, all purchases are non-transferable.
    How does find my iphone work with one apple id or two?
    Every device associated with one apple ID through Find my iPhone is tied to that Apple ID; Find my iPhone will work in the same way with up to ten devices associated with one apple ID. You cannot enable Find my iPhone for one device across two apple IDs
    I am going to be going off to college soon should I make an itunes id for my self and how will I get all the music from the old id?
    If you have authorized a computer with the old apple ID, you can transfer old media purchased through the old to other devices via iTunes. This doesn't mean the media purchases through the old apple ID it transferred to the new account. If you plan to make future purchases and don't wish to share them with others, make your own apple ID.

  • How do you connect your photoshop elements on your computer to your account online? and how do you create a customized url? how does the gallery work and how do you access it? i have trouble signing in on my program from my computer to connect to the onli

    how do you connect your photoshop elements on your computer to your account online? and how do you create a customized url? how does the gallery work and how do you access it? i have trouble signing in on my program from my computer to connect to the online photoshop, and I really want to create my own customized url and post photos to my gallery and share them with the world, family, and friends, but i need help because i can't figure how to do any of this, would really appreciate feedback and assistance, thanks, - claire conlon

    To add to sig's reply, "calibrating" does not calibrate Lithiu-Ion batteries, it calibrates the charge reporting circuitry.  If you look at the effect of deep discharging Lithium-Ion batteries in the data from the independent test group, Battery University, you will see that doing so shortens the life of the battery significantly. It looks like an optimum balance between use and life is at a discharge level of 50%.

  • I need information on how Adobe Drive works and how to set it up

    Hey folks,
    believe it or not, but I have been searching a lot on the web already on how to find information how Adobe Drive works and how to set it up.
    Most information that I found is old and seems to be valid only for older versions of Creative suite. Here in the company we use CS5.5 and will switch to CS6 soon.
    I already downloaded Adobe Drive 3 and installed it on my Mac. Unfortunately I don't know what to do next? Do I need Adobe CQ to make it work? Or can I use it with an existing SVN infrastructure, that we have here? Actually I would like to access the SVN via Adobe Bridge. But after the installation of Adobe Drive my Bridge CS5.5 is crashing while starting up, and I didn't find out how to fix this again.
    Actually I just found the manual for Adobe Drive 3 and read it. Seems to be easy in case its working. But it's not in my case, as mentioned above.
    Any idea what could be the problem?

    Thanks,
    in the meantime I managed to re-setup Adobe Drive 3 again. Bridge CS5.1 is still crashing (i have a log-file with a detailed error-report, if somebody knows how to extract information from this.
    At least now I can start Drive as a standalone application.
    So now my main question is how to connect Drive 3 to our subversion infrastructure in the company. Does anybody have information on this?

  • How does the cloud connector work at the back end?

    Hi Everyone,
    As i am new to the Cloud connectors i am curious to know how connectors work.
    Can any one help me understand how the cloud connector (program builder) step calls the custom logic that is written to perform an external action. I beleive that we need to create a configuration page that is plugged in the Cloud connector step, where credentials, field mapping etc are configured. I guess the custom logic is not included in the Configuration page.
    What next! Does this information get stored in the external database and based on the unique instancename and program builder step ID these configurations are retreived.
    Also, hitting the "configure" button in the Cloud connector step opens the URL that is set up in the Cloud Connector manager. So, when the contacts flow through this step how do they get processed? While the configuration page is configured in the step but not the Custom Logic URL.
    Thanks,
    Shashank Sharma

    Hi Shashank!
    I am happy to help!
    You are correct that Cloud Connectors leverage Program Builder and have a separate configuration setup page that handles login authentication and customization of the specific Connector.  However, each connector can have a drastically different configuration within the configuration page.  Which Cloud Connector(s) are you looking to set up?  Let me know which Connector I can help you with and I will post a walk-through with screenshots for that specific example.  Hopefully that will help!
    To clarify your comments in the meantime:
    Based on your selected Eloqua Instance name, login authentication (for connector login), and other attributes, the information will be automatically pulled from the chosen Cloud Connector and stored in Eloqua (usually on the contact record).  Depending on what connector you are using, you may want to create custom fields on the contact record to store this new information that is being transferred from the connector service (ie Webex attendance information).  Keep in mind that all of the information that you bring into Eloqua will still reside on the Cloud Connector Service/Company’s servers as well.
    Again – feel free to let me know which Cloud Connectors you are looking at and I can send over a more specific walk-through on how they work and how to configure them.
    Talk to you soon,
    David Wacker
    Eloqua Solutions Consultant

  • How does "notify me" actually work in mail app

    Might be a daft question, but how does "notify me" actually work in iPhone email app?
    I get the principal but surely when you get a reply thats already noticed you?
    Could someone advise me how it actually notifies and is it in addition to receiving the reply to the mail?

    I have the columns in place. But I have a few questions -
    1. Iis there some kind of audit trail report on the updates to my record to the table? If so how do I get to see?
    2. Am I expected to create a <entity name>_HISTORY table for this to work? I see some such recommendation  here .

  • HT4914 How does the payment method work for iTunes Match?

    How does the payment method work with iTunes Match. For example, if you have a gift card, does it take it out of that. Or is there tax? What if you cancel your subscription in the middle of the year, does it take the money for that year or not? If someone could answer those questions it would be greatly apreciated. And if anyone has their own questions, feel free to ask. Thank you.

    Hi HLFrank,
    Welcome to Adobe Forum,
    You can opt for monthly payment in a yearly contract or pay at one go for an year.
    Please check the option at http://www.adobe.com/in/products/creativecloud/buying-guide.html
    Regards,
    Rajshree

  • HT201365 How does find my iPhone work as far as finding it?

    How does find my phone work if I can't find it?

    it uses the location services to locate it. but the phone has to be on and connected to some sort of internet (cellular or wifi)

Maybe you are looking for