Re-Initializing ApplicationUpdater

Hi,
I'm having some issues with the ApplicationUpdater class in AIR 2.0. I need to be able to change the updateURL on-the-fly in my application, so I figured the best way would be to create a new ApplicationUpdater each time the URL changes. This seems to work, except it seems like old ApplicationUpdaters still dispatch status events, even though there should only be a single instance of ApplicationUpdater. Here's pseudo-code describing the situation:
private var appUpdater:ApplicationUpdater;
public function initUpdater(url:String) {
     appUpdater = new ApplicationUpdater();
     appUpdater.addEventListener(StatusUpdateEvent.UPDATE_STATUS, updateStatusHandler);
     appUpdater.addEventListener(UpdateEvent.INITIALIZED, updaterInitialized);
     appUpdater.updateURL = url;
     appUpdater.initialize();
updateStatusHandler gets called the number of times initUpdater(url:String) is called. So, if it's called 3 times, 3 events get dispatched to updateStatusHandler. I tried just changing the appUpdater URL and not re-initializing, but this only dispatched status events the first time checkNow() was called (is it because ApplicationUpdater is in the wrong state?). It seems like I can only get checkNow() to work the very first time after it's initialized.
I event tried to remove the event listeners before creating the new ApplicationUpdater, which had no effect.
Any idea what the issue could be?
Thanks.

'reinitialising' a static field is no different to initialisation... However from your description it sounds like it shouldn't be static anyway since each servlet request needs the reinitialisation... Remember that more than one request could be using that servlet at a time and so it's not safe to just reinitialise... You'd be better moving the resource to a singleton class and synchronise access to the instance during all modification calls to avoid clashes... It's either that or stop the resource from being shared by not making it static.
Hope that helps

Similar Messages

  • Proper use of installFromAirFile() function in ApplicationUpdater

    We have an AIR client app that is composed of several sub programs. We want to be able to push out automatic updates to all the programs. We have a system set up so that each program can download its own update. For reliability purposes we would like to instead download one large AIR package and have the sub programs install themselves from AIR packages on the local drive.
    According to the documentationn found here:
    http://help.adobe.com/en_US/AIR/1.5/jslr/air/update/ApplicationUpdater.html#installFromAIR File%28%29
    You are supposed to be able to install from a locally stored AIR file but I can't seem to get it to work within a test program. Can anyone give me a hand working out the proper syntax?

    So I managed to figure it out, sorta.
    I didn't end up using the installFromAirFile() function at all. I was able to use the applicationUpdater normally by just pointing it to a local update.xml which pointed it to a local update.air file. Here is what I did.
    private function Update():void
         var update:File = File.applicationDirectory;
         update =  update.resolvePath("Update.updaterTest.xml");
         var updater:ApplicationUpdater = new ApplicationUpdater();
         updater.updateURL = update.url;
         updater.addEventListener(UpdateEvent.INITIALIZED, onUpdateInit);
         updater.addEventListener(DownloadErrorEvent.DOWNLOAD_ERROR, onErrorEvent);
         updater.addEventListener(ErrorEvent.ERROR, onErrorEvent);
         updater.addEventListener(StatusFileUpdateErrorEvent.FILE_UPDATE_ERROR, onErrorEvent);
         updater.addEventListener(StatusUpdateErrorEvent.UPDATE_ERROR, onErrorEvent);
         updater.initialize();
    private function onUpdateInit(event:UpdateEvent):void
         event.currentTarget.checkNow();
    private function onErrorEvent(event:ErrorEvent):void
         Alert.show(event.toString());
    With the update.xml formatted like this.
    <?xml version="1.0" encoding="utf-8"?>
    <update xmlns="http://ns.adobe.com/air/framework/update/description/1.0">
      <version>1.1</version>
      <url>app:/updaterTest.air</url>
      <description>
        <![CDATA[
          Update
        ]]>
      </description>
    </update>
    This seems to work like a charm.

  • What the Initial value for sy-tabix & sy-index

    Hi Folks
       I have a small doubt.
    What the Initial value for sy-tabix & sy-index?
    Can anyone please clarify me?
    Regards,
    Sree

    hi sree,
    both values are initialized to 0 before processing and after processing values are changed according to used scenarios.
    if helpful reward some points.
    with regards,
    suresh babu aluri.

  • Does iTunes have a default password for initial encrypted backups?

    I have an iPhone that was connected to iTunes for the first time today.  It is a company device and IT has set a policy to require backups to be encrypted.
    When I first plugged the phone in, iTunes automatically did a backup as it had never seen the device before.  Due to a software issue, Apple recommended that I do a restore to factory settings and then restore from backup, so once the initial backup was completed, I performed the restore to factory just fine.  However, when I attempted to restore from backup, I was prompted for a password even though I was never prompted for a password when iTunes created the backup.  I have tried every password I can think of including my company domain password, iTunes password, iPhone passcode, etc...etc...to no avail.
    Does anyone know if there is some default password that iTunes using when doing an initial backup without prompting the user for a password?

    Caronold -
    I have the same problem when i updated to iOS6  3days ago from iOS5.1.1. I've tried every passwords i can think of but NO luck.
    Even the folks at genious bar said : good luck!!
    A Third party software that can decrypt?

  • Excise Invoice at Depot for Initial Inventory Uploads

    Hi,
    >we are rolling out a new plant for which we have old stocks which were done with the Movement type "561".We want to do Excise invoice at depot using the T.Code J1IG.but we dont have corresponding excise invice at Factory.Please advice is there any Business process available to bring the initial inventory.
    Thanks and Regards,
    Nambi.N

    Hi Nambi.N
    To upload the initial stock / update RG23D during initial stoc we need to use the same t-code j1ig or we can develope a BDC for the particular t-code.thats the practice we are following.
    Best Regards
    Nishant

  • HT3529 My wife and I both have an iphone.   We initially created it under her apple id.   We will receive each others text messages from certain people not all.   Any ideas why and what we can do to stop it

    My wife and I both have an iphone.  We initially set them up under one apple id account.  When we text sometimes we will receive each others text messages from others.   Example I will text a friend...she will not see my text but the reply comes to both of us.  It seems to be random which ones.  Any ideas how to correct this

    Yup, get your own AppleID.
    The messages that are being sent to both phones are technically not text, they are Apple's iMessage. They use the data part, not the texting part. So if you have an iPad or a Mac computer, you can send/receive the iMessages there too.
    KOT

  • Initial load of Stock

    Dear All,
    I have a requirement like., our client is acting as a care taker for customer property and initially this stock was sold by my client and received the amount from the customer also. Now the customer is keeping the stock at our client place. As and when required they place the order with free of charge , goods issue and invoice.
    How can we take the material into my plant without any accounting entries gets generated. How can I separate this stock as a customer in the system.
    The client business process as follows.
    1.Raise the PO against VENDOR(here Customer and VENDOR are same).
    2.Goods receipts into our plant . At this level they want to separate this stock from their plant-How can I separate?
    3.Sales process
    a) Free of charge order, delivery and invoice.
    Can any body help me out. Thank you very much.
    Regards,
    Narasimha

    Hi
    This scenario is very common in realtime business process particularly in the month ends and year ends. To build sales and meet the sales targets it is encourages by people at all levels in the company.
    Normally the stocks will be invoiced and the customer takes the delivery as and when he requires the material(not once but part withdrawals also happen).
    If the warehouses are maintained by external agents, these will be shown as customer stocks but rent will not be charged from the customer, instead the company pays the rent for that.
    If you can clearly explain the business process, certainly can expect good responses.
    Thanks,
    Ravi

  • HT4191 My Contacts Journal Professional CRM Journal crashes at the initial seconds of iCloud Migration. Has anybody with this application experience this situation. The developer has been contacted.

    Dear Contacts Journal Support Team,
    Each time i have been trying what you put up for me,i always delete The Application Completely,then go to iTune Apps Store to re-download it. I know the apps store will not give me an old version,that is why i do not use my Mac or iMac to replace the application however this has also been updated on my Macs.
    I reiterated in my message yesterday that,it is not that what you asked me to do is not working or i did not follow your instructions into details. I did follow every steps you stated.
    The end result is that, WHEN IT REACHES DATA MIGRATION,THE SCREEN WILL BE BLACK OR LIGHT BLUE BLACK,WITH A WHITE SCROLLING LINE THREAD ON THE DEVICE SCREEN,MEANING MIGRATION IS ABOUT TO TAKE PLACE. THIS WILL MOVE FOR ABOUT 2 or 3SECONDS,AND IT WILL CRASH.
    I have tried this several time,i do not mind starting all over again,i just want it to work with iCloud. We can give you feedback,and i praise your effort for not getting tired to respond. This is a good and real customer service assistance of which i really appreciate.
    My devices are up-to-date,and the application i download is the latest version.
    Please let's makes this application work,there is non like it on The Apps Store. So you should be proud of your work and your innovation which i see as very powerful as well as extremely useful. But when it becomes unworkable it render all my eulogies to your effort meaningless.
    Thanks for contacting me again and i hope you will make it work again. Please forget about my previous DATA,i want to start it NEW. But you can not turn ON &amp; OFF even the iCloud on Contacts Journal.
    Thanks a LOT.
    The Reverend Canon Dr. IBITOYE.
    Sent from my iPhone 5⃣ Highly reliable especially when you are on the GOOOOO!!!!! Grab one for your own use,you will never-REGRET HAVING ONE!!!!!
    On 13 Feb 2013, at 07:46, Contacts Journal Support <[email protected]> wrote:
    Thanks. Can you confirm this step:
    - make sure all devices are updated to iOS6.1, and running the latest version of the app (3.3) [you can check if you have the latest version of the app by going to the App Store on your device, then checking the Updates section to see if you see any update for CJournal]
    - Another way to check is when you open CJournal, go to More -> Contact Us -> About page -> it should show the current app version.
    This is very important. If you are running the previous version of the app (3.2.1), then this crash will definitely happen on iOS6.1. You need to upgrade the CJournal app to the latest. After updating the app, you will have to follow the same steps as before, including cleaning up the iCloud database.
    Regards.
    On Feb 12, 2013, at 7:13 PM, ADEBAYO ADETOYE ALABA IBITOYE <[email protected]> wrote:
    Dear Sir / Madame,
    Thanks for your lengthy information which is highly and diligently consummated and extremely digested.
    All what you indicated in your last mail,i have done it and all efforts is TO NO AVAIL.
    1. It does clean all the devices but at the start of MIGRATION,the application crashes away and off. This has happened at least more than 5 to 7 times on one device. I have got main 2 iPhone 5 main lines,the other lines are subsidiary to my European lines and Dublin. So,i do not on or try to set them at the same time.
    2. Please,kindly see it in this way,look at the year you have released this application,i have not made or bombard  you with this kind of problems.
    3. I am an old man,i love the progress of our younger ones in Technology. It is just a shame i was not born to the computer and application age,it pains me. Because i know i embrace and love Technology,even at this old age. So i can not do anything to destroy your work,i will rather support you for progress so my up spring will also progress in all their discipline. Also remember my vocation as a priest,my position is to encourage,correct and not to destroy another persons efforts and labour.
    Above all,i just finished trying it twice now,at the migration point,it crashes out in few seconds when it comes with that line of migration.
    The time in London now is 03:10 in the morning,this is what i suffer on this application: SLEEPLESS NIGHTS.
    If there is any other one like this out their that can take files,journals,documents,ToDo's like this one. Please let me know,i do not mind how much it will cost me. I just want it to work.
    Thanks and look forward to your response.
    Regards,
    The Reverend Canon Dr. IBITOYE.
    Sent from my iPhone 5⃣ Highly reliable especially when you are on the GOOOOO!!!!! Grab one for your own use,you will never-REGRET HAVING ONE!!!!!
    On 13 Feb 2013, at 01:00, Contacts Journal Support <[email protected]> wrote:
    Thanks. We just sent you an email an hour before you sent this one!! It had instructions on how to overcome this particular problem "Cannot sync since another device is syncing at the same time". It doesn't look like you followed those instructions at all.
    This is our detailed feedback, so please read and follow them closely::
    - you can only get this message when you are trying to sync to iCloud with CJournal. It means that something else got stuck while syncing with iCloud before, and it needs you to clean up the iCloud database for CJournal (as previously instructed, and repeated below)
    - there is no hope for us to recover your previous data. The best we can do is to get the app working again with iCloud, by cleaning up your iCloud data for CJournal
    - your old data was previously wiped out when you cleaned up the iCloud database without backing it up. There isn't any chance that we can recover that. Maybe the Apple iCloud engineers can restore that for you (though I doubt it). If they do, then let us know and we can figure something out.
    Meanwhile, follow these instructions for resetting your iCloud data:
    - make sure all devices are updated to iOS6.1, and running the latest version of the app (3.3) [you can check if you have the latest version of the app by going to the App Store on your device, then checking the Updates section to see if you see any update for CJournal]
    - make sure to turn off iCloud sync option in CJournal, on all devices
    - To clean out your iCloud database, you have to go to the Settings app -> iCloud -> Storage and Backup -> Manage Storage -> Documents and Data -> Show All -> look for Contacts Journal. (if you don’t see it, then look for “icloud” with a blank white icon). Here, press the Edit button, then the Delete All button. This will clean out your iCloud database. Note that it will take a few minutes for your data to be deleted from your other devices, and you shouldn’t try syncing any of your devices to iCloud in the meantime.
    - Now restart all your devices by powering them down, then power them back up again.
    - Now, wait 5-10 minutes for the delete to go through
    - On one of your devices, with the latest data, turn on iCloud. If it gives an initial message saying "iCloud data already exists", then press Cancel. It means it hasn't updated from iCloud that you deleted the data. You'll have to open the Settings app and go to the same Show All page again, just so the device tries to connect to iCloud again.  Wait a few minutes before trying to enable iCloud again.
    - After it's done transferring the information to iCloud, wait a few minutes, then connect your 2nd device to iCloud and let it connect with the existing iCloud data. If it gives a message saying "First Time iCloud Sync", then press Cancel.  It means it hasn't detected the data you just uploaded from iCloud yet. Try again in a minute.
    Please follow these instructions closely. Let me know any instruction isn't clear to you.
    Regards.
    On Feb 12, 2013, at 3:57 PM, ADEBAYO ADETOYE ALABA IBITOYE <[email protected]> wrote:
    Dear Contacts Journal Support,
    I am so disappointed as you have not deem it right to make a follow up enquiry about my problems of which you were aware about all my Troubles.
    I keep you inform of all my efforts with apple iCloud Department and what i was told.
    I did not delete any of my files from Contacts Journal from my iCloud Account as one of my iPhone 4S still contains a 75% of some of my data. This device has been switched off since. Any attempt i made to use iCloud  on contact journal always comes up with a message i have related to you in my former message that: Contacts Journal encounter a SYNC problems from iCloud and that 2 devices can not be Sync at the same time; while all other devices are actually switched off.
    I am sending this Note now as the time limit given to me by iCloud Team will expire tomorrow. As i have said,this application has beautiful features but to make it work and Sync with either iCloud or Dropbox is a problems.
    I mean,about 8 devices can not have these problems at a go while other applications link with either iCloud or Dropbox are working on all these Devices. I can list all these for you if require as apple iCloud Team do check this as well.
    The iCloud restoration you sent me does not work,but i think this has teach me a great lesson as not to rely fully on an application like this anymore. I count my loss,my time and STRESS,i can not but let you know how i feel and my pains,frustrations and disappointments on this application.
    I have been using this application since it has been introduced,i know all the ups and downs,but not like this.
    I hereby appeal to you to sort out this PROBLEMS: "PROBLEM WITH iCloud SYNC: can not sync since another device is syncing at the same time: please wait and try again."
    The iCloud button will not even switched on.
    I look forward to hear from you.
    Regards,
    The Reverend Canon Dr. IBITOYE.
    Sent from my iPhone 5⃣ Highly reliable especially when you are on the GOOOOO!!!!! Grab one for your own use,you will never-REGRET HAVING ONE!!!!!
    On 12 Feb 2013, at 22:00, Contacts Journal Support <[email protected]> wrote:
    You can also go through the iCloud reset process again. That should get everything back in order again with iCloud. But there is no way to restore your old data unfortunately, since the Delete All wiped it out.
    Instructions for resetting your iCloud data:
    - make sure all devices are updated to iOS6.1, and running the latest version of the app (3.3)
    - turn off iCloud sync option in CJournal is it is enabled on any device
    - To clean out your iCloud database, you have to go to the Settings app -> iCloud -> Storage and Backup -> Manage Storage -> Documents and Data -> Show All -> look for Contacts Journal. (if you don’t see it, then look for “icloud” with a blank white icon). Here, press the Edit button, then the Delete All button. This will clean out your iCloud database. Note that it will take a few minutes for your data to be deleted from your other devices, and you shouldn’t try syncing any of your devices to iCloud in the meantime.
    - Now restart all your devices by powering them down, then power them back up again.
    - On your device with the latest data, turn on iCloud. If it gives an initial message saying "iCloud data already exists", then press Cancel. It means it hasn't updated from iCloud that you deleted the data. You'll have to open the Settings app and go to the same Show All page again, just so the device tries to connect to iCloud again.  Wait a few minutes before trying to enable iCloud again.
    - After it's done transferring the information to iCloud, wait a few minutes, then connect your 2nd device to iCloud and let it connect with the existing iCloud data. If it gives a message saying "First Time iCloud Sync", then press Cancel.  It means it hasn't detected the data you just uploaded from iCloud yet. Try again in a minute.
    Hope this helps.
    Regards.
    On Feb 7, 2013, at 7:19 PM, Contacts Journal Support <[email protected]> wrote:
    Hi,
    Regardless of what Apple technicians say, the simple fact is this:
    - you went and did Delete All for your iCloud data ... now all your iCloud data is gone. There's no way to bring it back. We certainly don't have the power to bring it back; maybe Apple technicians do. Have you asked them about this?
    - your only hope is to restore your device using an iCloud backup, from before you did the Delete All. That might restore your data to a previous state. We sent you this link again: http://apple.stackexchange.com/a/75394/11236
    If the Apple technicians can help you through this process, that would be even better.
    There is honestly nothing we can do at this point. There's no bug to fix. The problem is you did a Delete All of your iCloud data, without making a backup first. If you had a backup of your data, we could be able to help you, but that data is nowhere right now.
    Regards.
    On Feb 6, 2013, at 10:23 AM, ADEBAYO ADETOYE ALABA IBITOYE <[email protected]> wrote:
    No, not at all,The apple Technicians did run series of Test on both my account and The Application. It was conclusive that the application is not communicating both with devices as well as iCloud Proactively,this is one of The Application i personally rated 5 Stars and both iPad and The iPhone ones i have never made any complaint.
    I gain nothing from spoiling another persons Job and effort. But when something needs to be repair,i think it need to. It crashes on my 4 iPads and all my iPhone series.
    Please apple has the conclusion,you are the one who can fix it. Apparently my screen was shared because they can see through all my efforts since last Night.
    I am very DISAPPOINTED... For now i am looking towards your end to get it fix. Apple policy still remains on Third Party's Application.
    Looking forward to hear from you.
    Many Thanks,
    Dr. IBITOYE.
    Sent from my iPhone 5⃣ Highly reliable especially when you are on the GOOOOO!!!!! Grab one for your own use,you will never-REGRET HAVING ONE!!!!!
    On 6 Feb 2013, at 15:58, Contacts Journal Support <[email protected]> wrote:
    Thanks for the update. We would love to fix the problem for you. Unfortunately, since you deleted all the iCloud data without creating a backup first, there's not much we can do from our end. I wish we had some control over this. The best option really is to look for your iCloud backups, and try to restore your data to your iCloud backup. Did you discuss this with the iCloud technicians from Apple? I'm sure nothing was wrong with their iCloud system per se, but did they focus on recovering your data (after you explained the problem to them in detail)?
    At the moment, the only hope we have is to restore one of your devices from an older iCloud backup. You probably want to do this in the next day or so, otherwise it might get lost. This might have been something that I was hoping an Apple technician would be able to walk you through.
    Hope this helps.
    Regards.
    On Feb 6, 2013, at 5:13 AM, ADEBAYO ADETOYE ALABA IBITOYE <[email protected]> wrote:
    Hello There,
    i have just finished or apple has just finished with me now,and i was opportune to be attended to by one of apple most senior iCloud Engineer or Technician. We were on this problems for couples of hours,apparently they could detect all my logins through out the night on this application. It was concluded that nothing is wrong with my iCloud account neither with iCloud in general as all my other applications is working fine.
    What this implies now is that they i.e. apple engineers refer me back to you as the developer of this application. The application is not communicating with device as well as to have a good Synchronisation with iCloud.
    They asked me to inform you that i have suffered as an elderly man through out the night and up till now nothing can be done from their end. They want you to look into the application and that    it will be monitor from their end for the next couples of Days as if i or others will get all their Documents stored in the iCloud.
    The Senior Technicians might get inn contact with you if there is NO remedy to this gruelling and gruesome situation that this application has put and expose me to since 17:00 Hour yesterday evening.
    I will hereby advocate for an improvement and utmost adjustment to this BEAUTIFUL APPLICATION. I know it can be made to work without any stress and PLEASE DO IT.
    MANY THANKS,
    The Reverend Canon Dr. IBITOYE.
    Sent from my iPad4⃣Highly reliable especially when you are on the GOOOOO!!!!! Grab one for your own use,you will never-REGRET HAVING ONE!!!!!
    On 6 Feb 2013, at 08:23, Contacts Journal Support <[email protected]> wrote:
    Hi,
    At this point, I don't think Time Machine backups would help. The only thing that might be possible is if you are backing up your iPhone or iPad to iCloud. You can check this in the Settings app -> iCloud -> Storage and Backup -> is iCloud Backup turned On? It will also show you the Last Backup under the "Backup Now" button.
    If this is on, you can try to restore one of your devices to this backup version. You can follow these instructions: http://apple.stackexchange.com/a/75394/11236
    You might also want to consult an Apple Genius bar if you have an Apple store close-by or if it's convenient for you to do this over the phone.
    Hope this helps. Really hope you can recover this data.
    Regards.
    On Feb 5, 2013, at 9:07 PM, ADEBAYO ADETOYE ALABA IBITOYE <[email protected]> wrote:
    Hello,
    Many Thanks,
    apparently i do use i cloud Sync on all my devices,but,i went to the FAQ where it says i should delete the cloud,this is the source of my Problems,apparently i would have contacted you earlier than this as it seems the latest update has been bugged,but i still manage to use it though. As soon as i delete the grey cloud,i lost everything on all my devices,all my 4 iPads,all my iPhones,my last result now is you,i can even taste any sleep as i need this file BADLY.. My last result is if you can put me through either on my Time Machine if that will still be intact. I have browse to see how i can get this work from any source. PLEASE KINDLY HELP...
    My Regards,
    The Reverend Canon Dr. IBITOYE.
    Sent from my iPad4⃣Highly reliable especially when you are on the GOOOOO!!!!! Grab one for your own use,you will never-REGRET HAVING ONE!!!!!
    On 6 Feb 2013, at 03:38, Contacts Journal Support <[email protected]> wrote:
    Hi,
    Thanks for your email. Were you using iCloud sync? When did you upload these missing documents? Do you use multiple devices ... if so, which device did you use to upload the documents? Did you use the "Transfer over WiFi" method, or did you use "Open In" from a different app?
    Let us know and we can see if there's any way we can help.
    Regards.
    On Feb 5, 2013, at 5:14 PM, ADEBAYO ADETOYE ALABA IBITOYE <[email protected]> wrote:
    Dear Contacts Journal Support Team,
    I am sending this mail to let you know that i have been encountering
    serious problems on my CONTACTS JOURNAL FILES for the past 6 to 7
    Hours.
    I have read all the procedure on The FAQ as well as deleting this
    application on all my devices also i tried to go to Manage my Data as
    well as resetting everything stated on the FAQ. But all my efforts is
    to NO AVAIL. I can get all my ToDo's and other Logs. But on my Files
    Section where i some important Documents and folders,it is just coming
    up as loading,and if click any of the files,it will either says ERROR
    or THIS FILE IS EMPTY.
    Contacts Journal is a very good tools for me,but,i must confess that
    as at this Time 01:05 London Time in England,i have been on this
    problems since 17:30 Tuesday the 5th of February 2013. I need to pull
    out a paper i have saved in This Journal to give a Lecture This
    Morning.
    Please i do not want to loose all my files as i have got vital and
    private documents stored and saved on this Application.
    I will be delighted if there is a way of retreating or getting this
    Documents back as they are very vital to me.
    Looking forward to hear from you in earnest.
    My Regards,
    The Reverend Canon Dr. ADEBAYO ADETOYE ALABA IBITOYE.
    St. Alfege Church,
    Church of England,
    Anglican Communion,
    Greater London,
    England,UK.

    adetoye50 wrote:
    Dear Contacts Journal Support Team,
    FYI, this is a user to user support forum.  You are NOT addressing Apple here.
    Honestly, I doubt anyone is really going to take the time to read the novel you have written.

  • My Time Machine stalls during initial backup on external hard drive even after several hours.

    We have been using Time Machine and an external hard drive to back up our MacBook for almost a year now.  Recently, the hard drive (using a USB) was removed without ejecting it properly.  After that, the auto backups began stalling.  We tried setting up Time Machine all over again but the initial back up stalls at different places (like 6MB of 87GB) even if it's left for several hours overnight.  Does anyone have any suggestions on how to fix this?  If not, can anyone suggest another inexpensive way of backing up our files from our MacBook? 
    Thanks!
    Shane

    It might have created a new user and loaded under that.. new user being the old user. But if you have issues do it again, only this time pick where the backup will go.
    http://pondini.org/TM/16.html
    The other questions might also be relevant as a new hard disk will make the Mac appear to the TM backup as a new computer.
    See 14-18 for restore info.

  • Initial Time Machine Backup Stuck on "Indexing Backup"

    I have Mac Mini running 10.7.2.  I just got an external hard drive and am trying to run an initial back up using Time Machine.  I am running my computer in Safe Mode as it won't start in regular mode.  I formatted the HD and began to run Time Machine back up.  HD is connected via USB 2.0 wire.
    It has now been 12 hours and is still on Indexing Backup...  Is this normal for initial back up?  I know it takes a long time for initial but this doesn't seem right.What do I do to correct if it isn't correct?  Should I stop and try again?

    Thank you very much.  With your info I gave up on the back up and ran Disk and Permission Repair for the 3rd or 4th time and crossed my fingers and restarted my machine and it WORKED!  I ran time Machine back up and when I woke up this morning it was all done!  Yeahhhh!
    I wasn't sure what was causing it not to start in regular mode and as I'm not too much of a techie I was scared that I was teetetering on the brink of losing everything.  The machine would run so I didn't think it was a hard drive issue, but not knowing for sure I was concerned and after losing everythign once before years ago, I was worried. I have it backed up on line but wanted a 2nd (local) version that wouldn't entail tying up bandwidth for days.  In the end it worked out!
    But the short answer is, Time Machine Backup does NOT work in Safe Mode...

  • Why is my adobe photoshop elements 12 not working. it says initializing and then it says there is an error and closes itself

    why is my adobe photoshop elements 12 not working. it says initializing then error and shuts itself down.

    Three things you can try:
    1. Clean the superdrive with a proprietory CD/DVD lens cleaner that uses tiny brushes.
    2. Perform an SMC reset:
    Resetting the SMC (System Management Controller) on Intel-based Macs:
    http://support.apple.com/kb/ht3964  and
    http://support.apple.com/kb/HT1237?viewlocale=en_US
    Resetting your Mac's PRAM and NVRAM:
    http://support.apple.com/kb/ht1379
    If you are using a Wireless Keyboard:
    http://support.apple.com/kb/TS3273
    3. Try the free DVD player VLC:
    http://www.videolan.org/vlc/
    which performs better than the built-in DVD Player.

  • PI 7.11 Post Installation - Template initial SLD configuration ERROR

    Hi All,
    I was installed SAP PI 7.11 on Widows2003 with Max DB  and when i am trying to run the initial SLD confuguration Template we are getting error at 70% as below. An the same ii have tried in different Browsers lke IE8.0, IE6.0 and Firefox
    During the configuration Step: SAP BASIS Product and component.
    ERROR: CIM_ERR_FAILED: HTTP Response Code: 400 Bad Request.
    And i am posting the default trace log.
    "Severity","Date","Time","Message","Category","Location","Application",
    "Error","2010-12-08","16:43:45:296","Warning: validation was turned on but an org.xml.sax.ErrorHandler was not set, which is probably not what is desired.  Parser will use a default ErrorHandler to print the first 10  errors.  Please call the setErrorHandler method to fix this.","System.err","System.err","sap.com/tclmitsamuimainframe~wd",
    "Error","2010-12-08","16:43:45:296","Error: URI = 'null', Line = '2', : Document is invalid: no grammar found.","System.err","System.err","sap.com/tclmitsamuimainframe~wd",
    "Error","2010-12-08","16:43:45:296","Error: URI = 'null', Line = '2', : Document root element 'wsdl:definitions', must match DOCTYPE root 'null'.","System.err","System.err","sap.com/tclmitsamuimainframe~wd",
    "Error","2010-12-08","16:43:45:625","Unexpected exception catched and will be rethrown:","com.sap.ctc.util.pi.services.SystemLandscapeSetup","com.sap.ctc.util.pi.services.SystemLandscapeSetup.maintainInstalledProduct(String productName, String productVersionName, String vendor, String version, String[] componentNames, String componentVersion, String hostName, String systemName)","sap.com/tclmitsamuimainframe~wd",
    "","","","com.sap.sld.api.wbem.exception.CIMCommunicationException: CIM_ERR_FAILED: HTTP response code: 400 Bad Request","","","",
    "","","","[EXCEPTION]","","","",
    "","","","com.sap.sld.api.wbem.exception.CIMCommunicationException: CIM_ERR_FAILED: HTTP response code: 400 Bad Request","","","",
    "","","","at com.sap.sld.api.wbem.client.WBEMHttpRequestSender.newCommunicationException(WBEMHttpRequestSender.java:511)","","","",
    "","","","at com.sap.sld.api.wbem.client.WBEMHttpRequestSender.processResponse(WBEMHttpRequestSender.java:400)","","","",
    "","","","at com.sap.sld.api.wbem.client.WBEMHttpRequestSender.sendImpl(WBEMHttpRequestSender.java:206)","","","",
    "","","","at com.sap.sld.api.wbem.client.WBEMHttpRequestSender.retryOnUnsupportedMediaType(WBEMHttpRequestSender.java:585)","","","",
    "","","","at com.sap.sld.api.wbem.client.WBEMHttpRequestSender.processResponse(WBEMHttpRequestSender.java:396)","","","",
    "","","","at com.sap.sld.api.wbem.client.WBEMHttpRequestSender.sendImpl(WBEMHttpRequestSender.java:206)","","","",
    "","","","at com.sap.sld.api.wbem.client.WBEMRequestSender.send(WBEMRequestSender.java:205)","","","",
    "","","","at com.sap.sld.api.wbem.client.WBEMRequestSender.send(WBEMRequestSender.java:175)","","","",
    "","","","at com.sap.sld.api.wbem.client.WBEMRequestSender.send(WBEMRequestSender.java:238)","","","",
    "","","","at com.sap.sld.api.wbem.client.WBEMRequestSender.send(WBEMRequestSender.java:268)","","","",
    "","","","at com.sap.sld.api.wbem.client.WBEMRemoteClient.sendAndCast(WBEMRemoteClient.java:936)","","","",
    "","","","at com.sap.sld.api.wbem.client.WBEMRemoteClient.enumerateInstanceNamesImpl(WBEMRemoteClient.java:463)","","","",
    "","","","at com.sap.sld.api.wbem.client.WBEMAbstractClient.enumerateInstanceNames(WBEMAbstractClient.java:480)","","","",
    "","","","at com.sap.sld.api.std.impl.BaseSystem.getAllInstances(BaseSystem.java:312)","","","",
    "","","","at com.sap.sld.api.std.tech.SLD_ABAPSystem.getABAPSystem(SLD_ABAPSystem.java:661)","","","",
    "","","","at com.sap.ctc.util.pi.services.SystemLandscapeSetup.maintainInstalledProduct(SystemLandscapeSetup.java:280)","","","",
    "","","","at com.sap.ctc.util.pi.services.SystemLandscapeSetup.maintainInstalledProduct(SystemLandscapeSetup.java:1479)","","","",
    "","","","at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)","","","",
    "","","","at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)","","","",
    "","","","at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)","","","",
    "","","","at java.lang.reflect.Method.invoke(Method.java:585)","","","",
    "","","","at com.sap.tc.lm.ctc.provider.javaServiceProvider.JavaMethodExecuter.invoke(JavaMethodExecuter.java:221)","","","",
    "","","","at com.sap.tc.lm.ctc.provider.javaServiceProvider.JavaServiceExecuter.executeService(JavaServiceExecuter.java:98)","","","",
    "","","","at com.sap.tc.lm.ctc.cul.broker.BrokerServiceExecuter.executeService(BrokerServiceExecuter.java:54)","","","",
    "","","","at com.sap.tc.lm.ctc.cul.serviceimpl.executor.CULServiceExecutor.executeService(CULServiceExecutor.java:51)","","","",
    "","","","at com.sap.tc.lm.ctc.cul.serviceimpl.process.InvokeServiceControllerDefault.execute(InvokeServiceControllerDefault.java:170)","","","",
    "","","","at com.sap.tc.lm.ctc.metamodel.process.controller.ProcessControllerImpl.execute(ProcessControllerImpl.java:233)","","","",
    "","","","at com.sap.tc.lm.ctc.metamodel.process.controller.ProcessControllerImpl.execute(ProcessControllerImpl.java:233)","","","",
    "","","","at com.sap.tc.lm.ctc.metamodel.process.controller.ProcessControllerImpl.execute(ProcessControllerImpl.java:233)","","","",
    "","","","at com.sap.tc.lm.ctc.metamodel.process.controller.ProcessControllerImpl.execute(ProcessControllerImpl.java:233)","","","",
    "","","","at com.sap.tc.lm.ctc.metamodel.process.controller.ProcessControllerImpl.execute(ProcessControllerImpl.java:233)","","","",
    "","","","at com.sap.tc.lm.ctc.metamodel.process.controller.ProcessControllerImpl.execute(ProcessControllerImpl.java:233)","","","",
    "","","","at com.sap.tc.lm.ctc.metamodel.process.controller.ProcessControllerImpl.execute(ProcessControllerImpl.java:233)","","","",
    "","","","at com.sap.tc.lm.ctc.metamodel.process.controller.ProcessExecuter.run(ProcessExecuter.java:158)","","","",
    "","","","at java.lang.Thread.run(Thread.java:725)","","","",
    "Error","2010-12-
    "Error","2010-12-08","16:43:45:625","","com.sap.tc.lm.ctc.provider.javaServiceProvider.JavaMethodExecuter","com.sap.tc.lm.ctc.provider.javaServiceProvider.JavaMethodExecuter","sap.com/tclmitsamuimainframe~wd",
    "Error","2010-12-08","16:43:45:625","Service execution error. Invocation target error when call method maintainInstalledProduct in class com.sap.ctc.util.pi.services.SystemLandscapeSetup of component sap.com/com.sap.xi.ctc.app (error message = CIM_ERR_FAILED: HTTP response code: 400 Bad Request)","com.sap.tc.lm.ctc.cul.serviceimpl.process.InvokeServiceControllerDefault","com.sap.tc.lm.ctc.cul.serviceimpl.process.InvokeServiceControllerDefault","sap.com/tclmitsamuimainframe~wd",
    "","","","[EXCEPTION]","","","",
    "","","","com.sap.tc.lm.ctc.cul.api.CULServiceException: Service execution error. Invocation target error when call method maintainInstalledProduct in class com.sap.ctc.util.pi.services.SystemLandscapeSetup of component sap.com/com.sap.xi.ctc.app (error message = CIM_ERR_FAILED: HTTP response code: 400 Bad Request)","","","",
    "","","","at com.sap.tc.lm.ctc.cul.broker.BrokerServiceExecuter.executeService(BrokerServiceExecuter.java:56)","","","",
    "","","","at com.sap.tc.lm.ctc.cul.serviceimpl.executor.CULServiceExecutor.executeService(CULServiceExecutor.java:51)","","","",
    "","","","at com.sap.tc.lm.ctc.cul.serviceimpl.process.InvokeServiceControllerDefault.execute(InvokeServiceControllerDefault.java:170)","","","",
    "","","","at com.sap.tc.lm.ctc.metamodel.process.controller.ProcessControllerImpl.execute(ProcessControllerImpl.java:233)","","","",
    "","","","at com.sap.tc.lm.ctc.metamodel.process.controller.ProcessControllerImpl.execute(ProcessControllerImpl.java:233)","","","",
    "","","","at com.sap.tc.lm.ctc.metamodel.process.controller.ProcessControllerImpl.execute(ProcessControllerImpl.java:233)","","","",
    "","","","at com.sap.tc.lm.ctc.metamodel.process.controller.ProcessControllerImpl.execute(ProcessControllerImpl.java:233)","","","",
    "","","","at com.sap.tc.lm.ctc.metamodel.process.controller.ProcessControllerImpl.execute(ProcessControllerImpl.java:233)","","","",
    "","","","at com.sap.tc.lm.ctc.metamodel.process.controller.ProcessControllerImpl.execute(ProcessControllerImpl.java:233)","","","",
    "","","","at com.sap.tc.lm.ctc.metamodel.process.controller.ProcessControllerImpl.execute(ProcessControllerImpl.java:233)","","","",
    "","","","at com.sap.tc.lm.ctc.metamodel.process.controller.ProcessExecuter.run(ProcessExecuter.java:158)","","","",
    "","","","at java.lang.Thread.run(Thread.java:725)","","","",
    "","","","Caused by: com.sap.tc.lm.ctc.provider.javaServiceProvider.exceptions.CPIServiceExecutionException: Service execution error. Invocation target error when call method maintainInstalledProduct in class com.sap.ctc.util.pi.services.SystemLandscapeSetup of component sap.com/com.sap.xi.ctc.app (error message = CIM_ERR_FAILED: HTTP response code: 400 Bad Request)","","","",
    "","","","at com.sap.tc.lm.ctc.provider.javaServiceProvider.JavaMethodExecuter.invoke(JavaMethodExecuter.java:255)","","","",
    "","","","at com.sap.tc.lm.ctc.provider.javaServiceProvider.JavaServiceExecuter.executeService(JavaServiceExecuter.java:98)","","","",
    "","","","at com.sap.tc.lm.ctc.cul.broker.BrokerServiceExecuter.executeService(BrokerServiceExecuter.java:54)","","","",
    "","","","... 11 more","","","",
    "","","","Caused by: java.lang.reflect.InvocationTargetException","","","",
    "","","","at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)","","","",
    "","","","at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)","","","",
    "","","","at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)","","","",
    "","","","at java.lang.reflect.Method.invoke(Method.java:585)","","","",
    "","","","at com.sap.tc.lm.ctc.provider.javaServiceProvider.JavaMethodExecuter.invoke(JavaMethodExecuter.java:221)","","","",
    "","","","... 13 more","","","",
    "","","","Caused by: com.sap.sld.api.wbem.exception.CIMCommunicationException: CIM_ERR_FAILED: HTTP response code: 400 Bad Request","","","",
    "","","","at com.sap.ctc.util.infra.BaseConfig.dispatchException(BaseConfig.java:242)","","","",
    "","","","at com.sap.ctc.util.pi.services.SystemLandscapeSetup.maintainInstalledProduct(SystemLandscapeSetup.java:361)","","","",
    "","","","at com.sap.ctc.util.pi.services.SystemLandscapeSetup.maintainInstalledProduct(SystemLandscapeSetup.java:1479)","","","",
    "","","","... 18 more","","","",
    "","","","Caused by: com.sap.sld.api.wbem.exception.CIMCommunicationException: CIM_ERR_FAILED: HTTP response code: 400 Bad Request","","","",
    "","","","at com.sap.sld.api.wbem.client.WBEMHttpRequestSender.newCommunicationException(WBEMHttpRequestSender.java:511)","","","",
    "","","","at com.sap.sld.api.wbem.client.WBEMHttpRequestSender.processResponse(WBEMHttpRequestSender.java:400)","","","",
    "","","","at com.sap.sld.api.wbem.client.WBEMHttpRequestSender.sendImpl(WBEMHttpRequestSender.java:206)","","","",
    "","","","at com.sap.sld.api.wbem.client.WBEMHttpRequestSender.retryOnUnsupportedMediaType(WBEMHttpRequestSender.java:585)","","","",
    "","","","at com.sap.sld.api.wbem.client.WBEMHttpRequestSender.processResponse(WBEMHttpRequestSender.java:396)","","","",
    "","","","at com.sap.sld.api.wbem.client.WBEMHttpRequestSender.sendImpl(WBEMHttpRequestSender.java:206)","","","",
    "","","","at com.sap.sld.api.wbem.client.WBEMRequestSender.send(WBEMRequestSender.java:205)","","","",
    "","","","at com.sap.sld.api.wbem.client.WBEMRequestSender.send(WBEMRequestSender.java:175)","","","",
    "","","","at com.sap.sld.api.wbem.client.WBEMRequestSender.send(WBEMRequestSender.java:238)","","","",
    "","","","at com.sap.sld.api.wbem.client.WBEMRequestSender.send(WBEMRequestSender.java:268)","","","",
    "","","","at com.sap.sld.api.wbem.client.WBEMRemoteClient.sendAndCast(WBEMRemoteClient.java:936)","","","",
    "","","","at com.sap.sld.api.wbem.client.WBEMRemoteClient.enumerateInstanceNamesImpl(WBEMRemoteClient.java:463)","","","",
    "","","","at com.sap.sld.api.wbem.client.WBEMAbstractClient.enumerateInstanceNames(WBEMAbstractClient.java:480)","","","",
    "","","","at com.sap.sld.api.std.impl.BaseSystem.getAllInstances(BaseSystem.java:312)","","","",
    "","","","at com.sap.sld.api.std.tech.SLD_ABAPSystem.getABAPSystem(SLD_ABAPSystem.java:661)","","","",
    "","","","at com.sap.ctc.util.pi.services.SystemLandscapeSetup.maintainInstalledProduct(SystemLandscapeSetup.java:280)","","","",
    "","","","... 19 more","","","",
    "Error","2010-12-08","16:43:45:625","","com.sap.tc.lm.ctc.cul.serviceimpl.process.InvokeServiceControllerDefault","com.sap.tc.lm.ctc.cul.serviceimpl.process.InvokeServiceControllerDefault","sap.com/tclmitsamuimainframe~wd",
    Thanks & Regards,
    Sreekanth

    we have installed PI7.11 agian
    thanks

  • ORA-01658: unable to create INITIAL extent for segment in tablespace

    NEW REPOSITORY INSTALLATION ERROR!!
    I want to install a new Repository using Oracle9iR9.2.0.1 and iDS10g on windowsXP Professional the same machine.
    After running all the SQL scripts ( ckqa,ckvalqa,ckcreate,ckreport) with success to installing a new Repository on my Database using "the Scripts Method",I start the Repository Administration Utility( RAU) to scheck the priveleges and so on.
    After pressing the Install button in the RAU:
    -I take public synonyms
    -I scheck the box for "Support Designer Objects", then
    -The Repository size is Medium
    -I have not change the defauft Tablespace of the Repository_Manager names TEMPORARY_TABLES to store the index and table of System Data....Diagram Data.
    After Starting, the Installation began an stop by installing some Tables like schown :
    Operation: Started : 07/03/04 20:26:32
    Reading File: cktabs.sql
    Object : TABLE CDDL_TMP_TBL
    Executing statement(s)...
    Verifying...
    .and so on till....uns so weiter bis
    Reading File: cktabs.sql
    Object : TABLE RM$INFO
    Executing statement(s)...
    Error Submitting Definition: User intervention required...
    RME-02124: Failed to execute SQL statement: CREATE TABLE RM$INFO
    (NAME VARCHAR2(128) NOT NULL
    ,VALUE VARCHAR2(128)
    Storage (initial 4K next 4K pctincrease 0) Tablespace TEMPORARY_TABLES
    ORA-01658: unable to create INITIAL extent for segment in tablespace TEMPORARY_TABLES
    Dumping Buffer...
    CREATE TABLE RM$INFO
    (NAME VARCHAR2(128) NOT NULL
    ,VALUE VARCHAR2(128)
    ...End of Buffer
    User Requested: Stop Process
    When I read the Help of the Error the
    CAUSE was: Failed to find sufficient contiguous Space to allocate INITIAL extend for Segment being created.
    ACTION: Use ALTER TABLESPACE ADD DATAFILE to add additional space to the tablespace or retry with a smaller Value for initial.
    I then try to resolve it by schecking and changing the Values of INITIAL_VALUE and NEXT_VALUE in the ckparams.txt to 500k.I change the Values of TEMPORARY_TABLES(10214 to 51200k) and TEMPORARY_INDEXES from (20000 to 100000k).Then I run the scripts @ckparams.txt, @ckvalqa, @ckcreate but
    -pressing the Scheck Privileges Button on the RAU still give me 106k for the INITIAL_ and NEXT_VALUE.
    -And the installato still stop with the same Error.
    Question: How schould I resolve this Configuration?
    You could respond in ENGLICH, GERMAN or FRENCH
    Thank you for your Help!

    You are running into database errors. You should refer to the database documentation on how to adjust the size your tablespaces. The online Designer installation guide will advise you as to the sizes of tablespaces you require. (http://otn.oracle.com/pls/wocprod/docs/page/ocom/technology/products/designer/supporting_doc/Des10g_9044/cmnhlp72/rep_insgde/igttl_9i.htm)
    Regards
    Sue

  • The initial heap size must be less than or equal to the maximum heap size.

    All,
    Please help!!
    I have tested my Application Client Project in WSAD on my pc and it works fine.
    I have 1gb RAM on my pc. When I deploy the same app on another xp pc(same as mine but 512mb RAM) I get a heap size error. Here is the exact error:
    Incompatible initial and maximum heap sizes specified:
    initial size: 268435456 bytes, maximum heap size: 267380736 bytes
    The initial heap size must be less than or equal to the maximum heap size.
    The default initial and maximum heap sizes are 4194304 and 267380736 bytes.
    Usage: java [-options] class [args...]
    (to execute a class)
    or java -jar [-options] jarfile [args...]
    (to execute a jar file)
    where options include:
    -cp -classpath <directories and zip/jar files separated by ;>
    set search path for application classes and resources
    -D<name>=<value>
    set a system property
    -verbose[:class|gc|jni]
    enable verbose output
    -version print product version
    -showversion print product version and continue
    -? -help print this help message
    -X print help on non-standard options
    Could not create the Java virtual machine.
    Press any key to continue . . .
    Here is the batch file that runs my app:
    @echo off
    SET appClientEar=C:\corp\apps\mts\jars\MTSClientEAR.ear
    set JVM_ARGS=-Xms256M -Xmx256M
    set CLIENT_PROPS=C:\corp\apps\mts\jars\medicalclient.properties
    set APP_ARGS=
    call C:\bnsf\IBM\WebSphere\AppClient\bin\launchClientBNSF.bat "%JVM_ARGS%" %appClientEar% "-CCpropfile=%CLIENT_PROPS%" %APP_ARGS%
    @pause
    I have changed the value of Xms and Xmx of JVM_ARGS to different size but I sitll get error. Anyone knows what the problem is. Thanks..

    Don't know why, but the "maximum heap size: 267380736 bytes" value is just slightly less than 256*1024*1024, wheras the reported initial size is equal to that.
    Try setting the initial value to 255MB.

  • Initial value and value in the database

    Hello world ,
    i want to add initial value with value in the database depend on the date
    for example i have initial value for 30/09/2009
    i and to all it with value in the database in 31/12/2009
    take a look what i did
    PROCEDURE pkd_prem IS
    cursor gr_pkd_prem is select
    SUM(DECODE(mark,'01',FM_mark,TM_mark) A,
    SUM(DECODE(FMS,'01',LS,NS) b
    from fr_treaty_profile ftp, fr_monthly_summary
    where
    (ftp.tpr_cgp_id = fr_monthly_summary.fms_cgp_id )
    AND (ftp.tpr_cmp_id = fr_monthly_summary.fms_cmp_id )
    AND (ftp.tpr_treaty_origin = fr_monthly_summary.fms_treaty_origin )
    AND (ftp.tpr_uw_year = fr_monthly_summary.fms_uw_year )
    AND (ftp.tpr_class = fr_monthly_summary.fms_class )
    AND (ftp.tpr_type = fr_monthly_summary.fms_type )
    AND (ftp.tpr_serial = fr_monthly_summary.fms_serial )
    AND
    (fr_monthly_summary.fms_treaty_origin=:BLK1.EO_ORIGIN) AND
    (fr_monthly_summary.fms_uw_year=:BLK1.EO_UW_YEAR) AND
    (fr_monthly_summary.fms_class=:BLK1.EO_CLASS) AND
    (fr_monthly_summary.fms_treaty_type=:BLK1.EO_TYPE) AND
    ( fr_monthly_summary.fms_treaty_serial=:BLK1.EO_SERIAL)
    AND (FMS_TYPE ='P')
    AND FMS_SERIAL = '01'
    AND (FMS_OFC_ID !='X')
    and (FMS_YEAR =substr(to_char(:BLK1.EO_TRNX_DATE,'DD/MM/YYYY'),7,4))
    and (FMS_PERIOD between substr(to_char(:BLK1.EO_TRNX_DATE,'DD/MM/YYYY'),4,2)-2 and substr(to_char(:BLK1.EO_TRNX_DATE,'DD/MM/YYYY'),4,2)) ;
    ---Initial value
    cursor base is select EO_GR_BKD_PREM from FR_EN
    where
    EO_TREATY_ORIGIN=:BLK1.EO_ORIGIN AND
    EO_UW_YEAR=:BLK1.EO_UW_YEAR AND
    EO_CLASS=:BLK1.EO_CLASS AND
    EO_TREATY_TYPE=:BLK1.EO_TYPE AND
    EO_TREATY_SERIAL=:BLK1.EO_SERIAL AND
    EO_YEAR=:BLK1.EO_YEAR;
    A number(18,3);
    B number(18,3);
    v_base number(18,3);
    BEGIN
    open base;
    open gr_pkd_prem;
    fetch gr_pkd_prem into a,b;
    fetch base into v_base;
    :BLK1.EO_GR_BKD_PREM :=nvl(a,0)+ nvl(b,0)+ nvl(v_base,0);
    close gr_pkd_prem;
    close base;
    END;
    the proceudre is correct and the values come as i want
    but here
    FMS_PERIOD between substr(to_char(:BLK1.EO_TRNX_DATE,'DD/MM/YYYY'),4,2)-2 and substr(to_char(:BLK1.EO_TRNX_DATE,'DD/MM/YYYY'),4,2))
    suppose i will add from 6 to 9
    the value will come down to add with base value
    but next time i want from 10 to 12
    it will add value 10 to 12 with the base for just period 10 to 12
    i want to keep adding
    if i start from 6 to 9
    then shoud be
    add the value of 6 to 9 to 10 to 12
    but

    look ..
    i created a form and let's say there is one field called Base ..
    and i inert value on that field and saved .
    then
    i created cursor to fetch value from another table
    that value which i fetched from another table must add to past value
    take this scenario
    i started with value 6
    then i fetch by cursor value from 1/1/2010 to 31/3/2010 and that value = 33
    first action
    6+33
    then
    i fecth by using cursor from 1/6/2010 to 30/9/2010 and that value = 2
    the result of first action must add with the last value which is 2
    (6+33) from first action plus(+) 2 and display the result on the secreen

Maybe you are looking for