Iis and jboss using same context root

I want to be able to run two instances of jboss, two iis web sites and have them both use the same context root "/". The will be used for different sites www.site1.com and www.site2.com.
I have iis serving up my jsp from jetty using the apache redirector fine for one server. I can also get it running for two iis web servers and two jboss servers on different ip addresses (all on the same machine). But, I am unable to use the same context root in the uiworker.properties file. The only way they will serve up the pages separately is if thee workers are assigned different context roots. I want to use "/" for the context root on both sites in both jboss instances.
Is there a way to do this?

http://www.itshastra.com/know_bank/IIS_Jboss.pdf

Similar Messages

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

  • HowTo: deploy an j2ee app using "/" as context root on iAS 6.5

    Hi all iAS expert
    It is highly appreciated one can teach me how to get around below problem
    l deployed an app using "/" as context root. But the iAS could respond to any HTTP request.
    However, as l changed the context root to sth other than root. iAS responded properly.
    Can someone help me get around this problem ?
    thank you a lot
    fox

    I deployed the same EJB on WLS 6.1+sp3 and WLS 7.0.
    These both work. Looks like there is some problem with WLS6.0+sp2. I have opened
    a case with BEA customer support.
    --Latha

  • Same context root conflict.

    I'm try to run multiple instances of an application running on the same box (each on their own managed server) but use the same context root (/servlet)
    e.g.
    server1 -> /app -> /servlet
    server2 -> /app2 -> /servlet
    Currently how I do it is give each of them their own servlet name, e.g
    server1 -> /app -> /servlet
    server2 -> /app2 -> /servlet2
    I'm trying to make the urls for each instance as simple as possible. I can already see potential instances where the server#, app#, and servlet# would all be different numbers.
    If I set them to both servlet weblogic throws me this error:
    Exception:weblogic.management.ApplicationException: prepare failed for app2 Module: app2 Error: Context path '/servlet/' is already in use by the module: app application: app
    * [Deployer:149033]preparing application app2 on server2
    * [Deployer:149033]failed application app2 on server2
    * [Deployer:149034]An exception occurred for task [Deployer:149026]Deploy application app2 on server2.: Exception:weblogic.management.ApplicationException: prepare failed for app2 Module: app2 Error: Context path '/servlet/' is already in use by the module: app application: app.
    Any help that you can provide will be greatly appreciated.

    Hello,
    this is possible in IBM Websphere via custom extension: http://publib.boulder.ibm.com/infocenter/wasinfo/v6r0/index.jsp?topic=/com.ibm.websphere.base.doc/info/aes/ae/tprs_sharing_data.html
    I don't know if it's possible somewhere else.
    k.

  • Deploying application with several web modules having the same context root

    Hi,
    I would like to be able to deploy an application in Weblogic 12c having one ejb module and several web modules with the same context root. Even though the web modules have the same context root, each of them is deployed to a different virtual host.
    Weblogic allows deploying the modules this way as long as their targets are different (i.e. each having a distinct virtual host). However this works only when I don't select a target for the .ear:
    Component Type Current Targets
    application.ear Enterprise Application (None specified)
    application.jar EJB AdminServer
    web1.war WEBAPP virtualHost1
    web2.war WEBAPP virtualHost2
    However if I select as target for the .ear to be AdminServer, the deployment doesn't work anymore, complaining that the context roots are in conflict.
    If I remove web2.war from the .ear and deploy the .ear and .jar to AdminServer and web1.war to virtualHost1, the deployment works but the strange thing is that the web application can be accessed also through the AdminServer's main network channel, even though I would expect that it should be accessible only through virtualHost1 network channel. I believe this is the reason why there are context root conflicts when specifying a target for the .ear, because both wars are made accessible to the main network channel.
    The reason why I want to keep the wars inside the same .ear is because I want to make them access the application's local EJBs (since as far as I know it's not possible to access a local EJB outside the application even if they belong to the same VM).
    Is there a way to deploy the web modules only to the virtual hosts without being targeted to the main network channel?
    Regards,
    Alexandru

    Murphy's Law: If anything can go wrong it will
    A corollary to Murphy's law: When everything fails, read the manual.
    Web application funda: Every web application must have its own context root. So, if wkfsocos is one
    web application then, wkfsocos1 is another web application -
    and hence must have its own context root.
    Hello Aman,
    If you are in E-Commerce version 4.0, then read this
    [ISA_Buildtool document |https://service.sap.com/~sapdownload/011000358700001920472003E/ISA_BuildTool_10.pdf]
    to create a copy of the application in its own context root.
    From your URL pattern I guess you are in E-Commerce version 4.0.
    If you are in E-Commerce 5.0 or above, then the
    [Extension Guide |http://service.sap.com/~sapdownload/011000358700006120622006E/]gives steps to create a copy with its own context root for use in modification.
    (See the chapter on - Creating a project specific Web Application with own context root )
    Both these links require access to SAP Service Marketplace. You can also find the
    documents through /instguides shortcut in Service Marketplace.
    Easwar Ram
    http://www.parxlns.com

  • Multiple war with same context root

    Dear all,
    I would like to know if it's possible to have several war in an EAR file with a same context root?
    I know that it is possible to have several war but I don't know if it's possible to share the same context root.
    The problem here is that the application on which we work is provided by another company, hence we have an original EAR containing the company war as well as the company EJB. As new versions of the application are delivered to us quite frequently, it's impossible to store the code developped by us in the EAR, as it is replaced in each delivery.
    Concerning our custom code, it is not a problem as we develop this code in a separated project which is included as a jar in the APP-INF/lib directory of the EAR file.
    But concerning the war it's an other problem. Indeed, we develop custom JSFs pages or javascript. These files are placed in the application war file which changes for each delivery.
    Thus, we would like to create an other war file which will contain all our custom pages and javascripts in order to be able, in each delivery, to fully replace the other war containing the company pages and javascripts. This would allow us to save time each time a new delivery is done.
    The important thing would be to keep the same context root for the two wars, enabling transparency for the application.
    Thanks for your help,
    Citrouille57

    Hello,
    this is possible in IBM Websphere via custom extension: http://publib.boulder.ibm.com/infocenter/wasinfo/v6r0/index.jsp?topic=/com.ibm.websphere.base.doc/info/aes/ae/tprs_sharing_data.html
    I don't know if it's possible somewhere else.
    k.

  • Deploying 2 application of same context root

    Recently I deployed 2 applications in weblogic7 and weblogic8
    /usr2/applns_one --> dev
    /usr3/applns_one --> staging
    Here "applns_one" are the same in "/usr2 and /usr3" where "/usr2" is for dev and "/usr3" is for staging.
    I deployed both on the same instance or managed server of weblogic.
    first deployed app (/usr2) had a context root "/applns_one-1"
    Second deplyed app (/usr3) had a context root "/applns_one"
    After deployment I see 404 error for the URL which is accessing "/usr2" appln since its context root is "/applns_one-1".
    My issue is how can I deploy "/usr2/applns_one" and /usr3/applns_two" on the same managed server.
    Is there any workaround for this in weblogic.
    Thanks,

    If you're asking how can you deploy two applications to the same weblogic instance with the same context root, you just can't do that. There would be no point to that, as you'd only ever be able to access one of them. You'll need to change one of them.

  • My brother ipad was linked with old apple id and he forgot his id and never use same email.the problem now his mini ipad ask him for this id to open (activate ipad) what we can do ?

    my brother ipad was linked with old apple id and he forgot his id and never use same email.the problem now his mini ipad ask him for this id to open (activate ipad) what we can do ?

    He remember the id name and password but he can't enter we don't now if the password is wrong or the id was  lock . I have the all thing for the ipad such as his box . I now this is security thing but you could help me.

  • Integrate Adobe Flex and JBOSS using BlazeDS

    I using this link http://simplyolaf.blogspot.com/2009/07/integrate-adobe-flex-and-jboss-using.html to create Flex Project for Blaze DS. I added the following arguments to the flex compiler: -services "F:/java_WS/iASCUE/WebContent/WEB-INF/flex/services-config.xml" . Can I define relate path? when I put my project on other server it don't work

    Does anybody something know?

  • Have old MacBook Pro running tiger 10.4 want to save date to external hard drive and buy newer MacBook and still use same drive. Any suggestions, most  WD drives say nothing about os tiger 10.4.

    Have old MacBook Pro running tiger 10.4 want to save date to external hard drive and buy newer MacBook and still use same drive. Any suggestions, most  WD drives say nothing about os tiger 10.4. The OS compatibility  is much newer on the data.  Totally confused. Not a computer person.

    I haven't checked reviews recently but there's a difference between bare drives and drives with enclosures.  Western Digital made some of the most reliable drives last time I checked, though the enclosures weren't all that great.  It is convenient to get both in one package but I usually buy a highly rated enclosure and then put a highly rated drive in it myself.  OWC sells some good enclosures but if they put a so-so drive inside of it then the package is only as good as its weakest component.  If you get a package from them, ask them what drive is inside (some vendors have no idea what's inside  -  went to an Apple Store recently and they couldn't tell me what was inside some of their Apple brand enclosures).  My first thought if buying a new drive would be to buy a OWC enclosure with a WD drive, but chek around because I may be out of date.
    10 years ago Seagate was one of the best drives. Now they rate poorly in reviews.

  • Load Text and Attribute using same DataSource

    Hi,
    Is it possible to load text and attributes using same datasource? If yes than how can this be done?
    Thank you,
    CD

    Yes you are right in that case it will be an attribute , and in the report show it as display attribute. If you want to apply the text at Infoobject level,
    (1) In the change mode of Iinfoobject , check both with Master data and Text boxes , in the Master data /text tab
    (2) Make Flexible or direct update
    (3) Create 2 Infopackages one loading from ATTR data source and the other from TEXT data source respectively.
    hope it helps,

  • Different application but with same context root

    hi all,
    I have two applications www.a.com and www.b.com deployed on two separate oc4j instances, both of the context root are also set to "/". But i found that only the www.b.com is correct, when i goto www.a.com, it will goto the page of www.b.com. How can i make the right cofiguration? I'm using oracle 10g AS (ver. 10.1.2.0.2).
    I have search around the forum and seems no one have similar question, can anyone answer me this newbie question. Thanks alot.

    thanks for your reply.....i'm a newbie on the oracle AS.. let me elaborate more on my situation...
    I'm using oracle http server, and i have setup 2 virtual hosts (one is for www.a.com, and the other is www.b.com) as following:
    <VirtualHost default:80>
    ServerName www.a.com
    DirectoryIndex index.html
    DocumentRoot "C:\OraHome_1\j2ee\test1\applications\App1"
    </VirtualHost>
    <VirtualHost default:80>
    ServerName www.b.com
    DirectoryIndex index.html
    DocumentRoot "C:\OraHome_1\j2ee\test2\applications\App2"
    </VirtualHost>
    At the AS, i created 2 oc4j instances which is testInstance1 and testInstance2. And then i deployed my two applications to the instance separately, but the context root are also set to "/". After that, i found that in the mod_oc4j.conf, it shows the following statement in it:
    Oc4jMount / testInstance1
    Oc4jMount /* testInstance1
    Oc4jMount / testInstance2
    Oc4jMount /* testInstance2
    i hope that is clear enough now for you to solve my problem. If not, please let me know... thanks.

  • Web services and servlets in same context

    I would like to provide web services and servlets under the same context, where the servlets are handled by a controller mapped to multiple urls.
    If I map the servlet controller with
    <url-pattern>/servlet</url-pattern>
    then /prjServ/servlet works in a browser but of course any other urls (eg /prjServ/servlet/fred) do not.
    If I change the web.xml to be
    <url-pattern>/servlet/*</url-pattern>
    all attempts to access the servlet get requested resource not available.
    The web service continues to work fine whichever mapping I use for the servlet (the web service is /prjServ/mlm).
    Does the web service handling affect the way I can map the servlets?

    No, it should not. For the JAXRPC SI, the web services are implemented
    via one common servler.

  • Using same Context for different phy. environments

    Hi,
    i have a small question regarding contexts in ODI. Hope someone can help me.
    Following situation:
    We have 3 databases with same db object structure on three different servers and want to integrate them into one target structure.
    Step1: Initialize target structure (truncate table etc.)
    Step2: Load data from first Database
    Step3: Load data from second Database
    Step4: Load data from third Database
    We want to use the same interface for all of them in order to keep it simple and avoiding duplicate interfaces. So i think we need something like a context/server change during execution. Is this possible to use the same interface for serveral environments and how?
    thx, for your help
    best regards,
    Kai

    Hi Kai,
    Please, take a look into the post http://odiexperts.com/?p=652 maybe it can help you a little....
    And the answer to you questio is YES. That is one of the context functions.
    Just create one context to each database and execute the same interface, but at each context...
    Does it help you?
    Cezar Santos
    http://odiexperts.com

  • Running iTunes on XP and OSX using same music folder?

    Hi,
    I'm just starting to use OSX and XP in almost equal amounts after using XP on my MBP almost exclusively for over a year. The big difficulty at the moment is with the fact that my music is all on my XP partition (NTFS) and therefore not set up under OSX in iTunes.
    I was wondering if anyone has any experience setting up iTunes under both OS'es to point to the same music? Should I set up NTFS3G and just use iTunes under OSX as normal? Or if that is too risky, should I just set up iTunes in OSX to point to the music in read-only mode?
    Any help with this much appreciated, as I really do not want to screw up my music collection, which at the moment stretches into the 50GB+ range.

    Well as a user similar to you, i store all my music in OSX partition and iTunes point to the same music directory in both OSes. Of course, for Windows i use MacDrive. So far no problems occured for me. But as an advice just allow one instance of iTunes (Windows version in my case) to organize music folder, otherwise sometimes it messes things up.
    I do not think it will create a problem in your case. Of course the safest method is to use an external disk with FAT partition.

Maybe you are looking for

  • Non-heap memory area spring leak  in JVM 1.50_6

    Please let me question though it doesn't understand be good from this topic. A problem occurs when testing as follows. The problem is to generate memory leak in non-heap area. %java CconnectTest2 129.24.34.68 130.104.10.50 6101 5000 185000 100 (%java

  • Airport Express and outside network interference

    I have been having some difficulty staying connected to my Airport Express lately. I'm running a Power Mac G4 MDD (airport card) and an iBook 933mhz (airport extreme card), and an iMac (wired to a router). The airport express is also cabled to the ro

  • How to run tcl scripts with arguments on OMBPlus

    Hi, I am trying to deploy mappings from OMBPlus. I could do it by saving step by step commands to a tcl file and run it on OMBPlus as source e:\\mi\\test.tcl Contents of test.tcl is: ======================= OMBCONNECT owbdesigner/owbdesigner@humistst

  • Table to find the interfaces for a system

    Hi, I need to find the number of inbound and outbound interfaces for a particular system. Is there any specific table to find the total number of entries? <b>WE20</b> is a transaction to find it out manually. But I guess there is some table where we

  • Artists on iTunes, not on iTouch 4G

    I just got my iTouch 4G yesterday and for some reason the songs that I put on my iTouch doesn't show the artists names but it shows up in iTunes. I've gone to "Get Info" on every song and made sure it had an artist but it's still not showing up on my