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/

Similar Messages

  • How do you reset apple ID password when the safety email address is no longer active?

    How do you resent Apple ID password when the safety email address is no longer active?

    The Best Alternatives for Security Questions and Rescue Mail
        a. Send Apple an email request at: Apple - Support - iTunes Store - Contact Us.
        b. Call Apple Support in your country: Customer Service: Contact Apple support.
        c. Rescue email address and how to reset Apple ID security questions.

  • How do you exit a game from full screen mode when the game has crashed?

    Hey there
    There has seriously got to be a better way of exiting a crashed game than just turning the power off.
    I sometimes play Sims 3 on my mac, and we all know that Sims 3 is the most poorly coded game out there, so it crashes a lot. I don't understand how you can get out of the full screen without switching the machine off the wrong way.
    I have tried every single keyboard command people say to exit full screen mode, but they don't work when the game has crashed! In fact pressed every single button on the keyboard to try and exit, but nothing works.
    On Windows it's so simple, you press the start button on the keyboard, but on a mac it doesnt work.
    So any help to what i can do?
    Thanks

    Force quit just the game itself.
    Command + option + esc
    It's like control + alt + delete on Windows.

  • HT5312 how do you reset your security questions when the rescue email address no longer exists?

    how do you reset your security questions when the rescue email address no longer exists?

    Didn't the link to contact the iTunes Store staff in the 'Additional Information' section of that article work for you? If you don't already have a valid rescue email address, only Apple itself can reset the questions.
    (90823)

  • How do you turn off an iphone when the usb to itunes is diplayed on the screen

    How do you turn off an iphone when the usb to itunes is displayed on the screen and it wouldn't shut off

    Jerry4321a wrote:
    How do you turn off an iphone when the usb to itunes is displayed on the screen and it wouldn't shut off
    You cannot...
    You need to Connect to iTunes on the computer you usually Sync with and “ Restore “...
    http://support.apple.com/kb/HT1414
    If necessary Place the Device into Recovery mode...
    http://support.apple.com/kb/HT1808
    Note on Recovery Mode.
    You may need to try this More than Once...
    Be sure to Follow ALL the Steps...

  • How do i get an itunes library from a phone when the computer has crashed and it needs to go on a new computer

    How do i get an itunes library from a phone when the computer has crashed and it needs to go on a new computer

    1) ensure iTunes is authorized for your iTunes store account(s)
    2) connect your device and right-click or control-click it in the iTunes Source list, then choose transfer purchases from the shortcut menu that appears.
    3) sync the device
    iTunes will wipe the iPhone but, since you transferred your purchases in the previous step, your content will be in your library and you can re-populate the iPhone with it.
    above works for purchases from the iTunes store. for everything else, check out this post by Zevoneer.

  • How can i lookup a session bean from the client side

    how can i lookup a session bean from the client side...........i am using sun appserver..............
    this is my code.................[B]
    private final static String JNDI_NAME="ejb/LmsBean";
    private static String url="ldap://localhost:4848";
    Hashtable h=new Hashtable();
    h.put(Context.INITIAL_CONTEXT_FACTORY,"com.sun.jndi.ldap.LdapCtxFactory");
    h.put(Context.PROVIDER_URL,url);
    System.out.println("Before Loading Context in Delegate");
    Context ctx=new InitialContext(h);
    System.out.println("Loaded Context in Delegate");
    Object obj=ctx.lookup(JNDI_NAME);
    System.out.println("Loaded Object in Delegate");
    System.out.println("Before Loading Home in Delegate");
    LmsHome home = (LmsHome )PortableRemoteObject.narrow(obj,com.parx.lms.controller.LmsHome.class);
    System.out.println("Loaded Home in Delegate");
    lms = home.create();
    System.out.println("Loaded remote in Delegate");
    [B]and i got the exception........
    Inside Client before calling delegate
    Before Loading Context in Delegate
    javax.naming.CommunicationException: Request: 1 cancelled
    javax.naming.CommunicationException: Request: 1 cancelled
    at com.sun.jndi.ldap.LdapRequest.getReplyBer(LdapRequest.java:60)
    at com.sun.jndi.ldap.Connection.readReply(Connection.java:405)
    at com.sun.jndi.ldap.LdapClient.ldapBind(LdapClient.java:340)
    at com.sun.jndi.ldap.LdapClient.authenticate(LdapClient.java:171)
    at com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2640)
    at com.sun.jndi.ldap.LdapCtx.<init>(LdapCtx.java:290)
    at com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(LdapCtxFactory.java:175)
    at com.sun.jndi.ldap.LdapCtxFactory.getUsingURLs(LdapCtxFactory.java:193
    at com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstance(LdapCtxFactory.ja
    va:136)
    at com.sun.jndi.ldap.LdapCtxFactory.getInitialContext(LdapCtxFactory.jav
    a:66)
    at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:6
    62)
    at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243
    at javax.naming.InitialContext.init(InitialContext.java:219)
    at javax.naming.InitialContext.<init>(InitialContext.java:195)
    at com.parx.lms.lmsdelegate.LmsDelegate.getController(LmsDelegate.java:3
    0)
    at com.parx.lms.lmsdelegate.LmsDelegate.addUserDelegate(LmsDelegate.java
    :50)
    at com.parx.lms.client.consoleClient.Client.main(Unknown Source)
    pls go tru the exception and pls help.........

    That url string should be having the server name or ip instead of localhost.

  • HT3597 how do you deactivate voice control so when the phone is in your pocket, you can play music without it stopping all the time??

    how do you play songs uninterupted when the phone is in your pocket?

    Tap Settings, tap General, tap Passcode Lock, tap Turn Passcode On. When that is enabled, below there is an option to toggle Voice Dial on or off (note: Music Voice Control is always enabled). Unfortunately, if you do not want Passcode Lock on, you cannot disable this feature.
    Source: http://ipod.about.com/od/phonefeatures/ss/Using-Iphone-Voice-Control.htm

  • How do you back up your phone when the screen is broken and the phone is locked?

    My screen is no longer functional. I am going to take it to the apple store for a replacement byt I would like to back up my files first. When I try to do it my computer tells me I can't without the phone being unlocked. Is there anything I can do?

    Sorry. you don't. If you use the same computer you normally sync with, you would not be prompted for the passcode unless you set the passcode since the last time you synced it.

  • How do you hook up apple TV when existing TV has one HDMI already in use for satellite

    My TV has one HDMI outlet.  Its being used to hook up to my satellite box.  When I unplug, I lose picture.  I thought I could may be hook Apple TV into satellite box, but that also only has one HDMI outlet.  Does anyone know how to hook up Apple TV with this set up?  TV is a Sony KDF-50WE655 and I think is about 8 yrs old.  Satellite box is DirecTV HD DVR (not sure which model).
    Just bought my Apple TV, so think it is Apple TV3.
    Appreciate any help anyone can provide, thanks!

    Welcome to the Apple Community.
    You would to use an HDMI switch.

  • TS1367 How do you get computer to respond when the track ball halts all operation

    How do I make this rainbow track ball disappear?

    Remove old Apple programs, and use Explorer web-browser. (Firefox or Chrome will not do)

  • How do you reply to support email when the email states do not reply

    HHi I have a email from support and it ask me to update but the email is a no reply email how do I get my email back to support,
    PPlease pass this on to your support people
    Your Adobe ID:[email protected]
    Your Case Number:0213131399
    Case Description:Activation Issue
    Hi,
    I am not asking you to support it, I just want it activation so I can use it like I have been doing for years, it is not my fault you have turned off the activation software for my software, it is your fault, if you can not to activate it, you should give me free software that you can activate.
    Regards Roy lamonby, Sent from my iPad
    Your Adobe ID:[email protected]
    Your Case Number:0213131399
    Case Description:Activation Issue
    Hi,
    I am not asking you to support it, I just want it activation so I can use it like I have been doing for years, it is not my fault you have turned off the activation software for my software, it is your fault, if you can not to activate it, you should give me free software that you can activate.
    Regards Roy lamonby, Sent from my iPad

    We are not Adobe.  This is a user to user forum.  We are just users like you trying to help others.
    Scroll down to "Chat now":
    http://helpx.adobe.com/x-productkb/policy-pricing/activation-deactivat ion-products.html#chat

  • How do you get to a component when the layout is very complex

    I am using a gridlayout right now to act as a maze. In my case, I want to draw red squares for a particular solution to a maze, and in my case it is somewhat easy since I can just multiply the row by the columns but in a situation where the components are in a GridBagLayout or some other layout that is just a mishmash. Would somebody just count sucessively even if there were 20 or so components within the layout? Or is there a better way like naming your components or something, so they can be retrieved easier. This question is just for future reference. Thanks

    All Component classes have a "name" property. However, I do not know of an easy way to find a component by name, other than manually navigating the component tree. You might want to store references to your components into a HashMap.

  • How do you stop photoshop from flickering when the graphics processing mode is set to basic? (Using windows 8)

    I am using Photoshop CC (2014) and I can not get the screen to stop flickering even when I set the graphics processing drawing mode to basic ( which is what other people have suggested to do). I am using windows 8.

    Update your video card driver from the GPU maker's website.

  • How do you reset an ipod touch when a child has locked it up?  we cant even access the screen to enter passcode. ipod is disabled and ask to connect to itunes but itunes asked to unlock

    my niece's touch is disabled due to a child trying to unlock it too many times. we connected it to itunes but it asks to unlock it. we cant even access the passcode screen to try to unlock it. it locked up months ago and has been abel to use it and she dont knoe the password to her email account to receive communication from itunes or apple so we esstablished a new account but cant connect hte device to the aplle id account. any suggestions?

    Place the iPod in Recovery Mode and restore via iTunes.
    iOS: Wrong passcode results in red disabled screen

Maybe you are looking for

  • Lost all Calendar events =(

    Hi everybody, I was adding an event to my Calendar app when it "crashed" and went to my home screen. I opened the app again and all of my events were gone like it was set to factory defaults. I had a ton of stuff in there. My questions are: 1) Do you

  • Why does it say that the version has not been correctly localized for my language when I try to open it?

    I am trying to open my itunes on my windows computer. It won't open and a box appears that says " The version of iTunes has not been correctly localized for this language. Please run the english verson."

  • What is required to use JAXM?

    Hello, I have release 3 of Oracle App Server. I understand that this has support for JAXM. However, I am having trouble finding the jars that provide this functionality. Do i need to download any extra jars? Any help in this matter would be greatly a

  • Query from mySQL java.lang.NullPointerException

    I have compile and run the following code but it was an error (java.lang.NullPointerException) when I click the loginButton. Please help me, I don't know how to solve the problem. /* * Main.java * * Created on February 19, 2008, 2:50 AM */ package da

  • Time capsule doesnt work with telia bredband no wifi

    Time capsule doesnt work with telia bredband no wifi.  Time capsule and its wifi worked in the beginning, but now it doesnt. I have tried everything without success.