WebSphere Application Server & Liberty

WebSphere Application Server & Liberty

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  Run 2 different application with same context root on same cell?

    Posted 08/11/10 10:38 AM
    Run 2 different application with same context root on same cell?

    --------------------------------

    I have two different application sample1 and sample2 and I want to use same context root for both application.

    example:
    abc.com/index.html
    cde.com/index.html

    Any idea? using Websphere Application Server 6.1 ND with Websphere Virtual Enterprise.

    --------------------------------

    Posted By: Burhan Ali at Nov 4 2009 4:11PM


  • 2.  Run 2 different application with same context root on same cell?

    Posted 08/11/10 10:46 AM
    Not a problem

    --------------------------------

    Yes, you can use the same context root, since the domains are not the same (abc.com and cde.com)

    Simply configure your virtual host to point to sample1 for abc.com and sample2 for cde.com.

    1) Configure 2 virtual hosts, vhost1 for for abc.com and vhost2 for cde.com.
    2) Configure plugin-cfg.xml to route requests on vhost1 to sample1, and vhost2 to sample2,

    --------------------------------

    Posted By: joblini at Nov 6 2009 3:06AM


  • 3.  Run 2 different application with same context root on same cell?

    Posted 08/11/10 10:58 AM
    Kuruva

    --------------------------------

    Its not possible to have same contex for diferent applications on same cel,even though we have two differnent virtual hosts ,plugin-cgf.xml file,domains

    --------------------------------

    Posted By: kuruva at Dec 3 2009 12:37PM


  • 4.  Run 2 different application with same context root on same cell?

    Posted 08/11/10 10:59 AM
    Yes it will work provided you deploy the app on different virtual hosts

    --------------------------------

    Posted By: infyniti at Dec 3 2009 5:21PM


  • 5.  Run 2 different application with same context root on same cell?

    Posted 08/11/10 11:02 AM
    Run 2 different application with same context root

    --------------------------------

    yes its possible if we have
    1) Configure 2 virtual hosts, vhost1 for for abc.com and vhost2 for cde.com.
    2) Configure plugin-cfg.xml to route requests on vhost1 to sample1, and vhost2 to sample2,
    if the application is same conflict occurs with unexpected results.with different applications but same context with above scenario,No issues.it will work fine.

    Example: same application content with different names,with same context root will have some conflict.
    with two different applications,different application content with same context root ,No issues ,it will work fine


    Thanks in advance
    kuruva

    --------------------------------

    Posted By: kuruva at Jan 4 2010 12:42PM