JApplet's stop() not called

Hi All,
My JApplet's stop() method is not called from IE, Chrome or Safari when I switch tabs, but is called along with the destroy() method when I close the tab that includes the applet.
Could you please let me know why this behavior occurs? In the tutorials, it is mentioned that stop() will be called to release resources when the user is not viewing the applet (hence when he/she switches tabs) and I need it for the applet.
Any links or workarounds are very welcome. Thank you.
Kind Regards,
S. Gokhan Topcu

In the tutorials, it is mentioned that stop() will be called to release resources when the user is not viewing the applet (hence when he/she switches tabs) and I need it for the applet.No, that isn't mentioned at all.
What it actually says is this: 'When the user leaves the page, for example, to go to another page, the browser stops and destroys the applet.'
That's not the same thing as 'when the user is not viewing the applet', by a long shot.
In the Javadoc for stop() it says 'It is called when the Web page that contains this applet has been replaced by another page, [my emphasis] and also just before the applet is to be destroyed.'

Similar Messages

  • XAResource.stop not called on shutdown

    It seems that the stop method isn't called during an orderly shutdown of the J2EE 1.4 app server. I execute "Stop Default Domain". However, it is called when I stop it via Deploy Tool and als during redeploy.
    Is there something to configure?
    Problem is that SwiftMQ is started intraVM within the app server. It is started via XAResource.start and stopped in the stop method. If the latter isn't called, SwiftMQ is hard stopped and runs through the recovery procedure each time it starts up.
    -- Andreas

    I think, you mean resourceadapter.stop() and not
    XAResource.stop.Ooops. ;-) Of course, I meant ResourceAdapter...
    It is a bit tricky to do RA.stop when appserver gets
    shutdown. Typically RA.stop will be called only when
    the resource adapter is undeployed.
    It is tricky to call RA.stop while shutting down,
    since a RA might potentially hang at RA.stop and thus
    can fail the appserver shutdown.
    So, it is intentionally not called while appserver
    shuts down.
    What is your view?I would prefer to have an option to configure it. The default should be that stop is called. I guess the spec requires that or not?
    With SwiftMQ we have 2 different deployment options of our RA (and 2 different rar files with predefined properties). One option is to use an external SwiftMQ router. Here it is fine if you don't call the stop method because the RA is stateless and the SwiftMQ router is external. However, the other option is to run a SwiftMQ router intraVM, it is started during the RA.start method and is shut down during the RA.stop method. Since a SwiftMQ router writes a last check point on its tx log during an orderly shutdown, it is important that RA.stop is called otherwise this would be a hard crash for SwiftMQ and requires to run through the recovery procedure during startup.
    -- Andreas

  • TS3406 Everytime is restart or update my iPhone 5s it stops making calls, i tried the air plain mode toggle & to reset thenetwork setting, it's not working !! What should i do ??

    Everytime is restart or update my iPhone 5s it stops making calls, i tried the air plain mode toggle & to reset thenetwork setting, it's not working !! What should i do ??

    If it has been officially unlocked, it will stay unlocked after an update:
    iPhone: About unlocking

  • How to return out of a subVI into a calling VI and not stop the calling function

    I am writing a program that consists of a calling VI and a sub VI. I want the calling function to be running continuously and be able to trigger the sub VI (via voice activation). I want the sub VI to time out automatically after 10 seconds and return to the calling (master) VI, which will continue running until the sub VI is called again.
    I found a way to time out the sub VI using the "stop" command, but this quits the calling VI too, which cannot happen. I know there is no "return" or "soft stop" in LabVIEW, but does anyone know a way to do this?
    Solved!
    Go to Solution.

    I am a student working on a project involving voice activation. the overall idea is to have a person say a command (like go or something) that then gives them a 10 second window to say other commands and have them recognized by the program. The idea is to eliminate false positives by nesissitating a calling command that is not spoken very often, and then having 10 seconds to activate what we are trying to vocally control. I hope that helps clarify the intent of the program.
    I was using a flat structure just because I sucessfully got the sub VI to time out using a flat structure with a boolean false on one side with a wait of 10 seconds, then a boolean true on the other that triggered a stop. this successfully ran the sub VI for 10 seconds and then stopped it; however, it also stopped the calling VI which is my problem. right now, I have a while loop in the calling VI that contains an elapsed time timer and the sub VI and it works (kind of). it sucessfullly calls the sub VI, but not for any given amount of time. it changes each time it runs; sometimes it stays running for 10 seconds before returning to the calling VI, sometimes it just flashes, and sometimes it just doesn't return. I am also experimenting with mathscript code.
    My partners and I are all new to labVIEW, so if something seems less than optimal, it is because of our inexperience.
    Thanks again for your help.

  • IPhone 4 iOS 5.0.1 stops receiving calls and text messages

    Hi all,
    My iPhone 4 (iOS 5.0.1) suddenly stopped receiving calls and text messages. However, I'm still able to send them.
    The workaround for fixing this issue is to make an hard reset to the iPhone.
    This only occured with 5.0.1 version. It's very annoying because I'm not able to know if it's working or not (I can only suppose that it's not working when I'm a long period without receiving calls/messages)
    Do you know how to solve this ?
    Thanks in advance!

    JasminGomez wrote:
    I already hate iphones and I'm reconsidering my blackberry again because at least that one didn't fail me like this one does!
    First, who really cares what you do?  I certainly don't, and I doubt the vast majority of users on this forum don't either.  Ridiculous statements like that just make you look stupid.
    Second, this is a user to user technical support forum.  I saw a lot of whine here, not a question.  What is your technical support question?

  • Decode function not called for a custom component

    I know this problem happened in the past - in the EA2, EA4 and I believe the beta version as well, but does anyone know if it has been solved for the release ?
    In short - I'm working with the release, created a menuBar component and the decode method in the renderer is not called after I submit the page. In the past, there were rumors that this happened due to relative paths in the JSP (for js files, images, etc.).
    Does anyone else have this problem ? or better , know how to solve it ?
    Thanx,
    Netta.

    It's not that simple - The component is getting rendered, all the encode methods are called and the decode is called also , but only the first time the form is submitted.
    I added this custom component to the guessNumber application, and I have a menuBar in the greeting.jsp that leads to the response.jsp and vice versa. it looks like this in the greeting.jsp page -
    <!-- Start Menu -->
    <t:MenuBar id="bar1" styleClass="myClass" >
    <t:Menu id="menu1" name="menu1">
    <t:Menu id="menu2" name="menu2">
    <t:MenuItem id="item2_1" name="item2_1" action="/mytest/guess/response.jsp"/>
    <t:MenuItem id="item2_2" name="item2_2" action="http://www.msn.com"/>
    <t:Menu id="menu3" name="menu3">
    <t:MenuItem id="item3_1" name="item3_1x" action="http://www.msn.com"/>
    </t:Menu>
    </t:Menu>
    </t:Menu>
    <t:MenuItem id="item3" name="item3" action="http://www.cnn.com"/>
    </t:MenuBar>
    <!-- End Menu -->
    In the response it looks like this -
    <!-- Start Menu -->
    <t:MenuBar id="bar2" styleClass="myClass" >
    <t:MenuItem id="item3" name="item3" action="/mytest/guess/greeting.jsp"/>
    </t:MenuBar>
    <!-- End Menu -->
    and every time a menuItem is clicked on, the JS calls submit form.
    Since the menus are rendered, I assume there's nothing wrong with the rendererType and any other renderer problem. Since the decode is called only once, I assume the right form is being submitted.
    So, what can cause it to stop calling the decode ???
    Could it be that becase I go directly to the page and not through the navigation rules ( I call window.open directly from the JS), it creates a problem ??
    Please help, I've been wasting so much time on this !
    Netta.

  • After SRM 5.0  upgrade BBP_DRIVER_DETERMINE not calling properly?

    Hello,
    We have upgraded our system from SRM 4.0 to SRM 5.0.Before upgrade we are using BBP_DRIVER_DETERMINE to determine function to create PO. If is b470_po_create function then use zb470_p0_create function.
    After upgrade we have tested and found that zb470_p0_create is not calling. We put a brakpoint in the implementation of BBP_DRIVER_DETERMINE it will never stop there. Before it was stopped there.
    Can any one have flow how PO will create in backend system in Calssic scenario please share(with function module and BADI names).
    Please tell me flow after click on order in SC  how PO will create in backend.
    Please let me know ASAP..bcoz it is urgent..

    Hello venkatesh,
    The standard process flow as far as i know are  as below:
    1. once you order teh shopping cart the workflow asscociated  get triggered  and shopping cart would go through approval process.
    2. Once the shopping cart is approved  the status is set to released.
    3. With the change of stauts "BBP_REQREQ_TRANSFER is triggered.
    4.BBP_REQREQ_TRANSFER internally calls BBP_PD_SC_TRANSFER_INTERNAL for new structure(version of SRM)
    5.Badi is called to group the PO if implemented else standard way fo SRM for grouping of PO iscarried.
    6.Then SPOOL_PO_CREATE is triggered for backend PO creation.
    7. Then  FM META_PO_CREATE is called.
    8 Then FM META_BAPI_DISPATCH is  called.
    9. Inside FM META_BAPI_DISPATCH u have the  BAPI  BBP_DRIVER_DETERMINE Called. if this  badi is implemented  it will go to implementation of badi and overwrite the FM name  with  Function module that SAP determine from table "BBP_FUNCTION_MAP".
    request you to put a break point at META_BAPI_DISPATCH and check  why its not going to your BADI implementation.
    10. then the function module from "BBP_FUNCTION_MAP or you badi implementaion is called and proceesed further to result in PO.
    If for some reason  the "SPOOL_PO_CREATE" fails  then a spool job is created  which spools the creation of PO for later  time.
    Hope this is useful to you .
    Reward point if helpful.
    Cheers
    Iftekhar Alam

  • How can I block unwanted calls? (Besides Do Not Call List)

    We just moved into our new home and have Verizon's home phone service (and everything else). In less than the month we've been here we've been BOMBARDED by HUNDREDS of solicitors! Half are non-profits, half biz/telemarketers.They're all unwanted (I don't even do charities over the phone). I've never been so overwhelmed with unwanted calls before! (Must be a California thing? We just moved here from Seattle). Our number is on the National Do Not Call registry, but of course that doesn't stop the non-profits, charities and politicians from calling (they're excluded). Nor does it stop the ones who just don't care. I see that Verizon no longer provides the option of blocking unwanted numbers, and it also discontinued the Do Not Disturb feature. There used to be other options from many of the various phone providers to block all calls except those on a pre-approved list of your choosing. Why aren't these options available to us anymore???
    I'm thinking... with all this advanced technology...  there MUST be some way to block all those unwanted calls!!??!!
    Does anyone have any suggestions?
    Thanks!

    Hello rednorsk
    There are a couple of options, including one that is on done through your account online, or by calling customer service and requesting the block.  Customer Service can tell you how many of these blocks can be done for free, and whether you will need a specific plan to cover more.
    Here is a thread on just your issue.
    Regards,
    ElizabethS

  • Button actions not called.

    I have a fairly complicated edt page (lots of data entry components and 3 tables) with a save and a reset button. Somewhere along the line the button actions stopped being called when I click a button in the browser. The buttons' Events-Action properties are set properly. I have a breakpoint set on the first line of the action method, but in debug mode I never get to the breakpoint.
    I even added a new button with its own action but it does not get called either.
    No virtual forms. I've run Clean and Build on the project. Stopped and started the server, closed and reopened the IDE. Nothing changes.
    I created a new test page with a single button. It works fine.
    Any other ideas?

    Do you have a message group component on the page?
    If the page was working but now has stopped, it could be that some component is not passing conversion or validation. If you don't have a message associated with the component or a message group component on your page, and some component is generating a runtime error, you won't know about it.
    Also, if you right-click the server node and choose View Server Log, you can see if the server is emitting any runtime error messages.

  • "start" not called for Custom Login Command

    Hello,
    I'm working on getting acegi to handle the authentication instead of the app server. So I extended AppServerLoginCommand and overrode doAuthenticate and "start". But "start" never seems to get called; neither during initialization of the server nor before or after doAuthenticate is called. Note that doAuthenticate *does* get called, so BlazeDS does know about my custom command. I tried implementing just LoginCommand instead of extending AppServerLoginCommand but the same result.
    The reason I need start is because I want to grab the WebApplicationContext and from there get the authenticationManager bean so that doAuthentication can do its job.
    I noticed that "stop" never gets called either.
    Any pointers or clues would be appreciated.
    /r

    I looked through the source code and as best I can tell "start" never gets called for LoginCommand. This is, by no means, a certainty since I only partially followed the stack trace and looked at the source near the place where the LoginCommand gets created, so there may be another point in the lifecycle where start gets called. But anyway, if you look at the file at:
    http://opensource.adobe.com/svn/opensource/blazeds/trunk/modules/core/src/java/flex/messag ing/config/MessagingConfiguration.java
    near
    private LoginCommand initLoginCommand(LoginCommandSettings loginCommandSettings)
    you'll notice that the LoginCommand gets created but start is not called.

  • Why is FileReader.onerror not called in readAsArrayBuffer on NS_ERROR_FILE_ACCESS_DENIED? (Chrome does)

    When reading a file via javascript readAsArrayBuffer and file is not readable, Firefox does not call "onerror" handler and instead stops the javascript with error:
    NS_ERROR_FILE_ACCESS_DENIED
    blob = file.slice(0,1);
    var reader = new FileReader;
    reader.onerror = function(e) {
    // this is called under Chrome, but not under Firefox
    console.log('reader.onerror');
    reader.readAsArrayBuffer(blob); // this stops with NS_ERROR_FILE_ACCESS_DENIED
    According to FileAPI it should:
    https://developer.mozilla.org/en-US/docs/Web/API/FileReader

    [https://support.mozilla.org/en-US/kb/where-go-developer-support Where to go for developer support]

  • ProcessCleanup Not Called

    Hi,
    What could be the reason for TesStand not calling PrcessCleanup sequence when I terminate the sequence execution?
    I am using sequential model. I placed breakpoints in ProcessCleanup sequence and they are not getting hit.
    Thanks
    CT

    CT,
    did you active debugging during Termination?
    Norbert
    CEO: What exactly is stopping us from doing this?
    Expert: Geometry
    Marketing Manager: Just ignore it.

  • How do I stop a call?

    On my old Treo, to stop a call from ringing (not just silence the ringer) and send the caller to voicemail I just pressed the end button. Does anyone know how to do this on an iPhone 3G?

    Dr. Ken,
    Push the lock/unlock button twice. This is covered on page 37 of the iPhone User's Guide which can be downloaded at this link:
    http://manuals.info.apple.com/enUS/iPhone_UserGuide.pdf
    In addition it is in the Phone Section of the iPhone User's Guide that is bookmarked on your iPhone's Safari by default.
    Hope this helps,
    Nathan C.

  • Ebay App update on 3GS UK stops incoming calls

    Hi,
    I thought i'd post my findings.
    I had an Ebay App update 2 days ago and without realising a connection with the update my 3GS started going a bit haywire.
    This maybe a one off bug with the update and my personal setting on my phone.
    The first problem i noticed was the battery level started to be eratic (50% to 20% then 40%)
    Next day after full charge my phone lasted about 4-5 hrs before totally flat with no calls being made. (i thought it just didn't charge properly over night)
    Later on that night i re-charged it and since then the phone is running pretty warm. (could be another fault and nothing to do with the App)
    The next problem was i found out it would not receive calls (everything else working normally even outgoing calls apart from running warm)
    After exhausting the net on iphone forums i finally went into itunes and clicked restore. After about 15-20 mins it was restored to factory.
    The iphone was working perfectly and running cold again so i decided to sync back so i was back to where i was before restoring (all contacts and apps etc)
    To my horror the phone would not receive calls (straight to voice mail) with this in mind i knew it was something i had loaded on to the phone.
    Realising that the Ebay App was the last thing i put on, so i decided to delete the App and the phone works perfectly again. Reload Ebay app with update and it stops incoming calls again!
    How can an Ebay App or any other App stop your phone from doing the basic thing like accepting incoming calls.
    Like i said this might be freak happening with my phone and the combination of things i have on my phone but be aware that this can happen.
    My 3GS is only 3 weeks old and is factory unlocked and its on Orange network.
    Hope this helps somebody out there, but i was worried that my 3GS had turned into a £500 ipod
    Message was edited by: slipdog
    Message was edited by: slipdog
    Message was edited by: slipdog

    Before I came to the conclusion that the eBay app is the problem, I disabled all the connections (WiFi, Bluetooth and 3G), then I reset the network settings that didn't change anything. I was about to erase everything on my phone just before I read this page and thank Goodness! The moment the eBay app was gone everything went smooth. I still get calls when the WiFi is on and even though it uses the battery it doesn't drain it like when the eBay app is installed. I reinstalled the eBay app and all the problems went back... I took it off, everything went back to normal. Now I just go to eBay.com instead of using the app.

  • How to log in with my old Apple account? I forgot my pass and I did change my apple ID before canceling first?? I am from Croatia so did folow al the discussion and the to resolve the problem but no luck. Can not call from Croatia the Apple help desk

    How to log in with my old Apple account? I forgot my pass and I did change my apple ID before canceling first?? I am from Croatia so did folow al the discussion and the to resolve the problem but no luck. Can not call from Croatia the Apple help desk.i did try all the options but I can not find the phone number to call from Croatia,
    I can not change my Apple ID to the old mail (not possible!)
    The old mail don't accept the new password..
    I can not delete the Icloud all the time asking my the password of the old mail!
    I realy need help

    You can not merge accounts.
    Apps are tied to the Apple ID used to download them, you can not transfer them.

Maybe you are looking for

  • What steps do I need to take once Verizon unlocks my sim card for international use on another carrier

    Hi, I am traveling to Romania in a few days. I called Verizon Global Support and had them unlocked my sim card for the 4s. They told me there was some steps I had to take after they unlocked it and I will find these steps on the Apple website. Well I

  • How to have all my music in one place!!

    Hi All My itunes is in a mess!!  My original computer broke and the itunes library had some of my cd collection as well as purchases from itunes.  I cannot find the back-up discs from this original library, it is however on my old ipod (which hasn't

  • Can you insert and image into a PDF documnet?

    HI, I have a project in which we are generating a PDF form and filling in the values that a user has submitted. Before we fill in the information, we need to insert two images that will change each and every time. I have used  cfpdf addWatermark howe

  • Help with Applescript and Admin Privelages

    I just started using Applestript a few months ago and I can't figure out how to give my script Admin rights. Basically, it turns on and off my internet sharing and file sharing through dialog boxes. I copied and pasted the whole code below if you wan

  • ERS for automatic PO generated via GR

    Hi all, I am trying to do ERS for a PO which is generated automatically at the time of GR. But I am not able to do it, when i m doing ERS via MRRL, it is showing no documents found. But similarly for the same material and vendor when I manually creat