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.

Similar Messages

  • "cross context" and SUN ONE Application Server 8

    Hi All,
    I was running an application in tomcat which had "cross-context" set to true. I tried to deploy it under SAS but it doesn't work, when it requests a resource from a different context it is not found. When I go directly to that context it gives me the resource.
    Can anyone tell me what I should do to enable "crosscontext" (I had to do that to solve this problem in tomcat
    Kind regards,
    Marco Laponder

    In your web app's sun-web.xml, add this property:
    <sun-web-app>
    <property name="crossContextAllowed" value="true"/>
    </sun-web-app>

  • High thread context switching for java web application

    We have been load testing our java web application and observe high cpu usage with 50 users (which doesn't seem practical). The CPU shoots up above 80%. While profiling it with java flight recording (JFR) we see that the context switch rate is 8400 per second (as seen in the Hot threads tab on java mission control). Analyzing the hot threads in jfr, it seems the cpu usage is distributed across the application threads with each thread using less than 3% cpu.
    Increasing the user load to 100, 150 or 200 users we see the cpu shooting up above 90%, the throughput (transactions per second) remaining constant (as seen for 50 users load) while the response time crosses the acceptable threshold values (3 sec). Decreasing the user load to 20 users shows the cpu usage averages out to be above 55%. It certainly isn't true that the application threads are using up the cpu since our application is not a CPU bound application. The Hot Packages tab under Code tab group confirms this by showing that most of the time the application spends in is executing database queries.
    We use glassfish 3.1.2.2 as our application server where the max thread pool is configured to be of 100. Oracle Linux Server release 6.4 is our operating system with linux kernel version as 2.6.39-400.214.4.el6uek.x86_64. I tried executing linux commands namely "watch -n0.5 pidstat -w -I -p " and "watch -n.5 grep ctxt /proc//status" to see the voluntary and involuntary thread context switching at OS level but they don't give any results.
    Suspecting that high context switching could be causing the cpu to shoot up, do you have guidelines on what could be done to confirm that thread context switching is the cause of high cpu and what are there ways to tune the jvm or the application if that's the cause?
    Thanks!

    Kelum -
    We just saw this issue today for the first time. Have you been able to find a cause?
    We upgraded our 32bit Windows operating systems this weekend to use the /3GB flag. Since then, we have seen that our servers have ample heap space, but are dangerously low in PTE memory.
    But when we've been diagnosing the state of the server that produced this error (we run 2 nodes on 3 different computers; only 1 produced this error; the other 5 are working normally), everything looked fine. The server was reporting sufficient PTE availablility, plenty of heap space, and around 172 threads (we expect to be able to run many more than that).
    When we restarted the node, it came up fine and everything appeared to be working normally.
    So I'm looking for any clue as to the root cause, and what kind of resolution to explore. Any clues or pointers would be greatly appreciated.
    Paul Christmann

  • How to define JAXP Parsers and Transformer in a Web Application Context

    Hi
    I need to define JAXP Parsers and Transformer in a Web Application Context where I can deploy this application in any J2EE Application Server without modifying the server. That means that I can't set System properties or set the jaxp.properties file. I tried to use the META-INF/services/javax.xml.transform.TransformerFactory file but it didn't work.
    Any ideas?

    Hi
    I need to define JAXP Parsers and Transformer in a Web Application Context where I can deploy this application in any J2EE Application Server without modifying the server. That means that I can't set System properties or set the jaxp.properties file. I tried to use the META-INF/services/javax.xml.transform.TransformerFactory file but it didn't work.
    Any ideas?

  • How can I get the web application's context root?

    I have a web application, which is defined in Tomcat's server.xml:
    <Context path="/cbes" docBase="e:\work\GM\code\CBESCurrency" debug="0"
    reloadable="true" crossContext="false"/>
    And I hava a servlet in this web application.
    How can I get the context root of the web application?
    in this example: reture should be "cbes" or "/cbes"
    how?
    thanks alot.

    getContextPath() in javax.servlet.http.HttpServletRequest

  • Setting up context sensitive help for WebHelp in web application.

    Hi,
    I'm working on a help system for a web application. It will include context sensitive help triggered by an icon on the screen, and the Topic will open in an iframe with a set size. The developer has already set up the iframe that pops up when the icons are clicked. He is giving me the ID for the screens with the help icons as a fully qualified java file name. I'm not sure what the correct process would be in RoboHelp to map the ID's to the topics.
    1. Do I create a map file using the list of ID's the developer sends me? Would it be in this format:
    #define Topic_Name Java_File_Name
    2. Do I then add the ID to the appropriate help Topic using Project Setup pod Context-Sensitive Help folder?
    3. When I generate the layout I specify the map file I created above (.h extension)
    3. If the developer already set up the iFrame size, is it correct that I don't need to create a custom window to set up the size? Is there a way to set it so two panes open? (I believe using the method above one pane opens with link to navigation pane)
    Thanks in advance,
    Joanne

    Welcome to our community
    See if the link below helps.
    Click here to view
    Cheers... Rick
    Helpful and Handy Links
    RoboHelp Wish Form/Bug Reporting Form
    Begin learning RoboHelp HTML 7, 8 or 9 within the day!
    Adobe Certified RoboHelp HTML Training
    SorcerStone Blog
    RoboHelp eBooks

  • 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

  • Character encoding across Web application contexts

              If I submit an HTTP request encoded in SHIFT-JIS across Web application contexts,
              the characters seem to get mangled. Do I need to do anything special to pass request
              objects that are encoded in SHIFT-JIS to another context.
              

    a. EUC-JP
    EUC is Extended Unix Code.
    <META HTTP-EQUIV="Content-Type" CONTENT="text/html;
    charset=x-euc-jp">x-euc-jp should be EUC-JP. You use x- for non-registered
    encoding names with IANA.
    b. JIS
    Japanese Industrial Standard
    <META HTTP-EQUIV="Content-Type" CONTENT="text/html;
    charset=iso-2022-jp">To be precise, JIS means nothing. JIS has many standards.
    It is an ISO-2022 encoding applied to JIS code sets.
    c. Shift_JIS
    Microsoft's Japanese encoding method loosly based on
    JIS.
    <META HTTP-EQUIV="Content-Type" CONTENT="text/html;
    charset=x-sjis">Use "charset=Shift_JIS" in most cases.
    >
    d. UTF-8You use charset=UTF-8.
    - Which one of the above 4 I should use? Either one is fine as long as you include the meta tag
    in HTML. If you want to support older generation of
    browsers, then skip UTF-8. If you target i-mode
    phone browser, use Shift_JIS.
    - Do I have to worry about the encoding of the
    Japanese data being entered by user in the input
    fields in the HTML form?Yes. Use the same encoding as the encoding of the form.
    Make sure to call response.setEncoding to set the
    enxoding for the parameter processing.
    - What should be encoding of the content of html
    output generated by the JSP?Use contentType tag in page directive.

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

  • Web Application Context Menu - Problem posting comments

    Hi all,
    We are using SAP BW 7.0 (nw2004s) and the web interface to the reports (Web Applications). Some specific reports have to enable users to insert information about specific lines (comments about non-conformity issues). We were planning to insert documents (via context menu) integrated with portal KM.
    Using the Analyzer, we had no problem at all. All the information posted was saved in KM and we could read it using "RSA1 - Documents" and using the Analyzer. The commented value shows a flag that indicates the comment (a small "paper" picture). But when we try to use the Web Application to post this information, it is saved ok but it can only be read using "RSA1 - Documents" and not by the Web Application (it always shows no new documents) and there's no indication in the commented value at all. Has anyone seen something like that? We need to use the web interface. Using the Analyzer is not an option.
    Thanks in advance

    This is not the 2004s runtime in the 2004s system. The url you provided is the BW 3.x runtime in the 2004s system. Make sure on the client side in IE, you don't have and script blocking or popup blocking. For client side settings in IE, make sure your settings are specified as outlined in this blog:
    Troubleshoot the SAP NetWeaver 2004s BI Frontend Installation
    Also, make sure your url has the fully qualified domain name for your server.

  • I am developing a flex web application which needs to access Other domain ,is there any other way other than cross domain policy available ? please help

    i am developing a flex web application which needs to access Other domain (Payment Gateway API),is there any other way other than cross domain policy available ? please help.
    we donot have access other domain thats why we want other solution..

    All the paths to CFCs are the same in my live production site.  Can you be more specific as to what you mean by "RemoteClass aliases in your AS Classes and CFCs (if any) are correct."?  How will the app know that the CFC is on http://myLiveSite.com instead of http://myDevSite.com?  The only line of code that I have noticed that points to a URL is the endpoint in a file called _Super_XXX.as.  And at the top of that file it says that the file is not meant for editting.
    To clarify...I see your app/code all exists on a server access via a web browser so I can understand that everything still works when deployed.  Mine is a mobile app so when I am developing and testing on my local computer the URL points to my local development machine.  However when I deploy it to a mobile device like a tablet and run the app, it needs to be able to access a cfc on a remote server via a different URL ie. my http://myLiveSite.com/myCFC.cfc instead of http://localhost/myCFC.cfc
    Thanks for your help!  I will now take a look at your thread.
    Message was edited by: ace0215

  • 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

  • Cross Farm: User Profile Custom Properties do not show up in the consumer farm web applications

    I have a two SharePoint 2010 farms, one is the publishing farm and user profile service is running on this farm. I have defined a couple of new custom properties, and after a while these custom properties do not show up at the consumer farm end.
    So, on the publishing farm, I can udpate the user profiles with values in these custom properties. However, neither the custom properties nor the values got synchronized to the consumer farm. What puzzled me further is that some of the existing custom properties
    exist on the consumer farm, but not the new custom properties I recently added.
    1. I have made sure the application pool accounts on both the farms being added to the administrators with full control permission in UPS on the publishing farm.
    2. The User Profile Service proxy (connected to the publishing farm UPS application)  is associated with all the web applications on the consumer farm.
    3. When values in the user profiles on the publishing farm changed, these changes do not get replicated to the consuming farm user profiles. This symptom occurs on both custom and OOB user profile properties.
    However, I cannot find any other related information on the web, nor from the ULS logs.

    Hi,
    As I understand, it did not display the new custom properties you defined in the publishing farm at the consumer farm end.
    1. Check if the topology Discovery Service Application runs well in consuming farm. In the Central Administration, it is the Application Discovery and load Balancer Service Application, check if it starts.
    In the IIS, it is the topology, check if it starts.
    2. Check the permissions have been established if you have established consumer farm permissions on Provider Farm before you publish the service application.
        1. Go to Central Administration and going to “Manage Service Applications”.
        2. Click on “Application Discovery and Load Balancer Service Application” and click “Permissions” from the ribbon.
    Your farm GUID should be listed with full permissions.
    The article is about Shared Service Architecture in a multi farm environment
    http://blogs.msdn.com/b/russmax/archive/2010/05/06/sharepoint-2010-shared-service-architecture-part-2.aspx
    Best regards
    Sara Fan
    TechNet Community Support

  • Step by Step to configure cross-context in Weblogic 10.3.2

    Hello Everyone,
    How to configure a web application to allow cross context calls in Weblogic 10.3.2?
    Please let me know the solution on this?
    Thanks,
    Praveen

    Hi Praveen,
    Maybe you could take a look at [Using Sessions and Session Persistence|http://download.oracle.com/docs/cd/E17904_01/web.1111/e13712/sessions.htm#WBAPP300]
    Hope it helps,
    Luis

Maybe you are looking for

  • 2nd level of complaint?

    Just wondering what my options are. I have a 1st gen iPod touch that has issues with its dock connector. There seems to be a short in it since when I plug it into my iMac or two different docks, I either get an error or an indication that the iPod is

  • ITunes is asking m to switch to english version.  I HAD english version.  how do I get it back

    I have windows 7 on my hp laptop with iTunes.  When I go to use iTunes it says to switch to English veersion.  I have always had the English version.  How can I remedy this situation because it is unusuable as it is?

  • Sudden blackouts

    I'm having sudden blackouts of my iMac. The power button remains on and it goes off keeping it pressed for some seconds. After a blackout it does not restart until about 15 minutes after, till now. I restarted pram to no avail. Any suggestion will be

  • How do i licence a two node RAC with ASM infrastructure

    AM trying to estimate the licensing of two node RAC with ASM as storage manager and GRID control as management tool

  • Please Help! Ipod Touch Gen 5 stuck in restoring mode.

    I purchased a Ipod Touch Gen 5 32gb for christmas and i just brought new songs from itunes and i plugged my ipod in to update the songs, itunes came up with a message saying "itunes has detected ipod in restoring mode, you need to restore ipod before