HELP -ZipOutputStream performance is not consistent across servers

Hi,
I have a pretty standard code that zips one folder in a zip file using ZipOutputStream. The folders that are zipped are 2 GB in size and consists of TIFF images files.
We are currentinly in the testing phase and notice very inconsistent performance issues with the Zipping module. On the integration server, to zip 2 GB of data, the zip module took 5 minutes. However, when the same zip code runs on the staging server, it takes 20 minutes. Both the servers are the same in RAM capacity and processing powers. The size of the data is also the same: 20 GB.
Can anyone help me understand what could be the issue such taht the performance is so detrimental when movingfrom one server to another.
The only difference between the two servers is that on the integratoin server there is 20 GB of free harddisk space and on the staging server there is only 8 GB of hard disk space. Is it possible that because of the less disk space on staging, the OS itself is taking a few seconds extra on each write to allocate the space. Possibly disk fragmentation also may be a factor.
For your reference, the zip code is as follows:
public boolean createZip(File sourceToZip,String zipDestination, String zipFileName) throws IOException
           boolean result=false;
           try{
     // Check that the directory is a directory, and get its contents
     File d = sourceToZip;
     if (!d.isDirectory())
      throw new IllegalArgumentException("Not a directory:  "
          + sourceToZip);
     String[] entries = d.list();
     byte[] buffer = new byte[4096]; // Create a buffer for copying
     int bytesRead;
     ZipOutputStream out = new ZipOutputStream(new FileOutputStream(zipDestination+"/"+zipFileName));
     for (int i = 0; i < entries.length; i++) {
      File file = new File(d, entries);
     if (file.isDirectory())
     continue;//Ignore directory
     FileInputStream in = new FileInputStream(file); // Stream to read file
     ZipEntry entry = new ZipEntry(file.getName()); // Make a ZipEntry
     out.putNextEntry(entry); // Store entry
     while ((bytesRead = in.read(buffer)) != -1)
     out.write(buffer, 0, bytesRead);
     in.close();
     out.close();
     result=true;
          catch(IOException e)
               throw e;
          return result;
     }If anyone has any ideas let me know Thanks.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

The free space could be an issue, but you can improve your code:
ZipOutputStream out = new ZipOutputStream(new FileOutputStream(zipDestination+"/"+zipFileName));
ZipOutputStream out = new ZipOutputStream(new BufferedOutputStream(new FileOutputStream(zipDestination+"/"+zipFileName)));That will improve your performance considerably on all platforms. Also change your buffer of 4096 to 16k or 32k.
You could also consider converting the TIFF files to JPEG instead of zipping them at all.

Similar Messages

  • BUG? Fireworks to DW CSS gradients not consistent across browsers...?

    Greetings -
    I don't know if this is a bug or what, but after watching one of the Adobe TV roadshow videos I generated CSS gradients in Fireworks, selected ALL the browser compatible translations Fireworks provides and then copied/pasted the CSS into my web page in Dreamweaver. Looks good in DW - all seems well...until I view it with Firefox...
    I'm not a Rocket Scientist, but also not a newbie.
    Basically, IE, etc. all work fine EXCEPT Firefox! Firefox maintains the color, but distorts the gradient percentage and reverses the angle of gradient. E.g. if my gradient is going from dark on top to white on the bottom of a box, it all displays fine in the other browsers, but in Firefox the gradient goes left to right, dark to light...
    And yes, I promise I made sure I have the Firefox CSS in addition to the IE, etc. before bothering you all.
    OH! AND I am using the Fluid Grid set up in Dreamweaver...just FYI.
    Am I missing something?
    Do I have to manually update? (i.e., tie a rope around my waist and head on in to the looking glass - code land that is CSS gradients?
    Is there something in DW that needs to be altered after the CSS from FW is added?
    Many thanks for all your help and advice!
    JL

    JLSF45 wrote:
    I don't know if this is a bug or what,
    Yes, it's a bug in the code that Fireworks generates, not in the way that Firefox handles CSS gradients.
    The reason for the problem is that browsers started implementing CSS gradients on an experimental basis long before the W3C standardization process got under way. For some reason, all browsers decided to calculate angles using the polar coordinate system, in which 0 degrees points right and the angles increase counterclockwise. This way of measuring angles appears to be common in geometry, but it's not the way that most people think of them.
    The most common way of measuring angles is to use the compass system: 0 degrees points straight up, and angles increase in a clockwise direction. That's the way the W3C decided angles should be measured in CSS. Because 0 degrees in the polar coordinate system is 90 degrees in the standard CSS syntax, and angles increase in the opposite direction, the only angle that's the same in both systems is 45 degrees.
    Unfortunately, whoever coded the Fireworks panel didn't realize that the standard syntax uses different angles, and nobody picked it up in beta testing. The problem has been reported to Adobe, and I'm told it will be fixed, but I don't know when.
    Until it's fixed, you need to convert the angle in the unprefixed version of linear-gradient().
    Subtract the angle generated by Fireworks from 360.
    Add 90
    For example, if the angle generated by Fireworks is 315deg, 360-315 = 45. 45 + 90 = 135. So change the angle in the unprefixed version to 135deg.
    IE 10 also uses the standard syntax, so the conversion is necessary not only for Firefox, but it will be needed by all browsers.
    This is a rare case of the value for browser-specific prefixes being completely different from the standard syntax.

  • Problems with counter in renaming interface not maintaining consistency across multiple libraries

    Happy New Year, all.
    We have a problem in Aperture that I was curious if others had, and I'm hoping somebody has figured out a workaround they will share with me. Originally, we used Aperture and it had one huge library for our different types of photography. We had to change away from that setup because if there was a problem it would take ages to troubleshoot a ~500GB library and perform actions like rebuilding the library. We didn't want to do this, but splitting into six libraries has improved the speed in general and has made rebuilding smaller individual libraries quicker.
    We shoot a lot of photos and want each photo to have a unique number (along with a custom name). We set up a rename option in Aperture that has "Custom Name_Counter" and set counter to be six digits. The problem this seemed to create is that the counter in the rename function doesn't produce a unique number consistently across libraries. If I'm in library A, and I rename a batch of files, the counter will go up and remember its last number as long as I stay in Library A. The minute I switch to Library B, the number is at where it was the last time I used Library B. This indicates to me that the preferences travel with the library.
    Does anybody know a way that I can have a global preferences file, rather than a library preferences file? It seems it maybe used to be this way, but one of the version 3 upgrades forced me to delete a preferences file for the Facebook bug a couple of version 3 subversions ago.
    On a different note, another problem with renaming is that it is so slow. Renaming master files for even 100 or so files takes minutes. Does anybody else have this happen? Sometimes it's faster, but I haven't been able to figure out a pattern to this.
    I've submitted feature requests for revamping the renaming interface for Aperture for at least a couple of years. It never seems to improve. iView Media Pro, a program I used six years ago, had a great renaming setup and I wish Aperture
    Maybe it's time to reinstall Aperture. I bought it on disc, so it's not through the App store. Does anybody have experience reinstalling? I would, of course, like to keep keywords and other preferences.

    hallerphoto wrote:
    Machine is a Mac Pro dual quad-core 2.16 GHz.
    I am unaware of a 2.16 GHz Mac Pro tower. Are you referring to a Macbook Pro or to an iMac? Or is it a configuration I am just unaware of?
    My concern is that it seems that you may be making major workflow compromises that might be better dealt with by hardware changes as feasible. E.g. most 2.16 GHz Mac CPUs are about 1/6 as strong as a top Mac Pro today or about 1/4 as strong as today's Macbook Pros, and that has huge implications on Aperture performance.
    Also, graphics processors of the 2.16 GHz era were ridiculously weak compared to modern Macs. Aperture has historically performed best with strong GPUs (e.g. the strongest G5 towers would not run Aperture without a GPU upgrade). If you stay with the existing box a GPU upgrade may (if feasible) be in order.
    You did not mention RAM, which has defining impact on Aperture performance.
    Even if no hardware upgrades are made, it is useful to know what hardware performance bottlenecks may exist. So some questions:
    • Which Mac(s), exactly?
    • Which OS version and which Aperture version?
    • How much RAM is on board?
    • If a Mac Pro, which GPU card is in use?
    • What mass storage (hard drives and SSDs), how connected and how full?
    Thanks.
    -Allen

  • I get an error when attempting to start genius. It says "Unsuccessful Action: The action you attempted to perform did not complete successfully. Please try again later." Help!

    I get an error when attempting to start genius. It says "Unsuccessful Action: The action you attempted to perform did not complete successfully. Please try again later." Help!

    From an existing Discussion:
    Go to Safari --> Preferences
    Click Security
    Show Cookies
    Type "apple.com" in to top search field
    Select All
    Click Remove
    Click Done
    Repeat the above to confirm they are gone (mine took two attempts)
    Choose Update Genius again in iTunes.
    iTunes 9 - can't update genius https://discussions.apple.com/thread/2151150

  • JSF 1.2 performance is not adequate

    Sun JSF developers...
    JSF 1.2 performance is not adequate.
    Here is a simple use case to prove:
    Render a table with ~100 columns and ~1000 rows (with facelets)
    (you could increase the numbers to stress test)
    using h:dataTable tag.
    You have to repeat h:column hundred times in XHTML (to create bigger
    UI component tree).
    Have a backing bean with 100 properties and JSF action which returns
    list of 1000 those beans.
    In this case there is no DB interaction, no back-end involved.
    Have your application set up with Ajax4Jsf (so it goes via its filter). You could
    also compare the results with and without it.
    Measure RENDER RESPONSE phase, and overall response time.
    Compare with JSP which renders same table from same bean.
    This is very simple test case to write and you will see that JSF in current state is really slow.
    This test could also be used to measure performance of new versions to see where they stand.
    It would be also interesting to see how render time grows with increase of
    number of columns (number of components in UI tree) (Is it linear or not?)
    How fast does it grow with the number of rows (Is it linear growth with increase of data size?)
    I believe this type of tests should be standardized before each release.
    Does JSF development team perform regular profiling of JSF RI java code?
    Running profiling for this use case could also reveal interesting things which
    could be improved.
    Regards,
    --MG                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    But you have done nothing here to determine if itscales linearly or not.
    See below.
    You increase number of columns (rows) and measure
    time.
    When you draw on a chart how time grows with increase
    in number of columns (rows) you will see if it linear
    or not.
    I understand how to determine the growth rate; I was merely pointing out that you have only claimed to run one test and one cannot determine the growth rate from that.
    It would be also interesting to see how render timegrows with increase of
    number of columns (number of components in UI tree)(Is it linear or not?)
    How fast does it grow with the number of rows (Isit linear growth with increase of data size?)
    Unless you are talking about spreadsheets I doubtthese apps are useful.
    They are very useful.I bet they would be more useful as native desktop apps.
    >
    But this is besides the point; my point is that thescenario of having a large number of components on a
    page does not occur often in real applications.
    Really? You are not serious?Yes I am serious. I can see we have different perspectives here.
    >
    A much more common performance scenario is highload.
    This is separate story. I'm talking about latency of
    loading one page.
    Please do not confuse latency and bandwidth.I am not talking about bandwidth but throughput.
    >
    BTW most of the web sites have small number of
    concurrent users,
    so the most common scenario is actually exactly
    opposite.
    Low load but complex pages with lots of components on
    them.Again, I can see we have different perspectives here. My experiences are the opposite.
    >
    So your results will be much more useful if youinclude a load test on a moderately sized page. I'm
    not dismissing your original test as invalid or
    useless.
    My results are more useful than what you are
    proposing, as they help to pinpoint the cause of
    latency. You could run my test with profiler and
    investigate the root cause of it.You do not need to increase the number of components on the page to numbers beyond practice in order to determine this. It is sufficient to run profilers on average pages many times and determine where the most time is spent. In fact, your approach may result in an implementation optimized for pages with a large number of components but not for pages with a lower number of components.
    >
    My point is that the user experience is not degradedby the performance but by the poor presentation of
    information. Many web browsers to not take kindly to
    such large tables as well.
    With JSF user experience is degraded by performance.I'd like to see your numbers and the code you used.
    JSF makes it easier
    to do nicer user presentation, but performance
    suffers to degree that it is not usable in number of
    cases.
    JSF inability to generate page fast on server side
    has nothing to do with browsers.Correct; but I was talking about pages with large tables in general and why they are a bad idea for web applications. A native application is more appropriate. But this is orthogonal to the purpose of this thread.
    >
    Again, you are missing the point. Perhaps JSFperformance differs between the application servers.
    A fair and useful test will determine that. I'm not
    talking about the relative performance vs JSP here.
    If JSF does things inefficiently in its code it will
    show consistently bad results
    across all app servers. Again my test is to detect
    and pinpoint JSF inefficiencies and not app servers
    ones.
    Don't you think JSF developers would want to look for
    it first rather than investigating why it perform
    badly on some particular app server because of
    its internal reasons.I'm approaching this from the perspective of a developer evaluating whether to use JSF and which application server to use. This is very useful from this point of view.
    As far as the JSF developers go, as I noted above one does not need to scale out the number of components on the page to determine performance bottlenecks in the implementation. An average case is more appropriate.
    Also, if you are going to compare JSF to other technologies you need to try a variety of platforms for both. Some application servers might do JSP better than others. If you limit yourself to one platform you run the risk that it is skewing the comparison one way or another.

  • Active version of the BDoc type PRODUCT_MAT is not consistent

    Hello,
    We are using CRM 7.0. We tried to release change request but got an error message:
    Active version of the BDoc type PRODUCT_MAT is not consistent in the table SEGM
    Do you know what should we perform to resolve this problem?
    Thanks in advance,
    Sergey Kozyrev

    Hi Sergey,
    Please check the entry in table SMOG_TRANS for TR_NAME = PRODUCT_MAT.
    Current active version i.e SMOACTV = X ,in SAP standard system is for,
    SMOVERS = 00015      .
    Also,you can try re-generating the BDoc PRODUCT_MAT once again.
    Hope this helps!
    Best Regards,
    Shanthala Kudva.

  • Pre-composed layers not consistantly casting shadows?

    So. I've been trowling through th interwebs for an answer and it appears a lot of people have come accross similar issues yet I am still to solve my little hiccup.
    I have a bunch of 3D layers sitting on a 3D plane. Everything was going swimmingly until I animated these layers in individual pre-compositions, when all the shadows disappeared. All shadow settings are set correctly, lights are in the right places, layers are separeted on Z axis and there are no effects on anything.
    I'll include some images so you get the gist:
    For some reason, 1 shadow is working. i've checked all the settings and nothing seems to be different between them.
    Here's a shot of the stats on the working comp:
    And one of a non-working comp:
    Now the pre-comps are no longer interacting with the ground at all. You can see the working one in the background is hanging out half way through the floor where as the front characters should be doing the same but aren't.
    And finally, for some reason, at the 7second mark, it suddenly works again!?
    Now, nothing changes at the 7 second mark, the camera and lights are in exactly he same place. None of the figures have moved, no comps have ended. what on earth is happening??
    Can anyone help me?

    what do you mean by toggling the visibility?
    They all have masks on them that fade them in however the originals had masks when they were just straight illustrator layers and the shadows worked fine then too.
    Heres an in-comp image of the timeline. there's not a whole lot going on and again, nothing at 7seconds.
    Also, here is a picture of the only comp within this comp that gets close to that 7 second mark. Again, nothing happens.
    All the character comps are set up the same so problems should be consistant across the board but again, one in the background of the first image i posted works yet none of the others. i've even duplicated this layer and the duplicates don't work.

  • IPad 2 6.1.3 iMessage not consistently working. Has trouble sending and receiving. How can this be fixed?

    iPad 2 6.1.3 iMessage not consistently working. Has trouble sending and receiving. How can this be fixed? Have tried restarting, turning iMessage off and on, signing out and in. Please help, thanks!

    Using FaceTime http://support.apple.com/kb/ht4319
    Troubleshooting FaceTime http://support.apple.com/kb/TS3367
    The Complete Guide to FaceTime + iMessage: Setup, Use, and Troubleshooting
    http://tinyurl.com/a7odey8
    Troubleshooting FaceTime and iMessage activation
    http://support.apple.com/kb/TS4268
    iOS: FaceTime is 'Unable to verify email because it is in use'
    http://support.apple.com/kb/TS3510
    Using FaceTime and iMessage behind a firewall
    http://support.apple.com/kb/HT4245
    iOS: About Messages
    http://support.apple.com/kb/HT3529
    Set up iMessage
    http://www.apple.com/ca/ios/messages/
    iOS 6 and OS X Mountain Lion: Link your phone number and Apple ID for use with FaceTime and iMessage
    http://support.apple.com/kb/HT5538
    How to Set Up & Use iMessage on iPhone, iPad, & iPod touch with iOS
    http://osxdaily.com/2011/10/18/set-up-imessage-on-iphone-ipad-ipod-touch-with-io s-5/
    Troubleshooting Messages
    http://support.apple.com/kb/TS2755
    Troubleshooting iMessage Issues: Some Useful Tips You Should Try
    http://www.igeeksblog.com/troubleshooting-imessage-issues/
    Setting Up Multiple iOS Devices for iMessage and Facetime
    http://macmost.com/setting-up-multiple-ios-devices-for-messages-and-facetime.htm l
    FaceTime and iMessage not accepting Apple ID password
    http://www.ilounge.com/index.php/articles/comments/facetime-and-imessage-not-acc epting-apple-id-password/
    FaceTime, Game Center, Messages: Troubleshooting sign in issues
    http://support.apple.com/kb/TS3970
    Unable to use FaceTime and iMessage with my apple ID
    https://discussions.apple.com/thread/4649373?tstart=90
    How to Block Someone on FaceTime
    http://www.ehow.com/how_10033185_block-someone-facetime.html
    My Facetime Doesn't Ring
    https://discussions.apple.com/message/19087457
    To send messages to non-Apple devices, check out the TextFree app https://itunes.apple.com/us/app/text-free-textfree-sms-real/id399355755?mt=8
    How to Send SMS from iPad
    http://www.iskysoft.com/apple-ipad/send-sms-from-ipad.html
    You can check the status of the FaceTime/iMessage servers at this link.
    http://www.apple.com/support/systemstatus/
     Cheers, Tom

  • IPhone calendar event issue- not synching across iCloud

    Events created on my iPhone will not sync across iCloud to display on my Calendar App on my iPad or on my laptop.
    iPhone 5 iOS 8.1.3 - this started yesterday with no changes having been made to any of my iCloud settings.  On my laptop I get a new icon displays in my doc - see attached image, but when I click on it it just goes away and the new event is not synched.  If I don't click on this icon, it eventually disappears and the event is also not added to my calendar.
    I Can create events on my iPad and laptop and have them show on my phone.  I can create Notes on my iPhone and they sync across devices. 
    I have tried changed the iPhone calendarsync settings from 'Events 1 Month Back' to 'All Events' and vice versa.  On the iPhone I have turned Off synching of calendars, waited and re-enabled synching.  I have cycled power to my iPhone.

    Thanks Sterling - I've read through both those articles and performed all the troubleshooting steps in the iCloud: Troubleshooting iCloud Calendar - Apple Support article.  I have verified bluetooth is on, I'm on the same wireless network, same iCloud account signed into on all devices, etc.
    Still new events entered on my iPhone do not get added to my laptop or iPad calendar.  The handoff icon shows in my doc, but it does not put the new event onto the calendar.
    Through some more testing, I have also found the same issue with reminders; if I create one on my iPhone it will not be displayed on my laptop or iPad.
    Again I have no problems creating these on my laptop or iPad and having them show on All my devices, including my iPhone.  And another family member can create them on their iPhone 6, iOS 8.1.3 and they come across to all my devices; laptop, iPad and my iPhone5.
    Please advise what else I can do, as not being able to create events or reminders on my iPhone and have them sync across devices is a problem.

  • Photos will not sync across devices in iOS 8.1

    I have iOS 8.1.1 on both my iPad and my iPhone 5. After installing the new iOS and selecting 'iCloud Photo Library (Beta)' on both devices, the 'my photo stream' folder has disappeared and photos will not sync across devices. Everything was fine prior to installing the new iOS. Can anyone help me to fix this? Thank you!

    Hi sueb21,
    Welcome to the Apple Support Communities!
    If you are using iCloud Photo Library Beta there are some differences from what you may be use to. Please read over the attached article for information on how your pictures are now organized and for how you can turn it off if you choose to do so.
    iCloud Photo Library beta FAQ - Apple Support
    What happened to the My Photo Stream and Camera Roll albums?
    The Camera Roll and My Photo Stream album are replaced with an All Photos album, which gives you the same compact scroll view, now with all your photos and videos organized by the date they were added. Learn more about finding photos in iOS 8.
    After you enable iCloud Photo Library, all your original photos and videos are organized in one library. My Photo Stream will upload recent photos to share with your other devices, but iCloud Photo Library stores your originals. See how to upload originals below.
    Have a great day,
    Joe

  • Business partner of organizational unit is not consistent

    Hi,
    Client is on SRM 4.0. When we are trying to search a user in the org structure, and when clicking on "Check" for this user, it was showing fine. But when we are searching any BP in the org strucutre, then immediately the BP name is vanishing against the BP of the user and when doing the "Check" it is showing the below two messages:
    Business Partner of organizational unit XXXXXXX is not consistent
    User cannot be repaired becasue the organizational unit contains errors
    When checking in BBP_CHECK_USRES, the user is not showing as defective. It is green.
    Similarly, the the organizational unit check is also showing as green.
    System is advising to run BBP_BP_OM_INTEGRATE. When we run this for the org units, these are coming as green.
    Users are able to create the shopping carts and also are able to create confirmations. But the problem is happening for some of the users where the system is not allowing to create shopping basket / confirmation.
    Strange thing is that, when we are searching the user by user id in the org structure, then the check is showing no messages. But if we search the same user using the BP number, then in the check, the messages are coming. And once the messages appear, it is appearing for all the users in the org strucutre even at the root node level.
    Any help is highly appreciated.
    Thanks & Regards,
    Aswini

    Hi Aswini,
    There are some possibilities to raise these kind of errors messages:                                                                               
    1) User with inconsistent data.                                           
    Please, check the instructions described in the following notes:          
    597475 - Repair users with inconsistent address data                      
    -> use the report B_REPAIR_EBP_USER_2 to make the user consistent.        
    419423 - Repairing incorrect EBP users                                    
    350129 - Creating business partner for organizational unit                                                                               
    When you create the Org Units have you fully completed the address        
    data, e.g post coe, telephone/fax number etc..                            
    If not, please enter a full address, save the data and see if this        
    generates the Business Partner.                                           
    Remember, that you can delete this user and create a new user.                                                                               
    2) Error in the positions after HR replication                                                                               
    Please, implement the following notes and retest the scenario:            
    1056873 -  Incorrect SRM users after HR distribution                      
    1016450 - Replication of persons deletes positions in SRM                                                                               
    After implementing these notes you should send the employee               
    corresponsing to the user in error with his position (using               
    transaction PFAL or report RHALEINI in UPDATE mode for all periods.                                                                               
    3) the user was deleted and a new was created and during these two        
    actions the user opened documents. So, in this case, the new user         
    becomes inconsistent                                                                               
    If the user is deleted from SU01 still the BP and S which is related to   
    that user will be retained (we can see this in PPOMA_BBP) transaction.    
    In this case we can create the user again using SU01 and can be attached  
    with the old 'S' and 'BP'.                                                                               
    2. If the user is completed deleted ie., all relations BP and S.          
    The new user has created.   
    In this case if the new user is corrupted we can delete this                  
    user (since the new user doesn't create any documents so far). But the        
    old documents should refer to the new BP related to the new user.   
    ========================
    Also, another option would be to follow the below instructions
    After applying the notes 1056873 & 1016450, send the employees        
    corresponding to the users in errors with their positions (using              
    transaction PFAL or report RHALEINI in UPDATE mode for all periods,           
    using evaluation path A008) ? If not, please do this and it must repair       
    the SRM users. Please test and give me the feedback.     
    Hope this helps,
    Kind Regards,
    Matthew

  • GL Account not consistent

    Hi
    When we are processing MIGO for a PO we are getting error message GL ac so and so in not consistent and if I double click on that message below detial message is getting displayed:
    This line item carries the "W" posting line identification. The master record for GL Account 2150000 in company code 1000 must have the "balance only in local currency " indicator  if the W identifier is set.
    What is "W" posting line identification. Please let me know the solution for this issue
    Regards
    Padma.

    Hi,
    As this error is pertaining to GL master check this account under FS00 and tick "only balance in local currency" as it is your GR/IR clearing account  which should be managed as open item basis.
    Moreover, also make sure field status to this GL (for line item) and of account group (obd4) are in sync.
    In OBYC, you have assigned this account under your wrx i.e. GR/IR clearing.
    Hope above will help you.
    Regards,
    Valay Pandya

  • Metadata of Controller EMPTYVIEW Is Not Consistent.

    Hi,
    After upgrading NW04s from SP07 to SP11, one of my web dynpro for ABAP application gives the following error on execution.
    I am also getting a system dump. I have checked all the necessary services in SICF & most of the required services are active. Does any one have some idea of how I can resolve this error.
    Error when processing your request
    What has happened?
    The URL http://ustca644.kcc.com:8086/sap/bc/webdynpro/sap/zvmkc_tsvm_main/ was not called due to an error.
    Note
      The following error text was processed in the system PGW : Metadata of Controller >EMPTYVIEW< Is Not
    Consistent. "View Controller" Does Not Contain a "View"
      The error occurred on the application server ustca644_PGW_20 and in the work process 0 .
      The termination type was: RABAX_STATE
      The ABAP call stack was:
    Method: CONTROLLER_KIND_TO_TEXT of program CL_WDY_RG_META_SERVICE========CP
    Method: CONSTRUCTOR of program CL_WDY_RG_CONTROLLER==========CP
    Method: GET_CONTROLLER_PARTS of program SAPLWDR_RUNTIME_REPOSITORY
    Method: SAVE_COMPONENT of program SAPLWDR_RUNTIME_REPOSITORY
    Method: SAVE of program SAPLWDR_RUNTIME_REPOSITORY
    Function: WDR_SAVE_REPOSITORY of program SAPLWDR_RUNTIME_REPOSITORY
    Method: SAVE of program CL_WDR_RR_DB==================CP
    Function: WDY_WB_GENERATE_INTERNAL of program SAPLWDY_WB_ACTIVATION_SERVICES
    Function: WDY_WB_GENERATE of program SAPLWDY_WB_ACTIVATION_SERVICES
    Method: CONSTRUCTOR of program SAPLWDR_RUNTIME_REPOSITORY
    What can I do?
      If the termination type was RABAX_STATE, then you can find more information on the cause of the termination in the system
    PGW in transaction ST22.
      If the termination type was ABORT_MESSAGE_STATE, then you can find more information on the cause of the termination on
    the application server ustca644_PGW_20 in transaction SM21.
      If the termination type was ERROR_MESSAGE_STATE, then you can search for more information in the trace file for the work
    process 0 in transaction ST11 on the application server ustca644_PGW_20 . In some situations, you may also need to analyze
    the trace files of other work processes.
      If you do not yet have a user ID, contact your system administrator.
    Error code: ICF-IE-http -c: 400 -u: C14216 -l: E -s: PGW -i: ustca644_PGW_20 -w: 0 -d: 20070222 -t: 222514 -v: RABAX_STATE -e:
    UNCAUGHT_EXCEPTION
    HTTP 500 - Internal Server Error
    Your SAP Internet Communication Framework Team
    System Dump
    Runtime Errors         UNCAUGHT_EXCEPTION
    Exception              CX_WDY_RG_MD
    Date and Time          02/22/2007 22:25:14
    Short text
    An exception occurred that was not caught.
    What happened?
    The exception 'CX_WDY_RG_MD' was raised, but it was not caught anywhere along
    the call hierarchy.
    Since exceptions represent error situations and this error was not
    adequately responded to, the running ABAP program
    'CL_WDY_RG_META_SERVICE========CP' has to be
    terminated.
    What can you do?
    Note down which actions and inputs caused the error.
    To process the problem further, contact you SAP system
    administrator.
    Using Transaction ST22 for ABAP Dump Analysis, you can look
    at and manage termination messages, and you can also
    keep them for a long time.
    Error analysis
    An exception occurred which is explained in detail below.
    The exception, which is assigned to class 'CX_WDY_RG_MD', was not caught and
    therefore caused a runtime error.
    The reason for the exception is:
    Metadata of Controller >EMPTYVIEW< Is Not Consistent. "View Controller" Does
    Not Contain a "View"
    How to correct the error
    If the error occures in a non-modified SAP program, you may be able to
    find an interim solution in an SAP Note.
    If you have access to SAP Notes, carry out a search with the following
    keywords:
    "UNCAUGHT_EXCEPTION" "CX_WDY_RG_MD"
    "CL_WDY_RG_META_SERVICE========CP" or "CL_WDY_RG_META_SERVICE========CM001"
    "CONTROLLER_KIND_TO_TEXT"
    If you cannot solve the problem yourself and want to send an error
    notification to SAP, include the following information:
    1. The description of the current problem (short dump)
    To save the description, choose "System->List->Save->Local File
    (Unconverted)".
    2. Corresponding system log
    Display the system log by calling transaction SM21.
    Restrict the time interval to 10 minutes before and five minutes
    after the short dump. Then choose "System->List->Save->Local File
    (Unconverted)".
    3. If the problem occurs in a problem of your own or a modified SAP
    program: The source code of the program
    In the editor, choose "Utilities->More
    Utilities->Upload/Download->Download".
    4. Details about the conditions under which the error occurred or which
    actions and input led to the error.
    System environment
    SAP-Release 700
    Application server... "ustca644"
    Network address...... "165.28.85.39"
    Operating system..... "Windows NT"
    Release.............. "5.2"
    Hardware type........ "4x AMD64 Level"
    Character length.... 16 Bits
    Pointer length....... 64 Bits
    Work process number.. 0
    Shortdump setting.... "full"
    Database server... "PGWA"
    Database type..... "DB2"
    Database name..... "PGW"
    Database user ID.. "SAPR3"
    Char.set.... "C"
    SAP kernel....... 700
    created (date)... "Oct 30 2006 00:08:55"
    create on........ "NT 5.2 3790 Service Pack 1 x86 MS VC++ 14.00"
    Database version. "DB2CLI.DLL 08.02.0003 "
    Patch level. 83
    Patch text.. " "
    Database............. "DB2 for OS/390 7.1, DB2 for OS/390 8.1, DB2 for OS/390
    9.1"
    SAP database version. 700
    Operating system..... "Windows NT 5.0, Windows NT 5.1, Windows NT 5.2"
    Memory consumption
    Roll.... 16192
    EM...... 16759360
    Heap.... 0
    Page.... 0
    MM Used. 12837904
    MM Free. 3918160
    User and Transaction
    Client.............. 400
    User................ "C14216"
    Language Key........ "E"
    Transaction......... " "
    Program............. "CL_WDY_RG_META_SERVICE========CP"
    Screen.............. "SAPMHTTP 0010"
    Screen Line......... 2
    Information on Caller ofr "HTTP" Connection:
    Plug-in Type.......... "HTTP"
    Caller IP............. "165.28.239.30"
    Caller Port........... 8086
    Universal Resource Id. "/sap/bc/webdynpro/sap/zvmkc_tsvm_main/"
    Information on where terminated
    Termination occurred in the ABAP program "CL_WDY_RG_META_SERVICE========CP" -
    in "CONTROLLER_KIND_TO_TEXT".
    The main program was "SAPMHTTP ".
    In the source code you have the termination point in line 20
    of the (Include) program "CL_WDY_RG_META_SERVICE========CM001".
    Source Code Extract
    Line
    SourceCde
    1
    method CONTROLLER_KIND_TO_TEXT .
    2
    3
    data:
    4
    cref_View type ref to cl_wdy_md_view,
    5
    ctlr_Type type Wdy_Md_Controller_Type.
    6
    7
    ctlr_Type = controller->get_type( ).
    8
    9
    case ctlr_Type.
    10
    11
    when wdyn_ctlr_type_custom.
    12
    controller_type_as_text = 'CUSTOM'.
    13
    14
    when wdyn_ctlr_type_view.
    15
    controller_type_as_text = 'VIEW'.
    16
    if ( ABAP_FALSE eq Controller->Has_View( ) ).
    17
    " view controller must have a view
    18
    gi_Cx_Text =  Controller->Get_Name( ).
    19
    gi_Cx_Hint = '"View Controller" enthält keine "View"'(NVW).
    >>>>>
    raise exception type Cx_Wdy_Rg_Md
    21
    exporting
    22
    TextId =     Cx_Wdy_Rg_Md=>Controller_Data
    23
    Controller = gi_Cx_Text
    24
    Reason =     gi_Cx_Hint.
    25
    26
    else.
    27
    gi_Cx_Text =  Controller->Get_Name( ).
    28
    if ( gi_Cx_Text eq 'EMPTYVIEW' ).
    29
    return.
    30
    endif.
    31
    32
    " sanity check against illegal CL_WDY_MD_EMPTY_VIEW
    33
    try.
    34
    cref_View ?= Controller->Get_View( ).
    35
    if ( cref_View is initial ).
    36
    gi_Cx_Text =  Controller->Get_Name( ).
    37
    gi_Cx_Hint = '"View Controller" enthält keine "View"'(NVW).
    38
    raise exception type CX_Wdy_Rg_Md
    39
    exporting
    Contents of system fields
    Name
    Val.
    SY-SUBRC
    0
    SY-INDEX
    1
    SY-TABIX
    2
    SY-DBCNT
    0
    SY-FDPOS
    7
    SY-LSIND
    0
    SY-PAGNO
    0
    SY-LINNO
    1
    SY-COLNO
    1
    SY-PFKEY
    SY-UCOMM
    SY-TITLE
    HTTP Control
    SY-MSGTY
    SY-MSGID
    SY-MSGNO
    000
    SY-MSGV1
    SY-MSGV2
    SY-MSGV3
    SY-MSGV4
    SY-MODNO
    0
    SY-DATUM
    20070222
    SY-UZEIT
    222514
    SY-XPROG
    SY-XFORM
    Active Calls/Events
    No.   Ty.          Program                             Include                             Line
    Name
    22 METHOD       CL_WDY_RG_META_SERVICE========CP    CL_WDY_RG_META_SERVICE========CM001    20
    CL_WDY_RG_META_SERVICE=>CONTROLLER_KIND_TO_TEXT
    21 METHOD       CL_WDY_RG_CONTROLLER==========CP    CL_WDY_RG_CONTROLLER==========CM001    25
    CL_WDY_RG_CONTROLLER=>CONSTRUCTOR
    20 METHOD       SAPLWDR_RUNTIME_REPOSITORY          LWDR_RUNTIME_REPOSITORYF11            684
    LCL_SAVE_REPOSITORY=>GET_CONTROLLER_PARTS
    19 METHOD       SAPLWDR_RUNTIME_REPOSITORY          LWDR_RUNTIME_REPOSITORYF11             91
    LCL_SAVE_REPOSITORY=>SAVE_COMPONENT
    18 METHOD       SAPLWDR_RUNTIME_REPOSITORY          LWDR_RUNTIME_REPOSITORYF11             29
    LCL_SAVE_REPOSITORY=>SAVE
    17 FUNCTION     SAPLWDR_RUNTIME_REPOSITORY          LWDR_RUNTIME_REPOSITORYU02             27
    WDR_SAVE_REPOSITORY
    16 METHOD       CL_WDR_RR_DB==================CP    CL_WDR_RR_DB==================CM002     3
    CL_WDR_RR_DB=>SAVE
    15 FUNCTION     SAPLWDY_WB_ACTIVATION_SERVICES      LWDY_WB_ACTIVATION_SERVICESU04        279
    WDY_WB_GENERATE_INTERNAL
    14 FUNCTION     SAPLWDY_WB_ACTIVATION_SERVICES      LWDY_WB_ACTIVATION_SERVICESU01         84
    WDY_WB_GENERATE
    13 METHOD       SAPLWDR_RUNTIME_REPOSITORY          LWDR_RUNTIME_REPOSITORYF12             77
    LCL_REPOSITORY=>CONSTRUCTOR
    12 METHOD       SAPLWDR_RUNTIME_REPOSITORY          LWDR_RUNTIME_REPOSITORYF01             17
    LCL_COMPONENT=>CONSTRUCTOR
    11 METHOD       SAPLWDR_RUNTIME_REPOSITORY          LWDR_RUNTIME_REPOSITORYF01            669
    LCL_COMPONENT=>IF_WDR_RR_COMPONENT~GET_USED_COMPONENT
    10 METHOD       SAPLWDR_RUNTIME_REPOSITORY          LWDR_RUNTIME_REPOSITORYF01            245
    LCL_COMPONENT=>IF_WDR_RR_COMPONENT~CREATE_COMPONENT_USAGE
    9 METHOD       CL_WDR_MESSAGE_WINDOW=========CP    CL_WDR_MESSAGE_WINDOW=========CM001    30
    CL_WDR_MESSAGE_WINDOW=>CONSTRUCTOR
    8 METHOD       CL_WDR_APPLICATION_WINDOW=====CP    CL_WDR_APPLICATION_WINDOW=====CM00K     6
    CL_WDR_APPLICATION_WINDOW=>INITIALIZE
    7 METHOD       CL_WDR_CLIENT_COMPONENT=======CP    CL_WDR_CLIENT_COMPONENT=======CM004    59
    CL_WDR_CLIENT_COMPONENT=>DISPLAY_TOPLEVEL_COMPONENT
    6 METHOD       CL_WDR_CLIENT_APPLICATION=====CP    CL_WDR_CLIENT_APPLICATION=====CM00L    30
    CL_WDR_CLIENT_APPLICATION=>INIT
    5 METHOD       CL_WDR_MAIN_TASK==============CP    CL_WDR_MAIN_TASK==============CM00I    40
    CL_WDR_MAIN_TASK=>EXECUTE
    4 METHOD       CL_WDR_MAIN_TASK==============CP    CL_WDR_MAIN_TASK==============CM00J    69
    CL_WDR_MAIN_TASK=>IF_HTTP_EXTENSION~HANDLE_REQUEST
    3 METHOD       CL_HTTP_SERVER================CP    CL_HTTP_SERVER================CM00I   524
    CL_HTTP_SERVER=>EXECUTE_REQUEST
    2 FUNCTION     SAPLHTTP_RUNTIME                    LHTTP_RUNTIMEU02                      929
    HTTP_DISPATCH_REQUEST
    1 MODULE (PBO) SAPMHTTP                            SAPMHTTP                               13
    %_HTTP_START

    Hi Kim,
    Please try the following:
    Try to reactivate the component
    If this does not help, please create an OSS ticket and the SAP colleagues will help you to fix the problem. Please add exact information about the component and open a connection to your system.
    Ciao, Regina

  • Iphone 4s coming friday, what is the best way to get the notes content from iphone 4 to 4s without doing a restore? i want the new phone to be totally new but not sure how to get notes content across.

    What is the best way to get the notes content from iphone 4 to 4s without doing a restore? i want the new phone to be totally new but not sure how to get notes content across. If I do a restore as I have when previously from one iphone to another it has shown (in settings, usage) the cumulative usage from previous phones so all the hours of calls on all previous iphones will be displayed even though its brand new. Anyone know how I can get my notes (from standard iphone notes app) to my new iphone 4s without restoring from previous iphone 4. Thanks for any help offered.

    First, if you haven't updated to iTunes 10.5, please update now as you will need it for the iPhone 4S and iOS 5.
    Once you're done installing iTunes 10.5, open it. Connect your iPhone to iTunes using the USB cable. Once your iPhone pops up right click on it. For example: an iPhone will appear and it will say "Ryan's iPhone."
    Right click on it and select "Backup" from the dropdown menu. It will start backing up. This should backup your notes.
    Please tell me if you have any problems with backing up.
    Once you backup and get your iPhone 4S, you must follow these steps. If you don't follow these steps, you will not be able to get your notes on your new iPhone 4S.
    Open up iTunes again then right click on your device (iPhone 4S). Once you do you will see a dropdown menu. It will say "Restore from Backup..." Select this and it'll ask for a backup, select it from the dropdown menu. For example "Ryan's iPhone - October 12, 2011." Pick that and it will restore to your backup. Do this when you get your iPhone 4S so you will not lose anything. Even though you're restoring, you're getting back, since you're getting the previous settings, notes, contacts, mail and other settings from your old iPhone. You'll still have Siri though! So, restore when you first get it. Also frequently backup your device, as it will be worth it. You can restore from a backup if something goes wrong or save your data for a future update.
    Once you do that, you should have your notes on your new iPhone 4S and iOS 5.
    Please tell me if you need any help.
    I hoped I answered your questions and solved your problem!

  • Since upgrading to Maverick my iPhoto does not consistently download my Nikon or my Canon camera photos.

    Since upgrading to Maverick my iPhoto does not consistently download my Nikon or my Canon camera photos. Occasionally it will recognize and download photos, most of the time though it hangs in "loading" mode with nothing downloaded. I've unplugged, replugged numerous times, tried a different USB port, tried the two cameras so it's not the camera or line that's the issue, turned the computer off, turned iphoto off, turned everything else off and stil nothing. I need my photos for my work and can't get to them, this seems to be an issue with Maverick AGAIN!!! Is there a fix? HELP! Thanks!

    iPhoto Version 9.5.1
    Thank you for your help Terence. I had 140 photos on my Nikon, none were viewable in iphoto, in Image Capture 5 were viewable, 135 weren't. I tried importing one to my desktop but it remained static and didn't move over. I just deleted all the photos on my camera, took a fresh photo and after waiting a good 4 minutes finally uploaded to both iphoto and Image Capture. As this took so long for one photo I'm wondering if the memory in my computer would impact the speed. I have 350GB used and 150GB left
    By reformat the cards do you mean the flash card in the camera? I don't know how to do that, it's less that 6 months old.  

Maybe you are looking for