GXError when the kjs is killed.

Hi,
We have an iplanet application server cluster running an
application. We have 4 kjs process per app server. For some reason I
need to kill one kjs process which is serving the user requests, At that
time the user is getting GXError , but the session is alive and if I
click browser back button and continue sending the request it works,
another kjs process starts serving the request.
All I want to know is how to avoid the GXError going to the user. Is
there any way we can avoid this Error and user shouldn't notice this
change.
I appreciate your help. If you want more details please get back to me..
Thanks,
Jana

Hi,
I would like to know if your server is participating in the DSync
clustering. Pls let me know to help you further on this.
Regards
Raj
Jana Navaneethan wrote:
Hi,
We have an iplanet application server cluster running an
application. We have 4 kjs process per app server. For some reason I
need to kill one kjs process which is serving the user requests, At that
time the user is getting GXError , but the session is alive and if I
click browser back button and continue sending the request it works,
another kjs process starts serving the request.
All I want to know is how to avoid the GXError going to the user. Is
there any way we can avoid this Error and user shouldn't notice this
change.
I appreciate your help. If you want more details please get back to me..
Thanks,
Jana

Similar Messages

  • Clear the entry for killed/sniped session in v$session

    Dear all,
    In our production database(11.2.0.1.0) running on windows 2008 server many client session showing inactive from last 4-5 hour and I want to kill those session because all sessions are dedicated so for this I created a resource plan set its idle time after certain interval session status is showing killed but it is not removing entries from v$session but our client demand is it must be clear from v$session so for this i was using DOS command taskkill utility to kill particular os process so I want to know what is the smartest way to do this.

    This is known behavior, not an issue.
    In a dedicated server environment when the session is killed and the rollback completes the process goes away so a join between v$session and v$process will fail. The v$session entry also usually goes away rather quickly, though I have seen cases where the v$session entry hung around till the instance was bounced. But normally Oracle will overlay the v$session entry with a new session using the same sid but a different serial# within seconds on a busy system.
    Mark @ http://dbaspot.com/oracle-server/40419-killed-sessions.html
    Metalink doc id 1023442.6 is also something confirming it.
    See also below link and last reply by Mr. Braj Kishore Mahto.
    http://dbaforums.org/oracle/index.php?showtopic=3039
    Regards
    Girish Sharma
    Edited by: Girish Sharma on Nov 21, 2012 5:35 PM
    So, what is best in this regard :
    ALTER SYSTEM DISCONNECT SESSION
    The ALTER SYSTEM DISCONNECT SESSION syntax is an alternative method for killing Oracle sessions. Unlike the KILL SESSION command which asks the session to kill itself, the DISCONNECT SESSION command kills the dedicated server process (or virtual circuit when using Shared Sever), which is equivalent to killing the server process from the operating system. The basic syntax is similar to the KILL SESSION command with the addition of the POST_TRANSACTION clause. The SID and SERIAL# values of the relevant session can be substituted into one of the following statements.
    SQL> ALTER SYSTEM DISCONNECT SESSION 'sid,serial#' POST_TRANSACTION;
    SQL> ALTER SYSTEM DISCONNECT SESSION 'sid,serial#' IMMEDIATE;
    http://www.oracle-base.com/articles/misc/killing-oracle-sessions.php#disconnect_session

  • How the system automatically kills the process when I close the browser?

    Hi everybody,
    I have the following problem: I run a report on the web browser. Suppose the user want to detail on one of the characteristics of report. If this takes long time (there are many records in report) and the user closes the web browser, the SAP system still run the proccess (in SM50 I see the dialog process still working, althrough the user closes the browser). This didn't happen in Excel, means, if the user press the 'Cancel' button when he/she tried to detail on one characteristic, the corresponding process is killed too (I see in SM50 how the corresponding dialog process is removed).
    How can I solve this ? Any idea about this?
    Thanks in advance.
    Florina

    Florina,
    there is a timeout set for the web session and the session would get automatically terminated after some time ..
    Some options are :
    1. Use Stateless Templates
    2. There is a Web Template setting called "Automatic Session Management" which uses a page wrapper cookie and kills the session when the person navigates from the page.. - <b>have changed it from previous answer after seeing Anil's post - apologies</b>
    3. If you are using EP  , you could implement DSM Terminator for the same.
    All the above( except 3) will not be suitable for stateful templates , if you want export to excel capability , or printing capability or the capability to save the pages as HTML for local use , you have to use stateful templates.
    First you would have to decide whether to use statefull or stateless templates and then depending on the choice made , go for any of the above. In case non of them work out for you , there is another option , but that would include a lot of javascript and using some command line parameters , update this post and I can tel you about the other if required..
    Hope it helps..
    Arun
    Assign points if useful
    Message was edited by: Arun Varadarajan

  • Thread: How to tell when the thread is finished AND how to kill it?

    Hi there,
    I have a thread that runs in the background and does this:
    class MyThread implements Runnable 
              public void run()
                   Stopper stopper = new Stopper();
                            //do something that takes some time
                            stopper.stop();
                            System.out.println("total time "+stopper.getTime());
    }this works fine (I have a swing gui where I click a button and this thread runs and it's ok. PROBLEM IS, when I click the button again (to re-activate the thread) it seems that the stopper is not null but still counting the time (I was under the impression that ...= new Stopper() will create a new object type Stopper).
    so -
    1. How can I tell when thread is finished?
    2. How do I kill this thread once it is finished?
    the invocation:
         public void actionPerformed(ActionEvent arg0)
              Thread t = new Thread( new MyThread());
              t.start();          
         }THANK YOU!

    You have not posted to code for Stopper, so it's impossible to reason about that
    1. How can I tell when thread is finished?
    Use Thread.Join() or Thread.isAlive()
    2. How do I kill this thread once it is finished?
    You can't and you don't. Just let the method the thread is running exit normally. Sometimes that means putting in a boolean variable to control a loop, and then exiting when the boolean is false.
    Another thought - you could set the thread as a Daemon thread - when you don't have any non-daemon threads running, java will exit.

  • [svn:bz-4.0.0_fixes] 16148: Update config testsuite on 4.0. 0_fixes branch to force kill the app server before running any tests when the app server is Tomcat .

    Revision: 16148
    Revision: 16148
    Author:   [email protected]
    Date:     2010-05-17 06:40:40 -0700 (Mon, 17 May 2010)
    Log Message:
    Update config testsuite on 4.0.0_fixes branch to force kill the app server before running any tests when the app server is Tomcat. The regression runs were hanging on this branch when going to run the config suite because the Tomcat server isn't shutting down cleanly at the end of the MXUnit run. I believe this is an issue with the version of ActiveMQ we are using. Since I don't think we want to update ActiveMQ on this branch force killing the Tomcat server will workaround the problem.
    Modified Paths:
        blazeds/branches/4.0.0_fixes/qa/apps/qa-regress/testsuites/config/build.xml

    Hi,
    Thanks for the reply. I have tried this on another machine running the same version of Blackboard. It works fine.
    Only difference is that the machine that has the JVM crash is running on Fujitsu PrimePower and the OS is Solaris 9 (but twigged for PrimePower).
    The one where it runs and starts up successfully is running on SunFire (OS is Solaris 10).
    I am wondering if there is a problem with the JVM loading required libraries because of the OS being different versions.
    Any leads on this is welcomed. Thank you.
    Regards,
    Hon Peng
    ===================
    On Fujitsu Primepower
    SunOS 5.9 Generic_118558-33 sun4us sparc FJSV,GPUS
    the Dependencies for libjvm.so are as follows:
    ===================
    bash-2.05$ ldd -r libjvm.so
    libsocket.so.1 => /usr/lib/libsocket.so.1
    libsched.so.1 => /usr/lib/libsched.so.1
    libdl.so.1 => /usr/lib/libdl.so.1
    libCrun.so.1 => /usr/lib/libCrun.so.1
    libm.so.1 => /usr/lib/libm.so.1
    libthread.so.1 => /usr/lib/libthread.so.1
    libc.so.1 => /usr/lib/libc.so.1
    libnsl.so.1 => /usr/lib/libnsl.so.1
    libmp.so.2 => /usr/lib/libmp.so.2
    /usr/platform/FJSV,GPUS/lib/libc_psr.so.1
    =====================================
    On SunFire, Sun machine
    SunOS 5.10 Generic_118833-36 sun4u sparc SUNW,Sun-Fire-280R
    the dependencies are different for the libjvm.so:
    =====================================
    bash-2.05$ ldd -r libjvm.so
    libsocket.so.1 => /lib/libsocket.so.1
    libsched.so.1 => /usr/lib/libsched.so.1
    libdl.so.1 => /lib/libdl.so.1
    libCrun.so.1 => /usr/lib/libCrun.so.1
    libm.so.1 => /lib/libm.so.1
    libthread.so.1 => /lib/libthread.so.1
    libc.so.1 => /lib/libc.so.1
    libnsl.so.1 => /lib/libnsl.so.1
    libmp.so.2 => /lib/libmp.so.2
    libmd5.so.1 => /lib/libmd5.so.1
    libscf.so.1 => /lib/libscf.so.1
    libdoor.so.1 => /lib/libdoor.so.1
    libuutil.so.1 => /lib/libuutil.so.1
    /platform/SUNW,Sun-Fire-280R/lib/libc_psr.so.1
    libm.so.2 => /lib/libm.so.2
    /platform/SUNW,Sun-Fire-280R/lib/libmd5_psr.so.1

  • Vi server killed his child when the server is ready

    I use a VI-server (parent vi) to start another VI (child). This child VI stay running while the parent stop. At this moment the parent kill his child too. How can I avoid this?

    Which LV version do you use ? I remeber there was a bug that prevented the
    child to stay running in 6.0; upgrade to 6.0.2 if needed.
    Jean-Pierre Drolet
    "RCMCVU" a écrit dans le message news:
    [email protected]..
    > But how can I avoid that the child would be killed when the front
    > panel of the child is closed. I think that this situation is
    > different, because it doesn't work.
    LabVIEW, C'est LabVIEW

  • An alternative to the buggy e2200 Killer Ethernet Driver/Software (GE60)

    After several crashes related to the bad Bigfoot Killer Ethernet software and driver, I decided to dig a little deeper.
    Most people will be able to tell you that the "Killer Ethernet" is fairy pointless, I didn't buy the laptop for it at any rate.
    It's worse than pointless when it causes system instability and crashes.
    After a little research I determined that the "Qualcomm Atheros llama Ke2200 Series PCI-E Ethernet Controller" is actually a "Qualcomm Atheros AR813X/AR815X/816X Series PCI-E Ethernet Controller"
    Specifically it's a slightly modified AR8161 Gigabit Ethernet [1969:1091].
    As such you can download newer, unmodified drivers from Atheros directly, just google for: atheros+download and visit the first link.
    On the Atheros site under "AR816X Family Drivers" choose the "WIN_AR816X" option from the dropdown box.
    However, the vendor and device ID won't match, so you'll need to do the following to install it.
    Keep in mind that these are raw drivers, they're work perfectly, but include none of the fancy (useless) "Killer" software features.
    Lets get started!
    Download the file above and extract it to a temporary location.
    First, (because removing the killer Ethernet software is part of the goal here) you should go to control panel and uninstall the existing bigfoot killer Ethernet package from "Programs and Features".
    1) Head to control panel and open "Device Manager".
    2) Under "Network Adapters" right click on the e2200 Killer network card and choose "Update Driver Software".
    3) Click "Browse my computer for driver software".
    4) Click "Let me pick from a list of device drivers on my computer.
    5) Click "Have Disk".
    6) Click "Browse"
    7) Find the folder you extracted and navigate to "AR813x_AR815x_AR816x_v2.1.0.15_WHQL\Common_Dri\Win8_64"
    8) Select "L1C63x64.inf" and click Open, then OK.
    9) From the list of drivers choose "Qualcomm Atheros 8161 PCI-E Gigabit Ethernet Controller (NDIS 6.30)"
    10) Choose "Yes".
    11) Now choose "Close".
    In Control Panel your network card will now be called "Qualcomm Atheros 8161 PCI-E Gigabit Ethernet Controller (NDIS 6.30)"
    You're now running the latest Atheros driver for your rebranded Atheros AR8161 Ethernet Card.

    Quote from: mish on 10-April-13, 17:48:06
    After several crashes related to the bad Bigfoot Killer Ethernet software and driver, I decided to dig a little deeper.
    Most people will be able to tell you that the "Killer Ethernet" is fairy pointless, I didn't buy the laptop for it at any rate.
    It's worse than pointless when it causes system instability and crashes.
    After a little research I determined that the "Qualcomm Atheros llama Ke2200 Series PCI-E Ethernet Controller" is actually a "Qualcomm Atheros AR813X/AR815X/816X Series PCI-E Ethernet Controller"
    Specifically it's a slightly modified AR8161 Gigabit Ethernet [1969:1091].
    As such you can download newer, unmodified drivers from Atheros directly, just google for: atheros+download and visit the first link.
    On the Atheros site under "AR816X Family Drivers" choose the "WIN_AR816X" option from the dropdown box.
    However, the vendor and device ID won't match, so you'll need to do the following to install it.
    Keep in mind that these are raw drivers, they're work perfectly, but include none of the fancy (useless) "Killer" software features.
    Lets get started!
    Download the file above and extract it to a temporary location.
    First, (because removing the killer Ethernet software is part of the goal here) you should go to control panel and uninstall the existing bigfoot killer Ethernet package from "Programs and Features".
    1) Head to control panel and open "Device Manager".
    2) Under "Network Adapters" right click on the e2200 Killer network card and choose "Update Driver Software".
    3) Click "Browse my computer for driver software".
    4) Click "Let me pick from a list of device drivers on my computer.
    5) Click "Have Disk".
    6) Click "Browse"
    7) Find the folder you extracted and navigate to "AR813x_AR815x_AR816x_v2.1.0.15_WHQL\Common_Dri\Win8_64"
    8) Select "L1C63x64.inf" and click Open, then OK.
    9) From the list of drivers choose "Qualcomm Atheros 8161 PCI-E Gigabit Ethernet Controller (NDIS 6.30)"
    10) Choose "Yes".
    11) Now choose "Close".
    In Control Panel your network card will now be called "Qualcomm Atheros 8161 PCI-E Gigabit Ethernet Controller (NDIS 6.30)"
    You're now running the latest Atheros driver for your rebranded Atheros AR8161 Ethernet Card.
    There isnt anything to download here.

  • How to stop Execution of Queries when the Browser closed in middle?

    Hi,
    I have JSP search page, which takes search parameters from previous page runs queries and display the results. I am using connection pool to connect to AS400 database.
    The problem I am facing is... The query still runs on database server, when the user closes browser before getting the search results.
    I am closing all my statements and returning connection to pool at the end of the JSP page.
    Is there any way to terminate the execution of the queries, when the user closes browser?
    Thanks in advance.

    Allright.
    As you know there is no direct way to catch that event, you will have to do this workaround :
    1. Create a class which implements HttpSessionBindingListener. The valueUnbound method will have flag or code to stop running query.
    2. Instantiate this in your search page, and add it into session.
    3. Add javascript in search JSP to access another(dummy) JSP on unload event(to catch browser closing) something like:
    function unload()
    location.href = "/kill.jsp";
    4. The code in dummy JSP will remove the object from session, and will fire valueUnbound method.
    Let me know if this helps.
    -Mak

  • How to tell when the interface is down and was last active.

    Is there a function within Cisco Prime Infrastructure 2.0 (2.0.0.0.294) that will display the last time that an interface was active? Our end switch hardware is as follows C2960s-48fps and C3750-48PS-S.
    See below for command and command output from the console of one of our switches.
    C2960s-48fps#show int gi1/0/6 | include Last | proto
    GigabitEthernet1/0/6 is down, line protocol is down (notconnect)
    Last input never, output 1w6d, output hang never
    Above is an example of one interface but can this be accomplished for all interfaces on the said switch?
    Thanks
    Message was edited by: Bobby Sasser The following is the response that Cisco TAC sent. Not happy with this answer! Unfortunately , Prime doesn’t collect those precise information. So apparently you won’t be able to poll that information from the device.

    You have not posted to code for Stopper, so it's impossible to reason about that
    1. How can I tell when thread is finished?
    Use Thread.Join() or Thread.isAlive()
    2. How do I kill this thread once it is finished?
    You can't and you don't. Just let the method the thread is running exit normally. Sometimes that means putting in a boolean variable to control a loop, and then exiting when the boolean is false.
    Another thought - you could set the thread as a Daemon thread - when you don't have any non-daemon threads running, java will exit.

  • Log a message when the buffer has been overwritten?

    Is there a way to configure the IOS to log a message when my configured buffer is full and the oldest log entry gets overwritten?
    Logging buffered 32768

    endasil wrote:
    I agree with baftos that a screen saver is a brilliant and simple way to handle this. I don't think for your purposes you need to use JNI though. This is how I would lay it out:
    2 Programs:
    -Listener
    -ScreenSaver
    The listener's only function is to continuously loop, (utilizing Thread.sleep() to not take up much in terms of resources) checking for the existence of some dummy file on your system, say C:\Temp\inactive. If the file doesn't exist, the program increments your study time by however long it's been since it last checked.
    The screensaver is just a small native (you could do this in VB in just a few lines of code) app which blanks the screen, and exits on a mouse move or keyboard event. When the Screensaver starts, it creates C:\temp\inactive. When it exits, it deletes that file.
    JNI would probably be more stable (for instance, if your screensaver is killed by forcibly killing the process, you'd be screwed), but it also has a learning curve. Using a dummy file, on the other hand, is an indirect but fairly simple way of passing messages between programs (another way is to ping a local port, I believe, which should also work).The file idea makes me think that this is a lot simpler. The screen saver writes the file like this:
    Started: 10:00:25-blabla (whatever time date format)
    Stopped: ...
    Started: .......
    Stopped:......
    The Java program is run only when you want a report. A simple java application that grabs the file and does whatever it
    wants with it.
    Edited by: baftos on Dec 7, 2007 4:54 PM

  • Has anyone figured out how to stop the 1022 from killing the spooler?

    It used to be that when I'd print a PPT the spooler would crash and then none of my devices/printers worked.  I never happened when the 1022 was unplugged.
    Now, the 1022 kills the spooler as soon as I install it.    I've see a number of discussions but no solution yet.  I could really use some help.
    Thanks.

    Not yet....
    Bob Headrick,  HP Expert
    I am not an employee of HP, I am a volunteer posting here on my own time.
    If your problem is solved please click the "Accept as Solution" button ------------V
    If my answer was helpful please click the "Thumbs Up" to say "Thank You"--V

  • Should I disconnect the charger once the battery is 100% full. Or can I use the laptop plugged even when the battery is full., Should I disconnect the charger once the battery is 100% full. Or can I use the laptop plugged even when the battery is full.

    Should I disconnect the charger once the battery is 100% full. Or can I use the laptop plugged even when the battery is full., Should I disconnect the charger once the battery is 100% full. Or can I use the laptop plugged even when the battery is full.

    You can leave the charger plugged in, as you cannot overcharge...charging automatically stops when your battery is full. Once every 2 ~ 3 months, its a good idea to drain the battery to about ~ 40%, then recharge to full. Otherwise, you can charge whenever you like & leave connected whenever you like.
    Try to avoid full battery discharges, Lithium batteries don't like that & frequent full discharge/recharge cycles will eventually kill your battery.

  • How to know when the JComboBox popup is about to show or hide?

    Hi all,
    In JDK 1.4, a new addPopupMenuListener() was added to the JComboBox component. I found out I have to use JDK 1.3, but I already wrote a lot of code around this particular capability. I am trying to figure out how to duplicate it in JDK 1.3. I need to know BEFORE and AFTER the popup is displayed. OR, is there a way with JDK 1.3 that as soon as they click the combo box, it fires an event. The thing is, as soon as they click it, I want to change the background color. When they are done selecting, I can use an ActionListener or ItemListener to find out what was selected and change the color again. My killer is trying to figure out how to know when they have selected the box. I tried adding MouseListener, PropertyChangeListener, AncestorListener. None are doing a thing when the JComboBox is first selected.
    Any help would be much appreciated.
    Thank you.

    Hi all,
    In JDK 1.4, a new addPopupMenuListener() was added to the JComboBox component. I found out I have to use JDK 1.3, but I already wrote a lot of code around this particular capability. I am trying to figure out how to duplicate it in JDK 1.3. I need to know BEFORE and AFTER the popup is displayed. OR, is there a way with JDK 1.3 that as soon as they click the combo box, it fires an event. The thing is, as soon as they click it, I want to change the background color. When they are done selecting, I can use an ActionListener or ItemListener to find out what was selected and change the color again. My killer is trying to figure out how to know when they have selected the box. I tried adding MouseListener, PropertyChangeListener, AncestorListener. None are doing a thing when the JComboBox is first selected.
    Any help would be much appreciated.
    Thank you.

  • How do you passivate/remove a bean when the client has crashed ?

    Hi,
    I'm trying to figure out how to deal with a 'hanging' stateful bean. The problem arises when a client is killed abruptly, while the bean is in the middle of a transaction. The result is that the bean stays active in cache, and doesn't get removed or passivated. I've tried changing various timeout settings, but none of them seem to do the trick.
    Using stuckthreadmaxtime works (sometimes) in reporting the event, but I don't see how to make it do anything useful after that.
    How can I get weblogic to remove beans that have been in memory over a certain amount of time, regardless of their state of activity ? And is there some way of doing this that would call the bean's passivate/remove function so I can include a call to roll transactions back ?
    Thanks,
    Leif

    Well, I believe SFSB are pinned in the cache while they actively in a transaction.
    I believe the default tx timeout is 30 seconds. Did you increase that value?
    -- Rob
    WLS Blog http://dev2dev.bea.com/blog/rwoollen/

  • HT1933 I have a problem in the game Contract Killer 2 (Glu Games Inc.)

    I have a problem in the game Contract Killer 2 (Glu Games Inc.)
    This application does not function as expected
    I bought a package 4.99$
    My account was debited. But the game does not give me credit.
    Please help my credit or help refund for me.

    Hi Kiwiil,
    Sorry to hear you are having issues with your iTunes Store purchase.   The following information should help you with this:
    How to report an issue with your iTunes Store, App Store, Mac App Store, or iBookstore purchase
    http://support.apple.com/kb/HT1933?viewlocale=en_US
    Find the email receipt for your purchase.
    Click Report a Problem under the app that is having the issue.
    When prompted, enter the Apple ID and password you used to purchase the item, then click Report a Problem.
    Click Report a Problem next to the item you are having an issue with.
    From the Choose Problem dropdown menu, choose the appropriate issue.
    Follow the onscreen instructions and—if prompted—type a description of the problem into the text field.
    Click Submit to have your issue reviewed.
    Hope this helps ....
    - Judy

Maybe you are looking for

  • You cant sign in to your pc right now

    I have been locked out of my pc. I purchased a new hp laptop yesterday, set up a local password. hooked it up to the internet downloaded a free trial version of microsoft office. then when i turned my computer off and went to log in again it had chan

  • Idoc to soap scenario - soap response error

    hi i am using pi 731 single stack. the scenario is idoc to soap. the message mapping is working fine and output is generated successfully. the message is failing in mesage monitor and communication channel monitor. error is - Exception caught by adap

  • Applications Info Is Not Showing Up in the System Profiler

    My applications info is not showing up in the new system profiler. I get the message "no information found". Any help would be appreciated.

  • HT4436 how to use icloud in an android device.

    how to use icloud in an android device?

  • Project Status Report - cProjects 4.0

    Hi all, I am using cProjects 4.0. After selecting the PDF Print form DPR_STATUS_REPORT_AIF for the project type and marking 'Active' and 'Status' report checkboxes, when I go to create Status reports, I can see the template "Project Status Report". H