Should folder be closed before changes are reflected

Hi,
Am using appendMessages() method on a folder.
    desiredFolder.open(Folder.READ_WRITE);
    int testCnt = drafts.getMessageCount();
    System.out.println("Before appending messages" +testCnt);   
    desiredFolder.appendMessages(msgArr);
    testCnt = drafts.getMessageCount();
    System.out.println("After appending messages" +testCnt);    I retrieve msg. count value before appending messages and after appending messages.
In Exchange server, the changes are reflected immediately
   Before appending messages 6
   After appending messages    7In hmailserver, the changes are not reflected
    Before appending messages 6
   After appending messages    6What is the best practice? Should I close the folder so that changes are reflected? Is this a mailserver issue or
javamail issue?

The IMAP spec doesn't have any requirements about how timely the notification of new messages needs to
be. You may have to poll for a short time to give the server a chance to process the new messages and
notify you.
I would expect that closing and reopening the folder would make it much more likely that the new messages
would be seen, but I don't know if the IMAP spec guarantees that.

Similar Messages

  • HT4098 I want to change my store and it says that I have a 0.11$ credit and should spend it how before changing stores how can I do it?

    I want to change my store and it says that I have a 0.11$ credit and should spend it how before changing stores how can I do it?

    You can use your remaining store credit by purchasing an item, and paying the extra amount using a credit card, debit card, or if your country's store supports it, your PayPal or Click&Buy account.
    I you don't have an alternate payment method you can provide, then you will need to contact iTunes Store Customer Support via http://www.apple.com/support/itunes/contact/

  • How to I synch files with a co-worker so our changes are reflected in a single document?

    My co-worker and I would like to be able to upload a file so we can both work on it and have our changes retained. The support forum says:
    Adobe Creative Cloud desktop app keeps all the files in sync. Any additions, modifications, or deletions are reflected on all connected computers and devices. For example, if you upload an .ai file using the Creative Cloud Files page, it is automatically downloaded on all connected computers.
    However, when I share a file with her, she only gets a link to the read-only file, which she can download and then modify, but then she is creating a whole new document and we are making version control a nightmare. I want to be able to create a document, upload to CC Files, and have her also be able to access the CC Files folder, work on the file, and have her changes reflected for both of us, and so on. So I guess what we need is a shared CC folder? If I can create a file on my desktop, upload it to CC, and have it synch with my iPad, why can't we operate this same principle between her computer and mine?
    Is this possible?
    Thanks!

    Hi Xziat,
    The excerpt cited here is really intended as a way for the same individual to be working on the same files between multiple computers rather than multiple users between multiple computers. The problem being, like you described, version control and ending up with separate unique copies which would then need to be shared again. Being able to share the contents of a folder is a feature currently being developed. I know some people use Adobe Drive for this kind of workflow: http://www.adobe.com/products/adobedrive.html
    - Dave

  • Incopy CS4 (mac) - when closing file, changes are not saved

    I have a CS4 Indesign document with assignments saved. When the editor works on the file, she is able to save as she goes, however gets a dialogue box about how we are trying to save over an older file with the options 'submit changes, discard changes and I think one other option'.
    When 'submit changes' is clicked we re-open the file and find that the changes have not been saved.
    We don't understand why we would receive that message since we are hitting save as changes are done while working on the file.
    The odd thing is that it doesn't happen on all files. And the dialogue box doesn't always show up.
    One thing to note is that we recently changed from a CS2 workflow that we've been using successfully for a few years. Ie. without that particular dialogue box showing up or any save issues.
    thanks all!

    Lr & Photoshop both have the potential to use tiny (xmp) files for storing changes (and never save any other files), and both can save/export big honkin' tiffs, or like-sized jpegs...
    If you save files in Photoshop with layers and such stuff, the files can get pretty big.
    So, to answer your question: "It depends..." - which files, how saved/exported...
    Try some stuff and inspect the file sizes!
    Rob

  • Changes are not reflected in ODS

    Hi all
    Can anyone help me with this!!!!!!!!
    There is an ODS1 which gets data from transparent table. From ODS2 data is loaded into transparent table. Then the data is deleted from ODS1 and ODS2.
    Again the data is reloaded into ODS2 and then into ODS1.
    The changes are reflected in the ODS2 and changes are not reflected in ODS1
    Even after refreshing also changes are not reflected in the ODS1.
    what could be done??????
    Thanks
    Rani

    Hi rani,
    U need to check whether the changes are reflected in the transparent table once you reload it from DSO2.
    The reason might be, the key of the table might be different hence it might be adding records instead of overwriting or updating it. If there is any code used, check the logic whether u are appending or modifying the contents of the table. generally it should be modifying the contents.
    Hope this help
    Regds,
    Shashank

  • After transport changes are not reflecting to other users

    HI all it's urgent
    One user abcd who had made some changes to some screens is not reflecting to other users after transport we have 2 clients 100 and 200 changes are reflecting in own user id we transported with scc1 transaction
    with regards
    vinod

    I am not a developer, so pardon me if I misunderstood this question. I thought screens and other repository objects are client independent. That means the change should be evident in all clients without a need to transport.
    Is this to do with security by any chance ( though it seems unlikely )? Can the other users see the change in the original client in which the request was made? That should help you determine whether the problem lies with the transport or outside. Also you can check the contents of the transport in SE01 and see if it holds the kind of data that you are expecting it to. I am guessing you have already generated the screen after saving the changes.
    Hope this helps,
    Sanket

  • Why won't CSS changes save -  Are Reflected Locally, but not there when uploaded.

    I have recently re-installed Dreamweaver CC 2014.1.1. I am editing an existing site http://www.travelight.tv/test.html. CSS changes won't save (i.e ".righthalf" and <strong> and H3.)  I finally replaced the class with a table for the sake of time. Still can't save <strong> and H3 changes. CSS Designer Panel correctly shows the H3 font and the hex color (ee5e33) - but the color palate shows black. The uploaded document reflects gray. The changes are reflected properly locally, but not when uploaded to server. The time/date stamp doesn't update, despite saving several times. What am I missing?

    Sorry about that, I managed to get the test URL wrong. http://www.travelight.tv/test/index.html. I had to remove the righthalf class from the document, but the <strong> and <h3> tags are still having issues.As for the location, I am opening the one that is linked to the document from the bar at the top of the document - it is the only one named travelight.css. When I logged in this morning, I noticed that it is showing the icon as a Wordpad document even though the File Type shows it as a Cascading Style Sheet - I have tried saving it as an html file and have re-created it, but it remains a Wordpad document. Below is the a screen shot of the folder.

  • Changes are not reflecting on Script layout

    Hi Gurus,
         I made chandes in SO10 standard include this include can be used in Script,
    when ever I copied script from DEV client to Test Client changes are visible in SO10 include text But not reflecting while executing the Script through Transaction.Please suggest.
    Thank You,
    Usha.G

    >
    ushasri gadipally wrote:
    > I copied script using scc4 and created a transport request even so10 include also, But not reflecting on Script layout.t
    Check if the std. text changes are reflected in your testing server in SO10. If not you have to import the Std. Text using SCC4 as well.

  • Changes are not reflecting in other users

    HI all it's urgent
    One user abcd who had made some changes is not reflecting to other users after transport, we have 2 clients 100 and 200 ,changes are reflecting in own user id ,we transported with scc1 transaction
    with regards
    vinod

    Dear Vinod,
    Can you explain what did you try to do ? what changes do you make ?
    Dimitry

  • Changes are not reflecting in the Quality

    Hi,
    These are standard SAP Components. I have imported the ESS and MSS Packages.
    Actually 3 Development Components are using in my application (Tra,TraTri and TraTre).Tra is the root DC.
    I have made  changes  to those objects and sucecessfully  build  without errors.
    After check-in all  activities  those activities are working fine in Development system.
    But those changes not refclecting in Quality system. So i was founded build log error in Consolidation.
    I was fixed the error in the Development system and build the components without build error.
    still now changes are not reflecting in the quality system.
    But out of 3 DCs(Tra,TraTri,TraTre) Tra and TraTre are working fine in Quality(changes are  reflecting) only problem in TraTri DC (changes are not reflecting in the Quality)..
    Please help me as soon as possible....Its very help full for me
    Regards
    Sudhakar Reddy A

    Hi Slava,
    very very thanks to you for the fast reply. but one thing in my side.
    When i release the activities after successful build, i export those changes and place them in the import queue of the consolidation system in the CMS.
    The export in the SAP NetWeaver Developer Studio packs all selected activities into a change request, and then places them in the import queue of the consolidation system.
    When the my system administrator imports this request into the consolidation system, the released changes are integrated into the DTR workspace of the consolidation system; the build server compiles the modified components.
    my system administrator findout build error in consolidation system:
    [wdgen] [Error]   .PersonnelNumberCheck: The mapping definition is inconsistent, the mapped context element does not exist.
         [wdgen] [Error]   com.sap.xss.tra.tri.vc.changepersno.VcTriChangePersNo --> ContextModelNode PersonnelNumberCheck [modelClass]: The context model node has not been bound to a model class (Hint: A Context model node has to be bound to a model class or mapped to a model node of another controller.)
         [wdgen] [Error]   .PersonnelNumberCheck.I_Employeenumber: The mapping definition is inconsistent, the mapped context element does not exist.
         [wdgen] [Error]   .PersonnelNumberCheck.PersonnelNumberCheck_Output: The mapping definition is inconsistent, the mapped context element does not exist.
         [wdgen] [Error]   com.sap.xss.tra.tri.vc.changepersno.VcTriChangePersNo --> ContextModelNode PersonnelNumberCheck_Output [modelClass]: The context model node has not been bound to a model class (Hint: A Context model node has to be bound to a model class or mapped to a model node of another controller.)
         [wdgen] [Info]    com.sap.xss.tra.tri.vc.changepersno.VcTriChangePersNo --> ContextModelNode PersonnelNumberCheck_Output [supplyingRelationRole]: Supply function or supplying relation role missing (Hint: A child node which is not mapped must have either a supplying relation role or a supply function or one of its parent nodes must have a supply function.)
         [wdgen] [Error]   .PersonnelNumberCheck.PersonnelNumberCheck_Output.E_Name: The mapping definition is inconsistent, the mapped context element does not exist.
         [wdgen] [Error]   .PersonnelNumberCheck.PersonnelNumberCheck_Output.PersonnelNumberCheck_Et_Return: The mapping definition is inconsistent, the mapped context element does not exist.
         [wdgen] [Error]   com.sap.xss.tra.tri.vc.changepersno.VcTriChangePersNo --> ContextModelNode PersonnelNumberCheck_Et_Return [modelClass]: The context model node has not been bound to a model class (Hint: A Context model node has to be bound to a model class or mapped to a model node of another controller.)
         [wdgen] [Info]    com.sap.xss.tra.tri.vc.changepersno.VcTriChangePersNo --> ContextModelNode PersonnelNumberCheck_Et_Return [supplyingRelationRole]: Supply function or supplying relation role missing (Hint: A child node which is not mapped must have either a supplying relation role or a supply function or one of its parent nodes must have a supply function.)
         [wdgen] [Error]   .PersonnelNumberCheck.PersonnelNumberCheck_Output.PersonnelNumberCheck_Et_Return.Type: The mapping definition is inconsistent, the mapped context element does not exist.
         [wdgen] [Error]   .PersonnelNumberCheck.PersonnelNumberCheck_Output.PersonnelNumberCheck_Et_Return.Message: The mapping definition is inconsistent, the mapped context element does not exist.
         [wdgen] [Error]   .PersonnelNumberCheck.PersonnelNumberCheck_Output.PersonnelNumberCheck_Et_Return.Log_No: The mapping definition is inconsistent, the mapped context element does not exist.
         [wdgen] [Error]   .PersonnelNumberCheck.PersonnelNumberCheck_Output.PersonnelNumberCheck_Et_Return.Field: The mapping definition is inconsistent, the mapped context element does not exist.
         [wdgen] [Error]   .PersonnelNumberCheck.PersonnelNumberCheck_Output.PersonnelNumberCheck_Et_Return.System: The mapping definition is inconsistent, the mapped context element does not exist.
         [wdgen] [Error]   .PersonnelNumberCheck.PersonnelNumberCheck_Output.PersonnelNumberCheck_Et_Return.Message_V1: The mapping definition is inconsistent, the mapped context element does not exist.
         [wdgen] [Error]   .PersonnelNumberCheck.PersonnelNumberCheck_Output.PersonnelNumberCheck_Et_Return.Message_V3: The mapping definition is inconsistent, the mapped context element does not exist.
         [wdgen] [Error]   .PersonnelNumberCheck.PersonnelNumberCheck_Output.PersonnelNumberCheck_Et_Return.Message_V2: The mapping definition is inconsistent, the mapped context element does not exist.
         [wdgen] [Error]   .PersonnelNumberCheck.PersonnelNumberCheck_Output.PersonnelNumberCheck_Et_Return.Log_Msg_No: The mapping definition is inconsistent, the mapped context element does not exist.
         [wdgen] [Error]   .PersonnelNumberCheck.PersonnelNumberCheck_Output.PersonnelNumberCheck_Et_Return.Number: The mapping definition is inconsistent, the mapped context element does not exist.
         [wdgen] [Error]   .PersonnelNumberCheck.PersonnelNumberCheck_Output.PersonnelNumberCheck_Et_Return.Message_V4: The mapping definition is inconsistent, the mapped context element does not exist.
         [wdgen] [Error]   .PersonnelNumberCheck.PersonnelNumberCheck_Output.PersonnelNumberCheck_Et_Return.Parameter: The mapping definition is inconsistent, the mapped context element does not exist.
         [wdgen] [Error]   .PersonnelNumberCheck.PersonnelNumberCheck_Output.PersonnelNumberCheck_Et_Return.Id: The mapping definition is inconsistent, the mapped context element does not exist.
         [wdgen] [Error]   .PersonnelNumberCheck.PersonnelNumberCheck_Output.PersonnelNumberCheck_Et_Return.Row: The mapping definition is inconsistent, the mapped context element does not exist.
         [wdgen] [Error]   com.sap.xss.tra.tri.vc.changepersno.VcTriChangePersNo --> ContextValueAttribute EmployeeName [readOnly]: The context attribute has to be read-only. (Hint: As the mapped context attribute is read-only this attribute has to be read-only, too.)
    I was fix error in my development system with out any build errors. still now not working ...pls give me any suggestion.i dont have access to consolidation system.
    Regards,
    Sudhakar

  • Changes are not reflecting in Int Directory. Pls suggest

    Hi All,
    I made changes in my Integration Directory.
    I run the scenario. Changes are not reflected in sxmb_moni.
    I do SXI_cache, CPA Cache and then again run scenario.
    Changes are reflected.
    What steps to do so that I do not have to do SXI_cache, CPA Cache again to get my changes reflected.
    Regards

    Hi,
    I have done the post installtion steps.
    My XI was working fine initially
    But yesterday it stopped working properly.
    My ID changes were not reflecting.
    Then I did SXI_cache, CPA Cache.
    Then my ID changes again started working properly.
    Since my scenario has to go in production:
    Pls tell me what steps to do so that
    I do not get this SXI_cache, CPA Cache problem again.
    Regards

  • BDoc changes are not reflected in mobile sales application

    Hi guys
    I am trying hard but I do not get it to work with MSA 6.0 SP2 / 5.0 SP11:
    - I have changed Query BDocs in CRM Online
    - I am synching the BDocs using the BDoc Synch against the correct system / client
    - I am synchronizing metadata with the client console
    -> The tpsfile directory content is up to date
    - I am doing a full generation and a complete build
    -> my dll's are completely regenerated
    - I am calling the correct application (BOL and UI changes are reflected).
    But none of my BDoc changes arrive on the client?Acutally, one week ago somehow some changes were reflected, but I do not know why and now nothing is synchronized at all.  Seems to be very strange ... anyone an idea?
    Regards
    Kai

    Hi,
    since 5.0 the query BDoc definitions are not saved along with the TPS.NET file but with the ARSREP.DAT.
    The TPS.NET file contains only the data for sBDocs.
    The steps after modifying qBDocs are:
    - synchronizing the BDoc/s within Dev Studio
    - generating the BOL
    But it seems you did all these steps already...
    I remember there are some tools like metadataviewer? Did you already check with these tools whether the generation succeded?
    Regards,
    Wolfhard

  • Changes are not reflecting on same system for WD Component

    Hi ,
    I have one interesting issue , I have done some changes in Webdynpro component , changes are reflecting for some users but not reflecting for some other users on the same system. Can anyone tell me why it is behaving like that ?
    In R/3 I have faced this issue , this is one option of GENERATE via this I have resolved this issue but how i will do it here?
    Thanks
    Ankesh Jindal

    I am not sure if i understand your real problem here.
    It could be very well related to Personalization and Customization.
    Go to SICF transaction and then
    sap/bc/webdynpro/sap/wd_analyze_config_user

  • Changes not reflecting in publish server

    I have created a component in CQ5 which gives a pop up window with gray background on clicking the image. It is working fine in author instance.In publish mode the JS is not working properly. I have cleared the cache from apache folder also. Still changes are not reflecting. Please tell me what to do?

    There is no need to restart server. What version of CQ are you using ? I remember some JSP compilation issue in publish instance if JSP files get modified. But it was fixed in CQ5.5 update1. Also restarting JSP/sling classloader (org.apache.sling.commons.classloader and org.apache.sling.jcr.classloader) should trigger force recompilation.
    Also since you mentioned you are clearing cache. From where are you trying to access changes ? Dispatcher or publish instance ?
    Yogesh

  • Develop Module changes not reflected on screen

    I have used LR for about 3 years and have never had an issue with it.  I am using LR 5.7 64 bit.  I have a Win7 Pro machine with 8 Gb of RAM and 2 TB drive that is 50% free.  I do not have PS and I am not a Creative Cloud customer.  Yesterday I started having trouble in the develop module.  None of my changes are being reflected on the screen. 
    It almost seems that the window never changes from the image preview to the live image.  When I try to zoom the image gets very pixelated (goes back to my theory I am still looking at the preview).  I can zoom in library mode and the image zooms correctly.
    If I leave develop module and go back to library the changes are reflected.  I have 2 catalogs, both are effected.  I tried creating a new catalog and the problem still exists.  When I try to use the crop tool the screen goes completely white (or black depending on background color). 
    I have tried all of the steps in the basic troubleshooting.   I have tried uninstalling and re-installing.  
    Has any one seen this behavior?  Any ideas how to correct?

    I have solved this problem by uninstalling the DirectX drivers and re-installing them. 

Maybe you are looking for

  • Leopard Mail! Problems?...heck, it launches and the ball starts spinning...

    Yup. God bless all of the early adopters. I installed Leopard the other night. First just the update....hmmm, things were buggy. So I archived and installed. Mail.....will launch, and then the spinning ball of death starts. Nothing else. I have to fo

  • How I Could to Know the Servers to Use on iTunes for iPhone

    I am claiming respect servers and, an account for iTunes that have been trea ted to be open from about 4 week ago without obtaint a positive result. My device iPhone 3G require this implementation for his natural developement and, use. I get a limite

  • How to reach public variables in a servlet from jsp

    this is myclass.java servlet public class myclass{      public String var1,var2;     public void method1() {     var1="test1";     var2="test2"; }this is my jsp page; <%@ page import="com.xxx.albumlerim.myclass"%> <% myclass tester=new myclass(); tes

  • Procedure whith variables parameters

    I want to make a Form in Oracle Portal, based on a procedure, but I want the numbers of the parameters of the procedure to be dynamic.If the number of the rows from a table is changing , the number of parameters must be increased whith the same value

  • Select Option - Problem

    Hi All, I have Material No(Select Option, Say S_MATNR) in my selection screen. I alway give more(Ie., Greater the 1000)  no of entries in S_MATNR. If we this Selection option in for fetching material no from MARA Table(SQL Query), We will get dump. I