Virtual host creation in web sphere deployment

Dear all,
We are having multiple system using the same doc root in websphere. Due to this we can not start multiple app server at a time.
Our deployment environment is Websphere 3.5 on Win NT 4.0.
To solve this problem , I need to create a virtual host that will avoid conflicts.
Do I need to changes the DNS settings.
Pls. let me know if you have the solution for this.
Nitin

Ok I give up...what does this have to do with Java?

Similar Messages

  • Virtual Host creation question - the movie

    No answers, so I'm reposting....
    I have two systems - "A" and "B", where "A" is the
    development system, and
    "B" is the php/Apache host. I'd like to have virtual servers
    configured
    that point back into the local sites on "A", but serve from
    "B".
    So, I edit A's hosts file to contain this -
    192.168.1.80 phphost
    (that's B's ip address)
    which works pretty well. Now, when I enter ''
    http://phphost'' from "A", I
    get the Apache default page. Then, on "B", I edit the Apache
    config file to
    enable virtual hosts, and add this line -
    <VirtualHost *:80>
    DocumentRoot "192.168.1.101/Documents and Settings/Murray R.
    Summers/My
    Documents/SCInc/wildimages/site2/"
    ServerName wild2
    </VirtualHost>
    (where 192.168.1.102 is the IP for "A")
    but that's not working. Can anyone tell me whether this
    scheme can work,
    and if so, where my mistake might be?
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================

    > Trying that now.
    No workie.... 8(
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "Murray *ACE*" <[email protected]> wrote
    in message
    news:[email protected]...
    >> o Has the full drive on machine A been shared out?
    Otherwise, I'm not
    >> sure that path will work. Otherwise, you'd use
    \\192.168.1.101
    >> \sharename1:
    >
    > Yes, it has.
    >
    >> o Why do you want to do this to yourself? Just
    upload like you would to
    >> any other server.
    >
    > I want to test locally.
    >
    >> o On machine B, map a drive letter to the network
    resource, then:
    >>
    >> <VirtualHost *:80>
    >> DocumentRoot "k:\"
    >> ServerName wild2
    >> </VirtualHost>
    >
    > Trying that now.
    >
    > --
    > Murray --- ICQ 71997575
    > Adobe Community Expert
    > (If you *MUST* email me, don't LAUGH when you do so!)
    > ==================
    >
    http://www.dreamweavermx-templates.com
    - Template Triage!
    >
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    >
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    >
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    > ==================
    >
    >
    > "Joe Makowiec" <[email protected]> wrote in
    message
    >
    news:[email protected]...
    >> On Thu 22 Jun 2006 12:14:09p, Murray *ACE* wrote in
    >> macromedia.dreamweaver.appdev:
    >>
    >>> There are two machines - both WXPPro.
    >>>
    >>> Machine A is 192.168.1.101.
    >>> Machine B is running PHP/Apache
    >>>
    >>> I want the virtual host for the apache
    installation on machine B to
    >>> direct me back to the root folder of the site on
    machine A.
    >>
    >> Gotcha. Just throwing things out here and seeing if
    something will
    >> stick:
    >>
    >> o \\192.168.1.101\docume~1\...\whatever
    >>
    >> o Has the full drive on machine A been shared out?
    Otherwise, I'm not
    >> sure that path will work. Otherwise, you'd use
    \\192.168.1.101
    >> \sharename1:
    >>
    >> <VirtualHost *:80>
    >> DocumentRoot "\\192.168.1.101\wildimages\site2\"
    >> ServerName wild2
    >> </VirtualHost>
    >>
    >> (Note: I'm guessing here on the direction of the
    slashes. It's so much
    >> easier in the *nix world - everything goes /)
    >>
    >> o On machine B, map a drive letter to the network
    resource, then:
    >>
    >> <VirtualHost *:80>
    >> DocumentRoot "k:\"
    >> ServerName wild2
    >> </VirtualHost>
    >>
    >> o Why do you want to do this to yourself? Just
    upload like you would to
    >> any other server.
    >
    >

  • Virtual host creation question

    I have two systems - "A" and "B", where "A" is the
    development system, and
    "B" is the php/Apache host. I'd like to have virtual servers
    configured
    that point back into the local sites on "A", but serve from
    "B".
    So, I edit A's hosts file to contain this -
    192.168.1.80 phphost
    (that's B's ip address)
    which works pretty well. Now, when I enter ''
    http://phphost'' from "A", I
    get the Apache default page. Then, on "B", I edit the Apache
    config file to
    enable virtual hosts, and add this line -
    <VirtualHost *:80>
    DocumentRoot "192.168.1.101/Documents and Settings/Murray R.
    Summers/My
    Documents/SCInc/wildimages/site2/"
    ServerName wild2
    </VirtualHost>
    (where 192.168.1.102 is the IP for "A")
    but that's not working. Can anyone tell me whether this
    scheme can work,
    and if so, where my mistake might be?
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================

    I have two systems - "A" and "B", where "A" is the
    development system, and
    "B" is the php/Apache host. I'd like to have virtual servers
    configured
    that point back into the local sites on "A", but serve from
    "B".
    So, I edit A's hosts file to contain this -
    192.168.1.80 phphost
    (that's B's ip address)
    which works pretty well. Now, when I enter ''
    http://phphost'' from "A", I
    get the Apache default page. Then, on "B", I edit the Apache
    config file to
    enable virtual hosts, and add this line -
    <VirtualHost *:80>
    DocumentRoot "192.168.1.101/Documents and Settings/Murray R.
    Summers/My
    Documents/SCInc/wildimages/site2/"
    ServerName wild2
    </VirtualHost>
    (where 192.168.1.102 is the IP for "A")
    but that's not working. Can anyone tell me whether this
    scheme can work,
    and if so, where my mistake might be?
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================

  • How to configure multiple virtual hosts for the same context root /

    Hi,
    I am using Glassfish V1 U1 - b14 on Solaris.
    I am trying to configure two applications to be mapped to the / root context, each one in its own virtual host.
    Two things I have noticed:
    1. I have to manually add virtual-hosts="hostId" in domain.xml/application-ref ... looks like just simply deploying the app does not do that although the application is set as default for its particular virtual host. Is this a bug?
    2. Although I have set for each virtual host the default web-app correctly, and they both respond fine, I cannot map both of them to the / context. The second application (chronologically deployed) does not respond when called with the / context ....
    Any ideas? Is this a bug again?
    Regards,
    Rares
    Message was edited by:
    raresp

    Wow, that's a shame. All mighty Application Server and two different apps on two different virtual hosts are considered ambiguous to have the same context root definition.... Fair play to Tomcat and 90% of the rest of servlet containers!
    In my case I have the same EAR we are planning to deploy to many (up to 30) virtual hosts. Faking different context roots for each deployment will bring unnecessary overheads...
    Should I file a bug or feature request?
    Thanks again for your answer, although you're basically saying it is not possible I will wait and look a while for a possible solution before bringing this topic to a conclusion.

  • Web sphere portlets not working

    i have this provider registered in oracle portal as http://localhost:9080/portal/providers
    which are hosted on a web sphere application server but when i click on a link rather then
    going to http://localhost:9080/portal/main.do it is going to http://localhost/portal/main.do
    and is removing the 9080 port number and opening outside the portlet context

    Suzie,
    Most likely you forgot to use the pdk struts tags to render your link.
    Peter

  • Seperate logs for software virtual hosts?

    As the subject says, I'm trying to create seperate web logs for software
    virtual hosts, under iPlanet Web Server 4.1.
    I found a brief mention of using the "host" parameter for <Client> tags
    in the docs, but this just seems to write the same data to all logs
    regardless of the client tags.
    Relevant bits from obj.conf:
    Init fn="init-clf" testlog1="/tmp/access_vh1" testlog2="/tmp/access_vh2"
    [ other stuff snipped ]
    <Client host="firsthosturl*">
    AddLog fn="common-log" name="testlog1"
    </Client>
    <Client host="secondhosturl*">
    AddLog fn="common-log" name="testlog2"
    </Client>

    Tim Lavoie wrote:
    I found a brief mention of using the "host" parameter for <Client> tags
    in the docs, but this just seems to write the same data to all logs
    regardless of the client tags.
    Relevant bits from obj.conf:
    Init fn="init-clf" testlog1="/tmp/access_vh1" testlog2="/tmp/access_vh2"
    [ other stuff snipped ]
    <Client host="firsthosturl*">
    AddLog fn="common-log" name="testlog1"
    </Client>
    <Client host="secondhosturl*">
    AddLog fn="common-log" name="testlog2"
    </Client>I'm not sure you're allowed to define multiple log files in a single
    Init line. Try creating a seperate Init line for each log file (don't
    forget the format line as well).
    Joe McCabe There's a group of people that worship the number zero.
    AOLScape These days nothing's sacred.

  • Console shows web application deployed to server but not to the virtual host yet things still work, huh?

    I finally figured out how to get the virtual hosting piece to work in
    wls811. Now I have a question about the console presenting me with some web
    app information. The Web Application Modules node and the Deploy tab shows
    me the application is deployed to the server and it's Active, however the
    console indicates the web app is not deployed to the virtual host and is
    inactive. But the server is resonding to requests for each of my Virtual
    Host Names, so they must be deployed to the virtual hosts as well.
    Anyone with some ideas? Thanks.

    do you see any deployment exception in the server.log ? if nothing please post the web.xml and sun-web.xml

  • Associating Default Web Application with Virtual Host

    Hi
    We are trying to run several virtual hosts on the same managed server. However, each of those virtual hosts (e.g. bob.mydomain.com, john.mydomain.com) will need to have a different default web application (the rest of the deployed web applications will be the same between hosts). We tried to create default web applications with <context-root> in weblogic.xml set to / (also tried "") - however when attempting to deploy 2nd default web app an error message comes up:
    Context path '/""' is already in use
    So, it appears that we can't associate a default web application with a virtual host. Any ideas on how to solve it?
    Our Environment:
    Weblogic version: 10.3 TP, Windows
    Many thanks
    Jason

    Is your webapp targetted to the correct virtual-host during deployment?It could be possible that your webapp is targetted to the default web-server instead of the virtual-host causing this error. Can you validate this from your config file?
    You can also configure default webapps for virtual hosts by setting the default-web-app-context-root element of virtual-host element in your config file

  • 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"
    ... />

  • Deploying applications to virtual hosts and root contexts on OC4J

    Hi
    Does anyone out there know how to use hostnames other than the default to talk to an OC4J application (live virtual hosts in Apache). I have a server called web.mydomain.com but for a particular website I want to access it as shop.otherdomain.com - the same machine just 2 different DNS entries. I want OC4J to accept requests for both these machines and display a different site depending on which is accessed. This functionality is provided in Tomcat by the &lt;host&gt; construct - but how do you do it in OC4J?
    A secondary question related to this is how to deploy an application to the root context of one of these virtual hosts? The Enterprise Manager interface won't let you map anything to the '/' URL.
    I have read a lot of documentation and found little of relevance (fairly typical). I hope this is just a simple option I have overlooked.
    Thanks,
    Anthony.

    Sorry... Forgot to mention:
    I have read the post about using URL rewriting but this seems like a bit of a fudge. I was wondering if there was a way to do this from the OC4J setup. Preferably through the Enterprise Manager?
    Anthony.

  • Publish Abap Web Service in ICF virtual host

    Hello
    We have configured our abap aplication server with two virtual host in SICF
    one the default_host that listen in http 8080 port and other virtual host that
    listen in http 8090 port.
    We need define some ABAP web services that listen in default_host:8080  and other virtual host in virtualhost2:8090.
    We define de web service with SE80 wizard and then create the configuration end point
    with SOAMANAGER.
    Our problem is that soamanager ever create the entrie of endpoint in sicf transaction, under default_host:8080 service tree not under virtualhost2 service tree. and so we can not call
    the web service like http://virtualhost2:8090/sap/bc.... because don't exist, only exist
    http://defaul_host:8080/sap/bc....
    we try to copy the entry of the tree under virtualhost2 in the proper place of the tree,
    but when call the webservice with soaui the system report the error:
         No Web service configuration for this access path: ""
    i can see that there are entries in the table SRT_CFG_SRV_ASGN that are related with this
    problem, because assign the url of the endpoint of the ws to virtual host, but i don't
    know how the system generate this entries.
    someone know how call ABAP web service with icf virtual host?
    thanks
    regards
    diego

    Hi Trevor
    For test purpose i can do it works.
    The key point is create the proper entry in the table SRT_CFG_SRV_ASGN that refer to the correct VIRTUAL_HOST.
    When you genreate the endpoint of the service with soamanager, the system generate an entrty in this table with the fiel VIRTUAL_HOST = 0, you can copy this entry and change only two fields.
    VIRTUAL_HOST = <the number of your virtual host>
    HASH --> you can calculate this field with the FM CALCULATE_HASH_FOR_CHAR, in the parameter DATA contatenate the content of the fiels VIRTUAL_HOST and URL (be careful with the upercase), this function module return you the hash.
    (First you have to replicate the icf tree that soamanager create under your virtual host tree)
    With this configuration i can call to my WS over the virtaual host, using soaui.
    I hope this can be useful for you.
    Regards
    diego

  • 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.

  • Deploying applications developed using Jdeveloper in IBM Web Sphere

    Hi
    I want to deploy the applications developed using jdeveloper on IBM Web Sphere. Pl suggest me the procedure
    Thanks
    Satya

    Refer
    Websphere 5.1 and ADF/UIX
    Websphere 5.1 and ADF/UIX

  • How to Deploy Macromedia Flex 1.5 in Web Sphere

    Hello,
    I am working on a Project where Macromedia flex 1.5 - front end, .Net - back end and Oracle 10g Database with JRun4 as a Server.
    So Now Based on client Requirements, I want to deploy my Project into web Sphere 8.5 Application Server.
    Can Any One Provide me the detailed documentation of How to deploy Macromedia flex 1.5 application in Web Sphere 8.5 Server.
    Regards,
    Rajasekhar

    Atlast it's working now!!!
    As you suggested there is a problem in servlet configuration, I checked out Configuration in Web-INF/Web.xml file there i dint found Resource Reference to websphere.So I Added the below Lines, Now it's Working.
    Thanks for Your Kind Suggestions,Which Helped me a Lot!!
        <resource-ref>
            <description>Flex Messaging WorkManager</description>
            <res-ref-name>wm/MessagingWorkManager</res-ref-name>
            <res-type>com.ibm.websphere.asynchbeans.WorkManager</res-type>
            <res-auth>Container</res-auth>
            <res-sharing-scope>Shareable</res-sharing-scope>
        </resource-ref>
    Regards,
    Rajasekhar

  • Setting up multiple web sites (virtual hosting).

    Dear members:
    I am considering OS X Server for a personal project and would like some advice to help me decided what route to take.
    My computer will soon be turned into a server hosting my web sites and some other services at my home office. I am thinking about OS X Server as I have done some research and found OS X to require quite a bit of work so that it can do virtual hosting.
    How simple is it to configure virtual hosting in OS X Server ? I am considering the latest Leopard version in case it matters. I am not experienced and wish to employ an application that will simplify this process.
    Any help will be very appreciated.
    Thank you,
    Joseph Chamberlain

    You could create local PAC file <http://findproxyforurl.com/pac_file_examples.html> where you can return multiple PROXY servers.  You would create text file with your PAC script in it.  Then specify System Preferences -> Network -> Advanced -> Proxy -> Automatic Proxy Configuration, and click "Choose File".
    If you choose to take BDAqua's advice and create multiple Network Locations, you can then use either
    /usr/sbin/networksetup -switchtolocation "MyCompanysProxy1"
    /usr/sbin/networksetup -switchtolocation "MyCompanysProxy2"
    /usr/sbin/networksetup -switchtolocation "MyCompanysProxy3"
    or
    /usr/sbin/scselect "MyCompanysProxy1"
    /usr/sbin/scselect "MyCompanysProxy2"
    /usr/sbin/scselect "MyCompanysProxy3"
    you can put them into a script of your choosing.  Shell script, or Automator Run Shell Scirpt, or Applescirpt do shell script (or Perl, Python, Ruby, etc...)

Maybe you are looking for

  • Need 10 minutes to power on iMac, why?

    Dear friends, My 4-month-old iMAC met a problem today. In the morning, when I turned on the computer by pushing the power button, it took 10 minutes to start the computer: When I push the button I can hear a little sound from the inside. Then, nothin

  • Hard To Believe There Was Once a Raw vs. JPEG Debate

    There was a time when folks debated whether to shoot raw vs. setting their cameras to do the conversions internally and just deliver JPEGs.  This was not that many years ago! Now it's just so easy to bring up shadow detail, tame nearly blown highligh

  • A bug and a suggestion

    Dear Adobe PS designers: I'm a Chinese designer, a Ps user, I want to give some important advance to Ps, may Cs6 or other adobe applications. 1. [EXPERIENCE]When I chose another layer and do some actions for example draw something with brush tool, th

  • M4000-problem in booting

    hi freaks, here i hav a problem in M4000 server,,,its not booting up i logged into xscf as default user and collected some logs ,wen it tried to login to the domain thru xscf using #console -d 0.system wil be hanged and ther wil b no response from da

  • HT2731 I ordered a movie and can't play it on my ipad and would like a refund

    How can I get my money back from the apple store since I can't play my movie that I paid for