Session expiration across different adf web applications

Version of jdeveloper is 11.1.1.4.0. I have two adf jsf applications deployed in two different weblogic servers. Web application 1 navigates web application 2 in an external window or inline popup using a url view activity. I navigate from web application 1 to web application 2 without a problem. However when navigating back from web application 2 to web application 1 any action made in the ui of web app 1 throws an exception:
javax.faces.application.ViewExpiredException: viewId:/main.jspx - ADF_FACES-30108:The view state of the page has expired because of inactivity. Reload the page.
This problem does not occur when the 2 web applications are deployed in the same weblogic managed server. Is there any way to overcome this session inactivity issue.
Thanks in advance

you can set session timeout in
web.xml
weblogic.xml
weblogic-aplication.xml

Similar Messages

  • ADF Web applications give error when parent is set to "orabpel"

    Hi all,
    i use the application server 10.1.3.1 of the SOA 10.1.3,
    i try to deploy an ADF web application that uses the BPEL APIs,
    in the server.xml, i set the application parent to 'orabpel',
    when i start the application by launching the first jspx page i got the following error
    that i found in the 'global-application.log':
    07/01/04 08:34:30.750 defaultWebApp: JspServlet: unable to dispatch to
    requested page: Exception:java.io.FileNotFoundException: C:\product\10.1.3.1
    \OracleAS_1\j2ee\home\default-web-app\TAFFirstPage-ViewController-context-
    root\faces\loginPage.jspx (The system cannot find the path specified)
    i tried to set the application parent to 'default' again and added the bpel apis libs (bpm-services.jar, bpm-infra.jar and orabpel.jar) to the applib folder in j2ee/home and now all the adf web applications deployed to the server give the same error.
    i have a normal web application with jsps pages (not jspx) with parent set to orabpel and it's working great.
    please i am stuck on this it's been 2 days does anybody have any clue?
    thanks

    Hi ,
    Firstly, let’s verify the followings:
    Please create a new library at the site, then add three managed columns into it, test again, compare the result.
    Whether this issue occurred in other sites with the same site collection.
    Please test in another site collection, check if this issue occurs.
    In addition, please make sure Managed Metadata web service is started in Mange services on server.
    And also make sure the managed metadata service is connected to the web application that you used as CA->Application management->manage web application->your web application->Service Connections.
    Best Regards,
    Wendy
    Wendy Li
    TechNet Community Support

  • Using Applets in ADF Web Application

    Hi,
    I'm building an ADF web application using JDeveloper 11. I would have to use applets which have to "communicate" with database (insert, update).
    What would be considered as "the best practice" for that "JDBC flavored applet"? Is it possible to reuse a database connection?
    Any suggestion would be appreciated.
    Thanks.

    Boris,
    You could still use ADF Business Components and access them remotely (from the applet).
    John

  • Customize adf components in deployed ADF web applications

    Hi,
    I am using JDeveloper 11.1.1.4 and ADF-BC in my project.
    In my project,I use several jsff pages with some common adf components inside them.[ex:af:panel,af:inputText ,etc].
    For example I use a panel and some adf input and button components inside panel.
    I build a ear/war and ship it to customer.
    My question is in customer environment,if the customer wants to customize the controls in the jsff page [like  adding new adf controls to the existing panel etc],can we achieve this in adf web applications.
    Please suggest.
    Thanks,
    Praveen

    hi,
    My question is in customer environment,if the customer wants to customize the controls in the jsff page [like adding new adf controls to the existing panel etc],can we achieve this in adf web applications.You cannot edit the ear file directly to embed the controls in page,
    So you can have a database table that stores the dynamic configuration of controls, like cntrl_name,type,value,autosubmit,, etc.
    and at runtime render it accordingly dynamically.
    forexample you can have a af:iterator that iterates over vo(table) and has switcher component to determine the type of component and apply properties to it.
    Regards,

  • Need information on open source testing tools for ADF web applications

    Hi experts,
    I need to investigate on new feasible open source Java testing tools for testing ADF web applications. I have tried to google a lot but getting confused.
    My requirements as as under:
    1. The tool must be open source.
    2. It should be easy to understand and to work upon by the tester and developers.
    Selenium based testing approach is already in place for testing the application but need to search for tools other than Selenium which shall prove suitable for testing ADF applications. Kindly let me know your inputs / suggestions.
    Thanks a lot in advance.
    Neelanand

    Hi,
    Have a look at JMeter http://jakarta.apache.org/jmeter/index.html
    1. The tool must be open source.It is.
    2. It should be easy to understand and to work upon by the tester and developers.I guess it is.
    There are some specifics in configuring it for ADF, but Chris Muir wrote a nice blog about how it's done, check it out http://one-size-doesnt-fit-all.blogspot.com/2010/04/configuring-apache-jmeter-specifically.html
    Pedja

  • Session time out in ADF 11g application.

    Hi,
    I am working for the ST BPO Project. We have one ADF application that is migrated from 10g to 11g.And our application is deployed on the weblogic server.
    we are facing some session time out issues in the application which is intermittent and whenever we leave the web page for some times, the session get timed out and page gets errored out.
    We have set the session time out parameter in web.xml as well as for AM.
    Session Management:
    Following are the parameters which we have set already.
    1.     Web.xml
    We have put the following session time out in web.xml:
    <session-config>
    <session-timeout>180</session-timeout>
    </session-config>
    2.     bc4j.xcfg
    We have set the timetolive property of AM as:
    <AM-Pooling jbo.ampool.timetolive="10000000" jbo.pooltimetolive="10000000"/>
    3.     Also for the DB we have set the session time out to 180 mins.
    But if we leave the page for say some times around 5-10 min, the session of the page expires and it throws error.
    Also, as per our investigation : After some times the view id of the page gets expired and hence the issue comes. Also the behaviour is only on the weblogic server and we don't face any issues in the local set up.
    Kindly help us in solving this problem. Also let me know if any further details is required.
    Thanks
    Namit.

    Hi,
    suggest you also contact customer support on this issue. The version of your JDeveloper 11g release may matter as well
    Frank

  • Session expired (timeout) without ADF Security using.

    Hello!
    I have a problem with my application in which i use own security realization without ADF Security using. I realized custom implementation of javax.servlet.http.HttpSessionListener interface, in which i log session creation and expiration events. On WebLogic I realized customDBMS authentification class. Session timeout defined in web.xml (<session-timeout>5</session-timeout>), in weblogic.xml session timeout not define.
    Problem description: when session expired (popup warning displayed before this) and press OK button in popup with session expired warning, I see what no any log about session destroying from my HttpSessionListener implementation, so I cant understand, what session expired and process this event in my servlet filter. So I stay at same page (but without data in tables, coz binding variables in VO queries is not defined). If I am not click OK in the popup and wait about minute, then appear a log message about the destroying the session from my HttpSessionListener implementation. Why is the delay between the appearance of warning session expired and the actual destroying of the session in WebLogic?
    I use JDeveloper 11.1.1.6.0, application deployed in integrated WebLogic 10.3.5.0

    Hi,
    Why is the delay between the appearance of warning session expired and the actual destroying of the session in WebLogic?Because warning is given about 2-3 min before session expire
    That is why
    If I am not click OK in the popup and wait about minute, then appear a log message about the destroying the session from my HttpSessionListener implementation.

  • ADFS Web Application Proxy - Automatically authenticate another federation

    I am setting up a Web Application Proxy as a reverse proxy to publish some of our internal websites to the internet. I am going to publish
    https://portal.workplace.example as the "hub" site which will link off to various other websites hosted internally. These sites are hosted on various different servers so I want to use the WAP to take
    advantage of the SSO facility. This works nicely.
    One of the links will be to Office 365. We are using IAMCloud's Federate 365 service (which is essentially a hosted ADFS service) to authenticate our users. Using this means that users away from the workplace
    are not dependant on our internet connection being active to access O365 and that they will still be able to authenticate should our internet connection die. However, it also means that when the user clicks on the link on the portal page to Office 365 they
    are forced to re-authenticate. What I'd like to is to pass on the credentials that the Web Application Proxy collects onto the external federation service automatically. I just can't see how you'd do it.
    I have added the external ADFS farm as a relying party trust but I have no idea what I need to use as a claim rule so I've used a passthrough rule with the UPN as the claim being passed. I've also set up a
    publishing rule with the WAP with the external federation's URL and changed the hosts file on a test computer to make the external federation's address resolve to the WAP's IP address but this just results in a blank page. I fully accept that I'm not doing
    this right but I'm unsure of where to go from here. Can anyone give me some advice?
    Many thanks,
    Ian

    Hi Lan,
    Thank you for your posting!
    Regarding claims based issue, I suggest you refer to experts from the following forum to get professional support:
    Claims based access platform (CBA), code-named Geneva Forum
    http://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=Geneva
    Thank you for your understanding and support.
    Best Regards,
    Amy

  • Session time out in a web application

    Hi,
    I am making a struts based web application. For session time out validation I have made an entry in the web.xml file as <session-config>
              <session-timeout>1</session-timeout>
         </session-config>
    In case the user's session time out occurs then he should be directed back to the log in page.
    Can any one tell me how to proceed in this case and what are the best practices.
    thanks

    Hi
    I've tested it with OC4J and it works both ways.
    I do think that you must have the
    <session-config> tag present though for the setMax... method to
    work, observe that this method is for seconds and not millisecond
    regards
    //Mike
    Hi all,
    I try to manage by my application the http session time-out.
    Change it in a web.xml works fine , but if in my servlet i try
    to change it using setMaxInactiveInterval(MILLISECOND) the result
    is that the session became invalidate after few seconds instead
    50 minutes ad example ....
    Answer ????
    thks
    Carlo Mossa

  • Error while deploying ADF web application from JDeveloper 11g to Web Logic

    Hi,
    I developed application following "Developing RIA Web Applications with Oracle ADF" tutorial.
    It works fine when started locally, from JDevelopwr 11g (11.1.1.1.0).
    I tried to deploy it to remote Oracle WebLogic Server (10.3.1, with ADF libraries installed) from JDeveloper, but got:
    +[02:29:00 PM] [Deployer:149034]An exception occurred for task [Deployer:149026]deploy application HRDemo on AdminServer.: Failed to load webapp: 'HRDemo.war'.+
    +[02:29:00 PM] Weblogic Server Exception: weblogic.application.ModuleException: Failed to load webapp: 'HRDemo.war'+
    +[02:29:00 PM] Caused by: java.lang.ClassNotFoundException: oracle.adf.library.webapp.ResourceServlet+
    +[02:29:00 PM] See server logs or server console for more details.+
    +[02:29:00 PM] weblogic.application.ModuleException: Failed to load webapp: 'HRDemo.war'+
    +[02:29:00 PM] #### Deployment incomplete. ####+
    +[02:29:00 PM] Deployment Failed+
    Tried to add "ADF Common Web Runtime" to deployment profile's "Libraries selected for deployment" but than got:
    +[02:52:44 PM] [Deployer:149034]An exception occurred for task [Deployer:149026]deploy application HRSystem_ViewController_webapp1 on AdminServer.: Failed to load webapp: 'HRSystem_ViewController_webapp1.war'.+
    +[02:52:44 PM] Weblogic Server Exception: weblogic.application.ModuleException: Failed to load webapp: 'HRSystem_ViewController_webapp1.war'+
    +[02:52:44 PM] Caused by: java.lang.ClassNotFoundException: oracle.jsp.runtimev2.JspServlet+
    +[02:52:44 PM] See server logs or server console for more details.+
    +[02:52:44 PM] weblogic.application.ModuleException: Failed to load webapp: 'HRSystem_ViewController_webapp1.war'+
    +[02:52:44 PM] #### Deployment incomplete. ####+
    +[02:52:44 PM] Deployment Failed+
    Regards,
    Zdravko.
    Edited by: [email protected] on Sep 10, 2009 2:58 PM

    Hi,
    We did that earlier, too (modified existing domain).
    Also, after that, we created new domain and extended it according to you suggestions but no change.
    Regards,
    Zdravko.
    Edited by: [email protected] on Sep 11, 2009 10:20 AM

  • Communication between separate ADF Web Applications

    Using 11.1.1.5 of JDeveloper I have two Fusion Web Applications that each have a single "view" task flow. Those task flows will be dropped into regions within a WebCenter Portal application so they behave like portlets. I'd like to have a value from one app passed to the other app and have the second app respond to the change. It seems like it should take about 10 minutes but so far... two weeks without any progress. I'm incredibly frustrated. Does anyone have a simple list of the steps I need to perform to pass parameters between task flows? Please help! All I'm looking for is step 1: set up this, step 2: set up that. I can't believe it's this hard.
    All of the samples I find on line are about inter portlet communication with JSR 286 portlets, WSRP portlet producers or inter-component communication. I've read this too: http://www.oracle.com/technetwork/issue-archive/2011/11-may/o31adf-352561.html but I haven't been working with JDev and WebCenter for 5 years so it simply doesn't make sense. For example, one piece of sample code looks like this
    public void handleEventStringPayload(String customPayLoad) {
    FacesContext fctx = FacesContext.getCurrentInstance();
    ELContext elctx = fctx.getELContext();
    ExpressionFactory exprFactory =
    fctx.getApplication().getExpressionFactory();
    ValueExpression ve =
    exprFactory.createValueExpression(elctx, "#{backingBeanScope.mirrorPageBean}",
    Object.class);
    MirrorPageBean mirrorPageBean = (MirrorPageBean)ve.getValue(elctx);
    mirrorPageBean.setMirrorValue(customPayLoad);
    AdfFacesContext adfFacesContext = AdfFacesContext.getCurrentInstance();
    adfFacesContext.getCurrentInstance().addPartialTarget(mirrorPageBean.getMirrorTextField());
    Pretend I don't know the nine layers of technology involved here. Why in the world do I need all of this stuff in this order just to set a parameter... or is that NOT what this is doing? Why are they doing addPartialTarget? What does that do? Why do they have an EventObjectHandler and an EventStringHandler? The article is clearly written for an experienced WebCenter developer and that simply isn't me. If anyone has a resource that shows me how to pass parameters between web apps that actually explains the steps needed and why they need to be taken, that would be great.
    Thanks in advance for any help.

    Hi!.
    To communicate two regions (ADF Task Flows) in a WebCenter Portal Page you have "Contextual Events Framework".
    You can learn it following this Blog entries:
    http://technology.amis.nl/blog/3365/adf-11g-how-events-in-one-region-cause-other-regions-to-refresh
    http://andrejusb.blogspot.com/2010/10/contextual-events-framework-and-adf-11g.html
    http://www.oracle.com/technetwork/issue-archive/2011/11-may/o31adf-352561.html
    Video: http://www.youtube.com/watch?v=XIVom59Kq2U
    In addition, you can communicate two regions without Contextual Events following this entry:
    http://andrejusb.blogspot.com/2010/04/communicating-between-adf-regions.html
    Regards!
    Edited by: Daniel Merchán on 22-feb-2012 22:15
    Edited by: Daniel Merchán on 22-feb-2012 22:18

  • Embedded Image from different anonymous web application broken

    Hi, 
    I have two web applications, one is NTLM and another will be NTLM & anonymous.
    User uploaded images into anonymous web application and embedded the images in a post (custom html box) from NTLM web application.
    When user try to load the images from the post, image link is broken. After refresh the page, some of the images are loaded and some are not. The image are being loaded randomly.
    I am suspecting on TMG redirection to different web application but i have no further information for that.
    From Sharepoint log, i have the following:
    Unexpected HttpException while client is still connected. System.Web.HttpException: An error occurred while communicating with the remote host. The error code is 0x80070057
    May i know what are the suspected root cause? anyone can help please.

    Hi,
    According to the symptom that issue occurs intermittently, I suspect it is related to coding of web control you added for images. Please provide more information about how you embedded the image in a post.
    I found an article for similar error message, please check if it can be help:
    http://blog.whitesites.com/fixing-The-remote-host-closed-the-connection-The-error-code-is-0x80070057__633882307305519259_blog.htm
    Regards,
    Rebecca Tu
    TechNet Community Support

  • Will adding a second ADFS Web Application Proxy cause service disruption

    Today I have attempted to add a second ADFS WAP server to an existing (working) ADFS solution based on 2012 R2.
    I am able to install and configure the required role/services successfully but then I'm presented with the Remote Access Management console. This shows the two WAP servers but not the existing published application from the original WAP server and only seems
    to let me Publish a new application.
    I'm not sure if I should go ahead and run the Publish Application wizard again in case it impacts on the existing application and causes disruption to the service/users.
    Any suggestions would be much appreciated.
    Cheers for now
    Russell 

    the config for the Web Application Proxy is stored in the ADFS v3 configuration database.
    As soon as you add a new WAP to the farm it will get its config from the database
    WAP can be domain joined or not. The reason for having it be domain joined is if you need to manage the system centrally and you need to leverage Kerberos Constrained Delegation for Windows based apps
    If you have more than one WAP, you should use some kind of load balancing mechanism such as either Windows NLB or a hardware loadbalancer
    adding a new WAP should not impact, you just need to make sure it is actually used
    Cheers,
    Jorge de Almeida Pinto
    Principal Consultant | MVP Directory Services | IAM Technologies
    COMMUNITY...:
    DISCLAIMER: This post is provided "AS IS" with no warranties of any kind, either expressed or implied, and confers no rights! Always evaluate/test yourself before using/implementing this!

  • Theme subscription across different workspaces and applications.

    Hi!
    My cie juste upgraded to Apex 4 and asked me to make a new theme and templates for everyone to use. Most of the changes will be made in the CSS files but some will be in the html code of the templates. We sadly have more than one workspace and this is not something that can be changed. Right now when someone start a new application he imports the theme manually from a file. So when we make changes to the theme we need to re-import it manually in all our applications. There's surely a better and more effective way to do it.
    When we make changes to the theme html code we would like those changes to be published to all our applications automatically.
    Is there a way to do this and if yes what would be the best practice to have a theme and templates updates themselves automatically across multiple workspaces and applications upon change?

    Sounds like you should look to use APEX's built-in publish-and-subscribe model. You can create a "master" application to contain publishable components like authentication schemes, LOVs and templates. Your theme templates are created, maintained and published through this application, and your other applications reference the standard templates by subscription from the master application. Changes can be pushed out from the master application to all subscribing applications.
    To avoid having to recreate subscriptions when creating new applications you can have a starter app with all of the subscriptions set up, and copy that application as a baseline when you want to create a new one.
    The publish-and-subcribe model only works within a single workspace.
    Unfortunately the documentation isn't exactly comprehensive on this feature...
    Another feature that may be of interest is the ability to manage workspace themes, and add themes to the repository.

  • Unable to configure japanese in adf web application : Jdev 11.1.1.4

    Hi all,
    I have an web based Adf application .
    Its a muliti lang support application .
    I am able to render french but unable to render Japanese .
    I have use UTF-8 encoding to display Japanese character via property file .
    The properties file are named with the suffix ja for Japanese and fr for french .
    please help
    Chandana

    Any Updates

Maybe you are looking for