Session lost after fail over. (I kill down the server during servlet invocation)

          I just tested the failover ability of our WebLogic
          cluster. We have two instances, first, I logged onto
          the web site and created a session, and then I called
          a servlet, in which there is a complicated computation
          which will take about 5 seconds, during the
          invocation, I issued the kill -9 to shut the server
          down at once. It did failover, but the http session
          was lost,So I got the session timeout page. But if I
          kill down that server after the invocation, then it
          can failover succesfully without loss of session.
          Could you tell me is there any difference between
          killing down server during and between invocations of
          servlet or JSP?
          The configuration:
          WLS5.1 with sp8. Solaris 5.8
          Using in memory replication.
          Thank you very much for your help.
          

          I just tested the failover ability of our WebLogic
          cluster. We have two instances, first, I logged onto
          the web site and created a session, and then I called
          a servlet, in which there is a complicated computation
          which will take about 5 seconds, during the
          invocation, I issued the kill -9 to shut the server
          down at once. It did failover, but the http session
          was lost,So I got the session timeout page. But if I
          kill down that server after the invocation, then it
          can failover succesfully without loss of session.
          Could you tell me is there any difference between
          killing down server during and between invocations of
          servlet or JSP?
          The configuration:
          WLS5.1 with sp8. Solaris 5.8
          Using in memory replication.
          Thank you very much for your help.
          

Similar Messages

  • How do the application servers connect the new database after failing over from primary DB to standby DB

    How do the application servers connect the new database after failing over from primary DB to standby DB?
    We have setup a DR environment with a standalone Primary server and a standalone Physical Standby server on RHEL Linux 6.4. Now our application team would like to know:
    When the primary DB server is crashed, the standy DB server will takeover the role of primary DB through the DataGuard fast failover. As the applications are connected by the primary DB IP before,currently the physical DB is used as a different IP or listener. If this is happened, they need to stop their application servers and re-configure their connection so the they coonect the new DB server, they cannot tolerate these workaround. 
    Whether does oracle have the better solution for this so that the application can automatically know the role's transition and change to the new IP without re-confige any connection and shutdown their application?
    Oracle support provides us the answer as following:
    ==================================================================
    Applications connected to a primary database can transparently failover to the new primary database upon an Oracle Data Guard role transition. Integration with Fast Application Notification (FAN) provides fast failover for integrated clients.
    After a failover, the broker publishes Fast Application Notification (FAN) events. These FAN events can be used in the following ways:
    Applications can use FAN without programmatic changes if they use one of these Oracle integrated database clients: Oracle Database JDBC, Oracle Database Oracle Call Interface (OCI), and Oracle Data Provider for .NET ( ODP.NET). These clients can be configured for Fast Connection Failover (FCF) to automatically connect to a new primary database after a failover.
    JAVA applications can use FAN programmatically by using the JDBC FAN application programming interface to subscribe to FAN events and to execute event handling actions upon the receipt of an event.
    FAN server-side callouts can be configured on the database tier.
    FAN events are published using Oracle Notification Services (ONS) and Oracle Streams Advanced Queuing (AQ).
    =======================================================================================
    Who has the experience and the related documentation or other solutions? we don't have the concept of about FAN.
    Thank very much in advance.

    Hi mesbeg,
    Thanks alot.
    For example, there is an application JBOSS server connecting the DB, we just added another datasource and put the standby IP into the configuration file except adding a service on DB side like this following:
            <subsystem xmlns="urn:jboss:domain:datasources:1.0">
            <datasources>
                    <datasource jta="false" jndi-name="java:/jdbc/idserverDatasource" pool-name="IDServerDataSource" enabled="true" use-java-context="true">
                        <connection-url>jdbc:oracle:thin:@<primay DB IP>:1521:testdb</connection-url>
                        <connection-url>jdbc:oracle:thin:@<standby DB IP>:1521:testdb</connection-url>
                        <driver>oracle</driver>
                        <pool>
                            <min-pool-size>2</min-pool-size>
                            <max-pool-size>10</max-pool-size>
                            <prefill>true</prefill>
                        </pool>
                        <security>
                            <user-name>TEST_USER</user-name>
                            <password>Password1</password>
                        </security>
                        <validation>
                            <valid-connection-checker class-name="org.jboss.jca.adapters.jdbc.extensions.oracle.OracleValidConnectionChecker"/>
                            <validate-on-match>false</validate-on-match>
                            <background-validation>false</background-validation>
                            <use-fast-fail>false</use-fast-fail>
                            <stale-connection-checker class-name="org.jboss.jca.adapters.jdbc.extensions.oracle.OracleStaleConnectionChecker"/>
                            <exception-sorter class-name="org.jboss.jca.adapters.jdbc.extensions.oracle.OracleExceptionSorter"/>
                        </validation>
                    </datasource>
                    <drivers>
                        <driver name="oracle" module="com.oracle.jdbc">
                            <xa-datasource-class>oracle.jdbc.OracleDriver</xa-datasource-class>
                        </driver>
                    </drivers>
                </datasources>
            </subsystem>
    If the failover is occurred, the JBOSS will automatically be pointed to the standby DB. Additional actions are not needed.

  • Multiple j-sessions for IOP fail-over?

    Weblogic has the ability to support multiple j-sessions to allow fail-over of the connection.
    My understanding is that this is not currently supported in IOP.
    When will IOP support multiple j-sessions?
    Is it possible to get a patch for this in the current version 11 of IOP?
    Thank you.

    That is part of the product roadmap to support multiple j-sessions for IOP fail over using Weblogic. That way, if the primary IOP server fails, the user can be re-routed to the backup server in a high-availability fashion. However, that is not supported currently, but will be over the next couple of releases.

  • Why i keep seeing email on iphone, even after i deleted it directly from the server?

    Why i keep seeing email on iphone, even after i deleted it directly from the server?
    This means it doesnt sync the server inbox, only keeps pushing new emails!
    How to force it to realy sync every time the server inbox, and just show me in the iphone inbox exactly what i see in the server inbox???

    I'm just fresh in iOS, but dont think its a POP/IMAP matter.
    Always used mobile push email apps on symbian and android with POP and never had this issue.
    My usual former scheme is:
    a) My main email client is Outlook at my laptop (POP). This one is the master email client and after download new emails deletes them at the server.
    b) My secondary is a mobile email client (also POP) - just to see whats going on and maybe reply here and there.
    Meaning, laptop does cut/paste and mobile does copy/paste
    So:
    a) If i download a new email first using my laptop, it will never be pushed latter from iphone (its not there anymore).
    b) If i download a new email first using my mobile app, and only then download it with laptop, it is still there available, and then gets deleted at the server.
    c) If i download a new email first using my mobile app and if i manualy delete it and then perform another sync, then this email is deleted at server, and will be no more available for download to laptop.
    Resuming:
    1- The laptop ask to server what's in the inbox, downloads it all and then order the server to kill them all.
    2- The iphone only ask whats new and downloads it all.
    3- The iphone SHOULD ask server what's new, AND ask server what was removed from server inbox since last sync, AND tell server wich emails were removed at iphone since last sync.
    As far i remember, at least one symbian app called Profimail does all this quite perfectly...
    Any ideas?

  • Error: "Verification Failed" Could not communicate with the server.

    "Verification Failed" Could not communicate with the server.
    I get this message every time I go to Icloud in setting menu.
    also my contact are not in sync (empty on Ipad)
    What does this message mean, and how do I solve it.
    Everything else works (Autodesk Draw also works with Icloud and it works fine)
    Mail ok
    Downloading from appstore ok (also after password)
    Please provide me with a solution due to this problem I can't get my contacts on my new ipad (at least that is what I think)

    Ok I got it working... the Ipad stores your password at different locations. So changing it once does not do the job. I thought the Ipad had the Single Sign On function for the apple password.
    So make sure that you not only change your password in "the shop" but also in the setting menu (general) and icloud menu.
    this helped for me, I had to let go the Single Sign On thought first....

  • Database doesn't shutdown during shutting down the server

    Dear Friends ,
    I have to use the following dcript to use Auto startup and shutdown my Oracle Database in RHEL 4 .
    step 1:
    #!/bin/bash
    # chkconfig: 345 99 10
    # description: Oracle auto start-stop script.
    # Set ORACLE_HOME to be equivalent to the $ORACLE_HOME
    # from which you wish to execute dbstart and dbshut;
    # Set ORACLE_OWNER to the user id of the owner of the
    # Oracle database in ORACLE_HOME.
    ORACLE_HOME=/u01/app/oracle/product/10.2.0/db_1
    ORACLE_OWNER=oracle
    if [ ! -f $ORACLE_HOME/bin/dbstart ]
    then
    echo "Oracle startup: cannot start"
    exit
    fi
    case "$1" in
    'start')
    # Start the Oracle databases:
    # The following command assumes that the oracle login
    # will not prompt the user for any values
    su - $ORACLE_OWNER -c "$ORACLE_HOME/bin/lsnrctl start"
    su - $ORACLE_OWNER -c $ORACLE_HOME/bin/dbstart
    'stop')
    # Stop the Oracle databases:
    # The following command assumes that the oracle login
    # will not prompt the user for any values
    su - $ORACLE_OWNER -c $ORACLE_HOME/bin/dbshut
    su - $ORACLE_OWNER -c "$ORACLE_HOME/bin/lsnrctl stop"
    esac
    step 2:
    cat /etc/inittab
    *:/u01/app/oracle/product/10.2.0/db_1:N
    orcl:/u01/app/oracle/product/10.2.0/db_1:Y
    step 3:
    Keep "dbora" in following path :
    /etc/rc.d/rc3.d/dbora
    /etc/rc.d/rc5.d/dbora
    /etc/rc.d/init.d/dbora
    And also ,
    chmod 750 /etc/init.d/dbora
    chkconfig --level 345 dbora on
    Now ,The script works fine and ORacle Database and Listener service starts automatically during startup the server .But during shutdown the server, I cannot understand or can't recognize that the Oracle Database & listener service are shutdown auto . I think it does not work properly..... So i need to know that Oracle Database & listener service are stop automatically during shutting down the server . Using the above scripts , How can I do it ? Is there any wrong then plz advice me .......Thx ...

    step 3:
    Keep "dbora" in following path :
    /etc/rc.d/rc3.d/dbora
    /etc/rc.d/rc5.d/dbora
    /etc/rc.d/init.d/dbora
    And also ,
    chmod 750 /etc/init.d/dbora
    chkconfig --level 345 dbora on
    Check following links are there
    # ln -s /etc/init.d/dbora /etc/rc.d/rc3.d/K01dbora
    # ln -s /etc/init.d/dbora /etc/rc.d/rc3.d/S99dbora
    # ln -s /etc/init.d/dbora /etc/rc.d/rc5.d/K01dbora
    # ln -s /etc/init.d/dbora /etc/rc.d/rc5.d/S99dbora
    Script/link start with "K" , is responsible for shutdown database.
    Check following Oracle Documentation link , it explain all in details
    Starting and Stopping Oracle Software
    - Virag Sharma
    http://viragsharma.blogspot.com
    http://virag.sharma.googlepages.com

  • TNS-12638 when shutting down the server

    Everytime when we shut down the database server (Win2K, Ora 9.2.0.1.0) we
    get the following entries in the log files:
    ora.log:
    Fatal NI connect error 12638, connecting to:
    (DESCRIPTION=(ADDRESS=(PROTOCOL=BEQ)(PROGRAM=oracle)(ARGV0=oracletest2)(ARGS='(DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))'))(CONNECT_DATA=(SID=test2)(CID=(PROGRAM=c:\oracle\ora92\bin\ORACLE.EXE)(HOST=CAESAR)(USER=SYSTEM))))
    VERSION INFORMATION:
    TNS for 32-bit Windows: Version 9.2.0.1.0 - Production
    Oracle Bequeath NT Protocol Adapter for 32-bit Everytime when we shut down the database server (Win 2k) we receive the following entry in the file ora.log:
    Windows: Version 9.2.0.1.0 - Production
    Time: 19-MÃ??R-2003 18:58:00
    Tracing not turned on.
    Tns error struct:
    nr err code: 0
    ns main err code: 12638
    TNS-12638: Abrufen der ID-Daten nicht erfolgreich
    ns secondary err code: 0
    nt main err code: 0
    nt secondary err code: 0
    nt OS err code: 0
    sqlnet.log
    Fatal NI connect error 12638 ns secondary err code: 0
    N=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))
    Fatal NI connect error 12638, connecting to:
    (DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))
    VERSION INFORMATION:
    nt main err code: 0
    Version 9.2.0.1.0 - Production
    Oracle Bequeath NT Protocol Adapter for 32-bit Windows: Version 9.2.0.1.0 - Production
    VERSION INFORMATION:
    TNS for 32-bit Windows: Version 9.2.0.1.0 - Production
    Oracle Bequeath NT Protocol Adapter for 32-bit Windows: Version 9.2.0.1.0 - Production
    Time: 19-MÃ??R-2003 18:58:00
    Time: 19-MÃ??R-2003 18:58:00
    Tracing not turned on Tracing not turned on.
    Tns error struct:
    nr err code: 0
    ns main err code: 12638
    TNS-12638: Abrufen der ID-Daten nicht erfolgreich
    ns secondary err code: 0
    nt main err code: 0
    nt secondary err code: 0
    nt OS err code: 0
    Tns error struct:
    nr err code: 0
    ns main err code: 12638
    TNS-12638: Abrufen der ID-Daten nicht erfolgreich
    ns secondary err code: 0
    nt main err code: 0
    nt secondary err code: 0
    nt OS err code: 0
    We use SQLNET.AUTHENTICATION_SERVICES= (NTS).
    We get the error only when we shut down the server. The database was created with the database configuration assistant. Thanks

    check the file sqlnet.ora (ORACLE_HOME\NETWORK\ADMIN)where the database is installed for an entry like SQLNET.AUTHENTICATION_SERVICES= (NTS). If so, disable it.
    -PK

  • Shutting Down the server using Xyplex ?- Root passwd not known for Decomiss

    Hi All,
    I am on run level 3 and need to get to run level 0 through xyplex console.The server is on run level 3 .I know there are controls for xyplex to get to run level 0 - ctrl a + ctrl b.But these are not working.I dont have the access to the server rite now.Only access to console but I cannot login to the server.( it was decommisnned).Does anybody know how to get to run level 0 or shutting down the server through xyplex.

    step 3:
    Keep "dbora" in following path :
    /etc/rc.d/rc3.d/dbora
    /etc/rc.d/rc5.d/dbora
    /etc/rc.d/init.d/dbora
    And also ,
    chmod 750 /etc/init.d/dbora
    chkconfig --level 345 dbora on
    Check following links are there
    # ln -s /etc/init.d/dbora /etc/rc.d/rc3.d/K01dbora
    # ln -s /etc/init.d/dbora /etc/rc.d/rc3.d/S99dbora
    # ln -s /etc/init.d/dbora /etc/rc.d/rc5.d/K01dbora
    # ln -s /etc/init.d/dbora /etc/rc.d/rc5.d/S99dbora
    Script/link start with "K" , is responsible for shutdown database.
    Check following Oracle Documentation link , it explain all in details
    Starting and Stopping Oracle Software
    - Virag Sharma
    http://viragsharma.blogspot.com
    http://virag.sharma.googlepages.com

  • Things to consider before shutting down the Server

    Hi,
    What are all the things to consider before shutting down the Essbase Server?
    Just we need to close the applications and Agent process or do we need to take care any other things also.
    Thanks in Advance

    In order to make sure of a soft shut down, I normally would
    - Disconnect all users
    - Prevent connections
    - Unlock all objects
    - Shut down all databases and applications
    - Shut down the Server Agent
    Brian Chow

  • Setup has failed to automatically login to the server ServerMachine

    Hello,
    This error appears when installing the sboclient in a WINXP machine.
    Setup has failed to automatically login to the server <ServerMachine>
    It asks for the userID and Password, and even if I type the correct user and password it doesn't do anything.
    I can access the machine from the windows explorer, it is in a vmware.
    Anyone with the same problem?
    thanks in advance.

    Dear All,
    I was facing the same problem and now it is resolved.
    You should try the same what I did:
    • Browse the SQL Server CD from a client machine.
    • From the Root installation DIR, (SQL2005 in my case) double click "SPLASH.HTA" file.
    • It will ask for Security Warning, click Run.
    • It will pop up a Windows 2005 Server window.
    • Under the Install heading click on "Run the SQL Native Client Installation Wizard"
    • It will again pop up a security warning message. Click "Run"
    • Follow the instructions for installation.
    • Select all the components including SDK if it asks.
    Once it installed, try installing your SAP B1 Client. It must work.
    Best wishes

  • Primary Mailbox Database fails to replicate after failing over to secondary copy in DAG

    We had an issue yesterday on a primary mailbox database server when the drive the log files are located on filled up and took the databases off-line on the primary server bringing them up on the secondary.
    After the issue was resolved and enough space was freed up, all but one database failed back. The one that would not come back showed Failed in the copy status. It remained mounted on the secondary server. I attempted several times to 'update' the copy and
    it would run for aver 40 minutes and look like it was going okay then it would 'fail' and end up in a 'failed and suspended' state. The error would indicated it could not complete because the it could not find the source server.
    The Update job was configured to point to the server holding the secondary copy as the source so should not have a problem.
    Any idea on how I can get the primary copy working again? I thought about making the second copy the 1st to activate and removing the primary copy from the DAG and recreating it, but past experience doing that did not resolve the issue.
    Thank you,
    Nick
    Nick Laurino

    Find out why database file is missing, I doubt on antivirus and start looking at the antivirus sacanning exclusion to ensure it is properly set...
    File-Level Antivirus Scanning on Exchange 2010
    Then try to reseed the database copy from a good source, it might be possible that antivirus would be scanning file when it is getting reseeded and causing issue...
    How to Reseed a Failed Mailbox Database Copy in Exchange Server 2010
    Blog |
    Get Your Exchange Powershell Tip of the Day from here

  • Users contacts missing after failing over and then failing back pool

    We have 2 Lync enterprise pools that are paired.
    3 days ago, I failed the central management store, and all users from pool01 to pool02.
    This morning, I failed the CMS and all users back from pool02 to pool01.
    All users signed back in to Lync and no issues were reported. A user then contacted me to say that his contact list was empty.
    I had him sign out and back in to Lync, and also had him sign into Lync from a different workstation, as well as his mobile device. All of which showed his contacts list as empty.
    We have unified contacts enabled (Hybrid mode with Office 365 exchange online, and Lync on prem). When I check the users Outlook contacts, I can see all of his contacts listed under "Lync Contacts", along with the current presence of each user.
    If I perform an export-csuserdata for that user's userdata, the XML file contained within the ZIP file shows the contacts that he is missing.
    I've also checked the client log on the workstation too, and can see that Lync can see the contacts as it lists them in the log. They do not appear in the Lync client though.
    Environment details:
    Lync 2013 - 2 enterprise pools running the latest December 2014 CU updates.
    Lync 2013 clients - running on Windows 8.1. User who is experiencing the issue is running client version 15.0.4675.1000 (32 bit)
    I have attempted to re-import the user data using both import-csuserdata (and restarting the front end services) and update-csuserdata. Both of these have had no effect.

    Hi Eason,
    Thanks for your reply. I've doubled checked and can confirm that only one policy exists, which enables it globally.
    I believe this problem relates to issues that always seem to happen when ever our primary pool is failed over to the backup pool, and then failed back.
    What I often see is that upon pool failback, things like response group announcements don't play on inbound calls (white noise is heard, followed by the call disconnecting), and agents somehow get signed out of queues (although they appear to be signed in to
    the queue when checking their Response Group settings in their Lync client. I've also noticed that every time we fail back, a different user will come to me and report that either their entire contacts list is missing, or that half of their contacts are missing.
    I am able to restore these from backup though.
    This appears to happen regardless of if the failover to the backup pool is due to a disaster, or to simply perform pool maintenance on our primary pool.

  • Previous session lost after crash :(

    Firefox crashed and now my previous session is greyed out/not available. I have my profiles folder open, but not sure if I save the sessions files in time. Might have been replaced with the newest session already. Can I use any of the files in the sessionstore-backups folder to find a backup point, and how?

    The kinds of files you may find among your sessionstore-backups files are:
    * recovery.js: the windows and tabs in your currently live Firefox session (or, if Firefox is closed, your last session)
    * recovery.bak: a backup copy of recovery.js
    * previous.js: the windows and tabs in your last Firefox session
    * upgrade.js-''build_id'': the windows and tabs in the Firefox session that was live at the time of your last update
    ''Please copy them all to a safe location so Firefox doesn't replace or cull them.''
    Could you take a look at what you have and the date/time of the various files to see whether you think any of them would have the missing tabs?

  • Fail-over options for Standalone Print Server

    Our organization recently set up 3 2012 r2 Print Servers to handle 3 separate sites.  Each printer server contains only the printers within the site - which makes each server a standalone print server.  I'm concern with the issue of not
    having a fail-over plan in place, in the event one of my server should fail.  Does anyone have any fail-over suggestions.

    Hi Thomas,
    If we want to create a clustered printer server, we need to created another print server in the same site.
    For detailed information, please refer to the link below:
    https://technet.microsoft.com/en-us/library/cc771091.aspx
    Best Regards.
    Steven Lee Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • I lost my pics when I shut down the iphone

    Why every time I shut down the Iphone its pics in camera roll get lost?

    Here are a couple of articles from the apple support website that might help out.
    http://support.apple.com/kb/HT1737
    http://support.apple.com/kb/HT1414
    http://support.apple.com/kb/TS1275
    You might need to reset and or restore the iphone to resolve any software issues.
    Hope this helps.

Maybe you are looking for

  • Will a new router increase my broadband speed in this configuration

    How much (if at all) can I increase my broadband speed by getting a faster router. Here's my config: DSL line --> DSL modem --> Lynksys BEFSR41 Router --> Ethernet cat-5 wiring in house --> TimeCapsule WiFi The computers using this network are an Int

  • Account requires CO assignment

    Hi I am doing billing and when i click on flag in vf01/vf02,I am getting error that account requires CO assignment. I have also assigned cost center in OKB9. Please tell me if there is any other setting for CO assignment. Thanks Moderator: Please, se

  • Photoshop Touch for iOS projects dissapeared

    When saving a project the app crashed and all the projects dissapeared from the start menu. Even new projects dissapear when trying to save them and I can not load them. I have tried rebooting the app, the ipad and even deleting and reinstalling the

  • BGP prefix list weird issue

    Hello All, I'm working in a BGP prefix list configuration and i'm seeing a strange issue. Issue: As per the cofiguration we have defined the prefix list to filter the incomming subnets. Though a specific subnet is not allowed in the prefix list but t

  • Need help changing the window border in OPENBOX

    Can somebody help me change the window border in openbox, I have already used obconf but I don't like the way there borders look, does any one now of any other programs that can change the window border?