Session-failover-enabled not working in iWS6 with a FileStore

I'm trying to use a FileStore to implement session persistence using IWSSessionManager. I have the following in my web-apps.xml:
<web-app uri="/Banking" dir="c:/java/online">
<session-manager class='com.iplanet.server.http.session.IWSSessionManager'>
<init-param>
<param-name>session-data-store</param-name>
<param-value>com.iplanet.server.http.session.FileStore</param-value>
</init-param>
<init-param>
<param-name>session-data-dir</param-name>
<param-value>c:/iplanet/servers/SessionData</param-value>
</init-param>
<init-param>
<param-name>session-failover-enabled</param-name>
<param-value>false</param-value>
</init-param>
</session-manager>
</web-app>
I'm seeing the following exception in my log:
[12/Jun/2002:10:10:56] info ( 320): java.io.NotSerializableException: com.iplanet.server.http.servlet.WebApplication
at java.io.ObjectOutputStream.outputObject(ObjectOutputStream.java:1148)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:366)
at java.io.ObjectOutputStream.outputClassFields(ObjectOutputStream.java:1827)
at java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:480)
at java.io.ObjectOutputStream.outputObject(ObjectOutputStream.java:1214)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:366)
at java.io.ObjectOutputStream.outputClassFields(ObjectOutputStream.java:1827)
at java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:480)
at java.io.ObjectOutputStream.outputObject(ObjectOutputStream.java:1214)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:366)
at java.util.Hashtable.writeObject(Hashtable.java:764)
at java.lang.reflect.Method.invoke(Native Method)
at java.io.ObjectOutputStream.invokeObjectWriter(ObjectOutputStream.java:1864)
at java.io.ObjectOutputStream.outputObject(ObjectOutputStream.java:1210)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:366)
at com.iplanet.server.http.session.IWSHttpSession.writeObject(IWSHttpSession.java:764)
at java.lang.reflect.Method.invoke(Native Method)
at java.io.ObjectOutputStream.invokeObjectWriter(ObjectOutputStream.java:1864)
at java.io.ObjectOutputStream.outputObject(ObjectOutputStream.java:1210)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:366)
at com.iplanet.server.http.session.FileStore.save(FileStore.java:167)
at com.iplanet.server.http.session.IWSSessionManager.update(IWSSessionManager.java:499)
at com.iplanet.server.http.servlet.NSHttpServletRequest.closeInputStream (NSHttpServletRequest.java:612)
at com.iplanet.server.http.servlet.NSServletRunner.servicePostProcess(NSServletRunner.java:857)
at com.iplanet.server.http.servlet.NSServletRunner.invokeServletService(NSServletRunner.java:942)
at com.iplanet.server.http.servlet.WebApplication.service(WebApplication.java:1065)
at com.iplanet.server.http.servlet.NSServletRunner.ServiceWebApp(NSServletRunner.java:959)
Any ideas what's wrong?
I should note that I don't think it is because I am storing non-serializable things in the session attributes. I think this because originally I was getting an exception that said that a specific attribute wasn't serializable. I changed the class definition of the class I was storing in that attribute to include "implements java.io.Serializable" and that problem went away.

Hi Sija,
Can i have detailed scenario in your cluster configuration.
Means you are saying that going to start cluster package manually, if it is right please make sure that you had the same copy of start, instance profiles of NodeA to Node B. Means you need to maintain two startup, two instance profiles for both nodes. In a normal situation it will picik the profile of node A to start databse from A node. But in a failover situation it will not pick node A profile to start, it should pick Node B s profiles.
Just make a copy from node A and change the profile name accordingly to Node b. Then try to restart.
Regards
Nick Loy

Similar Messages

  • Sun Access Manager 2005Q1 session failover is not working

    Hi All
    I m using Sun access manager 2005Q1,message queue 2005Q1, Sun Directory server 5.2 ,BerkelyDb 4.2.52 and radware hardware load balancer with sticky session.
    I m have configured message queue and BerkeleyDB and both are running with any error.
    I m using http://docs.sun.com/source/817-7644/ch5_scenarios.html#wp41008 doc for session failover.
    Simple failover is working fine but the Session failover is not working.
    Any body has done session failover with Sun Access manager 2005 Q1 I m trying to resolve this issue last two month.
    Please it is urgent.

    It works fine in 2005Q4, after applying a patch 120954 if I am not mistaken. But 2005Q4 and 2005Q1 are probably different in terms of session failover (site configuration etc.)
    1. Stop both AM servers
    2. Set logging to debug mode in AMConfig.properties.
    3. Delete / move everything in /var/opt/SUNWam/debug
    4. tail -f /var/opt/SUNWam/debug/amSession
    5. Post that file here... you should be able to see if session failover is enabled etc....
    hope this helps.

  • Weblogic.httpd.session.cookies.enable not working in WLS4.5 sp 11 ?

    I want to disable the use of cookies in WLS 4.5, and set the following
    weblogic.httpd.session.cookies.enable=false
    In WLS 4.5 sp7, this correctly prevents the server from using cookies
    for session-tracking, forcing the extraction of the session id from a
    rewritten URL.
    However, for WLS 4.5 sp11 cookies are still sent from the server
    Is this a known issue ?
    jo

    I want to disable the use of cookies in WLS 4.5, and set the following
    weblogic.httpd.session.cookies.enable=false
    In WLS 4.5 sp7, this correctly prevents the server from using cookies
    for session-tracking, forcing the extraction of the session id from a
    rewritten URL.
    However, for WLS 4.5 sp11 cookies are still sent from the server
    Is this a known issue ?
    jo

  • Failover is not working in clustering

    we installed infrastructure in the one system and added 2 instances app1.mycompany.com,app2.mycompany.com into it.
    for loadbalancing we r using webcache.
    we configured origin servers,site definitions,site-server mappings.
    in the cluster two instances showing up.
    that we can see in health monitor in Up/Down* parameter of web cache administrator console.
    we deployed same ear in two instances.
    but when i down one instance say app1.mycompany.com,
    In the health monitor its not showing up DOWN parameter for host: app1.mycompany.com.same for UP also.
    immediately its not showing changes when i am testing failover.
    Is webcache loadbalancing is Round robin based ?
    when i down one of the instances session replication is not happening properly.sometimes session expired is coming.
    when 2 instances r up if user access application all the requests r coming to one instance if down that instance session expired is coming.
    i think failover is not working in clustering.
    i checked replication properties and added <distributable> tag in both the instances.
    in webcache console page what will sessionbinding will do?i have not configured anything.

    Why are you using Webcache?
    Web cache will certainly work, but its more common role is to more access as a simple load balancer over HTTP servers, not OC4J instances.
    What I'd do is to simplify your situation to verify you have the server setup correctly.
    That means using the Oracle HTTP Server which will be part of your cluster as the common routing point. OHS and mod_oc4j are session state aware and know about all the OC4J instances. In the situation where an OC4J instance dies for some reason, mod_oc4j will know to which other OC4J instance(s) the request can be routed to pickup the replicated session state.
    Once you have verified that the failover is working on the backend, you can then configure another OHS instance and position webcache in front of them to act as a request router and failover handler for when the OHS instances are inactive.
    The Enterprise Deployment Guide offers some guidance in typical architectures, well worth a read.
    cheers
    -steve-

  • BI Administrator error: Session Management will not work

    Hi!
    I am about to set up BI Administrator Addon in SAP Portal. All the configuration steps seems to be ok.
    Unfortunately when I try to start some of applications of BI Administrator I get the following error:
    Session Management will not work.
    Please check the DSM log file for details
    Question:
    How can I solve this problem?
    Thank you very much!
    regards

    Hi
    This error means--Please notify us of this problem by submitting an IT Service Request (Please Note: In order to log into the Infra system, you will need to preface your NKU account with nku\.  For example, if your user name is smithj7, the "User Name" field would need to be populated with nku\smithj7.)
    under the problem type "SAP BW/Portal.
    Much of EP / BASIS issue.
    Hope it helps

  • HT4721 Trackpad triple-finger tap dictionary lookup is not working on macbookPro with OS X 10.8.5. It has never worked before.

    Trackpad triple-finger tap dictionary lookup is not working on maybookPro with OS X 10.8.5. I have never seen it working before. I have also checked un System Preferences and it is enabled. All other gestures seem to work fine too. Could you please help?

    Try running the combo update.
    10.8.5 Combo Update
    That solved it for one person.

  • Exchange 2010 DAG Failover does not works

    Hi Experts,
    I have a Exchange 2010 setup in  a DAG environment. We have 2 MBX servers in the main site and 1 MBX server in the DR site , all part of one DAG. We have 2 HUB/CAS servers in the main site and 1 HUB/CAS server in the DR site.
    Recently we had to do our BCP test for audit purpose. We had issues in doing failover to the DR site and below is the error faced.
    Please advise urgently on the possible causes and resolution steps for it as we need to do this test again on the coming weekend.
    "EvictDagClusterNode got exception Microsoft.Exchange.Cluster.Replay.AmClusterEvictWithoutCleanupException: An Active Manager operation failed. Error An error
    occurred while attempting a cluster operation. Error: Evict node 'sme-ho-mbx01' returned without the node being fully cleaned up. Please run cluster.exe node <NodeName> /forcecleanup to complete clean up for this node.. ---> System.ComponentModel.Win32Exception:
    The wait operation timed out"
    So, basically one of the MBX server was not evicting from the Cluster due to which failover did not work.
    Would appreciate some urgent thoughts for the possible resolution.
    regards
    abubakar
    Md.Abubakar Noorani IT Systems Engineer Serco Ltd.

    Hi,
    Yes, you can run the Stop-DatabaseAvailabilityGroup without shutting down the Mailbox server. During the process of DAG failover to DR site, the Stop-DatabaseAvailabilityGroup cmdlet should be run against all servers in the primary datacenter. If the Mailbox
    server is unavailable but Active Directory is operating in the primary datacenter, the Stop-DatabaseAvailabilityGroup command with the ConfigurationOnly parameter must be run against all servers in this state in the primary datacenter.
    And please note that the Stop-DatabaseAvailabilityGroup cmdlet can be run against a DAG only when the DAG is configured with a DatacenterActivationMode value of DagOnly. 
    Based on the error message, it seems that you should run the cluster node nodename /forcecleanup cmdlet against the specified node in the main site. Have you tried this to check the result?
    Best regards,
    Belinda
    Belinda Ma
    TechNet Community Support

  • Hi! I am having a problem with my dictation. It works fine with Greek but it does not work at all with English. Anyone knows why?

    hi! I am having a problem with my dictation. It works fine with Greek but it does not work at all with English. Anyone knows why?

    Have you changed the system voice to an English one in system preferences?

  • Auto backlight does not work on 4S with iOS 7! With iOS 6.1.3 I had the same problem.Why?

    Auto backlight does not work on 4S with iOS 7. I had the same problem with iOS 6.1.3! Why ?

    rlwebb71 wrote:
    ... I have the latest generation iPod touch, not the 5, but the latest. So why can't Siri come out and play? 
    Siri is not a feature of that iPod... 4th Gen...
    iOS 6  Which Software for Which iDevices...
    http://support.apple.com/kb/HT5457

  • Ctrl-T command do not work in website with flash

    Ctrl-T command do not work in website with flash
    == URL of affected sites ==
    http://

    If the Flash object has focus then key presses are processed by that plugin.
    In such cases you need to click outside that plugin (e.g. the menu bar if you can't click on the website) to make the keyboard work.

  • When i try to use Command   c it dose not work at all with any program but Command   x and v works ?

    when i try to use Command   c it dose not work at all with any program but Command   x and v works ?
    i don't know what to do and how to fix it and why it habend ??????!!!!!!!!!

    Open the Speech pane of System Preferences and check whether either the listening key or the speech key has become set to that keystroke; if so, change the setting.
    (63123)

  • -moz-transform:scale does not work in Firefox with select tag(DropDown)

    -moz-transform:scale does not work in Firefox with select tag(Dropdown). The Dropdown options are being displayed at incorrect location.

    'Hi, Please try the HTML attached in image. This works in IE, Safari, Crome but not in Firefox

  • Notification center does not work at all with mail

    notification center does not work at all with mail there is no sonud no banner . i try to chek and unchek thas box may it is something may effect but still not working where is the notifiication center they said to us about it but i want be fair it's working for imessege and it's not working also for app store update like they said there is abig kiind of joke. i use macbook air mid 2011.

    Have you changed the system voice to an English one in system preferences?

  • Kindle app - Not Working or Compatible with Yosemite... On installation of Yosemite final release moved to incompatibel programs!

    Kindle app -> Not Working or Compatible with Yosemite... On installation of Yosemite final release moved to incompatibel programs.
    When I go to download KINDLE not available in Cyprus App store... Asks me to switch to USA I say yes... And then gives me a dead link.
    Is kindle not available for download in certain countries? whats going on here?
    (My initial post was deleted - for "non-constructive comments" but I edited it removing what i believe they deemed non-constructive)
    Would have been nice if they answered my question and not only deleted my post.

    [url="http://web6.streamhoster.com/em2253/ZEN/ZenDeviceManager.wmv]See Movie[/url]?Hi, take a look at the movie... hopefully I answer to your question is there. [b]Let me know if you can NOT see it... [/b]and I will send you a picture. [color="#ff0000"]and if you can see the movie, give me feedback on it. Did it look ok in your computer? (it changes with all computers depending on your setting and player!). [color="#ff0000"]Was the sound ok?I almost wish I had not titled this post as "Happy Conclusion." It was happy but only a day or two... then I started having other problems... unbelievable. So, If I gave the wrong impression, sorry!

  • Save-sessions-enabled not working

    WLS 8.1SP4
    EAR file with WAR file.
    CLuster of 2 managed servers.
    In-Memory Replication.
    save-sessions-enabled set to true in weblogic.xml
    save-sessions-enmabled doesnt seem to work. I log into the web app, do work, redeploy the webapp, and the next click in teh web app forces me to log-in again, i.e. my session is lost.
    Sam Pullara had a comment in 2003 about it not working with replicated sessions until SP2. I'm on SP4.
    Any ideas before I raise a case?
    Many Thanks,
    Graham.

    I have checked the support site and this is still a problem in SP3. A pach was available for SP3.
    Apparently, you get the problem if you deploy the app with context-root = '/'.
    I have raised a case to see if a patch is available for SP4.

Maybe you are looking for

  • Connecter mac mini avec ecran 21:9

    Est-ce que quelqu'un a essaye de connecter son Mac Mini sur un ecran au format 16:9 ( 2560x1080 ). A priori le format va etre uniquement du 16:9 avec 2 bandes noires laterales.

  • Cannot Download iMovie from Appstore!!

    I'm on a 13" Macbook Pro, Model A1278 On it, I'm running OS X Maverick 10.9.4 Yes, it is registered. This macbook was a floor model and was inspected and sold to me. It came pre-installed with iLife, but after I upgraded to Maverick it was gone. I've

  • Fixed IP address for local printer server?

    I have five computers sharing (LAN) one printer. The computer connected to the local printer, at present, the IP address changes depending which computer first start in the morning. In other words, today its 192.168.0.102 and tomorrow 192.168.0.105,

  • Is it possible to call methods from another class from within an abstract c

    Is it possible to call methods from another class from within an abstract class ?

  • Norton Antivirus X

    I recently installed Norton Anti-Virus 10 for MAC OSX 10.4. When I did a virus scan, it found 28 files infected with a virus, all files, I believe received from PC users. Norton Anti-virus was unable to repair the files and did not quarantine them. A