JPA: skipped updates

Hello!
I have an issue and I don’t understand the reasons of it.
In my system I have a stateless session bean that every N seconds retrieves entity list from persistence context:
@PersistenceContext 
private EntityManager em; 
public List<Item> getItemsToProcess() { 
        String sql = "select t " + 
                "from Item t join ...."; 
        return em.createQuery(sql).getResultList(); 
}Then all items are updated to “Busy” state and sent to MDB queue for processing. After all processing is done MDB updates item’s state back to “Normal”.
businessBean.setInProcess(itemPK, true); // busy (called from session bean)
businessBean.setInProcess(itemPK, false); // normal (called from MDB)
public void setInProcess(ItemPK itemPK, Boolean value) {
        Item item = em.find(Item.class, itemPK);
        item.setInProcess(value); // field is mapped to DB column
        em.merge(item); 
        //em.flush(); // does not helps
}So far everything is working, but when I increase load to system (decrease N period) then some items (randomly) are not updated back to “Normal” state. All beans are deployed as single EJB module on the same server, using same persistence context (as I think :). No special transactions are used (only default CMP).
I have done trace over called methods and found out, that there is (!) a call of function to set “Normal” state, but somehow it does not reach database (SQL logs does not show any update). I mean I set entity field to correct value, and merge it to persistence context, but context does not forwards it to database.
Is it possible that while MDB tries to update item’s state first select … statement is run and it somehow locks that record? That SQL returns only items with “Normal” state.
Thanks!

I have found temporal solution for this issue. I rewrote function for setting items state like this:
public void setInProcess(ItemPK itemPK, Boolean value) {
        String sql = "update Item t " +
                "set inProcess = …”;
        Query q = em.createQuery(sql);
        q.setParameter(…);
        q.executeUpdate();
}{code}
Now there are no skipped items, but sometimes I receive “java.sql.SQLException: Some non-transactional changed tables couldn't be rolled back”. This exception is specific for MySQL database (MyISAM), but I use InnoDB storage engine for tables, that supports transactions.
But anyway I do not understand why em.merge() skips updates, but JPQL queries not.
Any ideas?                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

Similar Messages

  • How do i get the new emojis if i skipped updating from 7.11 to 8.02

    How do I get the new emoticons when I skipped updating it from 7.11-8.02 and I don't see the new ones that other people have :/

    Hi, MistahMichael.  
    Thank you for visiting Apple Support Communities.
    Here are the steps on how to enable the emoji keyboard on your iPhone with iOS 8.
    iOS: Using emoji
    http://support.apple.com/kb/ht4976
    Cheers,
    Jason H

  • Skipping update statement

    i am using 'For Update' statement to lock a record in a table and then updating that table through another update statement, like this in a procedure in my Developer Suite 9i application:-
    1)SELECT TOTAL_OUTSTANDING INTO TEMP_OUTSTANDING FROM PPBS_DISTRIBUTOR_MASTER where distributor_id=:rh.distributor_id
         FOR UPDATE OF TOTAL_OUTSTANDING NOWAIT;
    2)UPDATE PPBS_distributor_master set total_outstanding = total_outstanding - to_number(:RH.instrument_amount)
                        where distributor_id = :RH.distributor_id;
    This update in the 2nd statement is skipping sometimes. I have heard that a post-update trigger fires always even if this statement in the procedure is skipping. Can i put these 2 statements in a block level 'post-update' trigger and be assured that the 'Update' statement will fire always. Please help in solving the doubt as it is urgent.
    Regards.

    Excuse me, to avoid confusion, my previous note should be read as:
    I) Put your 1) FOR satatement in block's on-lock trigger;
    II) Put your 2) in block's on-update trigger;
    Don't put your 1) and 2) in one procedure!

  • How to skip updates on iTunes store and iPod touch App store???

    Hi all!!!
    I would like to know how can I skip an updated APP? The game PacMan has been
    updated and people had problems with it (slow) and I just wana skip it but there isn't
    any way that I know of to remove that "1" update number and it's the same thing on my
    iPod Touch App Store icon still has that red 1 on it and want to remove without resulting
    to update the program.
    Any help welcomed!!!!
    PS: 1st Gen Touch

    I was just researching the same! No results yet.
    To be honest: this is a patyful thing in the UI of iOS. I can no longer tap "update all" since there are some I don't want to update.
    P.S. Even Microsoft Windows 7 lets users to "hide updates" that one doesn't want so the OS updates never annoy again. How come iOS fail?

  • Firefox tells me to update to 10.0.1, but also tells me my AVG security won't work with update. What do I do for security? I'd skip update, but I already have hang problems, which always seems to happen if I don't update to current level.

    I want to update, but not lose the security I have and like.
    A catch-22 here: Update to avoid hang-time problems and loose my security that I'm comfortable with OR keep my AVG security and put up with "Mozilla not responding" hang time frustration.

    The only item you'll lose is AVG Safe Search" which is incompatible with FF 10. All other functions of AVG are still valid and your computer is still protected. I have disabled AVG Safe Search for a long time now and have no problem whatsoever. You just have to be careful with what links do you click when you are on line. I don't know if AVG is going to fix this problem anytime soon since FF 10 has been out for a while and nothing has been done by AVG yet.

  • JPA - cascade update

    Hello,
    Let's say I have these 2 classes:
    public Class Pessoa {
    @Id
    @Column(name = "ID_PESSOA", nullable = false)
    private Long idPessoa;
    private String nmPessoa;
    @OneToMany(cascade = CascadeType.ALL, mappedBy = "pessoa", fetch=FetchType.EAGER)
    private Collection<Telefone> fones;
    public Class Telefone {
    @Id
    @Column(name = "ID_FONE", nullable = false)
    private int idFone
    private String nrFone;
    private int tpFone;
    @JoinColumn(name = "ID_PESSOA", referencedColumnName = "ID_PESSOA")
    @ManyToOne
    private Pessoa pessoa;
    And then I try tu update the Pessoa object:
    Pessoa p = pessoaDAO.getPessoa(cdPessoa);
    p.setNmPessoa("Maria");
    p.getFones().removeAll(p.getFones());
    p.setFones(newFoneCollection);
    pessoaDAO.atualizar(p); // merge(p)
    After this I can see the change on the nmPessoa, but it does not happen on fones.
    I can have some changes if I add new fones, but the ones I already have stay in DB.
    Could someone tell me how I can do it?
    tks!

    Hi Mike,
    thanks for the reply!
    I did a test using the Derby DB (from netbeans 5.5) which has some tables. I took 2 tables ORDERS and CUSTOMER that has the same relation as PESSOA and TELEFONE.
    In this test netbeans generated the entities automatically and I just created the TestClass like this:
    EntityManagerFactory emf = Persistence.createEntityManagerFactory("testaCascadePU");
    Persistencia persis = new Persistencia(emf); // has EntityManager, persist/merge/remove/find
    Customer c = (Customer)persis.find(entity.Customer.class, new Integer(1));
    Customer cTemp = new Customer(c.getCustomerId());
    Orders o = new Orders();
    o.setQuantity(new Short("30"));
    o.setShippingDate(new Date());
    o.setCustomerId(cTemp);
    o.setOrderNum(new Integer(10398011));
    o.setProductId(new Product(new Integer(980001)));
    Collection<Orders> ordersL = new ArrayList();
    ordersL.add(o);
    c.setName("Robert Plant Test");
    for (Orders os: c.getOrdersCollection()) {
    os.setCustomerId(null);
    os.setProductId(null);
    c.getOrdersCollection().removeAll(c.getOrdersCollection());
    c.setOrdersCollection(ordersL);
    persis.update(c);
    And this test still have the same problem that I had before.
    Even when I "unset" the orders, I keep getting the same orders in the DB plus the new order instead of getting just the new order as I wish.
    Am I doing something wrong?
    This scenario is quite common but I really don't know how to deal with it.
    Thanks again!

  • Updated image is not continuing with the State Restore Phase

    MDT 2010 Update 1
    Our MDT guru quit about a month ago.   I've done basic stuff here and there
    But have never updated an image..
    1.  I deployed our current image to a Vmware workstation.  Added about 200 updates. Nothing else done.
         I than rebooted and logged in as local admin and ran litetouch.wsf in a command prompt.
         And ran the "Sysprep and Capture image" task sequence.
         This sysprep'd and imaged with no errors to the captures folder.
    2.  I than moved that updated image to the "Operating Systems" folder on the deployment share.  Renamed the old .wim file and renamed the new one to be the same as the old one..    (Not completely sure this is the correct
    way to do this)  But couldn't find any info on how this is done)
    I than proceeded to reimage a machine with the updated .wim.
    It gets all the way to the State Restore phase and just stops.   After the final reboot.  I logon with the local admin account as usual and it does not continue.   the Minint and _SMSTaskSequence folder are still there..  If
    I let it set for hours nothing happens...
    I compared the BDD.log file for both images.    They seem to be identical up until the State Restore phase is supposed to start.
    I see NO errors in the BDD log file...
    So I am lost as in what to do to try and remedy this issue..
    Info From Sharepoint

    Its the new WIM that is not continuing...
    I did try the import.   and it did the same thing.
    here is the ending of the BDD.log file
    ZTIConfigure COMPLETED.  Return Value = 0    ZTIConfigure    4/22/2014 12:00:53 PM    0 (0x0000)
    ZTIConfigure processing completed successfully.    ZTIConfigure    4/22/2014 12:00:53 PM    0 (0x0000)
    Microsoft Deployment Toolkit version: 5.1.1642.01    ZTIdrivers    4/22/2014 12:00:53 PM    0 (0x0000)
    The task sequencer log is located at X:\windows\TEMP\SMSTSLog\SMSTS.LOG.  For task sequence failures, please consult this log.    ZTIdrivers    4/22/2014 12:00:53 PM    0 (0x0000)
    Write all logging text to \\bimaemg1mdtx64\deploymentshare$\MININT-C1QJ4FN    ZTIdrivers    4/22/2014 12:00:53 PM    0 (0x0000)
    Validating connection to \\bimaemg1mdtx64\deploymentshare$\MININT-C1QJ4FN    ZTIdrivers    4/22/2014 12:00:53 PM    0 (0x0000)
    Already connected to server bimaemg1mdtx64 as that is where this script is running from.    ZTIdrivers    4/22/2014 12:00:53 PM    0 (0x0000)
    No driver copying needs to be performed during the Lite Touch postinstall phase.    ZTIdrivers    4/22/2014 12:00:53 PM    0 (0x0000)
    Updating downlevel OS configuration.    ZTIdrivers    4/22/2014 12:00:53 PM    0 (0x0000)
    Vista identified, skipping update of Device Path    ZTIdrivers    4/22/2014 12:00:53 PM    0 (0x0000)
    ZTIdrivers processing completed successfully.    ZTIdrivers    4/22/2014 12:00:53 PM    0 (0x0000)
    Microsoft Deployment Toolkit version: 5.1.1642.01    ZTINextPhase    4/22/2014 12:00:53 PM    0 (0x0000)
    The task sequencer log is located at X:\windows\TEMP\SMSTSLog\SMSTS.LOG.  For task sequence failures, please consult this log.    ZTINextPhase    4/22/2014 12:00:53 PM    0 (0x0000)
    Write all logging text to \\bimaemg1mdtx64\deploymentshare$\MININT-C1QJ4FN    ZTINextPhase    4/22/2014 12:00:53 PM    0 (0x0000)
    Validating connection to \\bimaemg1mdtx64\deploymentshare$\MININT-C1QJ4FN    ZTINextPhase    4/22/2014 12:00:53 PM    0 (0x0000)
    Already connected to server bimaemg1mdtx64 as that is where this script is running from.    ZTINextPhase    4/22/2014 12:00:53 PM    0 (0x0000)
    Property PHASE is now = STATERESTORE    ZTINextPhase    4/22/2014 12:00:53 PM    0 (0x0000)
    ZTINextPhase COMPLETED.  Return Value = 0    ZTINextPhase    4/22/2014 12:00:53 PM    0 (0x0000)
    ZTINextPhase processing completed successfully.    ZTINextPhase    4/22/2014 12:00:53 PM    0 (0x0000)
    Property DestinationLogicalDrive is now =     LiteTouch    4/22/2014 12:00:53 PM    0 (0x0000)
    LTI initiating task sequence-requested reboot.    LiteTouch    4/22/2014 12:00:53 PM    0 (0x0000)
    Info From Sharepoint

  • How to stop annoying Skype update requests???

    I do not have time to read what new Skype update is about, and I do not want to risk my privacy by installing frequent Skype updates without knowing what this updates changes.
    But - Skype annoyingly insists on updates, showing update reminders every day!!! It is annoying. And no "Skip updates" button.
    How to switch off those annoying update requests?
    Skype version 5.9.0.115

    uninstall the current Skype with Revo (delete all registry entries found)
    http://www.revouninstaller.com/revo_uninstaller_fr​ee_download.html
    install again with this link
    http://www.skype.com/go/getskype-msi
    Regards,
    Tamim
    Location - Dhaka | Bangladesh - Standard Time Zone: GMT/UTC + 06:00 hour
    If one of my replies has adequately addressed your issue, please click on the “Accept as Solution” button. If you found a post useful then please "Give Kudos" at the bottom of my post, so that this information can benefit others.

  • Update UnderLine Data in SQL Server

    hi...
    i have "startBalance" Table that contain  startBalance Stock and price 
    my application calculate the cost price based on inventory average cost price , after 4 months of work the user figure out that the start price is wrong and want to update it , but i can't do it because i have "ItemHistory" that contain the history
    of stock and price of an item , if the user update the start price i have to update all item costprice history can some one tell me how to do it ?
    Thanks for attention .

    There is no other way around to skip updating costprice history. For each item in the the "startBalance" table you need to recalculate the itemHistory average cose price information by joining the two table. What is the relation between the the two table
    i.e startBalance & itemHistory. Please post table definition and calculation formula.
    Regards, RSingh

  • SCEP client not updating settings after policy retrieval

    I have a computer assigned a SCEP policy, that seems to have been found and Applied fine by the SCCM Client, looking at the registry.
    I find the policy in the regkey HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\CCM\EPAgent\GeneratedPolicy, With the DWORD values
    Just a test to my computer (Excluded)                   REG_DWORD         0x00000002 (2)
    Just a test to my computer (Scan Schedule)           REG_DWORD         0x00000002 (2)
    What I have configured in this test policy is just "Limit CPU usage during scan to: 10%" and "Start the scheduled scan only when my PC is on but not in use"
    But the SCEP Client, in the settings, do not show the correct settings. The CPU limit setting is set to 20% and the "Start the scheduled scan" setting is unchecked, these settings come from the "Default Client Antimalware Policy"
    The EndpointProtectionAgent.log says:
    Endpoint is triggered by WMI notification. EndpointProtectionAgent 28.10.2014 16:54:39 3504 (0x0DB0)
    EP State and Error Code didn't get changed, skip resend state message. EndpointProtectionAgent 28.10.2014 16:54:39 3504 (0x0DB0)
    State 1, error code 0 and detail message are not changed, skip updating registry value EndpointProtectionAgent 28.10.2014 16:54:39 3504 (0x0DB0)
    Previous state is same with current one: 1, skip notification. EndpointProtectionAgent 28.10.2014 16:54:39 3504 (0x0DB0)
    File C:\Windows\ccmsetup\SCEPInstall.exe version is 4.5.216.0. EndpointProtectionAgent 28.10.2014 16:54:39 3504 (0x0DB0)
    EP version 4.6.305.0 is already installed. EndpointProtectionAgent 28.10.2014 16:54:39 3504 (0x0DB0)
    EP 4.6.305.0 is installed, version is higher than expected installer version 4.5.216.0. EndpointProtectionAgent 28.10.2014 16:54:39 3504 (0x0DB0)
    The trigger 10 doesn't make ANY state change. EndpointProtectionAgent 28.10.2014 16:54:39 3504 (0x0DB0)
    Handle EP AM policy. EndpointProtectionAgent 28.10.2014 16:54:39 3504 (0x0DB0)
    Policy group lose, group name: Scan Schedule, settingKey: {d6961d76-070d-46af-b898-6d24562fb219}_201_201 EndpointProtectionAgent 28.10.2014 16:54:39 3504 (0x0DB0)
    Policy deployment result: <?xml version="1.0"?><Group Name="Scan Schedule">    <Policy Name="Just a test to my computer" State=2/>    <Policy Name="Default Client Antimalware
    Policy" State=1/></Group><Group Name="Threat Default Action">    <Policy Name="Default Client Antimalware Policy" State=2/></Group><Group Name="Excluded">   
    <Policy Name="Default Client Antimalware Policy" State=2/>    <Policy Name="Just a test to my computer" State=2/></Group><Group Name="Realtime Config">    <Policy Name="Default
    Client Antimalware Policy" State=2/></Group><Group Name="Advance Setting">    <Policy Name="Default Client Antimalware Policy" State=2/></Group><Group Name="Spynet">   
    <Policy Name="Default Client Antimalware Policy" State=2/></Group><Group Name="Signature Update">    <Policy Name="Default Client Antimalware Policy" State=2/></Group><Group Name="Scan">   
    <Policy Name="Default Client Antimalware Policy" State=2/></Group> EndpointProtectionAgent 28.10.2014 16:54:39 3504 (0x0DB0)
    Generate Policy XML successfully at C:\Windows\CCM\EPAMPolicy.xml EndpointProtectionAgent 28.10.2014 16:54:39 3504 (0x0DB0)
    Generate AM Policy XML while EP is disabled. EndpointProtectionAgent 28.10.2014 16:54:39 3504 (0x0DB0)
    Any idea what happened to the New settings?
    Freddy

    Antimalware Client Version: 4.6.305.0
    Engine Version: 1.1.11104.0
    Antivirus definition: 1.187.618.0
    Antispyware definition: 1.187.618.0
    Network Inspection System Engine Version: 2.1.11005.0
    Network Inspection System Definition Version: 113.5.0.0
    Policy Name: Antimalware Policy
    Policy Applied: 02.09.2014 at 14:16
    The above is information in "About"
    This is the information about the Antimalware policies assigned to this computer
    Name                                             
    Collection name       Priority    Policy Application state Last update time         Policy Application Return code
    Default Client Antimalware Policy                                   10000     
    Succeeded                     02.09.2014 16:16:00      0x00000000  
    Just a test to my computer              VITN-SC-OSL-112  1
    This tells me that there is no policy Application Return code for the custom policy i am testing, and that is something I would like to solve. Any ideas? Thank you

  • Expired updates not being cleaned up

    Hi,
    I've been trying to clean up old expired updates on my SCCM 2012 SP1 server and for whatever reason it seems that the updates files are never actually getting removed.
    At first I tried the instructions at
    http://blogs.technet.com/b/configmgrteam/archive/2012/04/12/software-update-content-cleanup-in-system-center-2012-configuration-manager.aspx
    When I run the script they provide it appears to go thru all the updates but never actually deletes any of them. The script always seems to say found it found an existing folder and then later it says that that it is excluding the same folder because
    it is active.
    Then I read that SP1 for SCCM 2012 is actually supposed to do the clean up process automatically.  But in this case do I need to do anything like expire the updates manually or does SCCM now do that?  How can I see what is preventing either
    the manual script or the automatic clean up process from actually removing the unneeded files and folders?
    And does anything need to be done with superseded updates as well?
    Also I've always thought that when you SCCM 2012 to do your updates that you should never go to the WSUS console and do anything but I read
    http://blog.coretech.dk/kea/house-of-cardsthe-configmgr-software-update-point-and-wsus/ and he is going the WSUS console and doing a clean up there as well.
    Thanks in advance,
    Nick

    Hi Xin,
    In the wsyncmgr.log file I see lots of log entries like this:
    Skipped update 2d8121b4-ba5c-4492-ba6e-1c70e9382406 - Update for Windows Vista (KB2998527) because it is up to date.  $$<SMS_WSUS_SYNC_MANAGER><10-31-2014 01:50:02.777+420><thread=4172 (0x104C)>
    Skipped update 24d18083-0417-4273-9a5e-1fc3cd37f1d4 - Update for Windows Embedded Standard 7 for x64-based Systems (KB2998527) because it is up to date.  $$<SMS_WSUS_SYNC_MANAGER><10-31-2014 01:50:02.791+420><thread=4172 (0x104C)>
    Skipped update 954f2ad2-369e-469e-97a0-3efd0a831111 - Update for Windows 8.1 (KB2998527) because it is up to date.  $$<SMS_WSUS_SYNC_MANAGER><10-31-2014 01:50:02.805+420><thread=4172 (0x104C)>
    Skipped update f81d2820-721a-431c-a262-4878a42f0115 - Update for Windows Vista for x64-based Systems (KB2998527) because it is up to date.  $$<SMS_WSUS_SYNC_MANAGER><10-31-2014 01:50:02.822+420><thread=4172 (0x104C)>
    Skipped update 7c82171f-025c-46af-849c-63764ba44382 - Update for Windows Server 2008 x64 Edition (KB2998527) because it is up to date.  $$<SMS_WSUS_SYNC_MANAGER><10-31-2014 01:50:02.836+420><thread=4172 (0x104C)>
    Skipped update 36c29163-b78a-410f-8bd0-7370b35a24f1 - Update for Windows Server 2012 (KB2998527) because it is up to date.  $$<SMS_WSUS_SYNC_MANAGER><10-31-2014 01:50:02.850+420><thread=4172 (0x104C)>
    Skipped update 6146260e-5c34-4483-962d-834250d84c79 - Update for Windows 7 (KB2998527) because it is up to date.  $$<SMS_WSUS_SYNC_MANAGER><10-31-2014 01:50:02.864+420><thread=4172 (0x104C)>
    Skipped update e6e7f357-7011-4bfd-8b14-8be61e43fa51 - Update for Windows Server 2003 (KB2998527) because it is up to date.  $$<SMS_WSUS_SYNC_MANAGER><10-31-2014 01:50:02.877+420><thread=4172 (0x104C)>
    Skipped update 2ed5e49f-3295-4b89-8a0b-9a38c0027d6d - Update for Windows Server 2008 R2 for Itanium-based Systems (KB2998527) because it is up to date.  $$<SMS_WSUS_SYNC_MANAGER><10-31-2014 01:50:02.890+420><thread=4172 (0x104C)>
    Skipped update 62778a2a-11d8-4cb1-9970-9c3f45202d04 - Update for Windows Server 2008 R2 x64 Edition (KB2998527) because it is up to date.  $$<SMS_WSUS_SYNC_MANAGER><10-31-2014 01:50:02.905+420><thread=4172 (0x104C)>
    And I also see the following entries:
    Sync time: 0d00h41m29s  $$<SMS_WSUS_SYNC_MANAGER><10-30-2014 01:51:51.388+420><thread=3440 (0xD70)>
    Wakeup by SCF change  $$<SMS_WSUS_SYNC_MANAGER><10-30-2014 02:05:42.535+420><thread=3440 (0xD70)>
    Wakeup for a polling cycle  $$<SMS_WSUS_SYNC_MANAGER><10-30-2014 03:05:49.050+420><thread=3440 (0xD70)>
    Deleting old expired updates...  $$<SMS_WSUS_SYNC_MANAGER><10-30-2014 03:05:49.130+420><thread=3440 (0xD70)>
    Deleted 17 expired updates  $$<SMS_WSUS_SYNC_MANAGER><10-30-2014 03:05:57.067+420><thread=3440 (0xD70)>
    Deleted 134 expired updates  $$<SMS_WSUS_SYNC_MANAGER><10-30-2014 03:06:06.487+420><thread=3440 (0xD70)>
    Deleted 168 expired updates  $$<SMS_WSUS_SYNC_MANAGER><10-30-2014 03:06:07.595+420><thread=3440 (0xD70)>
    Deleted 168 expired updates total  $$<SMS_WSUS_SYNC_MANAGER><10-30-2014 03:06:07.651+420><thread=3440 (0xD70)>
    Deleted 10 orphaned content folders in package P0100005 (Endpoint Protection Definition Updates)  $$<SMS_WSUS_SYNC_MANAGER><10-30-2014 03:06:07.875+420><thread=3440 (0xD70)>
    Deleted 5 orphaned content folders in package P0100007 (Automatic Deployment Rule for Exchange Servers)  $$<SMS_WSUS_SYNC_MANAGER><10-30-2014 03:06:07.953+420><thread=3440 (0xD70)>
    Thread terminated by service request.  $$<SMS_WSUS_SYNC_MANAGER><10-30-2014 03:06:51.039+420><thread=3440 (0xD70)>
    So it seems like it might be skipping updates?  And then it says it deleted 168 expired updates for example?
    But if I look at the drive where all the update packages are stored it hasn't changed size.

  • Update failed on s3 for a third time

    Today is a third day of S3 trying to install the new update. The update stops in one point and on the bottom of the page it says
    E: Failed to verify whole -file signature
    E:Signature verification failed
    Since this is happening every day at 9AM my question is Can I just opt out somehow from all future upgrades. I am Verizon customer for 6 years and none of the software updates brought anything good to my phone. Just more problems.

    You may think so, but its not the case.  There are so many changes every day in the digital world.   Hackers can cause corruption that can completely lock up your phone.   Changes and updates in other systems can cause the phone to stop communicating properly.   Once you start skipping updates, which sometimes build on previous updates, the problem snowballs.
    If you have concerns, contact Verizon support on the content of the updates.

  • Can I uninstall iTunes as it is going to take 5 hours to update?

    Can I uninstall iTunes and reinstall  as it is going to take 5 hours to update? Will I loose everything?

    You can skip updating the iPad Software if you just want to sync it.
    The Software Update itself should take no more than 20 minutes to install, so it sounds like your internet connection must be quite slow as iTunes must download the update before installing it.

  • Scripting Automatic Updates to get the Recommended updates, not Important or Optional

    Where I work the policy is to download Recommended updates, and I'm getting very tangled up working out how to select them with a script. Can anyone help me please?
    If my query includes AutoSelectOnWebSites=1 then I get the Important updates. Without that I get the Optional ones. I'm getting the impression that the Recommended ones are chosen by the Windows o/s, not by the web site, but I'm not sure and can't find
    the algorithm.
    Here's the relevant part of the code I've got so far.
     If ($UpdatesRequired = $True) {
    #  $SearchQuery = "IsInstalled=0 and Type='Software' and IsHidden=0"
      $SearchQuery = "IsInstalled=0 and Type='Software' and IsHidden=0 and AutoSelectOnWebSites=1"
    #  $SearchQuery = "IsInstalled=0 and IsHidden=0"
    #  $SearchQuery = "AutoSelectOnWebSites=1"
            try {
                $SearchResult = $UpdateSearcher.Search($SearchQuery)
            } catch {
       $SearchError = $error[0]
       $OutputString = $OutputString + "ERROR: searching for Windows updates failed, the error message was $($SearchError.Exception)."
       Write-AppEventLog -EventType Error -MessageText $OutputString
       Return
      if ($SearchResult.Updates.Count -eq 0) {
       $OutputString = $OutputString + "No new updates were found."
       Write-AppEventLog -EventType Information -MessageText $OutputString
      else {
    $i = 1
       $OutputString = $OutputString + "$($SearchResult.Updates.Count) new updates were found, checking which to select...`r`n`r`n"
       # most of the next code is copied from
    http://sushihangover.blogspot.co.uk/2013/01/installing-windows-updates-via.html#!/2013/01/powershell-optimize-volume-vs-process.html   
       $UpdatesToDownload = New-Object -ComObject 'Microsoft.Update.UpdateColl'
       ForEach ($Update in $SearchResult.Updates) {
        $addThisUpdate = $false
        if ($Update.InstallationBehavior.CanRequestUserInput) {
         $OutputString = $OutputString + "Skipping: $($Update.Title) because it requires user input.`r`n"
        elseif ($Update.Categories -contains "68C5B0A3-D1A6-4553-AE49-01D3A7827828") { 
         $OutputString = $OutputString + "Skipping: $($Update.Title) because it is a service pack.`r`n"
        else {
         if ($Update.EulaAccepted -eq $false) {$Update.AcceptEula()}
         $addThisUpdate = $true
        if ($addThisUpdate) {
         $UpdatesToDownload.Add($Update) | Out-Null
         $OutputString = $OutputString + "Adding: $($Update.Title).`r`n"
    write-host "$i patches selected for download"
    $i++

    Thanks for this jrv and I do like your signature by the way. I've had a long look at the most popular script in the gallery for Windows Update, this one:
    http://gallery.technet.microsoft.com/2d191bcd-3308-4edd-9de2-88dff796b0bc. Also loads of others on the internet.
    Some download everything, and the ones which don't select updates using a criteria with the search as per
    http://msdn.microsoft.com/en-us/library/windows/desktop/aa386526(v=vs.85).aspx, and/or filter the search results using the IUpdate properties
    http://msdn.microsoft.com/en-us/library/windows/desktop/aa386907(v=vs.85).aspx.
    I don't think there's an IUpdate property or search criteria which correstponds to Recommended updates, I can't see one anyway and I've spent ages looking. I'm wondering if Windows chooses, not the web site, based on its knowledge of what's installed.
    The AutoSelectOnWebSites property isn't what I need. It selects updates which the Windows Update gui calls Important when "Give me recommended updates the same way I receive Important updates" is
    unticked. The requirement where I work is to install the Recommended updates. I've tested it several times and I've confirmed that on plenty of the Recommended updates
    AutoSelectOnWebSites is set to false (on all of the updates in the example below)
    Here's an example:
    With "Give me recommended updates..." unticked I get:
    With "Give me recommended updates..." ticked I get:
    I think I need to know how Recommended updates are selected, and I can't think of any more digging I can do. Jrv, if you or anyone else knows I would be grateful!

  • Problem with CS3 installation. Update Check doesn't accept serial number

    Hey,
    I have CS3 which I need to instal from one mac to another. It already has been deactivated and installed again as well. But after entering serial number I can see window called Updade Check and here my serial doesn't work. Technical support does not longer support old versions so they can't help me. But I need to run CS3 on this mac anyway. Can I skip Update Check step anyhow? Or what can I do to run this? Problem is I already cannot even use it on previous machine 'cause it already has been deactivated.
    Does anyone know what should I do in this situation?

    I want to but there is no option for that. I can't go futher without it.
    Actually I don't even need to update anything but it seems I have no choice

Maybe you are looking for

  • How can I automatically crop a photo based on its content (a black border)?

    I scanned hundred of negatives. The scanner produced .jpg files.  Most of the scanned images show the negatives holder to one side as a black border.  The black border is thicker or thinner depending on the photo. Please see pictures attached.  Is th

  • IDOC download to own system

    I have a requirement where I need to dowload IDOC's created to my own system in IDOC format. Basically it means sender system and receiving system are same. Any help is appreciated.

  • Oracle BPA Suite Install

    Hi, I've done some browsing on BPA Suite today and found some great documents around it and would like to download BPA to get my hands dirty but can't seem to find any downloads for it. On one of the documents I came accross I found a link to a downl

  • LMS alert

    Hi I am seeing this error message coming from our core VSS pair's (at different sites) I have checked the syslogs but I am unable to see any interfaces going down on both the 6500's and the connecting edge 4500's. This setup has been fine for around

  • Wie importieren ich ein bibliothek?

    ich hab mein Itunes bibliothek exportiert auf eun separaten festplatte mit der option bibliothek exportieren. jetzt hab ich Itunes neu instaliert und möcht meine dateien wieder zurück in Itunes importieren. nur hier finde ich keine option für.