Web App and Virtual Host and Clustering

          Hi,
          How are you doing?
          What is the best way to deploy a web application using a virtual host on a clustered
          environment?
          Here is what we are doing:
          o Deploy the web application on the virtual host
          o Deploy the virtual host on the cluster
          o Make the web appliation, the default application on the virtual host
          This seems to work, but I have additional questions?
          In the above deployment, looking at the deploy tab for the web application shows
          that the application is deployed to both the cluster as well as the virtual host.
          Even though we didn't explicitly deploy to the cluster! What happens if we deploy
          explicity (i.e., target) the web application to the cluster?
          What other approaches / configurations are you guys using?
          Thank you so much,
          -Bart Simpson
          

Never mind, I think I have a solution. Even though e-docs say that DefaultWebApp attribute at virtual host level was deprecated as of WL 8.1 (inline with Servlet 2.3 specification) one can directly edit config.xml file and add the attribute.
For instance, here is an example to set webapp APP1 as a default webapp for virtual host vhAPP1:
<VirtualHost
Name="vhAPP1"
DefaultWebApp="APP1"
... />

Similar Messages

  • Configuring default web apps for virtual hosts

    Hi,
    This posting is meant save time for anyone trying to specify a default web app
    for each of their virtual hosts (as opposed to specifying a default web app for
    each of their wl servers). This applies to weblogic 6.1, on NT. (I haven't tried
    this on other platforms).
    If you are trying to use the admin console to do this, give up. It's not possible.
    The "Virtual Host/Configuration" window lets you specify everything about that
    vhost configuration EXCEPT a default web app. (The "Default Web Application" drop
    down menu will always have only one option to choose from: "none").
    Instead, shutdown your server, and edit your domain's config.xml file manually.
    Attached is an example config file that specifies that the web app "kz" should
    be the default web app for the vhost "wl.kz.com", and that the web app "kahuna"
    should be the default web app for the vhost "www.kahuna.com".
    Hope this helps,
    Brian O'Donnell
    Lead Developer, Learning Network
    [config.xml]

    Hi,
    Is it possible to configure default web appls for virtual hosts
    with Weblogic 6.0 on NT platform? I tried to configure the configure.xml as Brian
    did, it doesnot work. I am just wondering if there's any other possible way to
    do this.
    Thanks.
    Mei
    "Brian O'Donnell" <[email protected]> wrote:
    >
    >
    >
    Hi,
    This posting is meant save time for anyone trying to specify a default
    web app
    for each of their virtual hosts (as opposed to specifying a default web
    app for
    each of their wl servers). This applies to weblogic 6.1, on NT. (I haven't
    tried
    this on other platforms).
    If you are trying to use the admin console to do this, give up. It's
    not possible.
    The "Virtual Host/Configuration" window lets you specify everything about
    that
    vhost configuration EXCEPT a default web app. (The "Default Web Application"
    drop
    down menu will always have only one option to choose from: "none").
    Instead, shutdown your server, and edit your domain's config.xml file
    manually.
    Attached is an example config file that specifies that the web app "kz"
    should
    be the default web app for the vhost "wl.kz.com", and that the web app
    "kahuna"
    should be the default web app for the vhost "www.kahuna.com".
    Hope this helps,
    Brian O'Donnell
    Lead Developer, Learning Network

  • Is weblogic 8.1.1 capapble of having a default web app on virtual hosts?

    I have a number of virtual host being served on the same weblogic 8.1.1
    server. For example, say www.abc.com , www.def.com and www.ghi.com and they
    each have their own directory underneath the applications directory ABC,
    DEF, GHI. When the user types out http://www.abc.com or def.com or even
    www.ghi.com, I would like weblogic to automatically goto the appropriate web
    app I want to associated with each virtual host.
    Is this possible? So far, I've seen it can't.
    I put in the <context-root>/</context-root> in the weblogic.xml file, but
    the server only lets you have one context root. So the first web app to
    load gets the context root, so www.def.com can get the DEF application, but
    the rest of them have to have some context, in other words www.abc.com/ABC
    or even www.abc/GHI will work, but I don't want that! This was easily
    configurable in 7.0SP1+2. Where and how do I do this in 8.1.1?
    If you've tried this and got it to work, please post any files you might
    have that are useful? I'm not sure where to goto next. Thanks.

    I think I found out what my problem is. There appears to be no restrictions
    in the server for the virtual host name being the same name as the
    application name. When there is, WLS seems to lose control of where to goto
    in the config.xml file. I just prefixed my virtual host names with 'vh' and
    all is good!
    "Flip" <!no_spam![email protected]> wrote in message
    news:[email protected]..
    I have a number of virtual host being served on the same weblogic 8.1.1
    server. For example, say www.abc.com , www.def.com and www.ghi.com andthey
    each have their own directory underneath the applications directory ABC,
    DEF, GHI. When the user types out http://www.abc.com or def.com or even
    www.ghi.com, I would like weblogic to automatically goto the appropriateweb
    app I want to associated with each virtual host.
    Is this possible? So far, I've seen it can't.
    I put in the <context-root>/</context-root> in the weblogic.xml file, but
    the server only lets you have one context root. So the first web app to
    load gets the context root, so www.def.com can get the DEF application,but
    the rest of them have to have some context, in other words www.abc.com/ABC
    or even www.abc/GHI will work, but I don't want that! This was easily
    configurable in 7.0SP1+2. Where and how do I do this in 8.1.1?
    If you've tried this and got it to work, please post any files you might
    have that are useful? I'm not sure where to goto next. Thanks.

  • Web sharing - virtual hosts and CGI

    This topic might be a bit advanced for this forum, I'm not sure. But here goes.
    I'm trying to set up my laptop to act like a web server so that I can do test development on it. I have two web sites, and have successfully created virtual hosts for each of them.
    The part that I'm struggling with now is enabling CGIs, as I want to learn to write CGIs in Perl. I can't seem to find any site that discusses how this is done in Leopard. One said something like "just put the CGIs into /Library/WebServer/CGI-Executables and it'll work", but of course, since I've got virtual hosts defined, it seems that anything addressed to "localhost" defaults to the first virtual host and thus there is no way to refer to a CGI placed in that location. Besides which, I'd like to know how to enable CGIs placed in a folder on each of my virtual sites, so that I could test them in place.
    Any ideas?

    One said something like "just put the CGIs into /Library/WebServer/CGI-Executables and it'll work", but of course, since I've got virtual hosts defined, it seems that anything addressed to "localhost" defaults to the first virtual host and thus there is no way to refer to a CGI placed in that location.
    That is an incorrect assumption.
    By default, Apache is configured to recognize any URI that begins with /cgi-bin and serve that request via a CGI script in /Library/WebServer/CGI-Executables
    This is true even though each site's DocumentRoot is set somewhere else on the file system (that's by design since it makes it harder for a remote attacker to affect your CGIs)
    Since it does not matter which site the request was on, any /cgi-bin request would be served from there, so:
    http://www.domain1.com/cgi-bin/some.cgi
    http://www.domains2.net/cgi-bin/other.cgi
    would both be served from /Library/WebServer/CGI-Executables even though they are for two different virtual hosts.
    Now, of course, if you want each site to be separate and have its own set of CGIs (maybe some.cgi for domain1 does something different from some.cgi on domain2) then this approach causes problems. For this you will need to edit each site to have its own cgi-bin directory.
    Unfortunately (although I haven't tested it) I think Matt's solution won't work because Apache is going to catch all /cgi-bin/ requests and serve them from /Library/WebServer/CGI-Executables, never getting to the cgi-bin directory within each site's documentroot.
    To set site-specific CGI directories you need to add a ScriptAlias command to each site's .conf, such as:
    ScriptAlias /cgi-bin/ /path/to/site/cgi-bin/
    This tells apache that any request for /cgi-bin/* should be served from /path/to/site/cgi-bin
    Ideally the path should be outside of the site's normal document root, but it can be inside if you really want.

  • Apache, name based virtual hosts and multiple servers.

    Hi,
    Ive been playing with Apache and name-based virtual hosts for a while now, but, ive been doing it with one single server... now i have the need to forward a name-based request to another server inside the intranet (wich doesnt have a public IP, but a private)...
    Something like this:
    internet -----> Webserver (name based vhosts) ----> intranet-webserver
    Where "webserver" has several domains resolved via name based virtual hosting, and one of those needs to be redirected (or forwarded) to another server on the LAN.
    Any ideas on how to do this? i tryed searching the web, but i dont know under which keywords, so i always end on single server virtual hosting help sites.
    thanks in advance!

    you need to define a virtual server for it..but inside that definition.. define a proxy.
    Then the middle webserver, will actually handle the request to the intranet server, on behalf of the internet client..and then pass the traffic to the internet client.
    this looks like a reasonable example..
    http://www.linuxfocus.org/English/March … le147.html
    namely, the section "Mapping Virtual Servers"

  • Can I cluster a web app that uses Spring and iBATIS?

    I have a web app that uses Spring and iBATIS. It runs great on a single server. I am now trying to get it to run in a cluster. I went through the code and made all the classes serializable. Also, I added the distributable tag to the web.xml. I then deployed it to two clustered app servers.
    When I logon and use the web app, everything goes well. Then, as a test, I determine which app server is being used and stop the web app on it. As I try to continue my session, the following exceptions are generated from the other node:
    java.lang.IllegalArgumentException: No SqlMapClient specified.
    The exception is being thrown from the Spring code. Is there something else I need to do to get Spring and iBatis to work in a clustered environment.
    Also, I see a lot of references to Terracotta as a clustering solution. Will Terracotta work with Oracle App Server?

    Thanks for the response.
    I think my session information is being shared. I've configured the default application in my OC4J configured for peer-to-peer clustering. Before I did this, if I shut down the instance I was using, it would fail-over to the other application server but my session would be gone and I would be forced to logon again. But once I was logged on, everything ran smoothly.

  • Web App name tag capabilities and Upload response handling

    Hi Guys,
    Let me begin by apologising for how long-winded this is going to be. 
    I have set my products up in the ecommerce module utilising catalogues etc - I have removed the buy now and cart options, so the ecommerce module is operating essentially like a showroom.  What I want to do now is link the individual large products to a web app because my product range requires personalization and the customers need to give me information and assetts to get their finished product back - the key for me is getting reports from the system, the web apps are just a portal to those reports.  So the workflow would see them submit their text and assetts to be used in the final product and pay via the web app.  With the web app that takes payment and allows them to submit their personalization stuff I was going to make one per product, so if product a) requires them to submit one block of text and 2 photos, the web app would have corresponding fields.  Then I got thinking about using content holders, the one web app for all products that need one block of text and 2 photos, if I could get the name tag to populate with the product page that sends to it, or the page name the web app form is inserted on, because this will correspond to the large product.  This way when I do the reporting instead of having to report from heaps of web apps, I could just filter the reports by the product name.  It would mean I would only need a handful of web apps vs needing quite a lot, but if it is beyond me I am happy that I have a solution, even if it is a bloated one.
    The other part of this involves me needing to capture the uploaded file name in the web app form fields so I can report from them.  I have been looking around and came across the below code.  My web app will require 1-12 uploaded file names to be captured in 1-12 form fields i.e. img_1 - img_12 - I am not a coder but I wondered whether this had potential for what I need.  It comes from here http://www.openjs.com/articles/ajax/ajax_file_upload/response_data.php
    Thanks in advance for taking the time to digest all of this.
    Mandy
    A Sample Application
    For example, say you are building a photo gallery. When a user uploads an image(using the above mentioned ajax method), you want to get its name and file size from the server side. First, lets create the Javascript uploading script(for explanation on this part, see the Ajax File Upload article)...
    The Code
    <script type="text/javascript"> function init() { document.getElementById("file_upload_form").onsubmit=function() { document.getElementById("file_upload_form").target = "upload_target"; } } </script>  <form id="file_upload_form" method="post" enctype="multipart/form-data" action="upload.php"> <input name="file" id="file" size="27" type="file" /><br /> <input type="submit" name="action" value="Upload Image" /><br /> <iframe id="upload_target" name="upload_target" src="" style="width:100px;height:100px;border:1px solid #ccc;"></iframe> </form> <div id="image_details"></div>
    And the server side(PHP in this case) script will look something like this...
    <?php list($name,$result) = upload('file','image_uploads','jpg,jpeg,gif,png'); if($name) { // Upload Successful $details = stat("image_uploads/$name"); $size = $details['size'] / 1024; print json_encode(array( "success"     =>     $result, "failure"     =>     false, "file_name"     =>     $name,     // Name of the file - JS should get this value "size"          =>     $size     // Size of the file - JS should get this as well. )); } else { // Upload failed for some reason. print json_encode(array( "success"     =>     false, "failure"     =>     $result, )); }
    Here we are printing the data that should be given to JS directly into the iframe. Javascript can access this data by accessing the iframe's DOM. Lets add that part to the JS code...
    function init() { document.getElementById("file_upload_form").onsubmit=function() { document.getElementById("file_upload_form").target = "upload_target"; document.getElementById("upload_target").onload = uploadDone; //This function should be called when the iframe has compleated loading // That will happen when the file is completely uploaded and the server has returned the data we need. } }  function uploadDone() { //Function will be called when iframe is loaded var ret = frames['upload_target'].document.getElementsByTagName("body")[0].innerHTML; var data = eval("("+ret+")"); //Parse JSON // Read the below explanations before passing judgment on me  if(data.success) { //This part happens when the image gets uploaded. document.getElementById("image_details").innerHTML = "<img src='image_uploads/" + data.file_name + "' /><br />Size: " + data.size + " KB"; } else if(data.failure) { //Upload failed - show user the reason. alert("Upload Failed: " + data.failure); } }
    Explanation
    Lets see whats happening here - a play by play commentary...
    document.getElementById("upload_target").onload = uploadDone;
    Set an event handler that will be called when the iframe has compleated loading. That will happen when the file is completely uploaded and the server has returned the data we need. Now lets see the function uploadDone().
    var ret = frames['upload_target'].document.getElementsByTagName("body")[0].innerHTML; var data = eval("("+ret+")");
    These two lines are an eyesore. No - it goes beyond 'eyesore' - this is an abomination. If these lines causes you to gouge out your eyes and run for the hills, I can understand completely. I had to wash my hands after writing those lines. Twice.
    var ret = frames['upload_target'].document.getElementsByTagName("body")[0].innerHTML;
    This will get the data the server side script put in the iframe. This line cannot be avoided as far as I know. You can write it in different ways - but in the end, you will have to take the innerHTML or the nodeValue or something of the body element of the iframe. I used the smallest code in the sample. Even if you specify the Content type of the iframe page as text/plain, the browser will 'domify' it.
    One other thing - in frames['upload_target'] the 'upload_target' is the name of the iframe - not the ID. Its a gotcha you need to be aware of.
    var data = eval("("+ret+")");
    Thankfully, this line can be avoided - you can use some other format(in this particular case the best format might be plain HTML) so that you don't have to parse a string that comes out of innerHTML. Or you can use CSV. Or plain text. Or JSON as we are doing right now - just parse it without using eval(). Reason I choose it? Smallest code - and easier to understand.
    Now we have a working system. The files are uploaded and data reaches the client side. Everything works perfectly. Oh, how I wish I could say that. But nooo - the nightmare of every javascript developer rears its ugly head again...
    Internet Explorer
    Internet Explorer, also known as IE, also known as the Beast, again manages to mess things up. They don't support the onload event for iframe. So the code...
    document.getElementById("upload_target").onload = uploadDone;
    will not work. WILL. NOT. WORK. Thanks IE, thanks very much.
    So, what do we do? We use a small hack. We put a script tag inside the iframe with a onload event that calls the uploadDone() of the top frame. So now the server side script looks like this...
    <html> <head> <script type="text/javascript"> function init() { if(top.uploadDone) top.uploadDone(); //top means parent frame. } window.onload=init; </script> <body> <?php list($name,$result) = upload('file','image_uploads','jpg,jpeg,gif,png'); if($name) { // Upload Successful // Put the PHP content from the last code sample here here } ?> </body> </html>
    Okay - now we have a IE-proof working system. Upload an image using the below demo application to see it in action.
    If you have a better way of doing this, please, PLEASE let me know. I feel dirty doing it this way.
    See it in Action

    You also need to consider when someone removes a product and what happens in terms of the things uploaded.
    Not saying your way wont work but I have the structure for this basically very similar on sites already that covers all the basis of real world use and works well.
    Mine is future proof anyway. BC will never ( I have it in writing) replace the code because it will break implementations and sites directly. jquery version is on the cards but the way that will be implemented or any change will either be with notice and on new sites not old or like many features an option in the admin to change it.

  • The essential guide to DW cs4... by D. Powers: when from wamp to xampp+virtual host and having problems :(

    Following the book in chapter 2 I think Ivé followed everything correctly, but have encluded all the things I've edited below.
    I was using wamp with no problems but after trying to set up a virtual host and now using xampp im abit lost its probabsomething stupid but I can find the prob.
    (This post is abit long and dragged out so I used some colour to try ease the reading..)
    When I try to view a dynamic page in live view or in firefox I get the following error:
    **when using:
    <VirtualHost *:80>
    DocumentRoot c:/xampp/htdocs
    ServerName localhost
    </VirtualHost>
    result:
    Access forbidden!
    You don't have permission to access the requested object.     It is either read-protected or not readable by the server.
    If you think this is a server error, please contact the webmaster.
    Error 403
    thegoodlife
    2009/10/13 12:47:48 PM
    Apache/2.2.12 (Win32) DAV/2 mod_ssl/2.2.12 OpenSSL/0.9.8k mod_autoindex_color PHP/5.3.0 mod_perl/2.0.4 Perl/v5.10.0
    *when using:
    <VirtualHost *:80>
    DocumentRoot c:/htdocs
    ServerName localhost
    </VirtualHost>
    result:
    Object not found!
    The requested URL was not found on this server.          If you entered the URL manually please check your     spelling and try again.
    If you think this is a server error, please contact the webmaster.
    Error 404
    thegoodlife
    2009/10/13 12:32:58 PM
    Apache/2.2.12 (Win32) DAV/2 mod_ssl/2.2.12 OpenSSL/0.9.8k mod_autoindex_color PHP/5.3.0 mod_perl/2.0.4 Perl/v5.10.0
    This is what I've done, blue indicating where I have or was meant to edit, red being the relivant context. (hope it helps )
    1. Created a new folder called htdocs (C:\htdocs)
    2. Changed the pathname to:
    # DocumentRoot: The directory out of which you will serve your
    # documents. By default, all requests are taken from this directory, but
    # symbolic links and aliases may be used to point to other locations.
    DocumentRoot "C:/htdocs"
    and
    # This should be changed to whatever you set DocumentRoot to.
    <Directory "C:/htdocs">
    3. Created vhosts folder; with a sub-folder called thegoodlife (C:\vhosts)
    4. entered new vhost:
    # Additionally, comments (such as these) may be inserted on individual
    # lines or following the machine name denoted by a '#' symbol.
    # For example:
    #      102.54.94.97     rhino.acme.com          # source server
    #       38.25.63.10     x.acme.com              # x client host
    127.0.0.1 localhost
    127.0.0.1 dwcs4
    127.0.0.1 thegoodlife
    127.0.0.1 bin.errorprotector.com ## added by CiD
    5.It says uncomment the command by removing the #, (Supplemental configuation.), but this is the origional file; already uncommented?
    # Real-time info on requests and configuration
    Include "conf/extra/httpd-info.conf"
    # Virtual hosts
    Include "conf/extra/httpd-vhosts.conf"
    # Distributed authoring and versioning (WebDAV)
    Include "conf/extra/httpd-dav.conf"
    6.Set the permissions and changed the code as instructed, unsing (c:/xampp/htdocs) as advised.
    # You may use the command line option '-S' to verify your virtual host
    # configuration.
    <Directory C:/vhosts>
      Order Deny,Allow
      Allow from all
    </Directory>
    # Use name-based virtual hosting.
    ##NameVirtualHost *:80
    # VirtualHost example:
    # Almost any Apache directive may go into a VirtualHost container.
    # The first VirtualHost section is used for all requests that do not
    # match a ServerName or ServerAlias in any <VirtualHost> block.
    <VirtualHost *:80>
    DocumentRoot c:/xampp/htdocs
    ServerName localhost
    </VirtualHost>
    <VirtualHost *:80>
    DocumentRoot c:/vhosts/dwcs4
    ServerName dwcs4
    </VirtualHost>
    <VirtualHost *:80>
    DocumentRoot c:/vhosts/thegoodlife
    ServerName thegoodlife
    </VirtualHost>
    Then creating the site definition:
    local root forlder: C:\htdocs\thegoodlife\
    testing server folder: C:\vhosts\thegoodlife\
    URL prefix: http://thegoodlife/
    hope i've covered all area's where I could have gone wrong

    Just one more thing - the description of what i did while first Kernel appeared:
    Happened 2 days ago. Wasn't turning it off for like a day, only sleep mode by closing it. Worked fine all day, wasn't doing anything, except for checking mail 2-3 times and having windows 7 virtual machine opened but doing nothing, everything was going fine. Then closed it without turning off.
    Opened 3-4 hours later, everything was working fine for 30 minutes of checking mail, then Kernel appeared. After that pretty much everything i did is described in part 1-5.
    Note: all the time MBP was connected to internet via wifi, so updates to both MBP and virtual machine of all programs were possible.
    I only shared downloads and desktop folders, so windows couldn't have access to system folder of Mac Os.
    Hope this might help...Thanks again.

  • Silverlight 5 WebBrowser Control - Is the SL5 WebBrowser control is set to work in IE7 mode only? I have a 3rd party web site i'm hosting and now they will not work with IE 7 Compatibility mode. Looks like this control can't detect I'm setup for IE 9.

    Silverlight 5 WebBrowser Control - Is the SL5 WebBrowser control is set to work in IE7 mode only? I have a 3rd party web site I'm hosting and now they will not work with IE 7 Compatibility mode. Looks like this control can't detect I'm setup for IE 9. I'm
    running IE 11 with registry hack for IE 9. I think the SL5 webbrowser control is set to work only in IE 7. can some one verify this or tell me how to set the WebBrowser control up to run either IE8, 9, 10 or 11? I have same issue with machines running IE 8
    and above. This Silverlight 5 application is running out of browser with the elevated privileges (hack) and at test certificates install in proper stores. This application has been running for 2.5 years. Vender switch on some changes a couple days ago that
    broke this application. Help!!

    Hi,
    It seems there is nothing to do with IE mode.
    Please make sure your link still can be accessed.
    The WebBrowser displays HTML content in applications running in a Silverlight 4 or later out-of-browser applications or in Silverlight 5 in-browser trusted applications only.
    For more infromation,please check link below:
    http://msdn.microsoft.com/en-us/library/system.windows.controls.webbrowser(v=vs.95).aspx
    Best Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Virtual hosts and mod_oc4j.  Can someone from Oracle please answer, at least reply.

    Can someone please explain how to configure mod_oc4j and virtual hosts. It can be done with mod_jk, but I am have major problems in getting it to work with mod_oc4j.

    I am not sure about mod_jk so I won't touch that.
    mod_oc4j introduces directives that have the scope of either default server or virtual host - just like most OHS (Apache) directives. By default, these directives are in a file mod_oc4j.conf, and this file is included at the highest level.
    If you do want those mount points defined in mod_oc4j.conf to be available only to a certain virtual host etc., you can either create a mod_oc4j_vh1.conf file and have it included within the scope of the vh1 virtual host. Or, you can just define those directives right within the vh1 virtual host directive.

  • Virtual Hosts and mod_oc4j.  How is it done?

    Can someone please explain how to configure mod_oc4j and virtual hosts. It can be done with mod_jk, but I am have major problems in getting it to work with mod_oc4j.

    yes, I am also very interested in this thing. i could not find anything about that in the documentation.
    greetings from munich, .thomas

  • What does virtual host and port mean in a system in ESB console

    Hi !
    When you click on a system in ESB console you can see and change 'cluster name' , 'Virtual host' and 'Port' .
    What does this mean ?
    As default the port is 8888 even though the installation uses port 80.
    If I change the port, I see no difference.
    Could someone please explain ?

    It is used to generate the endpoint urls in the wsdl's for the services you have deployed. It needs to be set to the esb server and port number where the services are installed. So if your esb installation uses port 80 you need to change 8888 to 80. Try the wsdl and look at the url of the endpoint.
    Kind Regards,
    Andre

  • VIrtual host and reverse proxy  FOR EBIZ R12.0.6

    we have 4 dev EBIZ instances on a single hp_ux itanium server on which I have to setup one instance for virtual hosting and to work behind a reverse proxy .
    any particular documents or steps for this.
    Thanks
    mn

    we have 4 dev EBIZ instances on a single hp_ux itanium server on which I have to setup one instance for virtual hosting and to work behind a reverse proxy .
    any particular documents or steps for this.Implementing Virtual Host, Concurrent Managers and EM DBconsole on Oracle Applications R12 [ID 603883.1]
    Conc-System Node Name Not Registered After Fresh Install Using Virtual Name [ID 948644.1]
    Is Auto Failover With Virtual Hostnames For Concurrent Processing Servers Supported In 11i Or R12? [ID 456540.1]
    Case History: Implementing a Reverse Proxy Alone in a DMZ Configuration - R12 [ID 726953.1]
    Oracle E-Business Suite R12 Configuration in a DMZ [ID 380490.1]
    Thanks,
    Hussein

  • Apache Virtual Hosting and WLS 6.0 Apache plug-in

    We have a client that uses Apache and virtual hosting. We also have a
    single webapp that serves these virtual hosts/domains.
    Therefore, all of the served virtual hosts/domain has the same webapp
    directory structure ( e.g.: index.jsp, advert.jsp, css/ )
    For the above to work, we are thinking of getting the requested virtual
    hostname ( supposedly part of the HTTP header sent by the browser as the
    "Host:" parameter ) to figure out how the page will be displayed ... Does
    the Apache plug-in send this information to WLS?

    Apache plugin will forward the "Host" header to wls.
    BTW, HTTP1.0 client will not send the HOST header if I recalled properly since
    HOST header is not part of HTTP1.0 spec.
    Jesus M. Salvo Jr. <[email protected]> wrote:
    >
    We have a client that uses Apache and virtual hosting. We also have a
    single webapp that serves these virtual hosts/domains.
    Therefore, all of the served virtual hosts/domain has the same webapp
    directory structure ( e.g.: index.jsp, advert.jsp, css/ )
    For the above to work, we are thinking of getting the requested virtual
    hostname ( supposedly part of the HTTP header sent by the browser as
    the
    "Host:" parameter ) to figure out how the page will be displayed ...
    Does
    the Apache plug-in send this information to WLS?

  • Apache Virtual Hosts and Weblogic 5.1SP6

    Running:
    WebLogic Server 5.1.0 w/ Service Pack 6
    Solaris 7
    Hello, I've been reading through the newsgroups and saw alot of information on
    setting up apache and weblogic to handle virtual hosts, but am still having problems
    getting it to work.
    I have 2 domains that will be served up by one instance of Apache using NameBased
    virtual hosts and I would like to have our one instance of WebLogic 5.1SP6 handle
    them as well.
    Excerpt from my httpd.conf file:
    NameVirtualHost 216.xx.x.xx:80
    <VirtualHost vcstgws011:80>
    ServerName vcstgws011.domain1.com
    Port 80
    DocumentRoot /opt/vci-10.8/webapps/www
    DirectoryIndex index.jsp
    <Directory "/opt/vci-10.8/webapps/www">
    Options Indexes FollowSymLinks MultiViews
    AllowOverride None
    Order allow,deny
    Allow from all
    </Directory>
    </VirtualHost>
    <VirtualHost vcstgws011:80>
    ServerName www.domain2.com
    Port 80
    DocumentRoot /opt/vci-10.8/webapps/www/dsl
    DirectoryIndex index.jsp
    <Directory "/opt/vci-10.8/webapps/www">
    Options Indexes FollowSymLinks MultiViews
    AllowOverride None
    Order allow,deny
    Allow from all
    </Directory>
    </VirtualHost>
    Under my default server configuration I have the WebLogic stuff:
    <IfDefine WL>
    WebLogicCluster vcstgas011.domain1.com:7001
    Debug on
    DebugConfigInfo on
    ConnectTimeoutSecs 60
    HungServerRecoverSecs 300
    Debug on
    DebugConfigInfo on
    <Files *.jsp>
    SetHandler weblogic-handler
    </Files>
    <Location /weblogic>
    SetHandler weblogic-handler
    PathTrim /weblogic
    </Location>
    <Location /servlet>
    SetHandler weblogic-handler
    </Location>
    <Location /Admin*>
    SetHandler weblogic-handler
    </Location>
    <Location /j_security_check>
    SetHandler weblogic-handler
    </Location>
    </IfDefine>
    And here's an excerpt from my weblogic.properties file:
    # HTTPD
    weblogic.httpd.enable=true
    # DocumentRoot configuration
    weblogic.httpd.defaultWebApp=/opt/vci-10.8/webapps/www
    weblogic.httpd.indexDirectories=true
    Any help would be appreciated.
    Thanks,
    Mark

    Anyone have success with Name-Based virtual hosts using same instance of WebLogic?
    "Mark Mangano" <[email protected]> wrote:
    >
    Running:
    WebLogic Server 5.1.0 w/ Service Pack 6
    Solaris 7
    Hello, I've been reading through the newsgroups and saw alot of information
    on
    setting up apache and weblogic to handle virtual hosts, but am still
    having problems
    getting it to work.
    I have 2 domains that will be served up by one instance of Apache using
    NameBased
    virtual hosts and I would like to have our one instance of WebLogic 5.1SP6
    handle
    them as well.
    Excerpt from my httpd.conf file:
    NameVirtualHost 216.xx.x.xx:80
    <VirtualHost vcstgws011:80>
    ServerName vcstgws011.domain1.com
    Port 80
    DocumentRoot /opt/vci-10.8/webapps/www
    DirectoryIndex index.jsp
    <Directory "/opt/vci-10.8/webapps/www">
    Options Indexes FollowSymLinks MultiViews
    AllowOverride None
    Order allow,deny
    Allow from all
    </Directory>
    </VirtualHost>
    <VirtualHost vcstgws011:80>
    ServerName www.domain2.com
    Port 80
    DocumentRoot /opt/vci-10.8/webapps/www/dsl
    DirectoryIndex index.jsp
    <Directory "/opt/vci-10.8/webapps/www">
    Options Indexes FollowSymLinks MultiViews
    AllowOverride None
    Order allow,deny
    Allow from all
    </Directory>
    </VirtualHost>
    Under my default server configuration I have the WebLogic stuff:
    <IfDefine WL>
    WebLogicCluster vcstgas011.domain1.com:7001
    Debug on
    DebugConfigInfo on
    ConnectTimeoutSecs 60
    HungServerRecoverSecs 300
    Debug on
    DebugConfigInfo on
    <Files *.jsp>
    SetHandler weblogic-handler
    </Files>
    <Location /weblogic>
    SetHandler weblogic-handler
    PathTrim /weblogic
    </Location>
    <Location /servlet>
    SetHandler weblogic-handler
    </Location>
    <Location /Admin*>
    SetHandler weblogic-handler
    </Location>
    <Location /j_security_check>
    SetHandler weblogic-handler
    </Location>
    </IfDefine>
    And here's an excerpt from my weblogic.properties file:
    # HTTPD
    weblogic.httpd.enable=true
    # DocumentRoot configuration
    weblogic.httpd.defaultWebApp=/opt/vci-10.8/webapps/www
    weblogic.httpd.indexDirectories=true
    Any help would be appreciated.
    Thanks,
    Mark

Maybe you are looking for

  • Using ipod as hard drive error..

    hello i have tried about 5 times now to use my ipod as hard drive..it keeps giving me an error for a song saying "the parameter is incorrect". I don't know what to do, when it happened to one of the songs i deleted it..bc i don't listent it but i nee

  • Need solution for Report

    HI In report i want to find frame(heading the columns ) is displaying in how many pages please give me a solution Regards Yashavanth

  • Message Mapping - problem with target sequence

    Hi, I hope somebody can help: I have already read lots of blog entries and help articles to find a solution but all the tricks with node functions and special conditions didn't help yet. I would like the sequence of A and B nodes just as is. In the s

  • In numbers, how do I get a $ sign in a cell?

    In numbers, how do I get a $ sign into a cell? It should be easy but not for me.

  • HT4913 iTunes Match causes iTunes to crash

    I recently subscribed to iTunes Match, however iTunes consistently has a problem and needs to close on step 3 of the process of uploading unmatched songs and artwork. Time and time again. My libarary is on a USB external HD and running the most recen