Get information passed in cookies to session

Hi,
I am using Jdev 11.1.1.7.0_GENERIC_130226.1400.6493.
In solving the below problem posted  https://community.oracle.com/thread/2618889
I was successful in getting and setting the session variable by creating a clientListener, that is called onload and fetches the document.cookie add add a Queue event to backingBean's method
Code ::
<f:view beforePhase="#{BackingBean.beforePhaseListener}">
      <af:document id="d2" binding="#{BackingBean.d2}" title="TITLE">
             <af:clientListener method="readAndDeleteCookie" type="load"/>
                      <af:serverListener type="customEvent"  method="#{BackingBean.handleRequest}"/>
<af:resource type="javascript">
function readAndDeleteCookie(event) {
            component = event.getSource();
              var cokiesGet = document.cookie;
             AdfCustomEvent.queue(component, "customEvent",
                  userLanguageCookie : cokiesGet , userLanguage : cokiesGet.substring(13)
              }, true);
              event.cancel();
</af:resource>
</document></form
The above code does almost what I what just a bit of problem still exists.
In beforePhase we do some initial fetching data, that should be effected byt userLanguage selected (i.e the cookie). But as it is beforePhase is called before the document load happens, so the userLanguage is not effecting it. I tried using afterPhase too, but it doesn't work.
I want to fetch the document.cookie before that beforePhase....
Can anyone suggest a way to do this ??
Thanks in advance.
-Neha..

Hi,
from the FacesContext --> ExternalRequest you get access to the HTTP Request object. You can then access the cookie from here without the use of JavaScript (keep in mind that the Faces object is a servlet).
Frank

Similar Messages

  • Error: Could not get markup. The cookie or session is invalid or ...

    When I run the portlet getting the below error:
    Error: Could not get markup. The cookie or session is invalid or there is a runtime exception.
    I have gone through the log, it's processing the request.
    Any help on this ...

    first can you give us some idea about which product/component/platform/version are you working with. and how did you edit the 'portal prefs'.
    thanks!

  • I removed the cookies for the U.S. Airways site and now I can't get information on flight schedules. How can I fix this?

    I can access the US Airways home page, but when I try to get information on flight schedules to book a flight, a window comes up that says:
    "We're sorry.
    Your session may have expired. Please restart your search without using your 'back' button. If you continue to receive this message, call 800-327-7810 for assistance.
    Reference code: KHBCJA45YPWTAF45QDRV4H55 (1.2.111090.111090)
    Occurred: 7/31/2013 9:55:20 AM"
    This is the only site that I removed the cookies from, and I don't know if I removed them properly. Using another browser, I am still able to get access to flight schedules. I called US Airways and they said that the problem is with the Firefox browser. I am using v. 22.0 for Mac. Firefox is my browser of choice, so I would like to get this working. Any help is greatly appreciated.
    Thank you.
    Jacque Friedman

    Reload the webpage while bypassing the cache using '''one''' of the following steps:
    *Hold down the ''Shift'' key and click the ''Reload'' button with a left click.
    OR
    *Press ''Ctrl'' + ''F5'' or ''Ctrl'' + ''Shift'' + ''R'' (Windows and Linux)
    *Press ''Command'' + ''Shift'' + ''R'' (Mac)
    Let us know if this solves the issues you are having.

  • Get the session information like time left to session expiry or logoff etc

    Hi Experts,
    In webdynpro ABAP I would like to get the session information like time left to session expiry or logoff etc. Please suggest me whether ther are any clasess or code available to get the info.
    Advance Thanks,
    Thanks,
    AMS

    Hi,
    What do you want to do with that information ?
    Regards

  • Get textfield value and put it session  JSP

    Hi all .
    I have issuse with Session . this the code . file name (order.jsp)
    %>
    <p>Compute</p>
    <table width="354" border="1">
    <tr>
    <td width="36" scope="col"> </td>
    <td width="148" scope="col">Computer Type</td>
    <td width="148" scope="col">Price</td>
    </tr>
    <%
    while (rset.next ()) {
    %>
    <tr>
    <td><input type="text" name="compno" value="<% out.print (rset.getString ("COMPUTERID"));%>"</td>
    <td><input type="text" name="compty" value="<% out.print (rset.getString (2));%>"</td>
    <td><input type="text" name="comppr" value="<% out.print (rset.getString (3));%>"</td>     
    *<td width="61"><a href= "detailorder.jsp?<% session.setAttribute("comp", request.getParameter("compno"));*
    *     String str=(String)session.getAttribute("comp");     *
    *     System.out.println("file name is"+str);%>=">Add <%=str%></a></td>* </tr>
    <%
    rset.close();
    pstmt.close();
    %>
    my problems is that I would to get "COMPUTERID" value and put it in "comp" and save it as session .
    please help
    raid
    Edited by: raid200 on Apr 23, 2008 12:40 PM
    Edited by: raid200 on Apr 23, 2008 12:41 PM

    Copied from a newly opened topic:
    raid200 wrote:
    Hi
    Thanks for your help . I can take one textfield value and send it to another jsp file
    BUT I would to take all textfield in the row that I would use it .
    Code .
    <p>Compute</p>
    <table width="354" border="1">
    <tr>
    <td width="36" scope="col"> </td>
    <td width="148" scope="col">Computer Type</td>
    <td width="148" scope="col">Price</td>
    </tr>
    <%
    while (rset.next ()) {
    %>
    <tr>
    <td><input type="text" name="compno" value="<% out.print (rset.getString ("COMPUTERID"));%>"</td>
    <td><input type="text" name="compty" value="<% out.print (rset.getString (2));%>"</td>
    <td><input type="text" name="comppr" value="<% out.print (rset.getString (3));%>"</td>     
    <td width="61"><a href=" "detailorder.jsp?compno=<%= rset.getString("COMPUTERID")%">>                               <%session.setAttribute("compna",rset.getString(2));
                                  session.setAttribute("comppr",rset.getString(3)); %>"> BUY ME! </a></td>
    </tr>
    In the detailorder.jsp::::::
    String selectedCompId = request.getParameter("compno");
         session.setAttribute("comp", selectedCompId);
    String computerid=(String) session.getAttribute("comp");
    String computername=(String) session.getAttribute("compna");
    String computerprice=(String) session.getAttribute("comppr");
    in the detailorder.jsp ("""""the compna and comppr give the last record in formation""""""")
    Please Help.
    Raid</a>
    You question shows that you still don't understand how JSPs work.
    Try reading [this article|http://www.javaranch.com/journal/200510/Journal200510.jsp#a1].
    You seem to think that the session.setAttribute call is done when you click the link. This is definitely NOT the case.
    All of the java code runs (including all of those session.setAttribute) calls, and produces HTML. So it will store each element into session, overwriting the previous one.
    To get information from one jsp to another you either pass parameters or use session attributes.
    I showed you how to pass the selected id as a parameter, that you could retrieve in the next JSP.
    So you can get the compid.
    You could pass the other values as parameters as well - thats one approach.
    Alternatively you could use the id to look up the data from the database again.
    Alternatively you could store the +entire list+ of computers in the session, se the selected id to determine which one of those was selected, and get the answers like that.
    The full solution to my mind would be to write a bean method that executes the query, and generates a List of java Objects representing your information.
    You can then put that list in the session, and use it to both generate this JSP and get the information once the user selects one line.
    Hope this helps,
    evnafets

  • How to get information about cursor? I had only a reference on it.

    Hello
    How to get information about cursor, that I receive in my procedure as a reference. For example I need to know, a number of columns. I know nothing about this cursor, except the link on it.
    Best Regards, Kostya Proskudin!

    However, I would seriously reconsider what you are trying to achieve.
    It looks like you are trying to write some ultimately generic cursor processor. i.e. pass any cursor and process it in some generic way.
    Good design should include knowledge of what is expected to be passed and that knowledge can be put into the code.
    Generic code is inherently difficult to maintain and debug and will never 100% deal with all possible situations e.g. even if you know the table being queried in the cursor you can't rely on the data dictionary to give you all the returned columns if some of the returned columns of the cursor are computed columns.
    Be careful you aren't writing something that's going to cause problems later.

  • HT204088 Every time I try to look at my purchase history on my account, I keep getting a message saying that my session has timed out. How do I correct this?

    Every time I try to look at my purchase history on my account, I keep getting a message saying that my session has timed out. How do I fix this problem?

    Same thing happens to me as well. Might be a community wide problem, I tried entering my information on multiple devices and it doesn't wanna work, it gives me the same error when trying to purchase it's a good day to die hard

  • Get information on myJSP files

    Hi everybody,
    I'm a beginner with Business object and I have a little problem, into the code below I'd like  getImage with an jsp file. This information is included with the session but when I want execute the code I have an error (below the java code),
    My source come from the http://devlibrary.businessobjects.com/BusinessObjectsXIR2SP2/en/devsuite.htm
    and I get the code for "Setting an image callback using Java" and "Callback script to write image data to the browser using Java" but this code don't work.
    I have a problem because in my jsp, I don't have ReportEngine for the line with ReportEngine (see code below).
    Is there a person to help me ? In Advance thank you very much.
    JAVA CODE :
    // String strBODocuid;
            ReportEngine boRepEng;
            // HttpSession session0 = null ;
            String docContents = "";
            // String description = "";
            log.debug("entering getReport");
            try {
                Session boSession = initSession();
                String[] strBOCatURL = boSession.getAssociatedServicesURL("BICatalog");
                log.debug("uid  getImageS = " + uid);
                String[] strBORepEngURL = boSession.getAssociatedServicesURL("ReportEngine");
                if (strBORepEngURL.length > 0) {
                    boRepEng = ReportEngine.getInstance(boSession, strBORepEngURL[0]);
                    RetrieveView retBOView = new RetrieveView();
                    CallbackOption[] boCallOpt = new CallbackOption[1];
                    ImageManagement boImgMan = new ImageManagement();
                    boImgMan.setCallbackScript("getImage.jsp");
                    boImgMan.setImageManagementHolder("imageName");
                    boImgMan.setDocumentReferenceHolder("docRef");
                    boCallOpt[0] = boImgMan;
                    retBOView.setCallbackOption(boCallOpt);
                    RetrieveData retBOData = new RetrieveData();
                    retBOData.setRetrieveView(retBOView);
            } catch (DSWSException e) {
                // TODO Auto-generated catch block
                e.printStackTrace();
    STACKTRACE :
    ERROR - StandardWrapperValve.invoke(250) | "Servlet.service()" pour la servlet jsp a généré une exception
         java.lang.NullPointerException
         at org.apache.jsp.getImage_jsp._jspService(getImage_jsp.java:90)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:328)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:315)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
         at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:142)
         at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:58)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
         at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:264)
         at org.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:107)
         at org.acegisecurity.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:72)
         at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
         at org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:110)
         at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
         at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
         at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
         at org.acegisecurity.wrapper.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:81)
         at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
         at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:217)
         at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
         at org.acegisecurity.ui.logout.LogoutFilter.doFilter(LogoutFilter.java:108)
         at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
         at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:193)
         at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
         at org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:148)
         at org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:98)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
         at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
         at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
         at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
         at java.lang.Thread.run(Thread.java:595)[java] ERROR - StandardWrapperValve.invoke(250) | "Servlet.service()" pour la servlet jsp a généré une exception
         java.lang.NullPointerException
         at org.apache.jsp.getImage_jsp._jspService(getImage_jsp.java:90)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:328)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:315)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
         at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:142)
         at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:58)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
         at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:264)
         at org.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:107)
         at org.acegisecurity.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:72)
         at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
         at org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:110)
         at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
         at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
         at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
         at org.acegisecurity.wrapper.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:81)
         at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
         at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:217)
         at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
         at org.acegisecurity.ui.logout.LogoutFilter.doFilter(LogoutFilter.java:108)
         at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
         at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:193)
         at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
         at org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:148)
         at org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:98)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
         at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
         at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
         at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
         at java.lang.Thread.run(Thread.java:595)
    getImage JSP :
    <%@ page language="java" contentType="text/html; charset=ISO-8859-1"
         pageEncoding="ISO-8859-1"%>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <%@ page import="com.businessobjects.dsws.*"%>
    <%@ page import="com.businessobjects.dsws.session.*"%>
    <%@ page import="com.businessobjects.dsws.biplatform.*"%>
    <%@ page import="com.businessobjects.dsws.bicatalog.*"%>
    <%@ page import="com.businessobjects.dsws.reportengine.*"%>
    <%@ page import="com.businessobjects.dsws.publish.*"%>
    <%@ page import="com.businessobjects.dsws.queryservice.*"%>
    <%@ page import="java.net.URL"%>
    getImage.jsp -
    <%@page import="java.util.Enumeration"%>
    <%@page import="com.businessobjects.log.Context"%>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
    <title>Insert title here</title>
    </head>
    <body>
    <%
         ReportEngine boRepEng = (ReportEngine) session.getAttribute("ReportEngine");
         String strImageName = request.getParameter("imageName");
         String strEntry = request.getParameter("docRef");
         Image boImage = boRepEng2.getImage(strEntry, strImageName);
         response.setContentType(boImage.getMimeType());
         ServletOutputStream Output = response.getOutputStream();
         byte[] boData = boImage.getContent();
         response.setContentLength(boData.length);
         Output.write(boData);
         Output.close();
    %>
    </body>
    </html>
    </body>
    </html>

    You're getting a NullPointerException in the getImage.jsp page:
    org.apache.jsp.getImage_jsp._jspService(getImage_jsp.java:90 )
    so my assumption is that the code you're showing is executing fine, but errors are being thrown on the callback to getImage.jsp
    The trace indicates line 90 is where the problem is happening. 
    In Tomcat, the getImage_jsp.java file, the Java code generated from getImage.jsp page, can be found in one of the subfolders of the "work" folder.  Looking at line 90 of that file will give you a better indication of what's going wrong.
    Sincerely,
    Ted Ueda

  • Where do I get the pass code to lock sim card

    I want to lock the SIM card when I'm not using the iPad...I have 1 attempt left .  Where do I get the pass code for a iPad mini?

    Have you read through all the information located here: http://support.apple.com/kb/ht1316

  • Is it possible to JSP Application get information from login server?

    Hi,
    Here, we gonna create a aplication using Portal for autentication and autorization.
    We gonna develop JSP pages to navigate into our application and we'll put them into portal.
    My question is, is it possible to the jsp's, created by us, to get information from the user loged on, so it can generate html's for each users?
    If so, how to do that?
    I know i can give access to the JSP's for each user, by creating portal objects for each of them, i'd like to know if the
    thanks everyone!

    No, if Firefox is set to delete browsing history when it closes, that data wouldn't be passed to the Sync server.

  • Passing a cookie with a URL call

    Hi there,
    Is it possible to pass a cookie with a url call?
    Thanks in advance!
    Ryan

    I should probably clarify a bit. The goal is to pass a cookie to a url call in order to keep a session alive. It's for a part of an AIR app that pulls in a html frame that requires a login.

  • ApplicationPoolException: JBO-30006: The cookie for session

    Hi
    Presently we are using the followings s/w for our product development:
    1.     JDeveloper 11g (11.1.1.0.2) - yet to migrate to JDev 11g R1 (11.1.1.1.0)
    2.     Weblogic 10.3.0
    3.     Target Browser Client is IE7 – and to extend to FF3+
    Now we have completed few of the modules and is in the process of moving to Customers Beta Env. During our testing we are getting some sort of JBO errors (server log) and the browser displays ‘Cancel or Retry’ message.
    A portion of error message from the stack trace has been pasted below
    oracle.jbo.common.ampool.ApplicationPoolException: JBO-30006: The cookie for session 0K5ZKVDL7wNcJ2qXTkQhjCQvq0sJSykgnV8P0WQMvNqdbF9QdThk!1335475191!1247101864354 and application 378381615_1_PcmsSysDataControl_$beandc$_ is not a valid handle for application pool, InternalDCAMs. The cookie may not be used to access this pool instance.
    at oracle.jbo.common.ampool.ApplicationPoolImpl.validateSessionCookieInPool(ApplicationPoolImpl.java:3496)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.removeSessionCookie(ApplicationPoolImpl.java:769)
    at oracle.jbo.common.ampool.SessionCookieImpl.removeFromPool(SessionCookieImpl.java:609)
    at oracle.jbo.common.ampool.SessionCookieImpl.destroy(SessionCookieImpl.java:528)
    at oracle.jbo.common.ampool.SessionCookieImpl.timeout(SessionCookieImpl.java:586)
    at oracle.adf.model.bc4j.DCJboDataControl.releaseImmediateAMUnmanaged(DCJboDataControl.java:2414)
    at oracle.adf.model.bc4j.DCJboDataControl.releaseApplicationModule(DCJboDataControl.java:2324)
    The present scenario:
    1.     ADFModel1.jar - An ADF Model Project contains a set of views to be used across multiple Model projects by Importing Business Components.
    2.     ADFModel2.jar - This project uses ADFBC import from the above model project – ADFModel1.jar
    All the view implementations are available here as the Core Model
    3.     ADFModel3.jar - Imports ADFModel2.jar – used as a Customization layer (refer error message above - PcmsSysDataControl)
    4.     ViewController.war - Contains all the JSPX, Page Defs, Html, JS, CSS, Images
    Both ADFModel3.jar and ViewController projects are under a separate .jws (Application Workspace) and running as a separate application. Similar way all other applications have been modeled.
    Both ADFModel2 and ADFModel3 has the DataSource Names defined. Please help us to resolve this issue.
    If you need any more info, please let me know
    Krish

    have you ever solved the problem? I have a similar issue on Linux RedHat with a load-balanced cluster of Tomcat. The strange thing is that only one of the servlets always issues the problem. The incriminated app module is created with "Configuration.createRootApplicationModule..." and released at the end. I have a similar servlet that creates the same app module with the same command and has no problems.
    The ADF Team, what does it say about?
    Thanks

  • Impersonating (Information passed in process context)

    Hi
    Do you have an idea on what are the information passed in process context.
    let me tell you what I am trying to do. I am invoking a process which contains a retrieve content(documentum) service that uses the process context as login mode. The process context that is used to invoke is made by impersonating (ie using admin user creditential to create a context for another user). Now I am able to invoke the process but I get login exception in documentum service.
    Thanks

    Hi Dhanesh,
    Now I am able to invoke the process but I get login exception in documentum service
    That's expected. Because using impersonation you have got the ticket which is valid on LiveCycle but not for Documentum. So livecycle has no way to establish communication with Documentum server unless it has that user's password as well.
    Process context however, can be used in the scenario where you create a ServiceClientFactory for a user who is synced on both LiveCycle and DCTM. You authenticate the user to LiveCycle, and pass on the context to Documentum Connector through process context.
    Hope that answers your question.
    Thanks and Regards,
    Raghu

  • Get username via servlet from Tomcat session

    I have a servlet that uploads files. In order to distinguish files, I want to put the username,date, and time in the new filename (I already have the date and time). Can somebody point me to an example that will get the username from the tomcat session?
    thanks in advance,
    Chuk

    Assuming that the user has logged in to your web application through something like form-based authentication you can use:
    request.getUserPrincipal()to get hold of information about the user.
    However, if they've not logged in with your site then you'll get nothing back. Also, depending on the version of Tomcat you've got you may encounter some stupid behaviour (getting null back) if the Servlet isn't a protected resource.
    Failing that you can try getRemoteUser to try to obtain some information about the authenticated user; I've had some problems with this in the past with IIS and haven't tried it with Tomcat.
    If you want more information about how to get your user to authenticate against your web application realm then just ask...
    Hope this helps.

  • How to get information about creation of a virtual machine on a Hyper-v host.

    Hi,
    How to get information about creation of a virtual machine on a Hyper-v host?
    I need: host name, time created, creator user.
    I saw in Hyper-V-VMMS but I found info about movements of VM between hosts.
    Thank's in advance.
    Denius Valiant

    For Host Name * Created Time Use This Command In PowerShell 
    Get-VM -Name (Read-Host "Type Your Vm Name") |select CreationTime , ComputerName
    and for Create User , As i know you should see on Event Log . 
    Go To Event Log Viewer--->Applications And Services Logs--->Microsoft--->Windows--->Hyper-V-VMMS--->Operational 
    You can see in Event Log who create the Vm.
    Whenever you see a helpful reply, click on Vote As Helpful & click on
    Mark As Answer if a post answers your question.
    LinkedIn:
      Facebook:
      

Maybe you are looking for

  • Transferring One Album From My Computer To My iPhone

    I have an iPhone 5 and am using the Cloud for backup. I recently bought a CD and put it in my computer's iTunes. Then I tried to sync it to my iPhone, just that one album. I was told that my iPhone was synced with another device. How do I tell which

  • Reg:Sales order datamigration

    Hi, we are currentely doing data migration from peoplesoft to  SAP SAP ECC 6.0. The migration include masterdata and salesorder with billing plan Can u please advice me releated to this topic. [email protected] Thanks, Senthil Edited by: Senthil Vadi

  • How to handle Keyboard command (CTRL+SHIFT+f3)

    Hi Gurus, I have handle this keyboard command(CTRLSHIFTf3) , when selection screen is displayed.' when user pressed (CTRLSHIFTf3) then mode of the call transaction should change. can it be handled in at user command event? plz suggest the way it can

  • I want to backup my iphone to my macbook. This option is not showing in the control click list

    I want to backup my iphone to my macbook. This option is not showing in the control click list

  • CS6 wont update error code U44M1P7

    Trying to update CS6 via Creative Cloud and ill i get is 'failed' and then the error code U44M1P7. Could anyone shed some light on why tis might be and a way around it please? Thanks