How do I ensure HttpSession state is NOT persisted across server failures?

          I need to PREVENT the data in the HttpSession from being restored if the server crashes.
          I can't seem to find any documentation explicitly documentating how to ensure this.
          Any help would be greatly appreciated.
          Thanks,
          Andrew
          (p.s. this applies to WL5.1sp8 and WL6.1sp2)
          

WebLogic doesn't serialize and restore sessions when the server is
          shutdown/crashes
          for "memory" sessions. That should not happen. Check the value of
          session.getClass()
          to verify the perisistentStoreType.
          --Vinod.
          "Andrew Larson" <[email protected]> wrote in message
          news:[email protected]...
          >
          > It is set to memory, but it appears to serialize and restore most of the
          sessions
          > when the server is shutdown/crashes. It there a way to set the
          persistence to none?
          > (e.g. in memory, not replicated, and only for the lifetime of the JVM)
          >
          > "Vinod Mehra" <[email protected]> wrote:
          > >What's your persistentStoreType (in weblogic.xml) set to?
          > >
          > >It seems you want persistentStoreType="memory" (which is the default).
          > >
          > >Is that what you are looking for?
          > >
          > >--Vinod.
          > >
          > >
          > >"Andrew Larson" <[email protected]> wrote in message
          > >news:[email protected]...
          > >>
          > >> Yes, in both instances (crash or graceful shutdown) I need session
          state
          > >cleared away.
          > >> This doesn't seem to be happening.
          > >>
          > >> Help please!
          > >> TIA
          > >> Andrew
          > >>
          > >>
          > >> "Vinod Mehra" <[email protected]> wrote:
          > >> >Oh, yes I misread your question. Do you want your sessions to be
          cleaned
          > >> >up
          > >> >even on a graceful server shutdown too?
          > >> >
          > >> >--Vinod
          > >> >
          > >> >
          > >> >"Andrew Larson" <[email protected]> wrote in message
          > >> >news:[email protected]...
          > >> >>
          > >> >> you don't seem to understand - I do NOT want session state to last
          > >> >across a server
          > >> >> crash; I want the session state to be lost, cleared away, gone,
          never
          > >> >to
          > >> >be seen
          > >> >> again.
          > >> >>
          > >> >>
          > >> >> "Vinod Mehra" <[email protected]> wrote:
          > >> >> >Use session persistent store types: replicated or file or jdbc.
          > >> >> >
          > >> >> >Please refer to the docs for details.
          > >> >> >
          > >> >> >--Vinod.
          > >> >> >
          > >> >> >
          > >> >> >"Andrew Larson" <[email protected]> wrote in message
          > >> >> >news:[email protected]...
          > >> >> >>
          > >> >> >> I need to PREVENT the data in the HttpSession from being restored
          > >if
          > >> >the
          > >> >> >server crashes.
          > >> >> >> I can't seem to find any documentation explicitly documentating
          > >how
          > >> >to
          > >> >> >ensure this.
          > >> >> >>
          > >> >> >> Any help would be greatly appreciated.
          > >> >> >> Thanks,
          > >> >> >> Andrew
          > >> >> >> (p.s. this applies to WL5.1sp8 and WL6.1sp2)
          > >> >> >
          > >> >> >
          > >> >>
          > >> >
          > >> >
          > >>
          > >
          > >
          >
          

Similar Messages

  • The "Pin as app tab" produces tabs that do not persist across sessions. I have this problem on two installations, and it's really annoying (since the Permatab Mod no longer works in Ff4). Can you offer any assistance?

    The "Pin as app tab" produces tabs that do not persist across sessions. I have this problem on two installations (PC and laptop, both running Win7), and it's really annoying (since the Permatab Mod no longer works in Ff4). Can you offer any assistance?

    App tabs and Tab Groups (Panorama) are stored as part of the session data in the file sessionstore.js in the [http://kb.mozillazine.org/Profile_folder_-_Firefox Firefox Profile Folder]
    * http://kb.mozillazine.org/Session_Restore
    Make sure that you do not use [[Clear Recent History]] to clear the "Browsing History"

  • [SOLVED] netcfg static IP not persisting across reboots in VM

    I ran into an issue with netcfg static IP not persisting across reboots in a VM. I figured it out, but it took me awhile as a brand new user, so I thought I'd post it.
    Setup
    Using VMWare Workstation 8.0.3 build-703057 with bridged networking
    Host OS: Linux Mint 14 64-bit
    Guest OS: Arch Linux 2013.03.01 x86_64
    Given a fresh install on the guest, setup netcfg:
    cd /etc/network.d
    cp examples/ethernet-static ./myprofile
    nano myprofile
    # customize this file. I also added NETMASK='255.255.255.0'
    systemctl enable netcfg@myprofile
    systemctl start netcfg@myprofile
    Test the configuration. It should be successful:
    ping google.com
    Problem
    See if the changes survive a reboot.
    reboot
    ping google.com
    I got the error "connect: Network is unreachable".
    Check the logs:
    journalctl
    G
    I found the following netcfg failure..
    [email protected]: main process exited, code=exited, status=1/FAILURE
    ..prior to the following device initialization:
    kernel: e1000 0000:02:00.0 eth0: Intel(R) PRO/1000 Network Connection
    system-udevd[117]: renamed network interface eth0 to emp2s0
    Solution
    It looks like netcfg is being started before the device it depends on has been initialized. Inform systemd of the
    dependency so they start in the proper order:
    # nano /etc/systemd/system/multi-user.target.wants/[email protected]
    # Add the following to [Unit]. Remember to replace enp2s0 with your device name.
    Requires=sys-subsystem-net-devices-enp2s0.device
    After=sys-subsystem-net-devices-enp2s0.device
    Test again:
    reboot
    ping google.com
    This should now be successful.

    fukawi2 wrote:
    $ man netcfg-profiles wrote:
           Miscellaneous options
               IPCFG
                   Array of arguments to pass to ip. The power of this options is
                   that it allows both simple and complicated routing
                   configurations, within the framework of netcfg.
               SKIPNOCARRIER
                   ‘yes’/‘no’. Don’t abort interface setup if no carrier is
                   found.
    Thank you, [Solved].

  • Why do button functions included in external actionscript not persist across frames?

    this one drives me nuts!
    if i include an external actionscript file in frame one of my
    movie, then [as you'd expect] all the functions, global variables
    etc contained in that external AS file are available throughout my
    movie - with one notable exception.
    if i add a button to the stage - in a frame other than frame
    one - whose onRelease handler is defined in the external AS, the
    function is not called when the button is clicked - i have to
    re-include the external AS file again on the frame in which the
    button resides, in order for the buttons function to be called.
    anyone know why this is - and if there's a way round it?
    how come all the other functions in the AS persist across all
    frames and all timelines in the movie, but the button handlers only
    seem to be available on the actual frame in which the AS file is
    included?
    download
    example

    I think you and I are dealing with similar issues and the
    root cause is referred to as "scope." The only difference between
    your and my problems is that your code is in an external as file
    and mine is on the timline. But in both instances, code that should
    work doesn't. Robert Reinhardt has covered this in an article at
    http://www.communitymx.com/content/article.cfm?cid=8E4DF.
    He is the author of the Flash Actionscript Bible series and so
    knows what he is talking about. I have been studying it for an hour
    and darn if I can understand the second page of it. I've asked for
    help myself about this at
    http://www.kirupa.com/forum/showthread.php?t=248316.

  • Auditing: Flushing SGA to ensure SQL statement is not cached

    Currently I'm experimenting with Oracle auditing and have noticed that when I audit an object, like a table (AUDIT SELECT ON MY_TABLE), the select on the table is audited only once per session. I.e. When a user connects, and does:
    SQL> select * from my_table;
    SQL> ..
    SQL> ..
    SQL> select * from my_table;
    SQL> ..
    SQL> ..
    .. only the first select statement is audited. I have to reconnect each time for the statement to be audited.
    Is this how auditing works? I was thinking that it could be that the statement is held in memory and when a user does another subsequent select statement, the statement is cached and thus not audited. Could this be the case? I flushed the SGA and I still got the same results above...
    I'd like to hear your opinions about this.

    Raj has provided the solution but I would like to point out that auditing selects by access can generate an alful lot of audit records very quickly. The sys.aud$ table and its index may grow very, very large and fill the system tablespace if you are not careful. Also the updates to sys.aud$ are logged so you will also be generating a lot of extra redo if you make this type of auditing widespread.
    IMHO -- Mark D Powell --

  • ON PC How Do I Ensure That Quicktime is not default for MPEG

    I've adjusted the file type and MIME settings, but I still get Quicktime popping up for MPEG files on my PC. Any answers to this. There were no responses in the Quicktime for Windows forum...

    The MIME settings are only used by the QT plug-in for files viewed in a browser.
    To change your "Open With..." association use the Finder's "Get Info" window. Change the default by clicking on the disclosure triangle and picking a different app. Hit the "Change All" button to have all open with your choice of app.

  • How Do I Ensure That Quicktime is not my default for MPEG?

    I have adjusted both the file type settings and the MIME settings and I still get Quicktime popping up instead of Windows Media Player which is set as the media default for my computer. Is there a solution to this issue or a way of going back to the old package for ITunes/Quicktime for a pc user?
    I'm very frustrated with Apple for removing default adjustments.

    The MIME settings are only used by the QT plug-in for files viewed in a browser.
    To change your "Open With..." association use the Finder's "Get Info" window. Change the default by clicking on the disclosure triangle and picking a different app. Hit the "Change All" button to have all open with your choice of app.

  • How to delete mail from mac but NOT from gmail server?

    Hi I have around 6GB of space used up by the mail app. I never really use it anymore though, favouring the gmail website. I can't work out how to clear out the mail app and free up that space, without also deleting the emails from the gmail server. Can anybody help?
    Thanks
    Jonathan

    Hello Jhughes1986,
    If you are not using the mail account in the Mail app, then remove it from Mail. When in Mail, go to the drop down menu Mail > Preferences, select the Account tab, select your Gmail account and then hit the Minus ( - ) button towards the bottom to remove the account. 
    Mail (Mavericks): Remove mail accounts
    http://support.apple.com/kb/PH14944
    Regards,
    -Norm G. 

  • Simple question: how do I ensure my email is sync'ing with Server?

    I have always used Windows Live Mail and Outlook (Express), Outlook and the syncing feature seems more obvious in those email clients. Can someone please list below the steps I need to take to make sure my email syncs-besides the obvious "get mail"-i.e., are there other ways to sync a folder with the server, if, for example, I know that one particular folder is not "up to date"-the Server has an email on it than my folder in Thunderbird doesn't. I am finding that TBird is rarely, if ever up to date (it doesn't mirror what is on my server).
    Thanks in advance for any guidance.

    A perhaps related problem is that when I send an email from my Thunderbird email client, I don't see it in any of the Sent folders in Thunderbird, though I do see it on my Server, in the "Sent" folder that sits right below Drafts.
    However, I don't understand the difference between the two options for Sent items: if I go to Settings for my email account, and then Copies and Folders, I can check one of the two below:
    1. "Sent folder on: (email account name) ''or"
    2. "Other"
    I've selected #1 "Place a copy in: Sent folder" for the account in question (and there is little envelope with a lock on it). If I click on that drop down arrow I see a list of my email accounts and the last item is "Local Folders".
    The "Other" option as in #2 above looks like it is the Sent folder that sits right below Drafts.
    When I go to my Server (web based mail) I can see my sent items in the Sent folder that sits right below Drafts, but my Q's are:
    1. Why don't I see these sent emails in Thunderbird, and
    2. Why are they in *that* folder (I don't mind that they are) but based on #1 or #2 above, I'd expect them to sit in that Sent folder if I chose #2 above -the colour of the square (blue) resembles the blue square of the Sent folder that sits right below Drafts. However, I chose #1 above rather than #2 yet my sent items are still going to that Sent folder that sits right below Drafts.
    I'm confused...please explain in layman's terms so I can understand the difference between #1 and #2 above (Sent folder versus "Other") and so that I can understand why the sent emails are not stored/seen in any of the sent folders in Thunderbird.
    Thanks!

  • How do i ensure the new access point is joined the controller or not

    How do i ensure the new access point is joined the controller or not

    To Verifying that Access Points Join the Controller or not there are two ways as below.
    Please go through the step by step to find the APs joined state
    When replacing a controller, you need to make sure that access points join the new controller.
    Using the GUI to Verify that Access Points Join the Controller
    Follow these steps to ensure that access points join the new controller.
    Step 1 Follow these steps to configure the new controller as a master controller.
    a. Click Controller > Advanced > Master Controller Mode to open the Master Controller Configuration page.
    b. Check the Master Controller Mode check box.
    c. Click Apply to commit your changes.
    d. Click Save Configuration to save your changes.
    Step 2 (Optional) Flush the ARP and MAC address tables within the network infrastructure. Ask your network administrator for more information about this step.
    Step 3 Restart the access points.
    Step 4 Once all the access points have joined the new controller, configure the controller not to be a master controller by unchecking the Master Controller Mode check box on the Master Controller Configuration page.
    Using the CLI to Verify that Access Points Join the Controller
    Follow these steps to ensure that access points join the new controller.
    Step 1 To configure the new controller as a master controller, enter this command:
    config network master-base enable
    Step 2 (Optional) Flush the ARP and MAC address tables within the network infrastructure. Ask your network administrator for more information about this step.
    Step 3 Restart the access points.

  • HT4946 i am administrator for Mac. My husband and i both have separate iPhones with separate contacts. Since i0S 6.1 update these contacts are now shared which we do not want. I have set up separate iCloud email and account for my husband. How do i ensure

    I am administrator for Mac. My husband and i both have separate iPhones with separate contacts. Since i0S 6.1 update these contacts are now shared which we do not want. I have set up separate iCloud email and account for my husband. How do i ensure that i

    You can continue to use the current AppleID for iTunes, but your husband can create a new AppleID to use to create a new iCloud account that will be his own and not overlap with yours.  If you do not have another email address to use for an AppleID, just get a free Gmail account and use that.
    You can have as many AppleIDs as you want (or at least, as many as you have email addresses for).  You can use a separate AppleID for the store, another for iCloud, and even another for iMessage if you wish.
    You will want to keep the current one as the shared one for the store as all your previous purchases are permanently tied to it, and thus you need that AppleID to update or redownload your current purchased content.

  • I own a ipad mini and a iPod touch , both configured on the same apple account, how do I ensure that my data on the ipad mail,notes,pics etc is not visible/accessible on the ipod

    I own a ipad mini and a iPod touch both configured on the same id
    How do I ensure that my data on the ipad mail,notes,pics etc is not visible/accessible on the iPod touch when the iPod is connected to a wi fi connection

    Mail: do not have the same account loaded onto the two devices.
    Photos: go into Settings->Photos & Camera->and turn off photo stream.
    everything else, sign out of the Apple ID on the device you dont want to be visible.
    good luck

  • I am selling my Mac Mini. I recently purchased OS X Lion. When I restore to factory settings, how can I ensure that the operating system will still be Lion, and not the original operating system, which I believe was Snow Leopard?

    I am selling my Mac Mini. I recently purchased OS X Lion. When I restore to factory settings, how can I ensure that the operating system will still be Lion, and not the original operating system, which I believe was Snow Leopard?

    If you bought Lion from the App Store, you can't legally or practically transfer it, because it's tied to your Apple ID. Reinstall the original software from the discs that came with the machine.

  • Script to know how many statements are not loaded in oracle CM

    Hi,
    Can some one would help me on how to prepare a script to know the bank statements are not loaded into oracle CM and how many checks under that particular statement are not loaded??
    I have the following info with me..
    1. The statements are loaded in a temporary table as soon as we run statement loader program.
    2. Then the records will get into ce_statement_headers_int_all and ce_statement_lines_interface.
    3. Then they will get loaded into ce_statement_headers_all and ce_statement_lines tables.
    Now, the only thing i am confused is how to get to know the statements list that are not loaded into oracle along with the error message. i am confused which tables will give the exact info ce_statement_headers_int_all and ce_statement_lines_interface or ce_headers_interface_errors and ce_lines_interface_errors??? immediate help would be highly appreciated and its very urgent...........
    Thanks.

    Hi Helios,
    I dint get you. This is not something which SR can be raised. I need to know how script can be written to know the statements that are not loaded in oracle cash management. I need to prepare a notification where in that should contain how many statements have been loaded successfully and how many are not on a daily basis...
    Thanks.

  • My adp payroll statement will not appear for me to view. How can I fix this?

    My adp payroll statement will not appear to read. Just a small square box with an x. How can I view it?

    Welcome to the Adobe Forums.
    To better assist you with this issue we need to know:
    What is your operating system? (Windows or Mac) (XP, Vista, 7, 8)
    What browser do you use? (Internet Explorer, Firefox, Chrome, Opera, Safari)

Maybe you are looking for

  • Error while creating invocie using BAPI_INCOMINGINVOICE_CREATE

    Hi all, I am trying to create the MM invoice using the BAPI_INCOMINGINVOICE_CREATE, i am passing the data which i get from the bapi BAPI_INCOMINGINVOICE_getdetails. i remove the document # and 1-2 fields from the returned parameters of the getdetail

  • How do i update drivers audigy2

    hi i ve been trying to update my audigy,but when i go to install the dvrs,it says "set up did not detect the set of required componets you have.set up will exit" thx for any help,cheers oh yeah these were the newest dm dvrs.

  • Errors with 10g Migration: WUC-24 and FileFunctions bean

    I'm experiencing a couple issues with my Migration to 10g (9.0.4) from 6i Forms. Through much searching to find resolutions, I have been unsuccessful. I have two errors that I am unable to get rid of. 1) oracle.forms.webutil.file.FileFunctions bean n

  • Very Urgent..How to create a report Using SQ01 and Sq02.

    Hi Friends, It's very urgent.pl help  me in generating a report using SQ01 and SQ02. Help is appreciated. thanks In advance. Regards, Nanditha.

  • Upgrade to Mobility Service causes "incorrect password" messages

    After upgrading to Mobility Service a couple days ago, some users suddenly can't sync mail on some of their devices. The problem device will constantly prompt for a password, but then say it's incorrect (when it definitely is not). Same user will hav