No replies for thread

Hi All,
I have posted some questions in Webdynpro ABAP forum.
I did not get any replies for some of them. All of them are good ones. I always search before posting.
I closed the threads and posted them again with new subject line.
Still I could find no replies. How can I get clarified. Even moderators are not replying them.
I'm still in search of the answers. I would appreciate if the moderators share their views for those threads based on the quality of the threads. In order to get the replies where else can we post the same thread in addition to the specific forum.
Regards,
Lekha.

Hi All,
>
Siegfried wrote::
> PS: Moderators are there for keeping the forums clean and not for answering questions without replies.
I hope Siegfried's quote implies only for the thread without replies.But still it is out of their interest & time to give solutions to the unanswered thread.
>
saslove sap wrote:
> All things are acceptable...
> But Is it like if one person become Moderator by sharing his vast knowledge to the right posts and having nice reputation , and later he need to ignore to share knowledge?......
>
Before becoming a Moderator they get some time to help others with their knowledge apart from their regular work schedule but after becoming the moderator an extra burden of maintaining the forum is added up and that minimizes the percentage of sharing their knowledge.But still i dont believe that they avoid sharing their knowledge.
>
> I am so proud to SAPIANS with lot of knowledge around us and really intrested to share their knowledge....But problem it is not reaching at the right time...
>
Yeah this kind of situations happens rarely and it happens if there is a vacation for the regular contributors of SDN so it takes some time to get the answer.
>
> Every one Really missing the replies of great man like RICH HELIMEN ,Thomas Jung ..Lot many.
>
Yeah, people really miss solutions from these great men.
>
> we really need to appreciate some Guys who are contributing Long Lastingly  Craig , Julius ,Matt,Thomas ,Vijay, Anton, Rob (Every one upto extent what they can when time prompts for them).....SDN should come up certain encouragments to the guys who are really working hard to contribute ....
>
Yeah i strongly second this statement.And these men dont contribute to SDN expecting something they do it as they enjoy doing it.This can be clearly seen from their replies and contributions apart from the regular technical forums(ie.Coffee Corner)
PS: I added some missing names to the list of great men.
Cheers
Andrew

Similar Messages

  • How can I see how many replies a thread has?

    The old layout let you see how many replies a thread had. Is there any way to get that back?

    To the end of the URL of a discussions page, add:
    /content
    ...In the resulting page, click on the big Discussions tab and then bookmark that URL. Here's a screenshot:

  • Media Recovery Waiting for thread 1 sequence (in transit)

    I have rebuilt our standby database using an rman duplicate since it was missing many archive logs.
    Following the duplicate, the standby is now almost in sync with the primary. Logs are shipping across but are not being applied in a timely manner. How long should it take for an archive log from the primary to be applied to the standby?
    I need to know this so that a proper script can be set up to check the primary and standby. At the moment they are never exactly in sync - always one sequence number behind the primary.
    Why is the standby is not applying in a timely manner?
    From the alert log:
    Media Recovery Waiting for thread 1 sequence 11278 (in transit)
    The log seems to be "in transit" for a long time
    PRIMARY:
    SQL> select max (sequence#) current_seq from v$log;
    CURRENT_SEQ
    11278
    SB:
    SQL> select MAX (SEQUENCE#), APPLIED FROM V$ARCHIVED_LOG where APPLIED ='YES' GROUP BY APPLIED;
    MAX(SEQUENCE#) APP
    11277 YES
    ALERT LOG:
    RFS[2]: Archived Log: '/backup/prod/log_1_11277_704816194.dbf'
    Primary database is in MAXIMUM PERFORMANCE mode
    Mon Nov 1 15:22:01 2010
    Media Recovery Log /backup/prod/log_1_11272_704816194.dbf
    Mon Nov 1 15:26:49 2010
    Media Recovery Log /backup/prod/log_1_11273_704816194.dbf
    Mon Nov 1 15:29:54 2010
    Media Recovery Log /backup/prod/log_1_11274_704816194.dbf
    Mon Nov 1 15:34:18 2010
    Media Recovery Log /backup/prod/log_1_11275_704816194.dbf
    Mon Nov 1 15:36:42 2010
    Media Recovery Log /backup/prod/log_1_11276_704816194.dbf
    Mon Nov 1 15:39:43 2010
    Media Recovery Log /backup/prod/log_1_11277_704816194.dbf
    Mon Nov 1 15:42:34 2010
    Media Recovery Waiting for thread 1 sequence 11278 (in transit)
    I should add that I understand that for the Primary and Standby to be out by one log is not cause for concern (they are applying). Its just that I wanted to script a check that would compare them both, and and the moment they are never equal - when I understand that they should be and that the logs should be applied almost immediately.
    Edited by: Dan A on Nov 1, 2010 4:36 PM

    How long should it take for an archive log from the primary to be applied to the standby?depends on network speed also.
    make sure the archives are shipped to standby location.
    PRIMARY:
    SQL> select max (sequence#) current_seq from v$log;
    CURRENT_SEQ
    11278(this is log not archivelog ) ..... :)SB:
    SQL> select MAX (SEQUENCE#), APPLIED FROM V$ARCHIVED_LOG where APPLIED ='YES' GROUP BY APPLIED;
    MAX(SEQUENCE#) APP
    11277 YES
    Hi check is MRP started or not?
    primary database you need not check current sequence, check last generated sequence..not current sequence.
    current sequence is redo log which has been not yet archived
    I think everything is perfect here.. no issues.
    Hope you understood, let me know if not clear , thanks.

  • Visual C++ Runtime Error R6016 not enough space for thread data

    I get these errors on startup of my Windows 8.1 (with all latest updates installed) after login.
    1. It would be helpful if the error message actually identified the exe or dll causing the problem.
    Program: C:\Progra...
    Is not a very helpful clue to the source of the error and because of its brevity comes across as being contemptuous of the user.
    Image > https://plus.google.com/photos/116576618429528389782/albums/6004901461676803857
    2. From the active apps Desktop toolbar it appears that this problem may be associated with
    Apple IE DAV
    3. I suspect that the problem announced by this error might also be contributing to the the fact that my Chrome browser now appears to be overlaid with a pink matt variation on its entire colour scheme. I have reported the pink matt error directly to Google
    Chrome support.
    Thanks
    Martin

    Hi,
    Have you noticed any event in local event viewer related to this error?
    Error reference:
    C Run-Time Error R6016
    http://social.technet.microsoft.com/Forums/en-US/13aa9b30-e00a-4ddc-9763-93702084bbea/visual-c-runtime-error-r6016-not-enough-space-for-thread-data?fo
    Also, I suggest you to test the issue in clean boot mode to narrow down the issue.
    How to perform a clean boot
    http://support.microsoft.com/kb/929135
    If the issue doesn’t appear in clean boot mod, you can determine which one can be the cause by using dichotomy in MSconfig. Checking on half of Non-Microsoft service and restart, determining which half of the services cause the issue and repeating to check
    half of the problematic half services.
    Otherwise, please test the issue in Safe mode and let me know the results, then provide the screenshot of the error.
    Kate Li
    TechNet Community Support

  • Pattern for Thread Pool?

    Hi
    i want to build a kind of download manager. The application should be able to handle some concurrent threads, each representing a download in progress.
    I thought i might be more efficient to reuse a download thread after the download has ended as to create a new thread each time (like the connection object for db queries). Is this right? If yes, i thought to build a thread pool that serves a limited number of threaded download objects as requested (am I on the right way?).
    Now, I have to basic problems: (a) is it right, that, if the run() method of a thread has ended, the whole thread gets destroved? if yes, how should i prevent the thread from being destroyed, so i can reuse it later on? Second (b) how would that pool mechnism look like, means, there must be some kind of vector where i put in and take out the threads.
    As you see, these are basic "pool" technique questions. So, I thought, maybe there is a design pattern that would give me the basic mechanism, Does anyone know such a pattern?
    Thanks for your help
    josh

    I thought i might be more efficient to reuse a
    download thread after the download has ended as to
    create a new thread each time (like the connection
    object for db queries). Is this right? If yes, iIt may be right, if creating new threads is wasting enough CPU cycles to justify the complication of a thread pool. Maybe for a high-load server it would be more efficient. You'll have to figure that out for your own specific application.
    Another good use for thread pools is to avoid putting time-consuming operations in ActionListeners, etc. Instead you can have them pass the task off to a thread pool, keeping the GUI responsive.
    Now, I have to basic problems: (a) is it right, that,
    if the run() method of a thread has ended, the whole
    thread gets destroved? if yes, how should i prevent
    the thread from being destroyed, so i can reuse it
    later on? Second (b) how would that pool mechnism look
    like, means, there must be some kind of vector where i
    put in and take out the threads. (a) You are right. Therefore, the worker threads should not exit their run() methods until interrupted. (b) Worker threads could check a job queue (containing Runnables, perhaps) and if there are none, they should wait() on some object. When another thread adds a new job to the queue, it should call notify() on the same object, thus waking up one of the worker threads to perform the task.
    I wrote a thread pool once, just as an exercise. You will run into a number of problems and design issues (such as, what should the worker threads do when interrupted, exit immediately or clear the job queue and then exit?) If you have any more questions, ask in this thead.
    Krum

  • LGWR: Archivelog for thread 1 sequence 219 will NOT be compressed

    db-version 10.2.0.2
    os windows server 2003
    part of the alert log:
    Thread 1 cannot allocate new log, sequence 219
    Private strand flush not complete
    Current log# 2 seq# 218 mem# 0: D:\ORACLE\PRODUCT\10.2.0\ORADATA\HTMLDB63\REDO02A.LOG
    Current log# 2 seq# 218 mem# 1: C:\ORACLE\DB_1\HTMLDB63\REDO02B.LOG
    Thread 1 advanced to log sequence 219
    Current log# 3 seq# 219 mem# 0: D:\ORACLE\PRODUCT\10.2.0\ORADATA\HTMLDB63\REDO03A.LOG
    Current log# 3 seq# 219 mem# 1: C:\ORACLE\DB_1\HTMLDB63\REDO03B.LOG
    part in the trace-file of the lgwr:
    LGWR: Archivelog for thread 1 sequence 219 will NOT be compressed
    is this a bug too or a real problem?

    According to Note: 284618.1 "Archivelog for thread % sequence % will NOT be compressed" message in trace files on 10.1.0.x, it is just an informational message and can be ignored.
    Your version on the other hand is 10.2.0.2. There are several unanswered forum thread on metalink concerning the message in 10.2.0.2 database. One thread answers by Oracle supports points the person asking the question to the note above.

  • ORA-00280: change 84116020212 for thread 2 is in sequence #251560

    Y'ello All,
    While trying to recover an offline datafile on a two node RAC, it keeps asking for threads from both nodes with is normal.
    My questions are:
    a) Is there a script that will tell me the list of archive logs needed to recover that particular datafile?
    b) I only know how to restore archive logs for one thread, see below
    run
    allocate channel p1 type 'sbt_tape' parms 'ENV=(tdpo_optfile=/opt/tivoli/tsm/client/oracle/bin64/tdpo.opt)';
    restore archivelog from sequence 147422 until sequence 147427 thread 1;
    release channel p1;
    But want to restore both threads at the same time, not running twice the rman command for thread 1 and then thread 2.
    will the below work?
    run
    allocate channel p1 type 'sbt_tape' parms 'ENV=(tdpo_optfile=/opt/tivoli/tsm/client/oracle/bin64/tdpo.opt)';
    restore archivelog from sequence 147422 until sequence 147427 thread 1;
    restore archivelog from sequence 251561 to 251573 thread 2;
    release channel p1;
    Kindly help and advice.
    DID

    Use RMAN list backup; and list backupset n; to show the datafiles and archivelogs that make up a backup or backup set. You can expand this by using list backup by file;
    I guess for your thread two line, you meant
    restore archivelog from sequence 251561 until sequence 251573 thread 2;The command should work

  • LGWR: Archivelog for thread 1 sequence 9339 will NOT be compressed

    Following is a meesage in db01_lgwr_9265.trc
    *** 2007-08-03 05:37:19.254
    LGWR: Archivelog for thread 1 sequence 9335 will NOT be compressed
    *** 2007-08-03 05:52:38.565
    LGWR: Archivelog for thread 1 sequence 9336 will NOT be compressed
    *** 2007-08-03 06:07:51.288
    LGWR: Archivelog for thread 1 sequence 9337 will NOT be compressed
    *** 2007-08-03 06:35:26.796
    LGWR: Archivelog for thread 1 sequence 9338 will NOT be compressed
    *** 2007-08-03 06:45:55.290
    LGWR: Archivelog for thread 1 sequence 9339 will NOT be compressed
    *** 2007-08-03 07:11:16.890
    LGWR: Archivelog for thread 1 sequence 9340 will NOT be compressed
    *** 2007-08-03 09:12:54.310
    LGWR: Archivelog for thread 1 sequence 9341 will NOT be compressed
    *** 2007-08-03 09:18:43.238
    LGWR: Archivelog for thread 1 sequence 9342 will NOT be compressed
    *** 2007-08-03 09:27:38.027
    LGWR: Archivelog for thread 1 sequence 9343 will NOT be compressed
    *** 2007-08-03 09:35:25.323
    LGWR: Archivelog for thread 1 sequence 9344 will NOT be compressed
    ---------------------------------------------------->
    Why these messages are appearing in trace file ... ?
    Thanks
    SSM

    Additional information from the same note 284618.1
    The message is harmless and requires no action.
    The message is suppressed as of 10.2.0.3 from bug fix 4670363.
    Bug 4670363 - Repeated "LGWR: Archivelog for thread" trace messages
    Oracle Metalink Doc ID: Note:4670363.8
    Range of versions believed to be affected Versions < 11
    Versions confirmed as being affected 10.2.0.2
    Platforms affected Generic (all / most platforms affected)
    This issue is fixed in 10.2.0.3 (Server Patch Set)
    11g (Future version)
    Adith

  • ORA-16145: archival for thread# 1 sequence# 1424 in progress

    Dear All,
    I am configuring data guard between primary and DR databases. After giving "recover standby database" command it is display following error.
    SQL> recover standby database;
    ORA-00279: change 93766011 generated at 02/22/2013 00:30:05 needed for thread 1
    ORA-00289: suggestion :
    /u01/app/oracle/oradata/EGXTDR/archives/1_1424_805147492.arc
    ORA-00280: change 93766011 for thread 1 is in sequence #1424
    Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
    auto
    ORA-16145: archival for thread# 1 sequence# 1424 in progress
    This is the already applied log file sequence:
    SQL> select max(sequence#) from v$archived_log where applied='YES';
    MAX(SEQUENCE#)
    1423
    I have checked archive log path and found frequently copying archive logs from sequence# 1424 and later to the physical path.
    I think this is the reason for "ORA-16145: archival for thread# 1 sequence# 1424 in progress" error.
    Please anyone advice why this continuous copying same archive logs from primary to DR.
    Thank you in advance.

    and found frequently copying archive logs from sequence# 1424 and later to the physical pathDo you mean that Oracle is automatically frequently copying the same archivelogs ? Which sequences -- e.g. does it start at 1424 and continue to 1430 and then restarts at 1424 again , running in a loop ?
    Oracle is not known to do that.
    OR do you have a background / cron / scripted job that copies the archivelogs --- and is looping ?
    Hemant K Chitale

  • ORA-16145: archival for thread# sequence# in progress

    Hi,
    10gR2 Database is configured in Dataguard maximum performance mode with no standby redo log file.
    Archive log switching application on standby was working earlier but , it's stopped and unable to apply archive log on standby.For command 'recover standby database' it's giving ORA-16145: archival for thread#1 sequence# 5 in progress. The archive file is copied manually also ,but even though the problem persists.No archive log gap found for the secondary.the archivelogs are getting shipped properly.
    Any suggestion? Thanks..

    Hi,
    FTPed the archive log file and started the standby recovery but ,
    it gave error:ORA-01274: cannot add datafile
    '/d01/db/apps_st/data/non_apps_ts_data001.dbf' - file could not be
    created
    When started recovery after changing the parameter 'standby_file_management' to auto,
    it's giving
    ORA-00283: recovery session canceled due to errors
    ORA-01111: name for data file 38 is unknown - rename to correct file
    ORA-01110: data file 38: '/d01/db/tech_st/10.2.0/dbs/UNNAMED00038'
    ORA-01157: cannot identify/lock data file 38 - see DBWR trace file
    ORA-01111: name for data file 38 is unknown - rename to correct file
    ORA-01110: data file 38: '/d01/db/tech_st/10.2.0/dbs/UNNAMED00038'
    Pls advice.....Thanks

  • Change 5977383300318 for thread 2 is in sequence #4

    Hi All,
    the database was a single one on 10gR2
    i was doing a cold clone from one instance to another, when running recover
    "recover database using backup controlfile"
    it was always looking for sequence # 4 but in the archive log i only have #2 and #3.
    i do not have sequence #4 anywhere on the system.
    can you suggest a solution for this?
    Thanks in advance.
    SQL*Plus: SYS@CLONE >recover database using backup controlfile;
    ORA-00279: change 5977383300318 generated at 05/05/2010 11:59:06 needed for
    thread 2
    ORA-00289: suggestion : /u10/app/oracle/oradata/arch/2_4_718195767.arc
    ORA-00280: change 5977383300318 for thread 2 is in sequence #4
    Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
    /u10/app/oracle/oradata/arch/2_3_718195767.arc
    ORA-00310: archived log contains sequence 3; sequence 4 required
    ORA-00334: archived log: '/u10/app/oracle/oradata/arch/2_3_718195767.arc'

    Hello,
    When you Backup the database you should either:
    1. Make a Cold Backup:
    - Shutdown the original database and copy it's datafiles, redolog files, controlfiles, PFILE/SPFILE.
    2. Make a Hot Backup:
    - Set the original database in BEGIN BACKUP mode, then copy the datafiles, controlfiles, PFILE/SPFILE.
    - Generate a last Archive log alter system switch logfile; and copy all the Archived log since the beginning of the Backup.
    - Set the original database in END BACKUP mode.
    In the first case, you don't need to make a Recovery.
    In the second case you'll have to make a Recovery.
    Else, you may use the DUPLICATE statement from RMAN:
    http://download.oracle.com/docs/cd/B19306_01/backup.102/b14191/rcmdupdb.htm
    Hope this help.
    Best regards,
    Jean-Valentin

  • LGWR: Archivelog for thread 1 sequence 107066 will NOT be compressed

    I am checking today's trace file & getting this message
    What it means & what is its solution
    LGWR: Archivelog for thread 1 sequence 107066 will NOT be compressed
    LGWR: Archivelog for thread 1 sequence 107067 will NOT be compressed
    LGWR: Archivelog for thread 1 sequence 107068 will NOT be compressed

    i am getting this message
    LGWR: Archivelog for thread 1 sequence 107066 will NOT be compressed
    LGWR: Archivelog for thread 1 sequence 107067 will NOT be compressed
    LGWR: Archivelog for thread 1 sequence 107068 will NOT be compressed
    & the space consumption is going very high , 3 GB in 3 hours...
    what should be the solution?

  • Update of jlabel does not happen when i wait for thread to finish (join())

    gurus please help.
    I have a main application which in actionevent calls a thread, that thread calls parent method to update ths status in jlabel, but when i use thread.join() to wait for process to complete, the jlabel does not get updated, please tell me how can i update the jlabel, i have to wait for thread to finish and during run i need to update the jlabel.
    thanks

    hi camickr and gurus:
    here is the code:
    notice after pressing the Process button, the label is being updated but its not working. I called the processnow() method directly and also by thread, but in thread I have to wait until it finishes using join() but still does not work, please help. Thanks
    package label;
    import java.awt.*;
    import java.awt.event.*;
    import java.util.*;
    import java.text.*;
    import javax.swing.border.*;
    import javax.swing.*;
    import javax.swing.table.*;
    import javax.swing.event.*;
    public class thePanel extends JDialog {
      private DefaultTableModel tableModel = null;
      private JTable theTable = new JTable();
      private JScrollPane scrollPane = new JScrollPane();
    JPanel tPanel = new JPanel();
      private Border mainBorder;
      private BorderLayout borderLayout1 = new BorderLayout();
      private BorderLayout borderLayout2 = new BorderLayout();
      private BorderLayout borderLayout3 = new BorderLayout();
      private BorderLayout borderLayout4 = new BorderLayout();
      private JPanel statusPanel = new JPanel();
      private JPanel buttonPanel = new JPanel();
      private JPanel lowerPanel = new JPanel();
      private JLabel statusBar = new JLabel();
      private JButton processButton = new JButton("Process");
      public JButton closeButton = new JButton("Close");
      boolean image = true;
      theProcess processThread;
      Vector tableData = new Vector();
      ImageIcon Image = new ImageIcon("image.gif");
      ImageIcon oImage= new ImageIcon("oimage.gif");
      boolean errorOcurred=false;
      String statusMessage;
      public thePanel() {
        try {
         jbInit();
        } catch(Exception e) {
          e.printStackTrace();
      private void jbInit() throws Exception {
        tPanel.setPreferredSize(new Dimension(800,424));
        mainBorder = new TitledBorder(BorderFactory.createEtchedBorder(EtchedBorder.RAISED)," ");
        statusPanel.setBorder(BorderFactory.createEtchedBorder());
        tPanel.setBorder(mainBorder);
        tPanel.setLayout(borderLayout1);
        scrollPane.getViewport().add(theTable, null);
        tPanel.add(scrollPane,  BorderLayout.CENTER);
        // status
        statusPanel.setLayout(borderLayout2);
        statusPanel.setBorder(BorderFactory.createEmptyBorder());
        statusBar.setAlignmentX((float) 0.5);
        statusBar.setBorder(BorderFactory.createLoweredBevelBorder());
        statusBar.setMaximumSize(new Dimension(600, 21));
        statusBar.setMinimumSize(new Dimension(600, 21));
        statusBar.setPreferredSize(new Dimension(600, 21));
        statusPanel.add(statusBar, BorderLayout.SOUTH);
        // buttons
        processButton.setPreferredSize(new Dimension(70,25));
        processButton.addActionListener(new java.awt.event.ActionListener() {
          public void actionPerformed(ActionEvent e) {
            process_actionPerformed(e);
        closeButton.setPreferredSize(new Dimension(70,25));
        buttonPanel.setLayout(borderLayout3);
        buttonPanel.setBorder(BorderFactory.createRaisedBevelBorder());
        buttonPanel.add(processButton,BorderLayout.WEST);
        buttonPanel.add(new JPanel());
        buttonPanel.add(closeButton,BorderLayout.EAST);
        // lower panel
        lowerPanel.setLayout(borderLayout4);
        lowerPanel.setBorder(BorderFactory.createEmptyBorder());
        lowerPanel.add(statusPanel, BorderLayout.WEST);
        lowerPanel.add(buttonPanel, BorderLayout.EAST);
        tPanel.add(lowerPanel, BorderLayout.SOUTH);
        theTable.setAutoCreateColumnsFromModel(true);
        theTable.setColumnSelectionAllowed(false);
        theTable.setSelectionMode(ListSelectionModel.MULTIPLE_INTERVAL_SELECTION);
        theTable.getTableHeader().setReorderingAllowed(false);
    getContentPane().add(tPanel);pack();
        getinfo();
    show();
      private void prepairTable(){
        tableModel = new DefaultTableModel(){
                          public boolean isCellEditable(int row, int col)
                            { return false; }};
        tableModel.addColumn("text 1");
        tableModel.addColumn("text 2");
        tableModel.addColumn("text 3");
        tableModel.addColumn("text 4");
        tableModel.addColumn("text 5");
        theTable.setModel(tableModel);
      } // end method (prepairTable)
      public void refreshTable() {
        prepairTable();
      public void getinfo() {
        try {
            refreshTable();
            tableModel.addRow(new Object[]{"3465465555","0123456789",new Date(1135022905196L),"0100000","errror message","sssssss"});
            tableModel.addRow(new Object[]{"8949344562","0324354549",new Date(1134511763683L),"0166600","errror mes666e","ddddddd"});
    setStatusMessage("ready to process, select record and click Process button to process record");
          errorOcurred = false;
        } catch (Exception ex) {
          errorOcurred = true;
          ex.printStackTrace();
        } // End try
      private void process_actionPerformed(ActionEvent e) {
        try {
          if(theTable.getSelectedRows().length > 0) {
    //        processThread = null;
    //        processThread = new theProcess(this);
    //        processThread.start();
    processnow();
            System.out.println("........finished now.........");
          } else {
        } catch (Exception ex) {
          ex.printStackTrace();
      public void processnow() {
        try {
          int[] selectedRows = null;
          int totalSelected = 0;
          setStatusMessage("processing " + totalSelected + " selected records...");Thread.sleep(1500);
          selectedRows = theTable.getSelectedRows();
          totalSelected = selectedRows.length;
          for(int i = 0; i < totalSelected ; i++){
            setStatusMessage("processing " + (i+1) + " of " + totalSelected + " selected records...");
            System.out.println(".......................row: "+selectedRows);
    Thread.sleep(2500);
    System.out.println("........fins...........");
    errorOcurred = false;
    } catch (Exception ex) {
    errorOcurred = true;
    ex.printStackTrace();
    } // End try
    public void setStatusMessage(String message) {
    statusMessage=message;
    SwingUtilities.invokeLater(new Runnable() {
    public void run() {
    if(image)
    statusBar.setIcon(Image);
    else
    statusBar.setIcon(oImage);
    statusBar.setText(statusMessage);
    statusBar.update(statusBar.getGraphics());
    public static void main(String[] args){
    new thePanel();
    } // class
    package label;
    import java.lang.Runnable;
    public class theProcess implements Runnable {
    private thePanel parent;
    public theProcess(thePanel xparent){
    parent = xparent;
    } // end constructor
    public void start() {
    try {
    Thread thisThread = new Thread(this);
    thisThread.start();
    thisThread.join();
    } catch(Exception ex) {
    ex.printStackTrace();
    } // end method (start)
    public void run(){
    try {
    parent.processnow();
    } catch (Exception ex){
    ex.printStackTrace();
    } // end try
    } // end method (run)
    } // end class

  • Wasn't there a way to display replies as threaded?

    Didn't there used to be a way to display replies as threaded?
    By that I mean:
    Post
    response 1
    response 5, responding to 1
    response 3, responding to 1
    response 2, responding to top
    response 4, responding to 2
    rather than straight chronological so that you could easily see who people were replying to?
    I can't seem to find that option anywhere, although I swear it used to be there.  Am I imagining that?
    Thanks in advance.

    If in doubt you can always click on link by "in response to: <username>". Cleverly disguised as a user name, it actually takes you to the message that was responded to.
    Edited by: Mike Pokraka on Jan 19, 2009 12:13 AM - actually I noticed clicking on the little arrow also does it.

  • Problems with input for Threads

    Please help, I don't know how to do further inputs
    using the command line while threads are doing
    their work.
    Here's the code:
    import java.io.*;
    import javagently.*;
    class Museum {
       Museum(int w) {
           walkmen = w;
           cash = 0;
           people = 0;
    synchronized void inform (int n) {
       // inform about new people
       while (walkmen < n) {
           try { wait(); }
           catch (InterruptedException e) {}
        people += n;
        System.out.println("New incommers are "+people);
        notifyAll();
    synchronized void hire (int c, int n) {
       // If there are not enough Walkmen left
       // wait until someone at another counter
       // returns some and notifies us accordingly.
       // If the returns are not enough, we'll carry on
       // waiting.
       System.out.println("Counter "+c+" wants "+n);
       while (walkmen < n) {
           try { wait(); }
           catch (InterruptedException e) {}
       // Hire out the Walkmen and take the deposit.
       // Let the customers at this counter "walk away"
       // by relinquishing control of the monitor with
       // a notifyAll call.
       walkmen -= n;
       cash += n;
       System.out.println("Counter "+c+" acquires "+n);
       System.out.println("Counter "+c+" delivers "+n+
                   " to new incoming visitors "+n);
       System.out.println("Pool status:"+
             " Deposits "+cash+" Total "+(walkmen+cash)+
             " Walkmen "+walkmen);
       notifyAll();
    synchronized void replace (int n) {
       // Always accept replacements immediately.
       // Once the pool and deposits have been updated,
       // notify all other helper waiting for Walkmen.
       System.out.println("Returning "+n);
       System.out.println("Replacing "+n);
       walkmen += n;
       cash -= n;
       people -= n;
       if (people >= 0) {
           System.out.println(n+
              " visitors leaving. Still  inside: "+people);
       else {
          System.out.println("The museum is empty.");
       notifyAll();
    private static int walkmen;
    private static int cash;
    private static int people;
    class Arrivals extends Thread {
       Arrivals (Museum m, int w) {
         museum = m;
         people = w;
       public void run () {
         while (true) {
         BufferedReader in = Text.open(System.in);
         try {
               people = Text.readInt(in);
         } catch (IOException e) {}
    // here is it where I'm stuck. Input from the command
    // line lets all threads work, but I have no chance to
    // go back to do further inputs (I've tried everything
    // that I thought would help, but got no solution
         int w = people;
         museum.inform(w);
         for (int c = 0; c < 3; c++)
                 // start 3 Counters
         new Counter(museum, c).start();
         try { sleep(1000); }
         catch (InterruptedException e) {}
    Museum museum;
    int people;
    class Counter extends Thread {
         Counter (Museum m, int p) {
              museum = m;
              people = p;
         public void run () {
         // Decide how many Walkmen are needed for a
         // group of visitors and attempt to hire them
         // (waiting until successful). The visitors
         // are sent off on their walk around (by
         // starting a new Visitors thread which runs
         // independently.
         while (true) {
              int w = people;
              museum.hire(people, w);
                      // start Visitors
              new Visitors (museum, w).start();  
              // Wait a bit before the next people arrive
              try { sleep(1000); }
              catch (InterruptedException e) {}
    Museum museum;
    int people;
    class Visitors extends Thread {
         Visitors (Museum m, int w) {
              museum = m;
              groupSize = w;
         public void run () {
         // The group walks around on its own
         // They then replace all their Walkmen and leave.
         // The thread dies with them.
         try { sleep((int) (Math.random()*1000)+1); }
         catch (InterruptedException e) {}
         museum.replace(groupSize);
         Museum museum;
         int groupSize;
    class WalkmanHire {
      /* The Museum Walkman Hire program
       * simulates the hiring of Walkmen from a fixed pool
       * for EUR 1 each. There are several helpers at
       * different counters handling the hire and
       * replacement of the Walkmen.
       * The number of Walkmen in the original pool is 50
       * and the number of helpers serving is 3,
       * but these can be overridden by parameters at run time
       * The cash float starts at zero.
       * The people float starts read in
       * Illustrates monitors, with sychronize,
       * wait and notify.
       * Shows a main program and two different kind of
       * threads running.
    public static void main(String [] args)  {
       // Get the number of Walkmen in the pool
       // and open the museum for business.
       if (args.length >= 1)
           pool = Integer.parseInt(args[0]);
       else
           pool = 50;
       Museum m = new Museum(pool);
       // Get the numbers of people coming in
       // and start people's threads
        for (int p = 0; p < pool; p++)
        new Arrivals (m, p).start(); // start Arrivals
    static int pool;
    }Now, if somebody please take the time, look
    at the code and help ?
    Thanks in advance!

    I tried to put BufferedReader in = Text.open(System.in);everywhere, even in the main method. It doesn't
    matter where I put it. The threads are working and
    I can't stop them to do further inputs in order to add the
    number of new incoming people. I searched the forums,
    tutorials, acticles but found nothing that gives me a hint
    to what I can do to add more inputs. Most of Threads-
    Examples use Random inputs, but there must be a way
    to do it by myself using the commandline.
    In fact I want to make a controlpanel (if neccessary by
    GUI).
    Can someone help?
    To Bnarva for info:
    Here is the package javagently, using "Text":
    package javagently;
    import java.io.*;
    import java.util.*;
    import java.text.*;
    public class Text {
      public Text () {};
      /* The All New Famous Text class     by J M Bishop  Aug 1996
       *            revised for Java 1.1 by Alwyn Moolman Aug 1997
       *            revised for efficiency by J M Bishop Dec 1997
       * Provides simple input from the keyboard and files.
       * Now also has simple output formatting methods
       * and file opening facilities.
       * public static void   prompt (String s)
       * public static int    readInt (BufferedReader in)
       * public static double readDouble (BufferedReader in) 
       * public static String readString (BufferedReader in) 
       * public static char   readChar (BufferedReader in)
       * public static String writeInt (int number, int align)
       * public static String writeDouble
                       (double number, int align, int frac)
       * public static BufferedReader open (InputStream in)
       * public static BufferedReader open (String filename)
       * public static PrintWriter create (String filename)
      private static StringTokenizer T;
      private static String S;
      public static BufferedReader open (InputStream in)  {
        return new BufferedReader(new InputStreamReader(in));
      public static BufferedReader open (String filename)
         throws FileNotFoundException {
        return new BufferedReader (new FileReader (filename));
      public static PrintWriter create
          (String filename) throws IOException {
        return new PrintWriter (new FileWriter (filename));
      public static void prompt (String s) {
        System.out.print(s + " ");
        System.out.flush();
      public static int readInt (BufferedReader in) throws IOException {
          if (T==null) refresh(in);
          while (true) {
            try {
              return Integer.parseInt(T.nextToken());
            catch (NoSuchElementException e1) {
              refresh (in);
            catch (NumberFormatException e2) {
              System.out.println("Error in number, try again.");
    public static char readChar (BufferedReader in) throws IOException {
          if (T==null) refresh(in);
          while (true) {
            try {
              return T.nextToken().trim().charAt(0);
            catch (NoSuchElementException e1) {
              refresh (in);
    public static double readDouble (BufferedReader in) throws IOException {
          if (T==null) refresh(in);
          while (true) {
            try {
              String item = T.nextToken();
              return Double.valueOf(item.trim()).doubleValue();
            catch (NoSuchElementException e1) {
              refresh (in);
            catch (NumberFormatException e2) {
              System.out.println("Error in number, try again.");
      public static String readString (BufferedReader in) throws IOException {
        if (T==null) refresh (in);
        while (true) {
          try {
            return T.nextToken();
          catch (NoSuchElementException e1) {
            refresh (in);
      private static void refresh (BufferedReader in) throws IOException {
        S = in.readLine ();
        if (S==null) throw new EOFException();
        T = new StringTokenizer (S);
      //  Write methods
      private static DecimalFormat N = new DecimalFormat();
      private static final String spaces = "                    ";
      public static String writeDouble (double number, int align, int frac) {
        N.setGroupingUsed(false);
        N.setMaximumFractionDigits(frac);
        N.setMinimumFractionDigits(frac);
        String num = N.format(number);
        if (num.length() < align)
          num = spaces.substring(0,align-num.length()) + num;
        return num;
      public static String writeInt (int number, int align) {
        N.setGroupingUsed(false);
        N.setMaximumFractionDigits(0);
        String num = N.format(number);
        if (num.length() < align)
          num = spaces.substring(0,align-num.length()) + num;
        return num;
    }Class Text is an older version of new Class Stream
    made by the same author.

Maybe you are looking for

  • ?Need system data from APPLE menu w/out signing in....

    I did a system migration from my old MacBook running Tiger to my new MacBook pro. I took the MacBook to the APPLE store, they wiped the HD, and installed Leopard. So far, OK. Now, I need to get MacBook on eBay, ASAP. How do I get the system specs fro

  • How change position of picture in sapscript

    hi,everybody   I use command bitmap to show a picture in sapscript.because the window size and position can't change , but i want change position to center,so,use &logo_left& and &logo_left_unit&, but it doesn't work.can you help me? sapscript /: def

  • Unicode Non Unicode

    Hi Experts I have installaed a ECC 6.0 ABAP+ JAVA unicode system. Now for soem reason my management wants to move to a Non-Unicode version. Is there any way we can make unicode to Non-Unicode conversion or I have to go for a fresh install and start a

  • Serial Number for the invoiced item

    Hi All, I need to find out the serial number for the invoiced item. For ex: I have an order with an item with qty 3 and they all the received in the inventory (drop ship case). But I have invoiced only one qty of the item and I need to find out seria

  • Objects Locked by Failed Process Chain

    HI, I cannot update certain infopackages as they are locked by a failed Process Chain update, however I have checked sm12 and there are no locked items showing, also I have gone into RSA1 --> tools Attrib Change Run and into the InfoObject List and t