VM 1.2 specs unclear

Suppose you have:
class A
class B extends A
We know the phases:
- loading
- load class/superclasses
- linking (verification, preparation, resolving is optional).
- static initializaton
suppose this:
When we are loading B, class A should be loaded as part of the loading phase, but this means resolving a constant pool entry, which is part of the resolving.
This question is tightly connected with classloaders.
When defineClass() is issued, do the superclasses get loaded or not. Or they are loaded on resolveClass().
Seems like defineClass() in Sun VM and Kaffe VM load, verify and prepare the class. In other words, as if resolveClass() is called.

I agree with you. I read them again and it does seem to be so. Loading does involve some resolution.
resolveClass() is clear: it is linkClass():
- prepare class
- verify class
- optionally resolve class (constant pool).
But defineClass() should NOT class resolveClass() internally. In fact I have a small program I have ran on various VM's and it behaves INCONSISTENTLY on ALL of them: Sun JVM, Kaffe JVM, NewMonics trial VM.
resolveClass() has nothing to do with resolving Constant pool references, if it does so it must be quiet. NewMonics VM resolves them straight when you call resolveClass, which is not correct. Now here is the code:
class A
import java.io.*;
class TL extends ClassLoader
public static void main(String args[])
     TL cl = new TL();
     try
          byte [] data = new byte[1000];
          int dl = 0;
          FileInputStream f = new FileInputStream("A.class");
          dl = f.read(data);
          Class cc = cl.defineClass("A", data, 0, dl);
          cl.resolveClass(cc);
//cc.newInstance();
     catch(Exception e)
          System.out.println(e);
Try this:
Compile TL.java, A.java. Change the 0xB7 (invokespecial bytecode) in A.class to 0xFF in binary editor. Next do: java TL.
Sun VM does NOT give you error, when it should if it properly verifies the file. KAffe VM does not do anything either, because they do not have pass 3 of the verifier implemented. NewMonics VM gives you the error when you do resolveClass(), but it also resolves all references in A.class which is incorrect. Sun VM does not resolve references in A.class which is correct.
Next, try to uncomment the cc.newInstance(). Sun VM will now give you error.
This is incorrect behaviour for the Sun VM, since the resolveClass() does not really verify the class.
All in all, defineClass() should not call resolveClass(). defineClass() finishes what is specified in VMSpec as "Loading". Now you have Class instance. For it to be usable someone must call resolveClass(). But between defineClass() and resolveClass() the class type is inprepared and is not verified.
At least thats how I understand it. If anyone has any other interpretation, please share it.

Similar Messages

  • File Specs for Animations into a 16:9 Sequence

    I captured mini dv footage shot in 16:9. I received graphics to cut into my sequence from a post house. These 5 second qt's crash my FCP. They are in the apple animation codec 853 x 480 (1024 x 480), Millions. To work around this I opened them in QT and exported them as DV, 720 x 480 (853 x 480), Millions. When these are cut into my sequence part of the bottom of the image is cut off. So 2 questions:
    1) Any ideas on why the original graphics crashed FCP?
    2) Why is the bottom of the graphic being chopped off?
    Moving On:
    The final sequence was exported - QT movie - Current Settings. It was brought into DVDSP. Under preferences the display mode was changed to 16:9 letterbox and encoding aspect ratio was changed to 16:9. When the dvd is played on my TVI think it looks right.
    Sequence #2 was only from the graphics. The seq. settings were matched to the graphic clips' settings when cut into the new sequence. This gave me
    Frame Size 853x480 Custom
    Pixel Aspect Ratio: Square
    Field Dominance: None
    Compressor: DV/DVDPRO - NTSC
    I exported this sequence the same way and brought it into DVDSP. The final dvd looked correct.
    The dilemma is that these dvds were brought to a studio doing a live audience taping. They were dubbed to digibeta and then rolled into the show. The director pointed out that my images didn't fill the 16:9 monitor and needed to be distorted to do so. So my stuff was stretched vertically which was rather disturbing. I'd like to avoid this ever happening again so if anyone has experience in this it would be greatly appreciated. Thank you.

    Hi there,
    These are animated graphics. There's a 5 second opening and moving logos etc. I'm unclear as to what specs should have been given to the graphic house because their original files crashed my FCP system. And I don't know why my final playable dvd sequences didn't fill the 16:9 screen when dubbed to digibeta and played back.

  • When do I know if my iphone will switch to wifi and not that it costs some money to my phone network operator? is there a spec setting I must do. Or is it enough to have the phone set to wifi and phone connects directly when it makes contact with a wifi n

    When do I know if my iphone will switch to wifi and not that it costs somemoney to my phone network operator? is there a spec setting I must do.
    Or is it enough to have the phone set to wifi and phone connects directlywhen it makes contact with a wifi network?

    Thank you again for all of your help!! I really appreciate it!
    I think I am following -- I was able to upload to my iPhoto and all photos and videos are there that is a plus! I tried to create an Event in my iPhoto and put all of my photos in that event but for some reason, now my iTunes it not recognizing that Event in my iPhoto. It is not allowing me to import just that event at the moment but I may be doing something wrong. At least all of my pics and vids are in iPhoto so that is a plus and I know they are at least saved somewhere. Just for some reason, my iTunes it not locating the event that I created with only those photos.
    Thank you for letting me know about my contacts! How do I know if I have the contacts app?
    Also, I had no clue that my iCloud could be backed up via cellular data! However, is this a new feature with the most updated iOS?? Unforutnatly I am like 2 iOS updates behind because I don't have enough storage on my phone. I still get the notification that my phone needs to be plugged in and connected to wifi in order to back up to the cloud :-(
    How can I sync using USB? Right now when i click on the info tab for my iPhone in my iTunes this is the answer that I get -- I am a little unclear as to what it means.
    Sync Contacts:
    Your contacts are being synced with you iPhone over the air from iCloud. Over-the-air sync settings can be changed on you iPhone
    Sync Calendars:
    Your calendars are being synced with you iPhone over the air from iCloud. Over-the-air sync settings can be changed on you iPhone

  • What are the ideal specs for a DigiBeta master tape when authoring a "widescreen anamorphic" 16:9 SD DVD (original aspect ratio is 14:9)?

    I just received the masters for a new SD DVD. I would like to author a "widescreen anamorphic" SD DVD horizontally squeezed widescreen image stored in a standard 4:3 aspect ratio DVD image frame. (On 4:3 displays, mattes should preserve the original aspect ratio. On 16:9 displays the image will fill the screen at the highest possible resolution.)
    Below I've listed the specs of the Digi Beta master tapes the producers have sent to me for digitizing. I'd like to know this: What are the ideal specs for a DigiBeta master tape when authoring a widescreen anamorphic SD DVD, using material with an original aspect ratio of 14:9?
    I've also listed my guesses below. Please let me know if my guesses are right. If not, please suggest alternatives (and if possible explain why.)
    TECHNICAL SPECIFICATIONS OF EXISTING MASTER:
    Tape: DigiBeta
    Original Aspect Ratio: 1.55 (14:9)
    Vid Rate: 29.97 fps
    Pixel Aspect: NTSC - CCIR 601
    Frame Size: 720 x 480
    Anamorphic: Full-Height Anamorphic (16:9 image displayed in letterboxed, non-distored 4:3)
    Display Format: 4:3 Letterbox
    MY GUESS AT IDEAL TECHNICAL SPECIFICATIONS (for a DigiBeta, that is):
    Tape: DigiBeta
    Original Aspect Ratio: 1.55 (14:9)
    Vid Rate: 29.97 fps
    Pixel Aspect: Square
    Frame Size: 720 x 540
    Anamorphic: YES
    Display Format: 16:9 Anamorphic (horizontally squeezed widescreen image)
    Please feel free to ask for clarification or further information you need to answer my question.
    Thank you so much in advance for your help!
    Best, Noetical.
    BTW, I can't wait for the day when everything has gone digital and we get digital intermediates instead of tapes to digitize!

    Hi Nick...thanks for taking the time to reply to my question.
    Nick Holmes wrote:
    What you have there is a mess.
    NTSC pixels are never square.
    NTSC is 720x486, even when it is Anamorphic.
    You shouldn't be using an already letterboxed master to make an Anamorphic version. Get the master that was made before the letterboxing stage.
    When you make an Anamorphic DVD it should display as 16:9 full screen automatically on widescreen TVs.
    The same DVD will automatically letterbox on 4:3 TVs.
    Um yeah...duh. That's exactly what I was trying to explain in the preface of my question. I'm sorry if I didn't make it clear...all these things you mention are the reasons I'm putting together a list of the technical specs of the DigiBeta I need so I can have them send that instead of the stupid letterboxed version. 
    Look, I'm sending this request to some intern at their offices in England, asking for a master with which I can make an Anamorphic DVD. They already sent me this master, which as you and I both agree is an idiotic asset to use for these purposes. As such, I was hoping for advice on a more precise way of requesting the master that I need than asking for "the master that was made before the letterboxing stage." Upon reflection, perhaps I'll just do that. If you or anyone else has a suggestion about something I should add to my request that would improve the odds of them sending the tape I need, please repond. Thank you!
    BTW, It's been a long time since anyone has responded to something I've written or said as though I'm an idiot. I remember now that I don't really like it. (Moving along...)

  • SPECS FOR NEW MBP HARD DRIVE AND HOW TO INSTALL NEW OS AND USE TIME MACHINE

    I need to replace the hard drive in my early-2006 1.83 MacBook Pro (15-inch), because the Genius at the Apple Store told me that I'm getting weird behavior on it due to the drive slowing down and that it won't last much longer.
    I have 2 questions:
    First, I want to order the drive online and have it installed locally. I will probably get a 320 to 500GB drive. What are the exact other specs I will need to find the right one?
    Second, I am currently running 10.5.8 and backing up with Time Machine. I would like to install 10. 6 on the new drive, but don't know how to go about using the Time Machine backup to get all my apps and files running. Can someone describe this procedure for me?
    Many thanks!

    Hi Annie,
    You need a 2.5" 9.5mm high SATA HD, either 5400 or 7200RPM. Check out macsales, newegg, amazon to name a few places.
    How to restore from a TM backup: http://support.apple.com/kb/ht1427
    Prepare your HD by formatting and partitioning it:
    1. Boot from install disc (press power button, immediately insert install disc and hold down c key).
    2. Select your language.
    3. Open Disk Utility from Utilities menu.
    4. Select the HD in the left pane (the manufacturer’s name and the HD model number).
    5. Click on the Erase tab.
    6. Choose the Format: Mac OS Extended (Journaled).
    NOTE: if you want to zero the HD (which I always think is a good idea, but does take time), click on Security Options, click the button for Zero Out Data, click OK. The larger the HD, the longer this will take, in some cases several hours.
    7. Click on Erase and wait for the entire process to finish.
    8. Click the Partition tab.
    9. Click on Volume Scheme: and choose the number of partitions (normally just one unless you have other plans).
    10. Click on the Options button (located underneath the Volume Scheme pane) and select GUID.
    11. Click Apply.
    12. Quit Disk Utility and continue with the installation process to install OSX or run Restore from a TM backup; when finished, repair permissions, run updates, repair permissions.
    Message was edited by: tjk

  • Can too much memory lead to a kernel panic on a MacBook Pro? specs 2.4GHz intel core i7 16GB DDR3 RAM   late2011..My laptop began suffering from kernel panics 3 mos ago first noticed using public wifi. Gone thru apple support all the way to engineers

    Can too much RAM memory in a late 2011 model macbook pro lead to kernel panic? That is what I was told by a senior supervisor from apple support who troubleshot this issue.First noticed this problem in Dec 2014 while using a private wifi at a relative's home. Did not occur again until Feb1 using a public wifi at a hotel. Never happened on my private wifi network until last night  attempting to use airplay. ( have used airplay before without issue). Late 2011 MacBook Pro running 10.9.5; 2.4 GHz Intel core i7, 16 GB DDR3,AMD Radeon HD 6770m 1024 MB graphic card.  The laptop came with 8GB RAM and I installed 8 GB about 2 years ago for some reason I cannot remember... probably because I thought the system was slowing down a little. I know that sounds silly. I do not run multiple programs at a time except I leave 6-8 website tabs open simultaneously. I don't photo or video edit.  I would describe my use as "light"  based on reading these blogs.I had purchased apple support and spent hours on the phone with them in early Feb moving up through support  and senior support to sending logs to the "engineers." Of course lots of things were done some of which I am sorry to report I cannot recall their technical definitions. Deleted  3rd party apps/programs; re-worked start up menu; re-installed operating system; reset " this, that and the other" using acrobatic simultaneous key strokes both in and out of safe mode..Anyway the results from the engineers came back and they suggested that if it happened again I was to remove the 8GB of RAM I had installed as the system was getting confused as to which chip to use.( that is my interpretation of what was said..prob dumbed down for me)...Anyway 1 day after these pronouncements came down I read that Apple had agreed to fix  graphics cards in some late model 2011 MBPs. I felt this was unlikely to be the issue  given all that had been done including an extended hardware test but called the Senior Support Supervisor I was working with to ask him to make sure. He never phoned me back. Should I go to the trouble of removing 8GB of RAM from my laptop? Of course I will try it as the alternative is a new computer.Blogs read that this model can support 16GB but Apple didn't test for it. Senior Supervisor claims this is my trouble.  Does that make sense?  Not to me....but it is clear to all my level of knowledge.  Can a malfunctioning graphics card be missed by an extended hardware test? I appreciate comments.

    The RAM needs specs as shown below.
    Maximum Memory
    16 GB (Actual) 8 GB (Apple)
    Memory Slots
    2 - 204-pin PC-10600 (1333 MHz) DDR3 SO-DIMM

  • Adobe Creative Cloud Computer Specs

    My office is getting ready to move to Adobe Creative Cloud. I'm currently running CS5 Production Premium. I'm not computer tech savvy, so I'm concerned my current set up will run CC.
    Here are my editing PC's specs. Could someone let me know if it is ok in the current configuration to run CC?
    Specifically, I had heard initally there was an issue with the nVidia Quatro 4000 card.
    Thanks for everyone's help.
    HPZ800 Workstation
    Windows 7 Professional
    Dual Intel Xeon 6 Core
    12GB Ram
    nVidia Quatro 4000 Graphics Card
    If you need any other information, please let me know.

    See http://www.adobe.com/content/dam/Adobe/en/solutions/broadcasting/pdfs/Adobe-Hardware-Perfo rmance-Whitepaper.pdf
    Your card is listed as supported.
    You may also wish to post in the Premiere Pro and After Effects forums depending on which software you use the most (maybe both?).

  • !!! We Want Design-Specs Of The MEGA LED-displays !!!

    Every once in a while someone opens a topic in which he/she askes for a possibility to control the LED display. Some have even sent e-mails to MSI support, only to receive no for an answer. I see no reason why MSI could not release more details about the LED panel, specifically because most of us feel like a bunch of Beta-testers. Hey, we don't even ask for a complete SDK-kit, I think that sufficient knowledge about (hardware)programming is available amongst the users of this forum to make direct use of the design specifications.
    Therefore I would ask you to reply to this post to make a general statement towards MSI, and hopefully convince them of releasing the so-wanted data.
    JaDi.

    I think you know that I want this for a long time:
      sure I will support you
    But unfortunatly I see just two solutions for this problems you won't like:
    [list=1]
    We program it
    We all travel to the Taiwan headquarters and start a hunger strike on front of the main building.[/list=1]
    I prefer 1  
    Second thing: I worte to MSI (germany) for the specs of the LCD and they transfered by to a technician/programmer in Taiwan. After his holiday he told me that he mustn't give any information about it out. This is again one more example of data protection that just blocks every kind of progress. At the moment I AM expecting an SDK. I won't spend my whole free time to do THEIR job - well and if I do - I'm sure I will charge. I've seen this trouble with the girder plugin which was very very little work compared with an LCD control - enough is enough
    Why should anybody of us HELP MSI do make their products more attractive? That's what it's really all about.
    Regards
      Nathan

  • IPhone 4S Battery Life: Best solutions and procedures for 1st time user: 1-Do you have a battery life issue (learn first what the usage time spec is about) 2-What can you try to remedy the situation without reading 500 pages of posts

    What follows is a grouping of some of the most fruitful procedures - from what I've seen in the biggest battery life issue thread - and some background information and discussion for solving or improving the battery life with the iPhone 4S and may be applicable also to devices on which iOS 5.0/5.0.1 has been applied. Credit goes to the respective users who contributed this information to the forum and they should be commended for doing so. This is not a final listing. The goal here is to provide a first stop sort of knowledge base document for newcomers instead of having them perusing the never ending threads where the wheel is reinvented on every page...
    Please don't post your questions, usage screenshots, or claims that it worked or not for you or anything here except PROCEDURES/DEBUG STEPS/SOLUTIONS or improvements to the procedures already listed here. Try to use point form and to be as concise and clear as possible. Hope all this helps.
    Thank you and good luck!
    General info and specs
    First, take a look Apple's battery tips, info and specs(obligatory reading for all Iphone 4S users - read it once and for all):
    http://www.apple.com/batteries/iphone.html
    http://www.apple.com/batteries/
    ... you didn't read it? loll Always remember this i.e. the definition of "usage":
    Usage: Amount of time iPhone has been awake and in use since the last full charge.  The phone is awake when you’re on a call, using email, listening to music, browsing the web, or sending and receiving text messages, or during certain background tasks such as auto-checking email.
    I'm still not convinced you read the links so here's what Apple has to say in terms of fine tuning your battery life:
    Optimize your settings
    Depending on how they are configured, a few features may decrease your iPhone battery life.  For example, the frequency with which you retrieve email and the number of email accounts you auto-check can both affect battery life. The tips below apply to an iPhone running iOS 5.0 or later and may help extend your battery life.
    Minimize use of location services: Applications that actively use location services such as Maps may reduce battery life. To disable location services, go to Settings > General > Location Services or use location services only when needed.
    Turn off push notifications: Some applications from the App Store use the Apple Push Notification service to alert you of new data. Applications that extensively rely on push notifications (such as instant messaging applications) may impact battery life. To disable push notifications, go to Settings > Notifications and set Notifications to Off. Note that this does not prevent new data from being received when the application is opened. Also, the Notifications setting will not be visible if you do not have any applications installed that support push notifications.
    Fetch new data less frequently: Applications such as Mail can be set to fetch data wirelessly at specific intervals.  The more frequently email or other data is fetched, the quicker your battery may drain. To fetch new data manually, from the Home screen choose Settings > Mail, Contacts, Calendars > Fetch New Data and tap Manually. To increase the fetch interval, go to Settings > Mail, Contacts, Calendars > Fetch New Data and tap Hourly. Note that this is a global setting and applies to all applications that do not support push services.
    Turn off push mail: If you have a push mail account such as Yahoo! or Microsoft Exchange, turn off push when you don’t need it. Go to Settings > Mail, Contacts, Calendars > Fetch New Data and set Push to Off. Messages sent to your push email accounts will now be received on your phone based on the global Fetch setting rather than as they arrive.
    Auto-check fewer email accounts: You can save power by checking fewer email accounts. This can be accomplished by turning off an email account or by deleting it. To turn off an account, go to Settings > Mail, Contacts, Calendars, choose an email account, and set Account to Off. To remove an account, go to Settings > Mail, Contacts, Calendars, choose an email account, and tap Delete Account.
    Turn off Wi-Fi: If you rarely use Wi-Fi, you can turn it off to save power. Go to Settings > Wi-Fi and set Wi-Fi to Off. Note that if you frequently use your iPhone to browse the web, battery life may be improved by using Wi-Fi instead of cellular data networks.
    Turn off Bluetooth: If you rarely use a Bluetooth headset or car kit, you can turn off Bluetooth to save power.  Go to Settings > General > Bluetooth and set Bluetooth to Off.
    Use Airplane Mode in low- or no-coverage areas: Because your iPhone always tries to maintain a connection with the cellular network, it may use more power in low- or no-coverage areas.  Turning on Airplane Mode can increase battery life in these situations; however, you will be unable to make or receive calls.  To turn on Airplane Mode, go to Settings and set Airplane Mode to On.
    Adjust brightness: Dimming the screen is another way to extend battery life.  Go to Settings > Brightness and drag the slider to the left to lower the default screen brightness. In addition, turning on Auto-Brightness allows the screen to adjust its brightness based on current lighting conditions.  Go to Settings > Brightness and set Auto-Brightness to On.
    Turn off EQ: Applying an equalizer setting to song playback on your iPhone can decrease battery life.  To turn EQ off, go to Settings > iPod > EQ and tap Off. Note that if you’ve added EQ to songs directly in iTunes, you’ll need to set EQ on iPhone to Flat in order to have the same effect as Off because iPhone keeps your iTunes settings intact.  Go to Settings > iPod > EQ and tap Flat.
    Usage specs for the 4S - http://www.apple.com/iphone/specs.html:
    Talk time: Up to 8 hours (12.5% per hour drain) on 3G, up to 14 hours (7.1% per hour drain) on 2G (GSM)
    Standby time: Up to 200 hours (0.5% per hour drain)
    Internet use: Up to 6 hours on 3G (16.6% per hour drain), up to 9 hours (11.1% per hour drain) on Wi-Fi
    Video playback: Up to 10 hours (10% per hour drain)
    Audio playback: Up to 40 hours (2.5% per hour drain)
    So a scenario of normal usage could be for example: 4 heavy hours of 3G internet browsing (66.4%), with one hour of call on 3G (12.5%) and 22 hours of standby (11%) = 100%
    A battery life issue is a problem where the drain is really out of spec either during usage or standby or both. For example, multi-% per minute drain during usage or a 10% drain per hour during standby is problematic. Browsing the internet on 3G during one hour and losing 16-17% is not.
    Apple's test methodology for claiming the specs:
    http://www.apple.com/iphone/battery.html
    Procedures
    davidch tips (reset+full discharge recharge):
    Go through these steps to address the battery after updating to iOS 5.0.1:
    1. Reset all settings (settings app-> general-> reset)
    2. Go through initial setup steps (lang, wifi, siri, enable location, etc) and choose setup as new phone (don't worry your apps, data, contacts, mail will still be there). Do NOT restore from iCloud or iTunes (It can copy back corrupt settings)
    3. Turn off system location services timezone and iAd
    4. Fully discharge battery  (tilll it shuts off with the spinning wheel)
    5. Fully recharge battery (overnight if possible)
    In my experience this improves the Standby battery drain issue significantly in most cases.  It reduces drain from 2-4% or more per hr to 0.5% or less. It has worked for many, many users now. If it does not work after a few try's you may have a real battery or hardware issue and should contact Apple.  Good Luck!
    ram130's variant of davidch i.e. additional steps:
    Now using davidch original steps and attaching the tweaks I made to get me more usage. As shown on page 29.
    Go through these steps to address the battery after updating to iOS 5.0.1:
    1. Reset all settings (settings app-> general-> reset)
    2. Go through initial setup steps (lang, wifi, siri, enable location, etc) and choose setup as new phone (don't worry your apps, data, contacts, mail will still be there). Do NOT restore from iCloud or iTunes (It can copy back corrupt settings)
    3. Turn off system location services timezone and iAd
    4. Fully discharge battery  (till it shuts off with the spinning wheel)
    5. Fully recharge battery (overnight if possible)
    6. Disable Siri 'Raise To Speak' and REBOOT *( if possible use another camera to verify the                 infrared is off after the reboot).
    7. Set emails, icloud and calendars to fetch. ** test. Mines on hourly.
    8. If your in a no signal and your phone is saying "Searching..." even after 10mins, reboot while in that area and after 1-2min it should say "No Service". This mainly applies to Verizon customers and improve battery life in these areas.
    9. *optional* Goto Settings > General > Network and you will see "Hotspot.." loading something, wait a few seconds and it should say "setup personal hotspot" then exit out.
    * I notice a great improvement after disabling this and rebooting. This increased my "screen on" usage or at least helped it. Make the change.
    ** I have not tested push yet to narrow down the drain but I had this change on my phone. I believe exchange push is responsible for some stand by drain. As for icloud, haven't notice much of a difference. Just try it for a day. My email still came in fast most times. Again still testing, will report back on these..
    buxbuster tips(wifi sync, iCloud):
    These are my own tested workarounds that worked for my iPhone 4S and seemed to have worked for others as well :
    Workaround number 1. Deselect wifi-sync in iTunes and press sync.
    If that doesn't work try :
    Workaround number 2 : Remove iCloud, reset network settings. ( I guess this won't work for you since you don't have it enabled ).
    If both workarounds fail, you can always try to completely wipe your phone. That also solved some of the cases out there.
    rolandomerida tips - i.e. buxbuster and additional steps:
    Finally, I solved the syncing error loop. My contacts are syncing flawessly again between my devices and iCloud, and yes, the battery stopped draining, which is the main topic here.
    I followed instructions from buxbuster (check his workaround a few pages up!) and an additional BIG step to restore contacts and syncing, as seen in a MacRumors forum.
    This is what I did:
    1. Make a backup of your Address Book, using the vCard option (or both, it doesn't hurt). Save it for later.
    2. In your iPhone, delete iCloud account. When it asks, accept both: delete AND delete from my iPhone.
    3. Reset network settings. The iPhone will restart, then will ask you to unlock the SIM card.
    4.Turn Wi-Fi on.
    5. Add the iCloud account again.
    That's for Buxbuster's workaround. For some, it might work just like that. My iPhone repopulated from iCloud after step 5, but I still had that "server error" on iCloud. I had to do some extra steps, since my Mac was not syncing to iCloud and couldn't edit anything on my Mac or iCloud. Syncing back had to be fixed, too. If not, the syncing loop would continue from my iPhone, and the battery would drain awfully again.
    1. In System Preferences -> iCloud, I turned Contacts off. I chose "keep on My Mac" those contacts, but I got an empty Address Book after a while. And a few minutes later, iCloud contacts were empty and my iPhone also. It is scary at first! Now, before importing that vCard backup...
    2. Turn Wi-Fi off. This is important, since your contact-empty iCloud will attempt to wipe your Address Book from your Mac in seconds after importing.
    3. Import your vCard backup to Address Book. Just drag it to your blank Address Book window; it asks if you want to import "x" number of cards. Of course, say yes.
    4. Turn Wi-Fi on, and then iCloud contacts on again (System Preferences -> iCloud). It will offer to merge your newly populated Address Book with iCloud (which is empty at this point). It should upload every single contact to iCloud, and then to your iDevices. If not, a fifth step would be to import the vCard file to iCloud, but it shouldn't be necessary.
    So, with iCloud syncing working correctly, there is no battery draining! Again, that was my particular issue.
    I can't tell if this is the single answer to the widely spread battery draining problem, but it sure can be fixed with these workarounds, and yes, Apple should address the problem with a future update, for we affected customers don't need workarounds in the first place
    This is the MacRumors discussion:
    http://forums.macrumors.com/showthread.php?t=1256807
    And dont' forget to check buxbuster's fix, video, and THANK him!
    Miless tips (full 800mb release of 5.0.1 and sanitizing a restore):
    As for 4S battery life. Try doing this,
    1. Settings>Location Service ... disable all location services you do not need. In particularly Facebook because it drains the battery a lot.
    Scroll down to the bottom at Settings>Location services>System Services ... Disable Setting Time zone, location based iAds, Diagnostic & Usage.
    2. Settings>Notification>Calendar ... turn off the Notification Centre.
    3. Settings>General>Reset ... do Reset All Settings. Doing this will not wipe out your iPhone. It will just Reset the network settings, location warning, keyboard dictionary, etc... but it will clear up some corrupted data there. Generally this will help.
    Try these 3 steps first... if it still drains a lot, try the following,
    4. Drain your battery down to 1%. Then charge it up using USB from PC ... not the charger. The charger output 1.0 A ( x 5V from USB ... you get 5W power). From PC, output is only 0.5A x 5V = 2.5W power. Charging is slower but trickle charge 4S helps the battery retain its charge better. I think it takes about 3-3.5 hours to charge full from USB/PC compared to slightly below 2 hours using iPhone charger.
    If after doing the above still could not solve your battery issues (mine with iOS 5.0 was ok up to step 4, but not iOS 5.0.1).... plug you iPhone to a charger (any charger), from iPhone, access your iCloud ... set it up if you havent. Back up your iPhone data to iCloud. if you do not have enough storage (only 5GB is free), go to details and select the apps you need its data backup, choose only those you really need and leave those unnecessary ones out. Back up your camera roll to your PC/Mac manually as it could be too big to backup to iCloud.... once you have it setup, make sure you are on Wifi ...  tap backup to iCloud from your iPhone. It will take a while if the file is huge.
    Once backup to iCloud is completed, plug your iPhone to PC/Mac and launch iTunes 10.5.1 (make sure you have 10.5.1)
    Click Restore. It will automatically initiate a download of iOS 5.0.1 ipsw for iPhone 4S. Wait for the whole process to finish, ie. download, restore software/firmware.
    Once its done, do not set up your iPhone from iTunes. Set it up on your iPhone. Go through the selection. When prompted, select restore from iCloud (from your iphone backup earlier). Keep your iphone plugged into iTunes while restoring backup from iCloud. Because while restoring from iClouds, some data will be synced from iTunes if you plug in, e.g. music, video, etc... unless you bought these content from iTunes store. Apps will be downloaded from App Store from the cloud.
    Once it's all done restored. Turn off your iPhone,.. and turn it on again.
    Now, hopefully your battery wont be draining so fast anymore. Usually it wont after this. But you need to charge your battery at least 4-5 cycles to stabilize the charge on the battery. I dont know why... but battery life seems to get better and better for me after a few charge cycles after all the above work.
    Good luck. Let us know if it works for you.
    W. Raider tips (Sirii):
    Bottom line for me of things that helped battery life are:
    1. Turing off Siri and Rebooting the phone by holding the Home button and Top button down, ignoring the slider, until the phone shut down. (turn off Siri, reboot, and check top front of iPhone 4S against a lesser camera like the front-facing camera on an iPad2 - making sure the IR sensor is off)
    2. Fully draining the battery, meaning using the phone until it shuts itself off from a drained battery and then recharging it to 100% about 4, maybe 5 times. I charged it both with a Mac and a wall charger.
    Hope this is helpful!
    Comments
    jmm514 remarks (Twitter):
    I may have found something. I had Twitter disabled in my notifications, but got a tweet today that popped up on my home screen. Didn't know I had this enabled. At the bottom of the Twitter notification settings is the home scrren toggle. Since disabling this, battery life seems better. Considering there is no setting for frequency of checking for tweets, it appears the phone is continually connecting to wifi to check for new tweets.
    tmksnyder comments (notifications, corrupt data in iCloud):
    For me, I found my iphone on wifi mysteriously connecting to my mac.  I eventually narrowed it down to the Apple Move Trailers app which keeps a file in iCloud.  The phone was trying to sync the file with the mac in the background even when the Movie Trailers app was closed (hitting the red x).  Based on my macosx logs the iCloud process that was trying to sync was working directly between the phone and the mac without using itunes by connecting to an https address hosted on the phone.  It was connecting every 3 minutes and failing (while phone was awake or awake during during a notification).  I also found that iCloud control panel on OSX would error if I tried to delete the file.  I fixed it by removing the App and doing a hard reset which stopped the sync.  I probably could have turned off iCloud document sync in the phone but didn't think of that.  My battery life has greatly improved while at home on wifi.    I am now at 28 hrs standby, 2 hrs 20 minutes of usage, and 68% battery.  It was ok before where I could get 20-30 hrs standby and 6 -8 hrs usage.  My usage today was phone calls, 3g surfing, and music via bluetooth in the car.
    I also found even with Itunes iMatch, if I mass updated tages, art work etc, it would hit the phone on wifi even in standby.  I was amazed.   Granted if I am not doing updates, Match won't hot the phone so this was a once in awhile event.  I could drop my percentage by 5-10% in a matter of minutes when doing updates.   I think a lot of our problems are background processes, associated with iCloud, notification, and apps.  More features means more battery.   I think the key thing is to keep track of what has recently been added or changed if battery life gets worse all of a sudden.   It may be an app that was recently installed and if possible you may want to completely remove it and not just quit it.
    With twitter, i think it uses push notifications so it doesn't need to be running and actively poll on the phone. For instance , if i quit the mail app, i still will get mail notifications and can swipe the message and load mail. Apple Push Notifications servics maintain the connection to the phone and there are likely pings or connection checks  that occur for the service on an os level not an app level.  This minimizes the load so there arent a bunch of apps all runing and constantly checking.  The notification service , if it is contacted from twitter or another service with data, will check the settings you have registered to the with the apple push service and send the notification to your phone.  No matter what, there is a drain with notifications. M hunch is once one application is configured to receive notifications, connection checking occurs betwen the push service and the phone so it knows where it is on the network. If it is implemented correctly, these checks arent frequent if you are still and more frequent as you move. The other drain is for when the noification hits and is processsed.  If i get 9 emails over night, my screen just popped up for 20 seconds or so to process each message using battery.  I would even think that just go from low power to turning n the screen uses more juice than if the device was already on and i get the message.  On nights I get no notifications, I see a 3  or 4 percent drop.  On nights with a number of notifications, i have seen up to a 10 percent drop.  Besides notifications, wifi sync and icloud will poll on the local network and use up battery if the host computer is on and running itunes or trying to sync a data file that is corrupt (which i had with the apple movie trailers app causing my phone to drain).  For me turning off wifi sync and remving a corrupt file in icloud solved my battery issues and I get over 24 hrs of standby with 6 to 9 hrs of use and this is with all the normal location services and push serivices turned on.
    See http://developer.apple.com/library/mac/ipad/#documentation/NetworkingInternet/Co nceptual/RemoteNotificationsPG/ApplePushService/ApplePushService.html for more info.  I think it has a good overview of how the notifications work.

    Well seems like that rumor of iOS 5.0.1 is finally gone the way of the dogs since developers got a beta of 5.1. So as stated earlier in the master discussion-> I suspect if you are filling up this thread with false post or creating a master set of links to various post that are unreliable you are wasting your time. Press is not going to touch the story due to poor or inaccurate sources which may be links from the master thread. This can include inaccurate information, combination of conflicting post or postings from users which may not own the device. Reputable press organizations have policies that require discloser and strict rules about what is a reliable source for a story. It is clear that many of the post in the master thread, which are links presented here are questionable. 
    Sorry to say that postings taken without any analysis of their totality have been propagated via various sites, for example sites such as http://www.2012federalbudget(dot)com. (Do not visit but I suspect that this is not the 2012 federal-budget site you would expect based on analysis of the records. There are plenty of sites like http://www.2012federalbudget(dot)com propagating questionable post in these threads.) One site for example in the discussion thread used a self signed certificate, the site had a log in to allow users to enter their OpenID. Seems many of these sites are pop and drop drupel configurations.
    So remember this is how the really bad rumor of iOS 5.0.2 got started, the 5.1 memory leak issue, iCloud Issues, call quality, address book, etc.
    Some of the postings have been very comical, I think the latest now is a dropbox issue. Seems that the length of the previous thread has resulted in various app engines of some proxy servers/tools reaching their limits.
    So I would make sure to know the source of any information you link to. Make sure you avoid entering any information to outside links such as OpenID or Apple ID, these are big prize items for anyone with malicious intent.  If you have issues and are a valid user contact APPLE CARE. (Note link is using McAfee Secure Short URL Service, and is https.)
    http://mcaf.ee/ricdt
    The original solution still represents a high level of success for users having any battery issues.
    Install 5.0.1 on your iPhone 4s. Some users posting they are still using older versions, bad fake serial numbers, etc.
    Make sure your device can run iOS 5.0.1 and is not altered.
    Make sure you use a new Sim, not some cut down version which many users admit to doing. (Again, worth confirming what people are posting.)
    Reset the device doing a hard reset and software reset.
    Let battery drain and then charge for the full cycle, which is 24 hours.
    I think you will find you will get the battery usage that APPLE has stated for the device.
    Best of luck, stay safe and thanks

  • Facelet to crare web app, instead of using JSP; JSF1.2 spec in WebSphere6.1

    Novice to JSF and Facelet. But, I had been using Struts since its inception.
    I am required to use IBM's WebSphere Application Server 6.1 that comes with Servlet 2.4 and JSP 2.0. WebSphere 6.1 App Server limits me to using JSF 1.1. This is because, JSF 1.2 requires Servlet 2.5 and JSP 2.1, that is a part of WebSphere App Server 7.0; not a part of WebSphere 6.1.
    Somebody suggested that it will be possible to use JSF 1.2 in WebSphere 6.1, if I were using Facelet, instead of JSP.
    I am not eager to use JSF 1.1 and may have to forego JSF; unless and until I can use JSF 1.2.
    The hold-up is that I cannot use JSF 1.2 spec in WebSphere 6.1. Is there is any way to use JSF 1.2 in WebSphere 6.1? Can I create an entire application using Facelet (instead of JSP) that will let me use JSF 1.2 spec in WebSphere 6.1? If so, how?
    Here are my questions, especially because I am not very familiar with JSF and Facelet technology:
    1. Can I use JSF 1.2 specification in WebSphere 6.1, if I were using facelet (as opposed to JSP) as my view technology?
    2. Will it be possible to create an entire web app with facelt, instead o fusing any JSP at all? If so, how? Does it mean that all the GUI screens will only use facelet and no JSP at all?
    3. Please explain how I can write a complex web app with 100s of screens using only facelet, instead of using JSP.
    4. Please provide pointer on how JSF and facelet differ, or what are their demarcations boundaries.
    Any comment and pointer will be greatly appreciated.

    Don't doublepost. It's rude. Stick to one topic. Continue here: [http://forums.sun.com/thread.jspa?threadID=5335001].

  • Hardware specs for a 9iAS application

    Hi,
    Where can we get some documents regarding the hardware details needed for the
    9iAS.
    Suppose the scenario is like this:-
    we have our 9iAS on an NT server, a maximum concurrent usage of the the deployed forms is predicted to be between 250 and 300, there are more than 100 different reports provided, the maximum records(on a 8iDS on different server) that it has
    to handle is more than 8 - 10 lacs....
    Would the specification below be sufficient for the 9iAS server:
    64 bit RISC PROCESSOR 800 MHz or Intel Pentium III or more,
    Main Memory 1GB RAM expandable to 2 GB or more,
    Hard disk - 18 GB or more,
    100Mbps Ethernet interface
    Networking specs???
    We saw many features about Oracle's partnership with Compaq, regarding database servers and RAC. Can we recommend
    such Oracle partner's to our clients. Is there other DETAILED documents available in Compaq's or some other sites(Oracle partners), regarding
    deployment of Oracle applications.
    Thank you,
    Ranjith.

    read the "A Capacity Planning Guide" at:
    http://otn.oracle.com/products/forms/techlisting.html#scalability
    This should help you evaluate your middle tier needs.

  • Building a GOD   BOX    for   PHOTOSHOP CS 2  need help on specs

    I will review my situation in detail but If you would like to also read a linked similar posting here it is::
    http://www.bigbruin.com/forum/viewtopic.php?t=8269
    Ok so, I made a deal with the local PC shop, I will be trading my time as a photographer for a large portion of the cost of hardware that they would otherwise not be selling. Some things they will have to order but most of the things I need even the high end stuff they already have. So Money is of no object.
    I am running into issues with my current system being that it is nearly 6 years old and I custom built it for under $150 Monitor included. Since then I have upgraded my Camera Equipment as I have become more and more sucsessfull with my photography business. I am currently shooting 16.7 Megapixel files with my Canon 1DS Mark II and 22 megapixels with a rented hasselblad with a Phase One Digital Back. Frankly my 700Mhz machine just isn't cutting it. It's time to upgrade.
    Now Normaly I would go All Mac and Get a top of the line G5 Quad processor unit fully upgraded however I am still young and dont have good credit dispite all my efforts and they just wont finance me. so this local PC shop is my only hope. Thus I need a top of the line system.
    This computer is going to be expandable so I need to have extra drive bays so a Full Server Tower is in order I think!
    Also I am opting for aluminum Case because it is more conductive than plastic and should help radiate some of the heat this GOD BOX is going to Generate.
    I could use some specifics for each of the areas, if anyone has experience with high end systems and would like to recommend hardware I am all ears. The information is only a light template. "think of it as a layer" nothing set in stone. However I would appreciate a swift reply because I will be building the system in less than a week!
    (( STORAGE & SPEED ))
    I heard that having seperate hard drives is the way to go to improve performance. Also It will help me keep things organized and easy to reformat if I have a problem with an OS. here are the specs a friend suggested.
    80 Gig Raptor HD for OS
    180 GIG Serial ATA Raptor HD for Photoshop dedicated Scratch Disk
    180 GIG Serial ATA Raptor HD for working files for Quick accessing (temp files).
    two 320 Gig Serial ATA Raid slower more reliable Hard Drives for a Mirror Raid setup image reduncancy is a good thing for photographers when a currupt Hard drive means missed deadlines lost clients and lawsuits!! YIKES!
    2 DVD + - Combo Drive's that can accept dule layer dvd's unless anyone has heard of the Maxell Holographic Optical Storage Media coming out early january?? 120MB/s transfer speed, 50+ years archive life up to 1.6 terrbytes of storage!! I cant wait until its in production!
    (( Processor BUS SPEED MOTHER BOARDS AND MEMORY ))
    I need the best most reliable PC Mother Board that can accept the fastest long duration memory, I am aware that there are some types of ram that have higher speeds but cant move as much data at a time. Since much of what i do is batch processing longer periods are a better solution for me than faster acceloration.
    This is strictly a photoshop machine No games no email just photoshop the way computers were made to run.
    Whats the best motherboard that suports dule / quad processor systems??? are there quad processor systems available for PCs? can photoshop CS 2 muchless Windows XP 64 support such hardware?
    it's got to be 64bit processors dule core if possible
    someone told me Dule channel DDR PC8000 is the way to go, ANY Comments?
    Whats the best CRT Monitor for under $1200
    I specify CRT vs LCD because LCD still dosn't have the quality in dynamic range that CRT have, and the DMAX of a LCD is much more worse than the Dmax of a CRT.
    Some obvious perifials are Firewire 800 and 400 standard and USB 2.0 ports
    is there any news of Photoshop accepting more than 4 GIGS of ram in the next update?? If so I may opt for a 8 G

    I will review my situation in detail but If you would like to also read a linked similar posting here it is::
    http://www.bigbruin.com/forum/viewtopic.php?t=8269
    Ok so, I made a deal with the local PC shop, I will be trading my time as a photographer for a large portion of the cost of hardware that they would otherwise not be selling. Some things they will have to order but most of the things I need even the high end stuff they already have. So Money is of no object.
    I am running into issues with my current system being that it is nearly 6 years old and I custom built it for under $150 Monitor included. Since then I have upgraded my Camera Equipment as I have become more and more sucsessfull with my photography business. I am currently shooting 16.7 Megapixel files with my Canon 1DS Mark II and 22 megapixels with a rented hasselblad with a Phase One Digital Back. Frankly my 700Mhz machine just isn't cutting it. It's time to upgrade.
    Now Normaly I would go All Mac and Get a top of the line G5 Quad processor unit fully upgraded however I am still young and dont have good credit dispite all my efforts and they just wont finance me. so this local PC shop is my only hope. Thus I need a top of the line system.
    This computer is going to be expandable so I need to have extra drive bays so a Full Server Tower is in order I think!
    Also I am opting for aluminum Case because it is more conductive than plastic and should help radiate some of the heat this GOD BOX is going to Generate.
    I could use some specifics for each of the areas, if anyone has experience with high end systems and would like to recommend hardware I am all ears. The information is only a light template. "think of it as a layer" nothing set in stone. However I would appreciate a swift reply because I will be building the system in less than a week!
    (( STORAGE & SPEED ))
    I heard that having seperate hard drives is the way to go to improve performance. Also It will help me keep things organized and easy to reformat if I have a problem with an OS. here are the specs a friend suggested.
    80 Gig Raptor HD for OS
    180 GIG Serial ATA Raptor HD for Photoshop dedicated Scratch Disk
    180 GIG Serial ATA Raptor HD for working files for Quick accessing (temp files).
    two 320 Gig Serial ATA Raid slower more reliable Hard Drives for a Mirror Raid setup image reduncancy is a good thing for photographers when a currupt Hard drive means missed deadlines lost clients and lawsuits!! YIKES!
    2 DVD + - Combo Drive's that can accept dule layer dvd's unless anyone has heard of the Maxell Holographic Optical Storage Media coming out early january?? 120MB/s transfer speed, 50+ years archive life up to 1.6 terrbytes of storage!! I cant wait until its in production!
    (( Processor BUS SPEED MOTHER BOARDS AND MEMORY ))
    I need the best most reliable PC Mother Board that can accept the fastest long duration memory, I am aware that there are some types of ram that have higher speeds but cant move as much data at a time. Since much of what i do is batch processing longer periods are a better solution for me than faster acceloration.
    This is strictly a photoshop machine No games no email just photoshop the way computers were made to run.
    Whats the best motherboard that suports dule / quad processor systems??? are there quad processor systems available for PCs? can photoshop CS 2 muchless Windows XP 64 support such hardware?
    it's got to be 64bit processors dule core if possible
    someone told me Dule channel DDR PC8000 is the way to go, ANY Comments?
    Whats the best CRT Monitor for under $1200
    I specify CRT vs LCD because LCD still dosn't have the quality in dynamic range that CRT have, and the DMAX of a LCD is much more worse than the Dmax of a CRT.
    Some obvious perifials are Firewire 800 and 400 standard and USB 2.0 ports
    is there any news of Photoshop accepting more than 4 GIGS of ram in the next update?? If so I may opt for a 8 G

  • Hi there. I have a problem with sound on my 4s. When you move the volume slider up, it sounds well. But when I move the volume slider down I will hear barely and unclear sound in my headphone.I tried different headphones but result is same as old one.Help

    Hi there. I have a problem with sound on my 4s. When you move the volume slider up, it sounds well. But when I move the volume slider down I will hear barely and unclear sound in my headphone.I tried different headphones but result is same as old one.Help

    Try A and B
    (A) Restart iPad
    1. Hold down the Sleep/Wake button until the red slider appears.
    2. Drag the slider to turn off iPad.
    3. Turn iPad back on, hold down the Sleep/Wake until the Apple logo appears
    (B) Reset iPad
    Hold down the Sleep/Wake button and the Home button at the same time for at least ten seconds, until the Apple logo appears
    Note: Data will not be affected.

  • Open / Uncleared Payment Report?

    Does anyone know whether there is a standard Oracle report that give you all the open (or uncleared / unreconciled / negotiable ) payments?
    It's either a "Open Payment Report", or a report that has "Payment Status" as a parameter. I checked both Payables and Cash Management but haven't been able to find one. Thanks!

    Hello,
    Does anyone know of any open sales orders report ? VA05 ? Table join between VBAP-VBAK ?
    If your basic requirement is find out the open Sales Order then you can look out for the below standard report:
    VA05/VA05N
    If your requirement involves some values to be included then kindly urge you to go for SQVI technique involving tables like VBAK,VBAP,VBUK and other Sales table based on requirement.
    Regards,
    Sarthak

  • I have a late 2008 Macbook Pro, I am trying to run MW3 but it will not work without crashing a few minuets into the game. The general specs on my computer are a dual processor 2.53 ghz. 4 gb ram and a NVIDIA geforce 9400 (9600 is the alternate card)

    I have a late 2008 Macbook Pro, I am trying to run MW3 but it will not work without crashing a few minuets into the game. The general specs on my computer are a dual processor 2.53 ghz. 4 gb ram and a NVIDIA geforce 9400 (9600 is the alternate card).
    Things to note:
    I have been unable to update firmware on this computer for about a year now. Im not sure why.
    I am running a bootleg copy of Windows XP on this computer, I would not like to spend $149 to get Windows 7 if possible.
    any thoughts on the matter would be greatly appreciated, thank you.

    Why don't you take your 'old' MBP into your local Apple Store and have them check out everything that's wrong with it - and I mean everything? Then, when you get an estimate about how much it would cost to get the machine completely repaired, ask about the Apple flat-rate repair pricing?
    It's worth a shot - and with what you may save, you can put in the bank for a new MBP.
    Clinton

Maybe you are looking for

  • Easiest Way to Go From Mac Book to HDMI Hi Def TV

    Can someone post what basic cables one would need to go from the mini DVI out to HDMI on the TV? People say to go from mini dvi to dvi, and than from dvi to hdmi. This doesn't make sense to me because wouldn't the end of the dvi to dvi end in the wro

  • IE 11 not launching in app mode

    IE 11 will not launch in app mode, it only will launch in desktop mode. I have read the other posts and my issue is different. There are no other browsers on my machine than IE 11. In the control panel, in internet options, I set internet explorer to

  • Reuse of Space in 9.2.0.1.0

    Hello All, short question: I am running an Oracle 9i Enterprise 9.2.0.1.0 since 3 Years now. There are some Tables with more than a billion entries. Actually we are running out of disk space (so far auto-extend worked for us) From the "big" tables we

  • Interconnect and Web Services

    We have OIC version 10.1.2.2 and are looking to have expose our message objects (written on DB adaptors) to Web Services by having a generic Web Service spoke. The plan is to: For the publishers it seems fairly straight forward to expose the publishe

  • ADF layout (CSS )problem

    Hi, I'm building a JSF/ADF webapp. Everything works fine, but I want to add some layout. How can I change the CSS? I tried adding inline CSS and an external stylesheet, but nothing changes. How can I do this? Tnx!!!