Multiple Context Paths Per Web Application

Hi,
We have a Web Application which has a Context Path of "titanadmin". We have some
HTML pages which refer to this within the URLs they contain. We need to move the
functionality in this Web Application to another Web Application with a Context
Path of "gp3admin". We cannot change the URLs in the generated HTML.
So, is it possible for a Web Application to have multiple Context Paths, so that
URLs starting with "/titanadmin/" and "/gp3admin/" both go to the same Web Application.
Thanks,
Dave

There is no hard limit to the number of Web Applications (I managed a WSSv3 farm that had 60+, for example). The issue is memory-related and primarily stems from 32bit systems where it was much easier to get Out Of Memory errors on the IIS Application Pools
when performing a large operation across a 32bit Application Pool (e.g. crawling). However, if you limit each IIS Application Pool to about 10 Web Applications (again, in 32bit land that no longer applies), everything generally works OK given the Web Applications
do not have a very large amount of content.
But, if HNSC is in use, a single Web Application should be sufficient, barring any Web Application-specific settings you might need to make.
Trevor Seward
Follow or contact me at...
&nbsp&nbsp
This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

Similar Messages

  • How to enhance the context menu in Web Applications - BW 7.0

    We have to enhance the context menu of several Web Applications and,
    initially, we based our solution on the paper "How to enhance the
    context menu of Web Applications", from June, 2002, but the solution
    described on the paper refers to the BW version 3.0 and we need the
    solution for the BW version 7.0. The technical content described on the
    paper, version 3.0, is very different from the content of the version
    7.0, used by us. Is this feature available for the version 7.0?

    Hi,
    did you find a solution already?
    Thanks,
    Frank

  • Per Web Application singleton pattern

    Hello
    I have a application (ear) file that look something like this:
    App.ear
    -- Web_1.war
    ----- WEB-INF/lib/helper.jar
    -- Web_2.war
    ----- WEB-INF/lib/helper.jar
    -- Web_3.war
    ----- WEB-INF/lib/helper.jar
    inside helper.jar there is a singleton class., which get initialised differently depending on which Web_<X> it is loaded in. This currently works because each lib directory get loaded by each own classloader.
    I would really like to move the helper.jar up to the <ear file>/lib directory, but that means it is only loaded by the classloaders once anf thus the 3 singletons break as there is now only one.
    I would like to have some sort of "Per Web application" globally reachable "singleton".
    I have thought about using ServletContext, but it appears that there is no easy ways for helper classes to look it up, unless it is passed as a parameter.
    A second idea would be to use ThreadLocals, but that would rely on the Web container not reusing threads accross web applications. I am not sure if this is guranteed not to happen ...
    In any case, what is the best way to handle this ? is there any standard way or a design pattern to follow...

    I suppose another way of asking this question is this:
    is there a way to use the singleton pattern on a
    per-web-application basis without storing the
    singleton in the ServletContext? If I can find a way
    to do that, I can solve my initial problem.Some web application servers run each webapp in a separate JVM, or at least a separate classloader. If yours does either of those, then each webapp will have its own instance of the singleton. Try it.

  • Can i have multiple ActionServlet in a web Application?

    Hi
    Can i have multiple ActionServlet in a web Application?
    if YES then please give me the sample configuration file..
    thanks & Regards
    raghavan

    Hi,
    This forum is related discussions about creator. Please post this to an appropriate forum
    You may post here
    http://forum.java.sun.com/forum.jspa?forumID=33
    MJ

  • How to handle multiple datasources in a web application?

    I have a J2EE Web application with Servlets and Java ServerPages. Beside this I have a in-house developed API for certain services built using Hibernate and Spring with POJO's and some EJB.
    There are 8 databases which will be used by the web application. I have heard that multiple datasources with Spring is hard to design around. Considering that I have no choice not to use Spring or Hibernate as the API's are using it.
    Anyone have a good design spesification for how to handle multiple datasources. The datasource(database) will be chosen by the user in the web application.

    Let me get this straight. You have a web application that uses spring framework and hibernate to access the database. You want the user to be able to select the database that he wants to access using spring and hibernate.
    Hopefully you are using the Spring Framework Hibernate DAO. I know you can have more that one spring application context. You can then trying to load a seperate spring application context for each database. Each application context would have it's own configuration files with the connection parameters for each datasource. You could still use JNDi entries in the web.xml for each datasource.
    Then you would need a service locater so that when a user selected a datasource he would get the application context for that datasource which he would use for the rest of his session.
    I think it is doable. It means a long load time. And you'll need to keep the application contexts as small as possible to conserve resources.

  • Same JVM for multiple Frames in a web application

    Hi guys,
    I have a web application that loads an applet during login. Once the login is completed, the web application will display the available functions accessible with a menu on the left frame and the main display page on the right frame. Whenever any form action is perfomed on the right frame, the jvm with the login session seems to exit (java console closes) and the applet will be loaded to prompt the user to login again. The JRE installed on the Windows client is 1.6.0_14 from SUN.
    I'm guessing that the different frames are using different JVMs?
    Is there a way to use the same jvm for a web application with multiple frames? I want to prevent the case where the user will have to login again.
    Thanks for any advice!
    - Zen -

    I have sort of the same problem
    [Identical applets in the same JVM, next generation plugin issue|http://forums.sun.com/thread.jspa?threadID=5396118]
    I have submitted a Request for enhancement to SUN to allow forced grouping of applets in the same JVM.
    Sort of the opposite of the "separate_jvm" Applet tag parameter.
    It seems there is currently no way to do this.
    [New Plugin command line args|https://jdk6.dev.java.net/plugin2/jnlp/#COMMAND_LINE_ARGS]
    When per-applet JVM command-line arguments are specified, it is likely that the new Java Plug-In will need to launch another JVM instance in order to satisfy them. In other words, it is unlikely that a preexisting JVM instance will have been started with the correct set of command-line arguments to satisfy the current applet's request. The rules for exactly when a new JVM instance is launched to start a given applet are deliberately left unspecified, as this functionality is brand new in the 6u10 release and may need to change in subsequent releases. Here is a rough set of guidelines for the sharing and creation of new JVM instances:
    * If the command-line arguments used to start a preexisting JVM instance are a superset of the requested arguments, the preexisting JVM instance will be used.
    * If a JVM instance is launched for the "default" set of command-line arguments (i.e., those specified in the Java Control Panel, with no per-applet arguments specified), then this JVM instance will never be used to launch any applet that has even one per-applet command-line argument.
    * -Xmx is handled specially: if a preexisting JVM instance was started with for example -Xmx256m, and a new applet requests -Xmx128m, then new applet will very likely be run in the preexisting JVM instance. In other words, -Xmx specifications are matched with a greater-than-or-equal test.
    There is no way to "name" a JVM instance used to launch a particular applet and "force" subsequent applets into that JVM instance.
    See the section on the separate_jvm parameter to isolate a particular applet in its own JVM instance, separate from all other applets.

  • Mapping root of URL path to web applications

              Does the name of the web application have to equal the first element in the URL
              path? The WebLogic 5.1
              documentation suggests that you can create such a mapping with a property:
              weblogic.httpd.webApp.<context>=<WebAppLocation>
              where <context> is the servlet context path (I presume that is the root of the
              URL path) and
              <WebAppLocation> is the application root directory (or WAR-file location). Is
              there any equivalent to
              this mapping in WebLogic 6.1, or must the URL path begin with the web application
              name?
              

              "Daniel Steinberg" <[email protected]> wrote:
              >
              >Does the name of the web application have to equal the first element
              >in the URL
              >path? The WebLogic 5.1
              >documentation suggests that you can create such a mapping with a property:
              >weblogic.httpd.webApp.<context>=<WebAppLocation>
              >where <context> is the servlet context path (I presume that is the root
              >of the
              >URL path) and
              ><WebAppLocation> is the application root directory (or WAR-file location).
              > Is
              >there any equivalent to
              >this mapping in WebLogic 6.1, or must the URL path begin with the web
              >application
              >name?
              I have looked further into the documentation, and the answer seems
              to be NO. However, I can solve my particular problem (supporting
              old URLs) by defining a default web application.
              

  • Get installation path of web application from class file

    Can anybody tell me how I can get the path on disk to the root of my web application from a class file. Im running under Tomcat 5.5 and I have 3 copies of the same webapp under 3 differenet directories:
    C:\xxx\dev\yyy
    C:\xxx\test\yyy
    C:\xxx\prod\yyy
    Based on which directory the web-app, I need to do a lookup on a properties file to pull the right jdbc connection to connect to the appropriate database. So it would be similar to using getServletContext().getRealPath("/") from a .jsp file.
    Thanks,
    Jason

    Sorry for not clarifying. I have a properties file with name/value pairs. I know where this properties file is and I can do a lookup in it. In this file, I have jdbc connection names which point to corresponding jdbc resources in my context.xml file.
    jdbcDevDatabase=jdbc/tfmDev
    jdbcTestDatabase=jdbc/tfmTest
    jdbcProdDatabase=jdbc/tfmProd
    These connections are for dev, test and prod databases. Now based on where the web-app is installed on disk, i.e-dev dir, test dir, prod dir, I want to retrieve the corresponding connection. The problem is I don't know how to get a handle to the web apps real path on disk without access to the request object or using getServletContext().getRealPath("/") which are not available to me in a class file.
    Thanks,
    Jason

  • NW 2004s BI: performance issue on context menu in web application

    Hi BI-Gurus,
    Currently I am looking for a possibility to speed up the context menu within a web application.
    Therefore, queries have been created that should be accessible via BEx Analyzer and Enterprise Portal. In BEx Analyzer context menu of measures and characteristics appears quickly after right-clicking. However, it takes up to 12 sec to display the context menu in the corresponding web application for the initial call. The 2nd, 3rd,... call of the context menu is about two or three times quicker .
    Is there anybody out there who knows which parameters affect the call of the context menu in a web app and how to speed up in this case? Please note that I am working on a NW 2004s BI system with SPS12 installed.
    Thanks for your feedback.
    Regards
    Sascha

    NW04s Web Context Menu is slower than the 3.X, but it does not take 12 secs for me, more like 2-3 secs. Try deleting your browser cache and running the template again and see whether that makes any difference.
    The rendering is done on the front end side when the template is loaded all the required JS files are also downloaded (around 12 different JS files), depending on what other applications you have open that also will affect the time taken for this.
    Thanks.

  • No context menu within Web Application in Portal

    Hello all,
    our user runs Web Application via Portal. Normally they can call up the context menu within the web application in order to access the context menu. There they can drill down, swap characteristic, distribute, etc.
    For some user we notice that this context menu is not appearing by right mouse click, but the context menu from the internet explorer. That means that these user can not navigate properly within the web application.
    When the user executes the Web application via the Bex browser, the context menu appears properly. When I log on in into the portal/bex browser on the users PC, the context menu is also appearing properly.
    Is there an user-specific portal setting, which is to maintained?
    Any help would be great.
    Best regards,
    Stefan from Munich/Germany

    Hi Stuart,
    The easiest way to achieve the desired behavior is to make some changes to your web-j2ee-engine.xml file.
    In the login module configuration element edit the security-policy-domain field to u201C/irju201D. This will provide you access to your application from the portal without re-authentication to be required.
    See also http://help.sap.com/saphelp_nwce10/helpdata/en/3e/ee7aa1ab8b4442bab00ba3171cef72/content.htm
    Regards,
    Diyan

  • How to configure request manager service for multiple website in one web application

    I have set up sp 2013 as below:
     web application : wa1
    site collection : sc1
    sp site: site1, site2
    I used 2 WFE, 1 APP, how can I use request manager service to control  site1 to wfe1, site2 to wfe2?
    Awen

    That's not what i'd describe as load balancing.
    A better description would be load-isolation. In your description then if the load on site1 was large (and growing) but site2 was quiet then site1 would struggle and eventually become unable to handle the number of users but site2 would still be ok. That's
    fine from a QOS point of view but it's not the norm for load balancing. It would work in simple scenarios but the out of the box load balancing tools are much better suited than that sort of approach.
    This article shows how to configure the RMS and may help show how your request is difficult to configure:
    http://www.harbar.net/articles/sp2013rm2.aspx

  • Define multiple cookie paths in web-j2ee-engine.xml

    Hello,
    Is it possible to define more than one path JSESSIONID cookie is sent to? Something like
    <web-j2ee-engine>
    <cookie-config>
    <cookie>
    <type>SESSION</type>
    <path>/irj;/login</path>
    <domain>siemens.de</domain>
    </cookie>
    </cookie-config>
    </web-j2ee-engine>
    I want the cookie to be sent to /irj and /login, but not to /b2b.
    Another solution could possibly be to change the name of the JSESSIONID cookie. Is that possible?
    Thanks for you help,
    Elmar

    Hi Rüdiger,
    I'm not really sure but this could work:
    Regards,
    Pascal

  • Managed path for host named site collection is farm level or web application level?

    Hi,
    I would like to get advice.
    I created a webapplication for host named site collections.
    these are my host named site collections (except http://sp2013) under my webapplication
    Root Site Collection: http://sp2013
    Site Collection: portal1.sg
    Site Collection: portal1.sg/research
    Site Collection: portal1.sg/intranet
    research and intranet managed paths are farm level
    all my host named site collection will be accessed by http and https except "intranet" site collection will be only accessed by https
    so I changed the Intranet zone for site collection using Set-SPSiteUrl
    Set-SPSiteUrl (Get-SPSite "http://portal1.sg") -Url "https://portal1.sg" -Zone Intranet
    Set-SPSiteUrl (Get-SPSite "http://portal1.sg/research") -Url "https://portal1.sg" -Zone Intranet
    Set-SPSiteUrl (Get-SPSite "http://portal1.sg/intranet") -Url "https://portal1.sg/intranet" -Zone Intranet
    Now I need to create "search" site collection for "Enterprice Search Center"
    My question is that for the "search" managed path ... should i use farm level or web application level?
    "search" site collection will be will be accessed with both http and https also.
    Thanks a lot!

    managed path for HNSC is farm level and u can have 20 managed path
    while managed path for path based is 20 per web application in your case if you are going to have a a separate web application for search then u will use web app
    Kind Regards,
    John Naguib
    Technical Consultant/Architect
    MCITP, MCPD, MCTS, MCT, TOGAF 9 Foundation
    Please remember to mark your question as answered if this solves your problem

  • Cross Context Web Applications

    Hi there,
    I'd like to know if it is possible to enable/disable cross context references for web application(s) with Weblogic Server 8.1? With Tomcat this is achvied by setting the attribute "crossContext" of the element "Context" to "true" in Tomcat's "server.xml" configuration file (see http://tomcat.apache.org/tomcat-5.0-doc/config/context.html). Is this also possible with Weblogic 8.1? If yes, how?

    If you're talking in perspective of Java components (servlets, JSPs, etc), you would not need to code them differently for each browser.
    However, you would want to consider these issues when you use HTML/DHTML/Javascript specifics.
    [w3schools|http://w3schools.com/] is the correct place to look for those.

  • XCM configuration path in web.xml file

    Hi,
    Here is a requirement that all the XCM configuration files are stored at local desktop(like QAT, PRD..), and need to use them by modifying web.xml.
    Please let me know at
    1)which web.xml tag the path of XCM confiuration files to be specified.
    2) specify the names of the XCM files for configuration to be put in that folder.
    Thanks,
    Devender V

    Hi,
    1)which web.xml tag the path of XCM confiuration files to be specified.
    Try to find below lines in your web.xml
    <context-param>
            <param-name>path.xcm.config.isa.sap.com</param-name>
            <param-value>/WEB-INF/xcm/sap/system/bootstrap-config.xml</param-value>
            <description>Turns the Extended Configuration Management on if a
                path to the configuration file is specified. It is a
                relative path, with context-root of web application as root</description>
        </context-param>
    bootstrap-config.xml file contains XCM configuration related XML file path. You can modify or extend this file and give your user Define path.
    Also you can find below line in web.xml file.
    <!-- Action Servlet Configuration -->
        <servlet>
            <servlet-name>action</servlet-name>
            <servlet-class>com.sap.isa.core.ActionServlet</servlet-class>
            <init-param>
                <param-name>config</param-name>
                <param-value>/WEB-INF/config.xml,/WEB-INF/xcmadmin-config.xml,/WEB-INF/ccmsims-config.xml,/WEB-INF/ipc-config.xml,/ipc/customer/config.xml,/WEB-INF/config_lwc_b2b.xml,/WEB-INF/scheduler-config.xml,/WEB-INF/ipcpricing-config.xml</param-value>
            </init-param>
            <init-param>
                <param-name>config/user</param-name>
                <param-value>/WEB-INF/config_user.xml</param-value>
            </init-param>
            <init-param>
                <param-name>config/dealerlocator</param-name>
                <param-value>/WEB-INF/config_dealerlocator.xml</param-value>
            </init-param>
            <init-param>
                <param-name>initconfig</param-name>
                <param-value>/WEB-INF/xcm/sap/system/init-config.xml</param-value>
            </init-param>
    I hope this will help you.
    eCommerce Developer

Maybe you are looking for

  • Blinking power led on WRT54G2 v1

    I'm having a lot of problems with my new wireless router, and I could use some help. I'm on a Macbook Pro, OS 10.6.1. I bought the router two weeks ago, and it worked well for several days, until I noticed that the power light was flashing, and I cou

  • Can't delete photos off iphone 6

    hi, ive been trying to resync my photos to my iphone 6 because the organisation of the photos in iphoto doesnt reflect in photos app in iphone 6. so i tried deleting and resyncing it but it just gets stuck at syncing "gregory leow" (my name) (to unde

  • Garageband doesn't open .. I have tried many things

    Since last week Garageband is giving me headeches. First gave me the Midi conflict error, then started to close when selecting the "new podcast episode". then I connect an M Audio card Fast track pro and started to record with some errors. Then I plu

  • Sync - "disconnected" with Torch 9800 & Windows 8/Office 2013

    Upon connecting my BB with my Windows Surface Pro w/Windows 8 and Office 2013, the Desktop Manager states "disconnected." The BB recognizes the connection. I have activated .NET in Windows 8, tried different USB cables, uninstalled and reinstalled BB

  • Multiple COREid environment with ADS

    We have COREid Identity and Access 7.0.4 for Windows installed. All the COREid Identity and Access metadata is stored in Active Directory 2003. Let’s say our AD is called AD – Production. We now want to setup another COREid Identity and Access 7.0.4