Session getting lost between two applications deployed on two WLS versions.

Hi,
Jdev version 11.1.1.5.
I am facing an issue of session being getting lost. Let me explain the scenario.
Our client has a legacy application(xyz) running on Web logic server(10.3.3). We have developed an application which was deployed on Web logic Server(10.3.5).
The Legacy application will call the developed application using URL invocation. In the legacy application, the logged in user information is stored in session and the same parameter is appended to URL to call the developed application.
In the developed application, we have a servlet which reads the URL and based on the parameter appended to it, we set the context of the application. Everything is working fine till here.
But, in the developed application, we have a link to navigate to the legacy application. Once navigated, in legacy application if the user again calls the developed application, the session which was set earlier is lost.
Because of this, the context is not getting set in the developed application.
Is there a way, I can resolve this issue? OR can I raise SR with Oracle to look into it. Please suggest.
Thanks,
Umesh

Thanks Frank for the reply.
Session sharing was not configured in WLS.
I was searching for Session sharing and I found this article written by Lucas Jellema. http://technology.amis.nl/2012/01/18/sharing-session-state-between-jee-web-application-through-weblogic-session-descriptor-of-sharing-enabled/
Here it is mentioned that for session sharing, we need to check the Enable session sharing in weblogic-application.xml.
My question is do we need to make this change in both the application? i.e Legacy application and developed application.
And it was mentioned in the article that both the web app were deployed to a single Web Logic Server. But in my case the Legacy application is deployed to 10.3.3 and developed application is deployed to 10.3.5.
In this case will the session sharing works?
Any how I will let our client know about this change and will give a try.
Thanks,
Umesh

Similar Messages

  • Session getting lost between JSPs

    Hi,
    I am working on a application in which a user can upload files using FTP. The files may be of large size, say 50-100 MB and it takes approx 30-60 mins for such uploads. The session timeout for the website is set to 20 mins. The way it works is, from the main browser window there is a link to upload files. This link opens a popup window and through this window the user can upload a file. In this popup window, i have included an iframe which sends a post request to the server every 10 mins to keep the session alive. This is working fine in most of the cases, but sometimes it happens that when the when a call is made to send a post request to the server from the iframe, the session is becoming null & invalid or this happens also after the upload has finished and the "upload successful" page gets loaded. This is a very random behaviour, sometimes it works perfectly fine and sometimes it doesn't. It is not dependent on the time, or the size of the file or the number of times the iframe has submitted the request to the server.
    Any one has any idea why the session is becoming null randomly?

    Hi,
    This should never really happen when you bring up a Web Server or to what so called a loadbalancer in place as ultimately the container which creates the session Object.
    I strongly feel that the Webserver(Apache,Sun App Server or IIS) is not passing on the jessionid cookie value which is actually responsible for this action when we are not using url writing for maintaining. .
    How do test that ??
    try the below code snippet and the rest all is understood on what values you get.
    <%
       //Get the values of respective Properties
       boolean sessionIdFromCookie = request.isRequestedSessionIdFromCookie();
       boolean sessionIdFromUrl = request.isRequestedSessionIdFromURL();
    %>
    From Cookie : <%=sessionIdFromCookie%>
    From URL : <%=sessionIdFromUrl%>Well to sort out problems as these you got to enable passing of jsessionid cookie to the Application Context via Webserver which might call for additional set of configurations from webserver end and AJP part.
    Just as an example let us consider in the case employing IBM http server
    http://publib.boulder.ibm.com/infocenter/wasinfo/v6r1/topic/com.ibm.websphere.base.doc/info/aes/ae/xjta_ihs_int.htmlor a neutral way to fix this issue is to adopt usage of a technique called URLREWRITING.
    How do you do that ??
    A quick google search provided me the below results
    http://publib.boulder.ibm.com/infocenter/wchelp/v5r6/index.jsp?topic=/com.ibm.commerce.admin.doc/tasks/tseurlrewrite.htm
    http://www.adventnet.com/products/qengine/help/load_testing/loadscript_creation/recording_bc/url_rewriting.html
    http://java.boot.by/wcd-guide/ch04s04.htmlHope this might help :)
    REGARDS,
    RaHuL

  • How to get relationship between two  views in the  reports

    How to get relationship between two  views in the  reports, I am doing a deletion program , it is fully relates to views , how to get relationship between them in the reports

    Hi,
    Please explain your question in detail...what do you want to read ?
    If you want to know about the navigation links between the views then you can use APIs  like
    wdComponentAPI.getComponentInfo().findInWindows("windowName").getViewUsageByID("Name").getNavigationLinks();
    Iterate through the navigationLinkInfo from above collection and can read the other properties .
    I haven't tried the above , but it should work !!!
    Regards,Anilkumar

  • How can i get report between two dates?

    Hi
    how can i get report between two dates?
    for example i want get reports between 20/4/2002 & 27/4/2002.
    my table has date column and i can get first date( exam : .... where date:=a and/or ....i don't know this part)
    thanks alot.
    Regards
    The Oracle Reports Team
    http://otn.oracle.com/

    where exam_date between :from_date and :to_date
    from_date and to_date are user_parameter

  • How to get space between two values in a single cell of a table.

    hello,
            how to get space between two values in a single cell of a table.
    thanks a lot.
    kailash.

    sorry i got the answer.

  • Getting text between two tag

    Hello,
    what would be the best method to implement to get text between
    two tags,
    eg <TEST1> this is a test </TEST1>
    as in; this is a test,
    i try to use BreakIterator, but it skip the tags,
    when i do word by word loop

    this is one way:
            String string = "<TEXT>This is the middle text</TEXT>";
            String x = string.substring(string.indexOf("<TEXT>") + "<TEXT>".length(), string.indexOf("</TEXT>"));

  • Best way to get internet between two buildings???

    Hello all! I have some questions about a possible setup I am thinking of running.
    I have building that has internet coming into it. 15yds away, I have another building (which is brick) that has no internet options. I was thinking about buying two Airport Extreme's, making one the base and using the other one in the other building the access point for WDS. Then buy a couple of the Airport Expresses to push the signal throughout that building.
    Thoughts on this? Is there a better way to get internet between two buildings (without running cables) and then push it through out that building?
    I am open to any an all suggestions.
    Thanks,
    Grant

    Welcome to the discussions!
    Ethernet is always the best choice for signal strength and reliability. If you do not want to run ethernet cable to the second building, your options are down to ethernet powerline adapters and wireless.
    The ethernet powerline adapters work by transmitting the ethernet signal over the AC power line. The difficulty here may be that the other building is on a different electrical circuit, so it may or may not work depending on how the electrical wiring is configured. An electrician could run tests to see if this would work.
    The least reliable option is wireless. To have the best chance of working well, the "sending" and "receiving" routers need to be able to "see" each other through a window or other opening. Be sure to test with a laptop in the second location to see if you will have a strong enough signal to work with before you go this route.

  • How to get days between two dates

    Hi ,
    How to get days between two dates.
    Regards,
    Ramesh.

    Hi Ramesh,
    REPORT ZDATEDIFF.
    DATA: EDAYS   LIKE VTBBEWE-ATAGE,
          EMONTHS LIKE VTBBEWE-ATAGE,
          EYEARS  LIKE VTBBEWE-ATAGE.
    PARAMETERS: FROMDATE LIKE VTBBEWE-DBERVON,
                TODATE   LIKE VTBBEWE-DBERBIS DEFAULT SY-DATUM.
    call function 'FIMA_DAYS_AND_MONTHS_AND_YEARS'
      exporting
        i_date_from          = FROMDATE
        i_date_to            = TODATE
      I_FLG_SEPARATE       = ' '
      IMPORTING
        E_DAYS               = EDAYS
        E_MONTHS             = EMONTHS
        E_YEARS              = EYEARS.
    WRITE:/ 'Difference in Days   ', EDAYS.
    WRITE:/ 'Difference in Months ', EMONTHS.
    WRITE:/ 'Difference in Years  ', EYEARS.
    INITIALIZATION.
    FROMDATE = SY-DATUM - 60.

  • Session getting lost

    Now issue related to session
    I am using tomcat 3.1
    In my login page my session value get lost frequently.I am using session.setAttribute("logon.isDone", name); in servlets and In every jsp's I am checking as <% if(session.getAttribute("logon.isDone")==null){
    response.sendRedirect("/iscap/report/relogin.jsp");}%>
    The value get lost in a very short time so user is sent to relogin .
    Now what I do here?
    payal sharma

    Hi
    try to set the maximum interval between requests
    eg:
    session.setMaxInactiveInterval(6000);
    vis

  • Google maps "get directions" between two points stopped working in firefox

    When using google maps to find directions between two points "Get Directions" it will just sit there loading... never finishing and showing the routes between the locations.
    This used to work fine about a month ago. I have not done anything, expect update Firefox.

    I can still get the basic directions to work in Google Maps, but recently the 3D driving directions has stopped working, and I'm pretty sure it stopped just about one Firefox update back. I realize this function is gravy to many people - a toy - but for someone who uses visual cues it has been extremely useful for imprinting the information in my mind, familiarizing myself with the route ahead of the drive. When I am traveling without a 'navigator' - a passenger who can read the directions as I drive - this is a huge help. Today I got a message about updating the GoogleEarth plugin, which I did - twice! Still no 3d directions, though suddenly the GG 3d driving simulator works. This has to be a FF problem :-(

  • How to Calculate AGE by getting difference between two Date Fields

    HI Gems
    I need to calculate AGE from getting difference from two date fields. But when i am trying to wrte fromula as Current date - date1(some date field) then it is showing error.
    How can i get values.
    Thanks
    Manu

    You already asked this question:
    How to calculate AGE from two different date fields

  • Get Differences between two databases

    Hello there,
    I need to check if there are differences between 2 databases, both on 10g. As I do not want to check all tables, triggers, procedures and so on manually I wonder whether there is a script where I just need to give the db_names for checking both databases?
    best regards,
    Jörn

    Hi there,
    first, I need to know structural differences like row datatypes, indexes or triggers. I don't need to know what exactly is different just which objects.
    Second, I would also like content - differences between two tables, so the exact table data compared to each other. But this is not as important as the first one.
    best regards
    Jörn

  • How to get values between two years??

    select distinct a.band_no_daftar, a.episod, a.band_nama1, a.penjara,
    to_char(b.trkh_semak_layak,'yyyy') as tahun,
    c.penj_lokasi
    from banduan a, prl_semak_layak b, penjara c
    where a.band_no_daftar =  b.no_daftar(+)
    and  a.episod = b.episod(+)
    and a.penjara = c.penjara_id
    and b.status_layak = 1
    and b.trkh_semak_layak between trunc(to_date(:dari,'yyyy')) and to_date(:hingga,'yyyy')
    group by  c.penj_lokasi, a.band_no_daftar, a.episod, a.band_nama1, a.penjara,
               to_char(b.trkh_semak_layak,'yyyy')
    order by a.penjarahow i'm going to retrieve records between two years??for example from year 2011 to 2012.

    CREATE TABLE PRL_SEMAK_LAYAK
      NO_DAFTAR          VARCHAR2(10 BYTE)          NOT NULL,
      EPISOD             NUMBER(2)                  NOT NULL,
      TL_HUK             NUMBER(1),
      TL_KLAS            NUMBER(1),
      TL_JAD4            NUMBER(1),
      TL_KESLAIN         NUMBER(1),
      TL_LP              NUMBER(1),
      TL_RAY             NUMBER(1),
      TL_PPI             NUMBER(1),
      STATUS_LAYAK       NUMBER(1),
      TRKH_LAYAK_PAROL   DATE,
      KOD_PEJABAT_PAROL  VARCHAR2(10 BYTE),
      TRKH_MULA_PRL      DATE,
      TRKH_TAMAT_PRL     DATE,
      TEMPOH_T           NUMBER(4),
      TEMPOH_B           NUMBER(4),
      TEMPOH_H           NUMBER(4),
      KLASIFIKASI_PRL    NUMBER(1),
      TL_ROTAN           NUMBER(1),
      PECAHAN_KESALAHAN  VARCHAR2(3 BYTE),
      TERIMA_DOSIR       NUMBER(1),
      TRKH_DOSIR         DATE,
      TRKH_SEMAK_LAYAK   DATE
    Insert into prl_semak layak
       (NO_DAFTAR, EPISOD, TL_HUK, TL_KLAS, TL_JAD4, TL_KESLAIN, TL_LP, TL_RAY, TL_PPI, STATUS_LAYAK, TRKH_LAYAK_PAROL, TL_ROTAN, TRKH_SEMAK_LAYAK)
    Values
       ('70201849', 9, 1, 1, 1, 1, 1, 1, 1, 1, TO_DATE('04/06/2013 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 1, TO_DATE('12/24/2012 10:46:40', 'MM/DD/YYYY HH24:MI:SS'));
    Insert into prl_semak layak
       (NO_DAFTAR, EPISOD, TL_HUK, TL_KLAS, TL_JAD4, TL_KESLAIN, TL_LP, TL_RAY, TL_PPI, STATUS_LAYAK, TRKH_LAYAK_PAROL, TL_ROTAN, TRKH_SEMAK_LAYAK)
    Values
       ('670500066', 5, 1, 1, 1, 1, 1, 1, 1, 1, TO_DATE('04/22/2013 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 1, TO_DATE('12/24/2012 11:03:27', 'MM/DD/YYYY HH24:MI:SS'));
    Insert into prl_semak layak
       (NO_DAFTAR, EPISOD, TL_HUK, TL_KLAS, TL_JAD4, TL_KESLAIN, TL_LP, TL_RAY, TL_PPI, STATUS_LAYAK, TRKH_LAYAK_PAROL, TL_ROTAN, TRKH_SEMAK_LAYAK)
    Values
       ('71000424', 3, 1, 1, 1, 1, 1, 1, 1, 1, TO_DATE('04/26/2013 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 1, TO_DATE('12/24/2012 11:11:01', 'MM/DD/YYYY HH24:MI:SS'));
    Insert into prl_semak layak
       (NO_DAFTAR, EPISOD, TL_HUK, TL_KLAS, TL_JAD4, TL_KESLAIN, TL_LP, TL_RAY, TL_PPI, STATUS_LAYAK, TRKH_LAYAK_PAROL, TL_ROTAN, TRKH_SEMAK_LAYAK)
    Values
       ('470900549', 1, 1, 1, 1, 1, 1, 1, 1, 1, TO_DATE('12/20/2012 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 1, TO_DATE('11/08/2010 09:15:59', 'MM/DD/YYYY HH24:MI:SS'));
    Insert into prl_semak layak
       (NO_DAFTAR, EPISOD, TL_HUK, TL_KLAS, TL_JAD4, TL_KESLAIN, TL_LP, TL_RAY, TL_PPI, STATUS_LAYAK, TRKH_LAYAK_PAROL, TL_ROTAN, TRKH_SEMAK_LAYAK)
    Values
       ('30906760', 2, 1, 1, 1, 1, 1, 1, 1, 1, TO_DATE('12/02/2012 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 1, TO_DATE('11/19/2010 08:54:26', 'MM/DD/YYYY HH24:MI:SS'));
    COMMIT;i give you this sample,table creation and some insert values.So now,what i should do in order to retrieve all these records?

  • Msata Help - Difference between two Renice Version questions

    Hello, I have a W520. I'm looking to put in an msata card and take ou the WiMax that's in there.
    I saw two different versions of simliar cards from Renice. 
    Renice K3VLAR
    Renice X3
    Can anyone tell me the difference bettwen these two? I haven't found a thing and how well they would work in the W520?
    Thanks
    Josh

    The two products linked are exactly the same. The only other product that Renice have in the mPCIe form factor is their  mPCIe (netbook) product. It has a different pinout to the mSATA product.
    Summary: if it's a mSATA Renice product then it's good to go in a W520.
    12.5" HP 2560P i5-2540M 2.6 8GB 60GB Renice X3.SSD 500GB/DVD HD3000 + [email protected] DIY eGPU
    •ODD caddy . •SSDs 1.8" ZIF . mSATA/1.8" . •Overclocking PLL pinmod . setPLL . dual/quad-IDA core 2 bios • Past 13" Dell E4310, E4300 12" 2530P, 2510P
    DIY eGPU • Thin-and-light Sandy Bridge iGPU, dGPU and eGPU notebooks

  • Keyboard settings for external keyboard get lost between sessions

    Hello!
    I use MacBook Pro laptop which I connect to external mac keyboard when come to work. I prefer to use "F1, F2... etc" keys as functional keys so I turn on this setting in bootcamp control panel. However, each time I disconnect the keyboard and connect it back this setting stops to affect that keyboard while setting is still set to true in control panel.
    Is this problem going to be solved?
    Thank you!

    Any of the regular helpers here will tell you that CCleaner deletes settings files resulting in the sort of upsets you have described. I don't know why you didn't have such trouble under previous versions of windows, but since I choose not to use windows 8 I'm not able to comment on how or if the behaviour has changed.
    There have been changes in Thunderbird itself, allegedly, which I haven't seen applied to any of my own three installations of Thunderbird, that might mean that there are new files that need to be specifically excluded from CCleaner's actions. Maybe these changes are specifically related to Windows 8 installations. If you have a ''xulstore.json'' in the profile on the affected machine(s) then try adding ''xulstore.json'' to CCleaner's exclusions.
    "…will essentially keep CCleaner from managing anything relating to Tbird... and that's sort of contradictory…" Why?? What do you do in Thunderbird that you consider ''needs'' to be cleaned up by CCleaner? CCleaner picks on files whose names coincide with similar files used by browsers to record browsing history. Thunderbird uses, for instance, json files to store configuration settings. If you allow CCeaner to delete these from Thunderbird's profile then Thunderbird will necessarily forget things.
    We always advise to exclude all of Thunderbird's profile from CCleaner. If you won't take that advice then you're rather on your own.

Maybe you are looking for