Why not to use Commit

Hi,
Can Any one tell the reason why using Commit after Insert will reduce the performace of a proc.
Thanks

Are you talking about commit in a loop ? Then see the below links.
http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:4951966319022
http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:7661190956484

Similar Messages

  • Why we cant use commit in trigger, can any one give proper explanation

    Why we cant use commit in trigger, can any one give proper explanation

    You shouldn't use a commit in a trigger if it's part of the same transaction as the action happening on the table.
    Eg. Suppose you have a table that stores details of orders, and it has a trigger that updates the stock table.
    If a customer comes along and creates an order but decides part way through that actually, they don't want the order after all, the transaction is rolled back.
    If you don't put a commit in the transaction, then the stock table details remain unchanged - no order, so no stock reduction. If, however, you forced the commit to happen in the trigger, you now have no order, but the stock table details have changed.
    That's not what you want to happen!
    Sometimes it does make sense to have a commit in the trigger, but this is very much the exception. If you come across a table mutating error, it usually means that you have a problem with your design and that you need to rethink it, NOT bodge it by using autonomous_transaction and a commit.
    Of course, the times when you'd use triggers should be few and far between - the above example is NOT how I'd code an orders-stock transaction; I'd have some PL/SQL that handled the transaction, rather than direct inserts onto the table.

  • Why not to use static methods - with example

    Hi Everyone,
    I'd like to continue the below thread about "why not to use static methods"
    Why not to use static methods
    with a concrete example.
    In my small application I need to be able to send keystrokes. (java.awt.Robot class is used for this)
    I created the following class for these "operations" with static methods:
    public class KeyboardInput {
         private static Robot r;
         static {
              try {
                   r = new Robot();
              } catch (AWTException e) {
                   throw new RuntimeException(e + "Robot couldn't be initialized.");
         public static void wait(int millis){
              r.delay(millis);
         public static void copy() {
              r.keyPress(KeyEvent.VK_CONTROL);
              r.keyPress(KeyEvent.VK_C);
              r.keyRelease(KeyEvent.VK_C);
              r.keyRelease(KeyEvent.VK_CONTROL);
         public static void altTab() {
              r.keyPress(KeyEvent.VK_ALT);
              r.keyPress(KeyEvent.VK_TAB);
              r.keyRelease(KeyEvent.VK_TAB);
              r.keyRelease(KeyEvent.VK_ALT);
                   // more methods like  paste(), tab(), shiftTab(), rightArrow()
    }Do you thinks it is a good solution? How could it be improved? I've seen something about Singleton vs. static methods somewhere. Would it be better to use Singleton?
    Thanks for any comments in advance,
    lemonboston

    maheshguruswamy wrote:
    lemonboston wrote:
    maheshguruswamy wrote:
    I think a singleton might be a better approach for you. Just kill the public constructor and provide a getInstance method to provide lazy initialization.Thanks maheshguruswamy for advising on the steps to create a singleton from this class.
    Could you maybe advise also about why do you say that it would be better to use singleton? What's behind it? Thanks!In short, it seems to me that a single instance of your class will be able to coordinate actions across your entire application. So a singleton should be enough.But that doesn't answer why he should prefer a singleton instead over a bunch of static methods. Functionally the two are almost identical. In both cases there's only one "thing" on which to call methods--either a single instance of the class, or the class itself.
    To answer the question, the main reason to use a Singleton over a classful of static methods is the same reason the drives a lot of non-static vs. static decisions: Polymorphism.
    If you use a Singleton (and and interface), you can do something like this:
    KeyboardInput kbi = get_some_instance_of_some_class_that_implements_KeyboardInput_somehow_maybe_from_a_factory();And then whatever is calling KBI's public methods only has to know that it has an implementor of that interface, without caring which concrete class it is, and you can substitute whatever implementation is appropriate in a given context. If you don't need to do that, then the static method approach is probably sufficient.
    There are other reasons that may suggest a Singleton--serialization, persistence, use as a JavaBean pop to mind--but they're less common and less compelling in my experience.
    And finally, if this thing maintains any state between method calls, although you can handle that with static member variables, it's more in keeping with the OO paradigm to make them non-static fields of an instance of that class.

  • Why not always use H-REAP

    Hello All,
    I apologize if this has appeared in another thread, but it has been something I've been mulling over now for a couple weeks.  With the improvements in the 7.2.103, is there any reason to not automatically make every deployment an H-REAP (now FlexConnect) deployment?  Just the mere fact of WLAN survivability during controller outage, without a redundant controller of course, is a strong incentive.  With all the progress Cisco has made, I'm trying to come up with reasons to not just configure every deployment to be H-REAP/Flexconnect.  Off the top of my head the only reasons I can think of are:
    -extra config on the access switch
    -limited to 25 AP's per H-REAP group.  (Even this reason is really not that big of one when designed properly)
    I'm highly curious what the community thinks.
    Thanks in advance,
    Matt

    Matt,
    At this time I don't think the question should be why or why not use FlexConnect of every single deployment. Local mode and FlexConnect both have their own benefits and each should be carefully considered for the deployment in question. A few items to keep in mind are:
    Where will the APs be located in relation to the WLC?
    Who is going to be managing this system? (FlexConnect is more difficult to manage than local due to the additional configuration.)
    Does it make sense for data traffic? (In one case I had a customer that did not have their controller located at a central point of their network... Not my choice or reccomendation.)
    Do I need AAA override?
    FlexConnect isn't terrible but it's still got a ways to go regarding development. It was designed around the idea of remote branch deployment, not necessairly large depolyments at one site where a customer could have multiple redundant controllers.
    So far some limitations I've personally faced are bugs.
    Don't let that stop you from utilizing FlexConnect as it does indeed have its uses.
    For some good information check out the follwoing link:
    http://revolutionwifi.blogspot.com/2010/06/h-reap-deployment-guidelines-and.html
    Some of it may be a little out of date as it was written in 2010.
    Regards,
    Aaron

  • Why not just use UDP?

    I have UDP code written in Java that listens to an IP address and port number containing data being sent to that IP and port number. Why wouldn't I just continue to use the traditional UDP paradigm instead of JMS? My ReceiveSocket class creates a new java.net.MulticastSocket instance, creates a new DatagramPacket for reading the bytes, and then takes the datagram packet as input:
    private MulticastSocket m_socket = new MulticastSocket( m_receivePort );
    private DatagramPacket m_packet = new DatagramPacket( buf, buf.length );
    m_socket.receive( m_packet );
    I'm able to receive the data being sent and process it. Can someone explain the benefits of the JMS approach?
    Thanks!

    I would add to Steve's points that the difference in technical specification between UDP and TCP is that TCP guarantees delivery, in order, for messages that are too large to fit in one packet. UDP does not guarantee delivery, or the order of the packets, but it is much faster than TCP.
    It is easy to imagine an application that may want guarantees for some data, and does not care for other data. To address this situation, some implementations of JMS go beyond the specification and provide features to allow non-guaranteed data transfer. For instance, I have been using Sun Java System Message Queue which allows NO_ACKNOWLEDGE which increases performance at the cost of reliability.

  • Why not to use static methods in interfaces?

    why?

    Because static methods are always attached to a particular class -- not an object. So object polymorphism (which is what interfaces are good for) won't help. Now, what you can do is say that subclasses must implement a method that looks an awful lot like a static method, in that it doesn't depend on object state.
    This bugged me, and it still bugs me a little bit in that I have to instantiate an object of a type in order to call these pseudo-static methods. When the pseudo-static methods tell the user how to initialize the object, you get a bit of a chicken-and-egg problem.

  • Why not parsing using JDOM?

    Please see the xml file & my java code. The code seems ok..but not parsing right! Please advise, where the problem is?? Also, how do I extract the Supplier tag in this example file??? Any help is really appreciated!!!
    <POOutbound_schema PurchaseOrder="P415704423" OrderDate="2003-06-05"><DocRouting/><Supplier Account="152625001" CompanyName="REP " Address1="ATTENTION SALES " Address2="XXXXXXXXXX " City="XXXXX " Address4=" " Address5=" " Address6=" " State="KA" CountryCode=" " ZipCode="67223 " Phone="833-555-5555" Fax="333-670-3324" OrderStatus="CLOSED AND PRINTED" Comments="DO NOT SHIP TEST PO " TransmissionDate="2003-06-05" TransmissionTime="17:14:54"/><Buyer CompanyName="XXXXXXXXX" Phone="222-577-3708" Fax=" " BuyerNumber="101000" BuyerName="1IM " Email="[email protected]"/><DeliveryAddress CompanyName=" ENSEN COMPANY " Address1="C/O SHIPPING " Address2="221900 SHI BLVD " City="SCHG " Address4=" " Address5=" " Address6="SCHAUMBURG " State="IL" ZipCode="65693 " Phone="800-444-4448" ShipDeptContactName="HHHHN "/><PaymentTerms DueDays="30" DiscountDays="10" DiscountPercent="0"/><DeliveryTerms PrePaid="Prepaid" Transport="TO BE DETERMINED " Fob="ORIGIN "/><OrderLine TransmissionID="-2147482947" ItemNo="506280 " BranchNumber="00423" Description="3-3/4 RD X 20' R/L " QuantityUnitOfMeasure="Pound" PriceUnitOfMeasure="Pound" UnitPrice1="1.0000" UnitPrice2="71.0000" ForeignCurrencyCode="USD" BaseCurrencyCode="USD" DueDate="2003-06-05" POLineNumber="1" Qty="1.0000" SizeDescription="140/41 HR ANN ASTM A322 " LineStatus="Open"><LineNotes OrderLineNote="440/414 HR BAR - LP ANLED - LATT REV ASTM A32, A304 "/><LineNotes OrderLineNote="- AIM .025 MAP AN S - CERT/R RD - 410/412H HABILITY "/><LineNotes OrderLineNote="REQD - STAMP HEAT NUMBER ONE END ON SIZES 2-1/2" AND OVER - "/><LineNotes OrderLineNote="GRAIN SIZE 5 OR FINER - REPORT NI,CU,V AND HARDNESS "/></OrderLine><OrderLine TransmissionID="-2147482946" ItemNo="502327 " BranchNumber="00423" Description="3/4 SQ X 12' R/L " QuantityUnitOfMeasure="Pound" PriceUnitOfMeasure="Pound" UnitPrice1="1.0000" UnitPrice2="1.0000" ForeignCurrencyCode="USD" BaseCurrencyCode="USD" DueDate="2003-06-05" POLineNumber="2" Qty="1.0000" SizeDescription="1018 CF ASTM A108 " LineStatus="Open"><LineNotes OrderLineNote="1018 CF BAR - LATEST REV: ASTM A108 - CERT T/R REQD "/><LineNotes OrderLineNote=" "/></OrderLine><OrderLine TransmissionID="-2147482945" ItemNo="507027 " BranchNumber="00423" Description="5-3/4 RD X 20' R/L " QuantityUnitOfMeasure="Pound" PriceUnitOfMeasure="Pound" UnitPrice1="1.0000" UnitPrice2="1.0000" ForeignCurrencyCode="USD" BaseCurrencyCode="USD" DueDate="2003-06-05" POLineNumber="3" Qty="1.0000" SizeDescription="86/80H HR ASTM A322 ASTM A304 " LineStatus="Open"><LineNotes OrderLineNote="8/86H HOT RO BA - LAST REVASTM A32AND ATM A304 - AIM "/><LineNotes OrderLineNote=".025 MAX P AND S - STAMUMBER ON ONE END SIZES 2-1/2" AND OVER "/><LineNotes OrderLineNote="GRA SIZE OR FINER - HARDEILITY TO BE REPORTED - CET /R REQD "/></OrderLine></POOutbound_schema>
    import java.io.File;
    import java.io.FilenameFilter;
    import java.io.*;
    import java.lang.*;
    import org.jdom.*;
    import org.jdom.input.*;
    import org.jdom.output.*;
    import java.util.*;
    public class EmjPO
    public static void main (String args[]) {
    String[] outarray=new String[1000];
    String pono=null;
    int j=0;
    try {
    /* Build the document with SAX and Xerces, no validation */
    SAXBuilder builder = new SAXBuilder();
    /* Create the document */
    Document doc = builder.build(new File("c:/emjdata/PO.xml"));
    /* To get the DocType from in xml file. Reads the Doctype. */
    DocType docType = doc.getDocType();
    /* Get the root element. */
    Element root = doc.getRootElement();
    /* Get Children */     
    List rtiloadoutbound = root.getChildren("POOutbound_schema");
    Iterator i = rtiloadoutbound.iterator();
    while (i.hasNext()) {
    Element rti_load_outbound = (Element) i.next();
    /* Parses each tag to output string */
    String PurchaseOrder = rti_load_outbound.getAttributeValue("PurchaseOrder");
    String OrderDate = rti_load_outbound.getAttributeValue("OrderDate");     
    System.out.println(" Purchase Order : " + PurchaseOrder + " " + OrderDate);
    } /* while ends here */
    } /* try ends here */
    catch (Exception ex) {
    ex.printStackTrace();     
    System.out.println("Exception Occured " + ex);

    The stack trace should tell you the line number and the filename where the exception happened.
    This is just a guess:
    List rtiloadoutbound = root.getChildren("POOutbound_schema"); //this returns null because root iself the element 'POOutbound_schema'
    Iterator i = rtiloadoutbound.iterator(); //calling .iterator() on a null gives the NullPointerExceptionso try
    String PurchaseOrder = root.getAttributeValue("PurchaseOrder");
    String OrderDate = root.getAttributeValue("OrderDate");

  • Why not always use -server option?

    Hello!
    I've tried running some my applications with -server option - and discovered that for non-GUI apps -server renders drastic increase in execution speed.
    For example code below takes only 2 seconds to execute with java -server while it takes more then 120 seconds with java -client option.
    Now I'm considering writing all apps with
    Runtime.exec("java -server MyApplication");Can someone tell me in what cases -server is a bad choice, and when it's OK?
    And, in my code - does java runtime really create 1000 threads - or is there some optimization?
            public void run()
                    int q=0;
                    for (int i=0; i<10000000; i++)
                            q++;
            public static void main (String args[])
                long l_start = System.currentTimeMillis();
                    for (int h=0; h<1000; h++)
                            new Hell().start();
                    System.out.println("Operation took "+(System.currentTimeMillis()- l_start)/1000+" seconds");

    JVM tutorial states that there are the cases when server performs slower. If you going to execute a small utility (<20 sec), use client.

  • NEED TO UNDERSTAND WHY/WHY NOT TO USE/BUY SERVER

    Hey there -
    I have a small business (3 employees total.)
    My issue thus far has beens scheduling meetings through iCal, etc., and sharing files. Basically, I want my assistant and my partner (and my wife at times as well) to be able to send me invites (vice/versa) for meetings AND also have the ability to make changes to those meetings. Meaning, if my assistant sends me an invite, then only SHE can make changes to that meeting. But say I want to move the time myself or add something to the event, then I need to have her do it and resend the updated invite.
    Will server fix this?

    Hi mcforman-
    No, OSX Server in and of itself will not solve your problem. Your money may be better spent on a scheduling program that can suit your needs.
    Have you tried posting your question in the iCal forum? There are knowledgeable folks there that may be able to help: Category : iCal
    Luck-
    -DaddyPaycheck

  • When not to use SAP PI

    Hi all,
    Do you agree?
    [http://architectsap.com/blog/sap-netweaver-pi-7-1-usage-scenarios-when-not-to-use-sap-pi|http://architectsap.com/blog/sap-netweaver-pi-7-1-usage-scenarios-when-not-to-use-sap-pi]
    Best Regards,
    Pedro M. D. Pereira

    Hi all,
    Synchronous integration
    I disagree either! SYNC comms are cool
    User Interface Integration scenario
    I don't agree totally, i think it depends from what people want to do, per eg: In a B2B scenario, where Portal needs to acess an application, which is outside the company, i think communication should't be direct.
    Web Service interface of backend application
    I don't disagree totally, if in a company exists only one or two servers... :P. Normally when i hear something like that, it comes from people, who still have some resistance about PI and midlewares in general...If there is only one scenario or two, well, who cares about a middleware, why spending money on it. However, if you have complex architectures, several applications, multiple scenarios, obviously a middleware adds a lot of value, and if a company already has it and pays for it, why not to use it?  
    Any more opinions?
    Naresh, why do you say PI is not unicode compatible? Can you open a thread with an example?
    Best Regards,
    Pedro M. D. Pereira
    Edited by: Pedro Pereira on Jun 22, 2010 1:12 PM
    Edited by: Pedro Pereira on Jun 22, 2010 1:12 PM

  • Why not buy? 2.16GHz CoreDuo MacBook Pro

    I currently use a 17-inch G4 1.33GHz PowerBook and am ready for an upgrade. I'm considering to a new Core Duo machine. My uses are modest page layout (Quark Xpress) light photo editing (Photoshop) and presentations (PowerPoint). The ability to run Windows applications directly (With Parallels) is very important; moderate travel use and desktop replacement are the other criteria. There is currently what appears to be a screaming good deal from several of the mail-order houses ($1700 after rebates) on the original 17-inch 2.16GHz MacBook Pro. This is the version that came before todays Core 2 Duo machines and will obviously be slower and less capable. But saving a grand is attractive. Is there any compelling reason NOT to go for the Core Duo machine? Will it be unable to run applications that are foeseeable? Will it be an unloved technical orphan? Why might I regret the purchase?
    Thanks for all advice.
    PowerBook 17"   Mac OS X (10.3.9)  

    Tony is right, BUT to be more specific the 15in Core2Dues include both Firewire 800 and 400, where as the 15in CoreDuo had just firewire 400. As for the 17in CoreDuo (the one Aces is looking at) that did have firewire 800 adn 400...
    I want to also add that the programs you listed you work with are questionable to me. I mean this in regards to their native processor language, those programs are written for PowerPC chips. I am not sure if you are familiar so please let me briefly explain (I, as well as others can go into more detail if needed). Anyways, as you know, the new Apple computers such as the MBP have intel processors. Meaning the entire chip architechture is different then that of the G3, G4, G5 (all were PowerPC chips). So although Apple rewrote the Operating system to work for the new intel chips, many software vendors, such as the programs you listed (Photoshop, Powerpoint, etc...) have yet to be rewritten. Therefore it theory they would not work at all! But of course Apple needed to do something about this compatability issue or else consumers would not buy the new intel processors.
    So Apple created something called Rosetta. Rosetta is an emulator that runs in the background and is always ready to translate PowerPC programs to work on the new intel platform. So, if you had your new MBP and launched photoshop, it would launch like normal. But underneath, Rosetta is enabling this PowerPC program to work on the intel. The problem with this is: a signifigant performance hit. If you ever ran Virtual PC on your powerbook to use windows, you know how slow it can be.
    My point in telling you this is that software vendors, such as Adobe, are working to create intel versions of their software so that no Rosetta (thus performance hits) will occur. And since Photoshop and others are still off in the distance, like this coming spring/summer Q2-Q3, I would say why not keep using your Powerbook and wait to upgrade until every program you want to use properly works with intel. By then, you can also probably get the current Core2Due MBP for a steal.

  • Documentation says not to use Commits inside the FM in the actions.. what about BAPI Commits?

    I see in the customization documentation that we should not be using Commit statements in the FMs inside the Actions.. what about when we're calling BAPIs and they require a BAPI commit call?
    thanks,
    Robert

    Hi Robert,
    For BAPIs you need to set the commit level in the action definition as for function modules. SAP help portal provides following information about BAPIs and COMMIT WORK:
    "The BAPI transaction model must afford the user explicit transaction control. Therefore, if several BAPIs are called together, the caller can decide him/herself when to execute a COMMIT WORK (or, as the case may be, a ROLLBACK WORK). This means that BAPIs themselves cannot (generally) execute a COMMIT WORK command."
    I hope this infomration can help
    Best wishes
    Christoph

  • Why can I not use commas in the Author part? They change into semicolons!

    I'm just a simple user, not a technician, but you probably are!
    Why is it that in CS2 XMP sees the usage of a comma, in the File Info Author field, as a fieldseparator and changes it into a semicolon?
    Whilst it does not change the comma in the Author Title!
    Since the early versions of Photoshop we fill the Author field (iptc 80) with the name of the photographer like Name, Surname.
    Our photomanagement system uses iptc 80 (byline) as photographer field but only shows Name now, instead of Name, Surname.
    Anyone of you can explain why we can't use a comma anymore? and when we use a comma it changes into a semicolon.
    I should expect that using a semicolon would act as field separator....
    Thanks in advance,
    [email protected]

    Are any of you going to the Adobe Developer Conference scheduled to be held for plugin providers at San Jose on Nov 7/8?

  • Why is it such a pain to use java in a country that uses commas as decimal?

    Why is it such a pain to use java in a country that uses commas as decimal separator?
    A few weeks back I've asked here about the keypad decimal key. For some reason, java doesn't map the decimal key to a comma on the Portuguese (Portugal) keyboard layout. I've got no answer and I ended up using a custom plainDocument on the JTextFields to replace all points with commas.
    Now, I've just spent the whole morning trying to store and use decimal numbers properly. For some reason, a Double/Float .valueOf method (or the corresponding parse method) simply ignores the locale in use and uses US defaults when parsing the string. I can't parse anything with commas in those methods and I should, as it is the decimal separator for the system and default locale being used by java.
    First of all, I shouldn't be expected to perform replacements on every single operation that comes with a comma and I obviously can't be expected to program my own locale checking to decide what decimal separator to use in each final system. Second, is there any way to work with numbers seamlessly, without having to know the locale of the end user?
    I'm sorry if this is all my fault for doing something completly wrong, I'm new to java and I did search around to no avail. I'm really frustrated with what seems to be a complete lack of support in java for locales other than the US one.

    Good old Cobol has the "DECIMAL-POINT IS COMMA" clause... And isn't it great? :)
    Second, is there any way to work with numbers seamlessly, without having to know the locale of the end user?Consider "123.456". In some locales, this number is one hundred twenty-three thousand, four hundred fifty-six. In other locales it is one hundred twenty-three and four hundred fifty-size thousandths. How will you be able to determine which, without a locale?That's not what I've meant. Java should know the locale and behave accordingly. I don't have to know the locale of the end user since it might vary greatly. My point is that if strings are flying around with commas and if comma is the decimal separator on the end user's machine, any method aimed at parsing a numeric value out of a string should regard commas as such. I'm constantly replacing dots with commas and vice versa which could cause trouble if a different locale is used.
    And I mean that as a rant. Given my inexperience with Java, there might be good reasons for such a behaviour as baftos argued. What I'm really interested is in finding the proper way to deal with this issue.
    Have you tried the NumberFormat.parse? I will now.
    Edited by: Smigh on Apr 9, 2008 9:21 AM

  • I created an Apple ID using my ISP Email when I registered at the Store/Apple Support Communities/iTunes/Face Time and it does not work in iChat. Why Not ?

    Question:-
    I created an Apple ID using my ISP Email when I registered at the Store/Apple Support Communities/iTunes/Face Time or other portal and it does not work in iChat. Why Not ?
    Answer:-
    For a Name to work in iChat it has to be an Valid AIM screen Name.
    Only Apple IDs from the @mac.com ending names registered here  and the Mobileme (@Me.com ending) names are Valid with the AIM service as well as being Apple IDs
    (I am still working on info about registering with iCloud at the moment but if this does give you an @Me.com email it may well be a valid AIM name as well)
    NOTES:-
    The @mac.com page works by linking an external (Non Apple) email with a @mac.com name.
    This External Email cannot be one linked to an Existing Apple ID (you have to use a second email or register at AIM )
    The options at AIM are to use your existing email or create new name and link the existing only for Password recovery
    MobileMe (@me.com ending names) were valid Emails addresses, Apple IDs AND a Valid AIM Screen Name
    @mac.com names look like emails but are only Apple IDs and iChat/AIM Valid Screen Names.
    The AIM registration page seems to be pushing you to register [email protected] This is relatively new and I have not followed through the pages to find out if it a valid AIM email (Previously you could register a name without an @whatever.com suffix)
    8:16 PM      Friday; June 10, 2011
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb( 10.6.7)
     Mac OS X (10.6.7),
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

    Question:-
    So I have my current [email protected] email in iChat as I thought as I had linked that to an Apple ID it was a Valid iChat Name.  It keeps coming up with a UserName or Password Invalid message.  What do I do next ?
    Answer:-
    Open iChat
    Go to the Menu under the iChat name in the Menu Bar and then Preferences and then Accounts in the new window.
    Commonly written as iChat > Preferences > Accounts as directions/actions to take.
    If it displays with a Yellow running name in the list you have a choice.
    Either register it at AIM (I would use a different password to the ISP Login) and then change the password only in iChat  (It may take you to confirm any Confirmation email from AIM first) in iChat > Preferences > Accounts
    Or you register a new Name at AIM (Or at @mac.com) and enter that (details below)
    If you have a Blue Globe name  (@mac.com) that will not Login the chances are that it the password that is the issue.
    Apple lets you create longer passwords than can be used with the AIM Servers.
    Change the Password at iForgot to no more than 16 characters.
    Then change the password in iChat as details above.
    Adding a new Account/Screen Name in iChat (that is valid with the AIM servers)
    Open iChat if not launched.
    Go to iChat Menu > Preferences > Accounts
    Click the Add ( + )  Button at the bottom of the list.
    Choose in the top item drop down either @Mac.com or AIM depending on what you registered
    Add the name (with @mac.com the software will add the @mac.com bit)
    Add in the password.  (If you don't add it now iChat will ask you each time you open it)
    Click Done.
    The Buddy List should open (New Window)
    The Accounts part of the Preferences should now have the new name and you should be looking at the details.
    You can add something in the Description line which will then title the Buddy List (Useful when you have two or more names) and make it show up as that in the iChat Menu > Accounts and the Window Menu of iChat when logged in.
    You can then highlight any other Account/Screen Name you don't want to use and use the Minus ( - ) Button to delete it.
    8:39 PM      Friday; June 10, 2011
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb( 10.6.7)
     Mac OS X (10.6.7),
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

Maybe you are looking for