Problem updating JTextArea

Hello,
I wrote the following code :
Javax.swing.JTextArea siwngTextArea = new Javax.swing.JTextArea();
Java.awt.TextArea awtTextArea = new java.awt.TextArea();

for (int i = 0; i < 100; i++){
System.out.println(�S�+i);
swingTextArea.append(�S�+i);
awtTextArea.append(�S�+i);
Why the swing JTextArea Component doesn�t update it�s content in the same way as the awt TextArea (JTextArea will update it's content only at the end of the loop)?

Probably because the TextArea is a heavyweight component - this might be system-specific behaviour to respond instantly (or as instantly as possible).
I believe the Java repaint manager won't respond to all repaint events but will store them up so that they're handled smoothly. Since you're hammering the Swing text area with new data as quickly as the computer can handle it it's not surprising that it doesn't get round to repainting until you've relented.
Try giving it a little room to breathe in the loop:
for (int i = 0; i < 100; i++){
  System.out.println(�S�+i);
  swingTextArea.append(�S�+i);
  awtTextArea.append(�S�+i);
  // Pause for a while
  try
    Thread.sleep(100);
  catch(InterruptedException e)

Similar Messages

  • Problem update JTextArea with message from thread

    I have a JTextArea to present the actually status of an running thread. The thread sends strings like: System.out.println("Reading in new message...");to the standardoutput.
    The problem is, that my application freezes when it should update the JTextArea. Any idea and what type of actionListener is recommend to use for the JTextArea?
    try
       BufferedReader breader = new BufferedReader(new InputStreamReader(System.in));
       statusmsg = breader.readLine();
       statusTextArea.append(statusmsg);
    catch (Exception e){};Cheers

    In general, you can't update the Swing stuff from "side" threads. Side threads talk with the Swing event thread by creating Runnable objects which contains the necessary data (in your case, for instance, the JTextArea or its parent panel/window, and the text to append), and then invoking SwingUtilities.invokeLater() to have this object run() method called by the Sing event thread. See:
    http://java.sun.com/docs/books/tutorial/uiswing/misc/threads.html

  • Problem in updating jtextarea

    My requirement is, client has to sent string messages and server has to receive these messages and display it in jtextarea. In my code sending and receiving are done properly, but the problem is the jtextarea is not updated, it goes blank.
    I have attached the client and server files, can anyone solve my problem?
    Thanks in advance.
    //server file
    import java.net.*;
    import java.io.*;
    import javax.swing.*;
    import javax.swing.text.*;
    import javax.swing.event.*;
    import java.util.*;
    import java.text.*;
    import java.awt.*;
    import java.awt.event.*;
    public class MessageCenter extends javax.swing.JFrame {
        public MessageCenter() {
            initComponents();
        private void initComponents() {
            jLabel1 = new JLabel();
            jScrollPane1 = new JScrollPane();
            jTextArea1 = new JTextArea();
            jPanel1 = new JPanel();
            jLabel5 = new JLabel();
            jLabel3 = new JLabel();
            jButton1 = new JButton();
            jButton2 = new JButton();
            jLabel2 = new JLabel();
            jLabel4 = new JLabel();
            menuBar = new JMenuBar();
            fileMenu = new JMenu();
            Start = new JMenuItem();
            jSeparator1 = new JSeparator();
            Stop = new JMenuItem();
            jSeparator2 = new JSeparator();
            Exit = new JMenuItem();
            setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
            setTitle("Message Center");
            setMaximizedBounds(new java.awt.Rectangle(0, 0, 560, 700));
            setBounds(0,0,600,700);
            setName("");
            jLabel1.setBackground(new java.awt.Color(255, 255, 255));
            jLabel1.setFont(new java.awt.Font("Georgia", 1, 24));
            jLabel1.setForeground(new java.awt.Color(34, 44, 106));
            jLabel1.setHorizontalAlignment(SwingConstants.CENTER);
            jLabel1.setText("Message Center");
            jLabel1.setIconTextGap(0);
            getContentPane().add(jLabel1, java.awt.BorderLayout.NORTH);
            jTextArea1.setColumns(20);
            jTextArea1.setFont(new java.awt.Font("Book Antiqua", 0, 12));
            jTextArea1.setLineWrap(true);
            jTextArea1.setRows(25);
            jTextArea1.setBorder(null);
            jScrollPane1.setViewportView(jTextArea1);
            getContentPane().add(jScrollPane1, java.awt.BorderLayout.CENTER);
            jPanel1.setLayout(new java.awt.GridLayout(1, 6, 10, 5));
            jPanel1.add(jLabel5);
            jPanel1.add(jLabel3);
            jButton1.setText("Start");
            jPanel1.add(jButton1);
            jButton2.setText("Stop");
            jPanel1.add(jButton2);
            jPanel1.add(jLabel2);
            jPanel1.add(jLabel4);
            getContentPane().add(jPanel1, java.awt.BorderLayout.SOUTH);
            fileMenu.setText("File");
            Start.setText("Start");
            jButton1.addActionListener(new java.awt.event.ActionListener() {
                public void actionPerformed(java.awt.event.ActionEvent evt) {
                    System.out.println("hello");
                    StartActionPerformed(evt);
            fileMenu.add(Start);
            fileMenu.add(jSeparator1);
            Stop.setText("Stop");
            jButton2.addActionListener(new java.awt.event.ActionListener() {
                public void actionPerformed(java.awt.event.ActionEvent evt) {
                    StopActionPerformed(evt);
            fileMenu.add(Stop);
            fileMenu.add(jSeparator2);
            Exit.setText("Exit");
            fileMenu.add(Exit);
            menuBar.add(fileMenu);
            setJMenuBar(menuBar);
            pack();
    private void StartActionPerformed(java.awt.event.ActionEvent evt)  {
              try{
                        Server t=new Server(jTextArea1);
                        t.listenSocket();
              catch(Exception e)
              e.printStackTrace();
        private void StopActionPerformed(java.awt.event.ActionEvent evt) {
        public static void main(String args[]) {
            java.awt.EventQueue.invokeLater(new Runnable() {
                public void run() {
                    new MessageCenter().setVisible(true);
        private JMenuItem Exit;
        private JMenuItem Start;
        private JMenuItem Stop;
        private JMenu fileMenu;
        private JButton jButton1;
        private JButton jButton2;
        private JLabel jLabel1;
        private JLabel jLabel2;
        private JLabel jLabel3;
        private JLabel jLabel4;
        private JLabel jLabel5;
        private JPanel jPanel1;
        private JScrollPane jScrollPane1;
        private JSeparator jSeparator1;
        private JSeparator jSeparator2;
        public JTextArea jTextArea1;
        private JMenuBar menuBar;
    class ClientThread implements Runnable {
      private Socket client;
      JTextArea jt;
      ClientThread(Socket client,JTextArea jt) {
       this.client = client;
       this.jt=jt;
      public void run(){
        try{
               //DataInputStream dis= new DataInputStream(client.getInputStream());
                DataInputStream dis= new DataInputStream(new BufferedInputStream(client.getInputStream()));
               System.out.println("client connected");
               //BufferedReader dis = new BufferedReader(new InputStreamReader(s.getInputStream()));
                   String msg=null;
                   byte msg1[]=new byte[200];
                while(true)
                   try{
                   if(dis.available()>0)
                   dis.readFully(msg1,0,dis.available());
                 //  System.out.println("Msg is ==> "+new String(msg1));
                   new PrinterThread(jt,new String(msg1)).start();
                   msg1=new byte[200];
                   Thread.sleep(1000);
                      }catch (Exception e) {
                         System.out.println("Exception  ");
             } catch (IOException e) {
                         System.out.println("Exception occurred");
    class Server {
              JTextArea jt;
              public Server(JTextArea jt)
                   this.jt=jt;
              public void listenSocket() throws Exception
              ServerSocket ss=null;
              try{
              ss=new ServerSocket(8000);
              System.out.println("Server started");
             catch (IOException e) {
                         System.out.println("Exception");
                         System.exit(-1);
             while(true){
               ClientThread w;
               try{
            w = new ClientThread(ss.accept(),jt);
            Thread t = new Thread(w);
            t.start();
                catch (IOException e) {
            System.out.println("Accept failed: 8000");
           public static void main(String args[])throws Exception {
              /*Server t=new Server();
              t.listenSocket();*/
         class PrinterThread extends Thread
                public PrinterThread(JTextArea jt1,String msg)
                 jTextArea1 = jt1;
                 this.msg=msg;
                 System.out.println("PrinterThread constructor ");
                public void run()
                 try
                    Date today;
                    SimpleDateFormat formatter;
                    String output;
                     String pattern="dd.MM.yyyy '@' H:mm";
                    formatter = new SimpleDateFormat(pattern);
                    today = new Date();
                    output = formatter.format(today);
                        System.out.println(" "+output+"  "+msg+" \n");
                          jTextArea1.append(" "+output+"  "+msg+" \n");
                          jTextArea1.updateUI();
                             jTextArea1.revalidate();
    //                      JOptionPane.showMessageDialog(null,"hi");
                          //System.out.println("Get text "+jTextArea1.getText());
                 catch (Exception exception) {}
                private JComboBox combo;
                private JTextArea jTextArea1;
                String msg=null;
    //client.java
    import java.net.*;
    import java.io.*;
    import java.io.File;
    public class client {
           public static void main(String args[]) {
                   try {
                           Socket ss=new Socket(InetAddress.getLocalHost(),8000);
                           DataOutputStream dos=new DataOutputStream(ss.getOutputStream());
                           for(int i=1;i<100;i++){
                              if((i%2)==0)
                            dos.writeBytes("1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,3233");
                              else
                            dos.writeBytes("1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42");
                           Thread.sleep(5000);
                   catch(Exception e) {
                   e.printStackTrace();
                   System.out.println(" ");
    }

    You need to run your Server in a separate Thread.
    Right now its running in the GUI Event Thread.I created new thread for my server, now it's updating jtextarea.
    Thank you very much.

  • There was a problem updating InDesign CC For more information see the specific error below.  Update Failed Download error.  Press Retry to try again or contact customer support.(49)

    Posted the entire text from the error window, when trying to update, using the normal NON-TECHIE way to update any and all Adobe CC products, via the Creative Cloud updater installed when Adobe Creative Cloud subscription was purchased when first offered.
    The following occurs, ad nauseam:
    There was a problem updating InDesign CC
    For more information see the specific error below.
    Update Failed
    Download error.  Press Retry to try again or contact customer support.(49)
    Here's the crux of my frustration:
    (1) Customer Service is NOT contact-able, to receive LIVE help.
    (2) There is NO way for me to mitigate this "Download error", being a student learning InDesign, and NOT in any way capable of tweaking folders/files here and there.
    Therefore, the real question:
    Given that a significant number of subscribers are having the above referenced issue with attempting to download the current update for InDesign, WHAT ARE WE SUPPOSED TO DO, in order to get our contractually paid-for updates to our legally and contractually paid-for Adobe software, specifically in my case, InDesgin's current update?
    Please, NO TECHNICAL mumbo-jumbo which most likely will cause the overwhelming majority of users, like me, to seriously corrupt their computer files, but rather an honest, straightforward "what to do" from real CS/Engineers working for Adobe, as to how to FIX this issue, period.
    ===========================================================
    UPDATE:
    Here is a way in which I think I was able to "update" my InDesign CC application:
    (1) Sign-In to your Adobe Account
    https://www.adobe.com/
    (2) Click on the MENU icon
    (3) Click on the product InDesign icon
    Your browser should display the page for Adobe InDesign CC
    https://www.adobe.com/products/indesign.html?promoid=KLXLU
    (4) Click on the Download icon,
    Your browser should now display the page to download InDesign,
    https://creative.adobe.com/products/download/indesign
    (5) a Pop-Up window should open, and display:
      Launch Application
      This link needs to be opened with an application.
    with the first option to select being the CreativeCloud(URIHandler)
    (5) Select this application and click OK.
    What happened when I followed steps (1) thorugh (5) is that:
    (a) InDesign CC(2014) was installed,
    (b) InDesign CC, updated, and then
    (c) InDesign CC(2014), also updated.
    Why this all worked, is a mystery to me.
    Looks like a separate, "new" version of InDesign, InDesign CC(2014), was installed, the existing "old" InDesign was updated, and then the newly installed Indesign CC(2014) was further updated.
    A BIT MORE, when I launched my InDesign CC app, and checked to see if there were Updates Available, there in fact was an Adobe InDesign CC 64 bit (9.2.2) update.
    I clicked on UPDATE and my "old" InDesign CC app was "successfully updated."
    FURTHER INFO:  I may have neglected to list some important info ... OS:  Windows 8.1 Pro with Media Center, 64-bit
    Confused, I am able to launch BOTH of these apps, and hopefully I may use one of these versions of the InDesign CC app, to do some InDesign work.
    Will keep y'all posted!
    Message was edited by: Richard Yapkowitz, about an hour after I first posted this issue.

    Jackdan error 49 indicates the installer was unable to access a critical file or directory.  You can find additional details at Error downloading Creative Cloud applications - http://helpx.adobe.com/creative-cloud/kb/error-downloading-cc-apps.html.

  • Problem updating to iphoto 9.6 after upgrading to Yoesmite  I am getting the following message when I try top date iPhoto This update is not available for this Apple ID either because it was bought by a different user or the item was refunded or canc

    problem updating to iphoto 9.6 after upgrading to Yoesmite  I am getting the following message when I try top date iPhoto This update is not available for this Apple ID either because it was bought by a different user or the item was refunded or canc

    "This update is not available for this Apple ID either because it was bought by a different user or the item was refunded or cancelled." ?
    This error message will appear erraneously, if you skipped the update to Mavericks and iPhoto 9.5.1 and went straight from an earlier MacOS X version to Yosemite, without first updating to iPhoto 9.5.1 and associating iPhoto to your AppleID.
    Try first to buy iPhoto with your AppleID instead of updating. Delete iPhoto from Applications, but don't empty the Trash, then go to the main page of the App Store and search for iPhoto. If you are lucky, it will show as free and you can buy it directly.
    If iPhoto  is not showing as free, there is no help but contacting the App Store Support: Ask for a redemption code. You will need to provide a prove of purchase for your mac with iPhoto preinstalled.
    http://www.apple.com/support/mac/app-store/contact/

  • HT201413 I am having a problem updating itunes to the latest version on my windows xp i get the error message 126 and the sign that says this application has failed because MSVCR80.dll was not found.

    I am having a problem updating itunes to the latest version on my windows xp i get the error message 126 and the banner that says this application has failed because MSVCR80.dll was not found. anyone have a fix suggestion? thanks

    Click here and follow the instructions.
    (98724)

  • HI there, am having a big problem updating mu iphone due to me forgetting my password, can you tell me how to retrieve it. It seems like i have one apple id for downloads  and a different one for updates. Can you help ps.?

    Hi There
    Am having a big problem updating my iphone 4 Apps, due to a problem with my password for my apple id. But it seems that i have two different ids, one for the updates and another for the downloads. I am not able to retrieve my Id password for updating my Apps. Can you help me ps?
    Thank you

    What program did you use to fix the internal hard drive? What repairs did it report making? More crucially, if repairs were reported, did you re-run the utility until it reported no problems found? It's possible for one set of problems with a drive to mask others.
    If you have about 5GB or so free space on the internal hard drive, you can use your OS X Install disc to perform an Archive and Install to recover from the failed Software Update. When the computer restarts, download and run the OS X Update Combo 10.4.11 (Universal). When the Mac restarts after that, run Software Update. During all this, make sure nothing interrupts or shuts down the Mac! Note that the first start after each of these updates will take significantly longer than subsequent starts, so be very patient.
    How did you back up your internal drive to the external one? Did you just drag things over in the Finder, or did you use a utility such as SuperDuper! or CarbonCopyCloner? Does the external HD show up as a bootable volume in System Preferences > Startup Disk, or using Startup Manager?

  • BRFplus: Problem updating values in an internal table in a loop expression

    Hi
    I'm looking into the loop expression type of BRFplus and I have come across a problem updating an internal table, I'm trying to create and populate the table using a loop, here is the functionality I'm trying to achieve:
    In a rule set create an internal MONTH_TBL table containing 12 rows of two columns: MONTH_NUM containing values 1 through 12 and MONTH_VAL containing an amount (initially 0,00 EUR in all 12 rows).
    After initializing the table traverse through SFLIGHT table and for each row add PRICE from the table to MONTH_VAL in the row of MONTH_TBL corresponding to the month of FLDATE field in SFLIGHT.
    The initialization of MONTH_TBL works as intended, as does the traversal of and retrieval of values from SFLIGHT. The problem however is the update of the internal table MONTH_TBL (defined as result data object for the function). I don't get an error, but the tables does not get updated, and I cannot seem to find out what the problem is. I would have attached an XML extract of the function + ruleset for information, but it dosen't seem like that is possible, I could e-mail it on request (for SAP employees with access to system QU5 the function is LOOP_TEST in application Z_KLAUS_TEST).
    I hope that this is sufficient information to understand the issue that I'm dealing with.
    best regards
    Klaus Stenbæk, KMD

    Hi Klaus,
    The Loop expression is part of NW 7.02 which is not yet released. When you experience the problem as part of a test you should have a contact at SAP for dealing with problems/errors. Usually SAP-internal messages are used for this purpose. Please clarify with your SAP contact how the model is.
    BR,
    Carsten

  • Problems updating ipod touch 3g to os 5

    Hi... I am very excited to see what all the buzz is about for the new OS 5.x for use on my ipod touch 3g but im having problems updating my device.  my itunes has been updated to 10.5 and i have conected my touch to my computer and clicked on update.  but all that comes back is that it is updated to the newest version which it states 4.2.1 .... but i dont see any of the new stuff that is supposed to be with os 5    i have erased and put my touch back to default settings and it still does the same thing.  i erased using itunes when connected by the cord and i have tried using the reset feature on the touch itself w/o the cable.  if anyone has some advice for me it would be greatly appreciated !!

    heather from gravenhurst wrote:
    it is an 8g & ive talked to the itunes support team and they say that it is indeed a 3g
    Not true.  Apple did not make an 8GB ipod touhc 3rd gen at all.  They do not exist.
    You can see for yourself:
    Identifying iPod models

  • Problem updating Nokia N97 firmware over the arir ...

    OK here goes,
    I'm having some real problems updating the firmware on my white nokia N97
    I recently bought it of the web as a 12 month contract onto t-mobile (not there website though) in th uk
    After noticing some problems i googled and noticed a firmware update had been released on 1st july 2009
    I tried to get the firmwae over the air (OTA) via typing in *#0000# and selecting check for updates. I get no updates available for nokia and t-mobile (unsure what the difference is?)
    So i heard try using nokia software updater.
    i downloaded latest version 1.6.13 and installed it on a windows vista 32-bit home premium laptop ok
    i have also installed all of the stuff that came with the cd with the phone (ovistore etc )
    when i plug the phone into the laptop i get four options (PC, media, usb and something else) first time it ran it installed the necessary drivers and so therefore when i now plug it it just connects as expected.
    so the laptop is detecting the nokia n97 at this stage
    when i then load nokia software updater click next i put the phone into general mode on full charge with a sim card in it and click next again to detect the phone is pc suite mode
    after about 2 minutes it says it can detect the phone although i can go to my computer and traverse the folder view!
    i can even set it off looking for the phone pluggin it in and the autoplay options of vista will kick in in the background detecting the phone (ie outisde scope of nokia software updater)
    i have tried all different connections mode pc suite mode etc different profiles nothing. tried it onto different pcs with different windows version on it. tried reinstalling software updater
    my software version is 10.0.012 and my product code is 0587240
    interestingly when i goto the can i update on nokias website it says no i have the latest version when i supply this information. weird
    im kinda in catch 22 because there is a bug with pc usb detection of the phone in version 10 but i cant update to version 11 because of this bug
    its driving me nuts any help greatly appreciated
    thanks in advance
    Cheers
    kyle

    kyletindle wrote:
    i did a hard reset using *#7370# and locking code 12345 and the phone did reset but software updater does still not recognise the phone whilst ovi suite does and nokia sync etc
    to make matters worse it has broke my facebook app error: undefined
    mega
    just what i wanted cheers nokia
    It will break your facebook as you have re-formatted the C: drive of you phone. Was you facebook installed to the E: drive by any chance?
    Go to OVI Store and re-install it. 
    It may be work installing it from OVI Store then un-installing that one to clean off the mess you have been left with post formatt and then re-installing it fresh from OVI Store.
    As I always say. Before doing a re-format always  uninstall all apps/widgests before doing a hard reset or factory reset.
    I also do a this and a factory reset before firmware updates to clean my phone. Should really do a hard reset/format as this would be cleaner still, but tehn I would have to do a lot more set-up afterwards.
    N97 (Product Code: 0585262 (Voda UK)) FW 12.0.026
    95 8Gb (Product Code: 0558787 (UK)) FW 31.0.018
    If a post by a user has been helpful, please click on the Kudos! button.

  • I have problems updating my app in the appstore. How should i update using itunes? Currently, i'm unable to use all of my apps.

    I have problems updating my apps in appstore for my IPad. How should i update it using itunes? I'm unable to see all the apps currently.

    Hallo. If all of your apps purchases from the same Apple ID, you can try to update them on iTunes, ways as below:
    iTunes 12 for Windows: Download previous purchases from the iTunes Store
    iTunes 12 for Mac: Download previous purchases from the iTunes Store
    Regards,
    Anson

  • I am having problems updating my itunes to the latest version, on each stage I am getting a message 'The feature you are trying to use in on a network resource that is unavailable.'  I try to click OK it fails and I do not know an alternate path to select

    I am having problems updating my itunes to the latest version, on each stage I am getting a message 'The feature you are trying to use in on a network resource that is unavailable.'  I try to click OK it fails and I do not know an alternate path to select, please help?
    I get message like below on each stage of the update, Quicktime, Safari & iTunes;
    It's so annoying as until I update my iTunes account my phone won't sync.

    Many thanks for the screenshot. (The key to these is knowing which particular .msi file is being mentioned by the message.)
    (1) Download the Windows Installer CleanUp utility installer file (msicuu2.exe) from the following Major Geeks page (use one of the links under the "DOWNLOAD LOCATIONS" thingy on the Major Geeks page):
    http://majorgeeks.com/download.php?det=4459
    (2) Doubleclick the msicuu2.exe file and follow the prompts to install the Windows Installer CleanUp utility. (If you're on a Windows Vista or Windows 7 system and you get a Code 800A0046 error message when doubleclicking the msicuu2.exe file, try instead right-clicking on the msicuu2.exe file and selecting "Run as administrator".)
    (3) In your Start menu click All Programs and then click Windows Install Clean Up. The Windows Installer CleanUp utility window appears, listing software that is currently installed on your computer.
    (4) In the list of programs that appears in CleanUp, select any Bonjour entries and click "Remove", as per the following screenshot:
    (5) Quit out of CleanUp, restart the PC and try another iTunes install. Does it go through properly this time?
    (Assuming that the QuickTime and Safari messages were also citing bonjour64.msi, you should also then be good to go with those installs too.)

  • Problem using JTextArea

    Hi!
         I' ve a problem using JTextArea. I'm trying to discuss in a brief.....
    I've created an application that is used as a front end for a SQL database application.
    There is a text area (JTextArea). Clicking on a button, what I enter in the text area would be saved into the database. As well as, the text area would be used to display the data (a few line) that the database already contains. That is to say, that a user can edit new text to store into the database and modify older text that is already stored in the database.
    A line the text area would contain could be as long
    as this line.
    Or, a line may be long like this.
    < There may be a gap / empty line >
         A line may be start & end in these positions.
    figure: a text area (JTextArea)
    Suppose that someone used this text area to edit a few lines as the figure displays.
    Now, the next time when he will return here after doing some other tasks with this application or, after reopening the application; the text area should display the entire text the database contains in the format it was edited (See the figure).
    But, I failed to do all the things I sated above! (Except the job with database)
    I don't have any problem in database connectivity or getting the text (String) a database contains.
    Would you please send me a code that explains how to achieve the things I need?
    Please........

    Hellow again !
    Your suggestion to use the methd trim() did not help to the problem I mentioned. But you would be glad to know that the method solve the another problem I had.
    But !...but I' m still in the same condition.
    Well, Canad! I think the another one you said the 'padding' is unable to work successfully as the text area and hereafter the database would contain multiple lines and not only one line. Because, after editing one line if I fill the rest of the space ( space to store string / text in a column of the database ) then where the other lines that would be entered into the text area would be stored ?! (See your suggestion 'padding')
    I can not find out anything & I'm getting tired. Would you do something at my request ?
    Please...Please...Please... send me a code that helps to achieve what the actually I need and ofcourse, explains clearly.

  • Problem Updating iPod software on iTunes

    I am having problems updating my iPod software through iTunes. As soon as it gets to the end of the download, an error message comes up (-48, I think) that states there was an error in downloading the update. It suggests to check my internet connection or try again later. It happens everytime. I have a very stable internet connection and my iTunes software is version 7.1.1.5
    Please help me! Thank you.

    See if placing the iPod in Recovery mode will allow a restore via iTunes
    Next try DFU mode
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    You can also try another computer to help determine if you have a computer or iPod problem.

  • Problem updating IDS signatures

    I have a IDS-4215 sensor with version 5.1(5)E1S333V1.2
    I tried several times updating signatures with next version on it but it doesnot get updated and only the local MC gets upgraded. I have other IDS sensors also but I dont have any problem updating signatures with them.
    Why are the signatures not getting updated on this Sensor.
    Help me with a solution. All helpful posts will be rated.

    Did you try applying S355 directly to the sensor using the CLI or IDM rather than the MC?
    Sometimes you don't get good error messages when trying to apply through the MC.
    If you apply through CLI or IDM did you get any messages back from the sensor?
    Did you get a success messgae? If doing it from the CLI did it come back to a CLI prompt?
    If no error messages come back when trying the upgrade, then it will require looking at a "show tech" from your sensor to try and see what is going on.
    You would not want to copy that output to this forum, so your best bet would be to open up a TAC case and provide them the output from when you tried applying the update through the CLI or IDM, as well as the output from the "show tech" taken immediately after the failed upgrade attempt.
    I am not currently aware of any situation where the upgrade would fail without some type of error message being returned.
    Here, however, are some common errors that should return an error message (I don't remember the exact wording of the error messages):
    1) sensorApp/analysis engine is Not Running
    (you can check "show version" before doing the upgrade to make sure it is Running).
    2) sensorApp/analysis engine is not responding (you can do a "show stat vi" before trying the upgrade to ensure it is responding to statistic requests before trying the upgrade)
    3) license has expired (you can do a "show ver" and make sure the license has not expired)
    4) Signature Update already installed - This is a tricky one. This can happen when a previous attempt to update at that same signature level failed, but left some remnants around. The second attempt to install the same update detects the remains of the previous failure and incorrectly thinks that the update is already installed. There are 2 ways to recover from this. Save off the config, and do a recover-application command to re-image the sensor, then re-apply the config. Or wait till the next signature update S356 comes out and try it with the newer sig update. I haven't seen this problem in a long time, and I am not sure if it can happen anymore. Steps were taken to try and prevent this from happening.
    5) sensorApp/analysis engine could stop During the signature update - This can happen on lower end sensors like the IDS-4215 especially when tunings have been made to the signatures or custom signatures have been created. The low end sensors have limited memory. When a new signature update is applied the sensor has to compile the new signatures. If using the standard set of signatures with no user tunings, then the signature update should apply fine. But if the customer has made tunings and/or added custom signatures, then this compiling of the new signatures could push the sensor above it's allowed memory limits. The kernel will then kill sensorApp/analysis engine. The signature update will never complete (never get an error OR a success message). And the sensor has to be rebooted to get it working again. If you are running into this issue you might need to remove some of your tunings and custom signatures, apply the signature update, and then re-apply your tunings.

Maybe you are looking for

  • Why does imovie crash every time I try to export a finished movie?

    Process:         iMovie [1417] Path:            /Applications/iMovie.app/Contents/MacOS/iMovie Identifier:      com.apple.iMovie8 Version:         8.0.6 (821) Build Info:      iMovieApp-8210000~16 Code Type:       X86 (Native) Parent Process:  launch

  • Dreamweaver suddenly stopped and can't get it started anymore

    While i was working with dreamweaver it all of a sudden stopped and closed. I couldn't get it to work anymore. So I restarted my computer. No luck. I tried to reinstall dreamweaver, but after 20 minutes installing it came back that it couldn't be ins

  • Burning music from Itunes on to blank disc

    I am attempting to burn a folder in Itunes to a blank disc but it will not allow me as the music in Itunes needs to be in MP3 format to burn. How do I resolve this issue? Thanks

  • Looking for a book that would teach me Java from the ground

    Hi! I'm a high school student looking to learn a lot about Java Programming. I'm taking Computer Science III right now and I took Computer Science I last school year (My school don't offer Computer Science II). However, my Comp. Sci. I teacher was re

  • Missing application updater and nokia server profi...

    Hi there fellow N97 owners. I've just joined this forum and need some help with 2 very frustrating problems with my N97. 1st problem is that I can not update the applications in my handset via the "SW update" which is supposed to be located in the Ap