OpenGL wired problem with method "glWindowPos2d"

Hi,
I'm trying to write text on canvas according to
link
but I get this strange exception:
Exception in thread "AWT-EventQueue-0" javax.media.opengl.GLException: Method "glWindowPos2d" not available
     at com.sun.opengl.impl.GLImpl.glWindowPos2d(GLImpl.java:29148)
     at Display.Renderer.renderText(Renderer.java:100)
     at Display.Renderer.renderLives(Renderer.java:78)
     at Controller.Main.display(Main.java:358)
     at com.sun.opengl.impl.GLDrawableHelper.display(GLDrawableHelper.java:78)
     at javax.media.opengl.GLCanvas$DisplayAction.run(GLCanvas.java:435)
     at com.sun.opengl.impl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:194)
     at javax.media.opengl.GLCanvas.maybeDoSingleThreadedWorkaround(GLCanvas.java:412)
     at javax.media.opengl.GLCanvas.display(GLCanvas.java:244)
     at javax.media.opengl.GLCanvas.paint(GLCanvas.java:277)
     at sun.awt.RepaintArea.paintComponent(Unknown Source)
     at sun.awt.RepaintArea.paint(Unknown Source)
     at sun.awt.windows.WComponentPeer.handleEvent(Unknown Source)
     at java.awt.Component.dispatchEventImpl(Unknown Source)
     at java.awt.Component.dispatchEvent(Unknown Source)
     at java.awt.EventQueue.dispatchEvent(Unknown Source)
     at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
     at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
     at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
     at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
     at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
     at java.awt.EventDispatchThread.run(Unknown Source)I tried this code at another computer, it works perfect.
I added to openGL jars to the path of the projects exactly the same.
Anybody? :)
Thanks

I think so.
We downloaded the same JOGL (the other computer works with Vista)
we downloaded and install according to here:
here
-- under section "Resources" the installation guide.
Thanks

Similar Messages

  • UNIX Problem with method Runtime exec(String[],String[],File)

    Hello !!
    i'm french
    scuse my english
    I got a probleme with method exec(String[],String[],File) of Runtime Class
    i don't have any probleme when my program runs on Windows NT but the same program on UNIX doesnt execute my command..
    When i use exec(String[]) methode i dont have this problem ...but i need the second one methode because i have to execute my command in a different directory than the JAVA program.
    I need that results of this command are placed in this drectory so that i can't use an exex() like that :
    exemple with a perl :
    "perl /toto/titi/hello.pl"
    I want to execute this :
    "perl hello.pl" (and hello.pl is placed in /toto/titi)
    Conclusion :
    the exec(String[],String[],File) solution is ok with NT ...
    but with UNIX ????
    Is there other solution ??
    Should i do a "cd" command before my execution ? how can i do this ??
    Thanks !!!!

    Could you post your source code (only relevant part)
    Raghu

  • Wired problem with LEAD Analytical function

    I am having wired problem with LEAD Analytical function. It works fine as a standalone query
    but when used in sub-query it is not behaving as expected (explained below). I unable to troubleshoot
    the issue. Please help me.
    Detail explanation and the data follows:
    ========================= Table & Test Data =======================================
    CREATE TABLE "TESTSCHED"
    (     "SEQ" NUMBER NOT NULL ENABLE,
         "EMPL_ID" NUMBER NOT NULL ENABLE,
         "SCHED_DT" DATE NOT NULL ENABLE,
         "START_DT_TM" DATE NOT NULL ENABLE,
         "END_DT_TM" DATE NOT NULL ENABLE,
         "REC_STAT" CHAR(1) NOT NULL ENABLE,
         CONSTRAINT "TESTSCHED_PK" PRIMARY KEY ("SEQ")     
    insert into testsched (SEQ, EMPL_ID, SCHED_DT, START_DT_TM, END_DT_TM, REC_STAT)
    values (1, 39609, to_date('03-03-2008', 'dd-mm-yyyy'), to_date('03-03-2008 07:00:00', 'dd-mm-yyyy hh24:mi:ss'), to_date('03-03-2008 11:00:00', 'dd-mm-yyyy hh24:mi:ss'), 'A');
    insert into testsched (SEQ, EMPL_ID, SCHED_DT, START_DT_TM, END_DT_TM, REC_STAT)
    values (2, 39609, to_date('03-03-2008', 'dd-mm-yyyy'), to_date('03-03-2008 11:00:00', 'dd-mm-yyyy hh24:mi:ss'), to_date('03-03-2008 11:30:00', 'dd-mm-yyyy hh24:mi:ss'), 'A');
    insert into testsched (SEQ, EMPL_ID, SCHED_DT, START_DT_TM, END_DT_TM, REC_STAT)
    values (3, 39609, to_date('03-03-2008', 'dd-mm-yyyy'), to_date('03-03-2008 07:00:00', 'dd-mm-yyyy hh24:mi:ss'), to_date('03-03-2008 11:30:00', 'dd-mm-yyyy hh24:mi:ss'), 'I');
    insert into testsched (SEQ, EMPL_ID, SCHED_DT, START_DT_TM, END_DT_TM, REC_STAT)
    values (4, 39609, to_date('03-03-2008', 'dd-mm-yyyy'), to_date('03-03-2008 07:15:00', 'dd-mm-yyyy hh24:mi:ss'), to_date('03-03-2008 11:30:00', 'dd-mm-yyyy hh24:mi:ss'), 'I');
    insert into testsched (SEQ, EMPL_ID, SCHED_DT, START_DT_TM, END_DT_TM, REC_STAT)
    values (5, 39609, to_date('03-03-2008', 'dd-mm-yyyy'), to_date('03-03-2008 07:15:00', 'dd-mm-yyyy hh24:mi:ss'), to_date('03-03-2008 11:00:00', 'dd-mm-yyyy hh24:mi:ss'), 'I');
    insert into testsched (SEQ, EMPL_ID, SCHED_DT, START_DT_TM, END_DT_TM, REC_STAT)
    values (6, 39609, to_date('03-03-2008', 'dd-mm-yyyy'), to_date('03-03-2008 07:00:00', 'dd-mm-yyyy hh24:mi:ss'), to_date('03-03-2008 11:00:00', 'dd-mm-yyyy hh24:mi:ss'), 'I');
    insert into testsched (SEQ, EMPL_ID, SCHED_DT, START_DT_TM, END_DT_TM, REC_STAT)
    values (7, 39609, to_date('03-03-2008', 'dd-mm-yyyy'), to_date('03-03-2008 07:00:00', 'dd-mm-yyyy hh24:mi:ss'), to_date('03-03-2008 11:00:00', 'dd-mm-yyyy hh24:mi:ss'), 'U');
    insert into testsched (SEQ, EMPL_ID, SCHED_DT, START_DT_TM, END_DT_TM, REC_STAT)
    values (8, 39609, to_date('03-03-2008', 'dd-mm-yyyy'), to_date('03-03-2008 07:00:00', 'dd-mm-yyyy hh24:mi:ss'), to_date('03-03-2008 11:00:00', 'dd-mm-yyyy hh24:mi:ss'), 'I');
    insert into testsched (SEQ, EMPL_ID, SCHED_DT, START_DT_TM, END_DT_TM, REC_STAT)
    values (9, 118327, to_date('03-03-2008', 'dd-mm-yyyy'), to_date('03-03-2008 17:30:00', 'dd-mm-yyyy hh24:mi:ss'), to_date('03-03-2008 22:00:00', 'dd-mm-yyyy hh24:mi:ss'), 'A');
    insert into testsched (SEQ, EMPL_ID, SCHED_DT, START_DT_TM, END_DT_TM, REC_STAT)
    values (10, 120033, to_date('03-03-2008', 'dd-mm-yyyy'), to_date('03-03-2008 19:30:00', 'dd-mm-yyyy hh24:mi:ss'), to_date('04-03-2008', 'dd-mm-yyyy'), 'A');
    insert into testsched (SEQ, EMPL_ID, SCHED_DT, START_DT_TM, END_DT_TM, REC_STAT)
    values (11, 120033, to_date('03-03-2008', 'dd-mm-yyyy'), to_date('03-03-2008 19:30:00', 'dd-mm-yyyy hh24:mi:ss'), to_date('04-03-2008', 'dd-mm-yyyy'), 'I');
    insert into testsched (SEQ, EMPL_ID, SCHED_DT, START_DT_TM, END_DT_TM, REC_STAT)
    values (12, 120033, to_date('03-03-2008', 'dd-mm-yyyy'), to_date('03-03-2008 17:30:00', 'dd-mm-yyyy hh24:mi:ss'), to_date('03-03-2008 19:30:00', 'dd-mm-yyyy hh24:mi:ss'), 'A');
    insert into testsched (SEQ, EMPL_ID, SCHED_DT, START_DT_TM, END_DT_TM, REC_STAT)
    values (13, 120033, to_date('03-03-2008', 'dd-mm-yyyy'), to_date('03-03-2008 17:30:00', 'dd-mm-yyyy hh24:mi:ss'), to_date('03-03-2008 19:30:00', 'dd-mm-yyyy hh24:mi:ss'), 'U');
    insert into testsched (SEQ, EMPL_ID, SCHED_DT, START_DT_TM, END_DT_TM, REC_STAT)
    values (14, 126690, to_date('03-03-2008', 'dd-mm-yyyy'), to_date('03-03-2008 18:45:00', 'dd-mm-yyyy hh24:mi:ss'), to_date('03-03-2008 21:15:00', 'dd-mm-yyyy hh24:mi:ss'), 'A');
    insert into testsched (SEQ, EMPL_ID, SCHED_DT, START_DT_TM, END_DT_TM, REC_STAT)
    values (15, 126690, to_date('03-03-2008', 'dd-mm-yyyy'), to_date('03-03-2008 12:45:00', 'dd-mm-yyyy hh24:mi:ss'), to_date('03-03-2008 16:45:00', 'dd-mm-yyyy hh24:mi:ss'), 'A');
    insert into testsched (SEQ, EMPL_ID, SCHED_DT, START_DT_TM, END_DT_TM, REC_STAT)
    values (16, 126690, to_date('03-03-2008', 'dd-mm-yyyy'), to_date('03-03-2008 12:45:00', 'dd-mm-yyyy hh24:mi:ss'), to_date('03-03-2008 21:15:00', 'dd-mm-yyyy hh24:mi:ss'), 'I');
    insert into testsched (SEQ, EMPL_ID, SCHED_DT, START_DT_TM, END_DT_TM, REC_STAT)
    values (17, 126690, to_date('03-03-2008', 'dd-mm-yyyy'), to_date('03-03-2008 16:45:00', 'dd-mm-yyyy hh24:mi:ss'), to_date('03-03-2008 18:45:00', 'dd-mm-yyyy hh24:mi:ss'), 'A');
    insert into testsched (SEQ, EMPL_ID, SCHED_DT, START_DT_TM, END_DT_TM, REC_STAT)
    values (18, 126690, to_date('03-03-2008', 'dd-mm-yyyy'), to_date('03-03-2008 16:45:00', 'dd-mm-yyyy hh24:mi:ss'), to_date('03-03-2008 18:45:00', 'dd-mm-yyyy hh24:mi:ss'), 'U');
    insert into testsched (SEQ, EMPL_ID, SCHED_DT, START_DT_TM, END_DT_TM, REC_STAT)
    values (19, 169241, to_date('03-03-2008', 'dd-mm-yyyy'), to_date('03-03-2008 05:30:00', 'dd-mm-yyyy hh24:mi:ss'), to_date('03-03-2008 14:00:00', 'dd-mm-yyyy hh24:mi:ss'), 'A');
    insert into testsched (SEQ, EMPL_ID, SCHED_DT, START_DT_TM, END_DT_TM, REC_STAT)
    values (20, 169241, to_date('03-03-2008', 'dd-mm-yyyy'), to_date('03-03-2008 05:30:00', 'dd-mm-yyyy hh24:mi:ss'), to_date('03-03-2008 14:00:00', 'dd-mm-yyyy hh24:mi:ss'), 'I');
    insert into testsched (SEQ, EMPL_ID, SCHED_DT, START_DT_TM, END_DT_TM, REC_STAT)
    values (21, 169241, to_date('03-03-2008', 'dd-mm-yyyy'), to_date('03-03-2008 17:30:00', 'dd-mm-yyyy hh24:mi:ss'), to_date('03-03-2008 22:00:00', 'dd-mm-yyyy hh24:mi:ss'), 'A');
    insert into testsched (SEQ, EMPL_ID, SCHED_DT, START_DT_TM, END_DT_TM, REC_STAT)
    values (22, 169241, to_date('03-03-2008', 'dd-mm-yyyy'), to_date('03-03-2008 17:30:00', 'dd-mm-yyyy hh24:mi:ss'), to_date('03-03-2008 22:00:00', 'dd-mm-yyyy hh24:mi:ss'), 'U');
    insert into testsched (SEQ, EMPL_ID, SCHED_DT, START_DT_TM, END_DT_TM, REC_STAT)
    values (23, 200716, to_date('03-03-2008', 'dd-mm-yyyy'), to_date('03-03-2008 17:30:00', 'dd-mm-yyyy hh24:mi:ss'), to_date('03-03-2008 22:00:00', 'dd-mm-yyyy hh24:mi:ss'), 'I');
    insert into testsched (SEQ, EMPL_ID, SCHED_DT, START_DT_TM, END_DT_TM, REC_STAT)
    values (24, 200716, to_date('03-03-2008', 'dd-mm-yyyy'), to_date('03-03-2008 17:30:00', 'dd-mm-yyyy hh24:mi:ss'), to_date('03-03-2008 22:00:00', 'dd-mm-yyyy hh24:mi:ss'), 'A');
    insert into testsched (SEQ, EMPL_ID, SCHED_DT, START_DT_TM, END_DT_TM, REC_STAT)
    values (25, 200716, to_date('03-03-2008', 'dd-mm-yyyy'), to_date('03-03-2008 17:30:00', 'dd-mm-yyyy hh24:mi:ss'), to_date('03-03-2008 22:00:00', 'dd-mm-yyyy hh24:mi:ss'), 'U');
    insert into testsched (SEQ, EMPL_ID, SCHED_DT, START_DT_TM, END_DT_TM, REC_STAT)
    values (26, 252836, to_date('03-03-2008', 'dd-mm-yyyy'), to_date('03-03-2008 19:30:00', 'dd-mm-yyyy hh24:mi:ss'), to_date('03-03-2008 22:00:00', 'dd-mm-yyyy hh24:mi:ss'), 'A');
    insert into testsched (SEQ, EMPL_ID, SCHED_DT, START_DT_TM, END_DT_TM, REC_STAT)
    values (27, 252836, to_date('03-03-2008', 'dd-mm-yyyy'), to_date('03-03-2008 17:30:00', 'dd-mm-yyyy hh24:mi:ss'), to_date('03-03-2008 22:00:00', 'dd-mm-yyyy hh24:mi:ss'), 'I');
    insert into testsched (SEQ, EMPL_ID, SCHED_DT, START_DT_TM, END_DT_TM, REC_STAT)
    values (28, 252836, to_date('03-03-2008', 'dd-mm-yyyy'), to_date('03-03-2008 17:30:00', 'dd-mm-yyyy hh24:mi:ss'), to_date('03-03-2008 19:30:00', 'dd-mm-yyyy hh24:mi:ss'), 'A');
    insert into testsched (SEQ, EMPL_ID, SCHED_DT, START_DT_TM, END_DT_TM, REC_STAT)
    values (29, 252836, to_date('03-03-2008', 'dd-mm-yyyy'), to_date('03-03-2008 17:30:00', 'dd-mm-yyyy hh24:mi:ss'), to_date('03-03-2008 19:30:00', 'dd-mm-yyyy hh24:mi:ss'), 'U');
    insert into testsched (SEQ, EMPL_ID, SCHED_DT, START_DT_TM, END_DT_TM, REC_STAT)
    values (30, 260774, to_date('03-03-2008', 'dd-mm-yyyy'), to_date('03-03-2008 07:00:00', 'dd-mm-yyyy hh24:mi:ss'), to_date('03-03-2008 10:30:00', 'dd-mm-yyyy hh24:mi:ss'), 'A');
    insert into testsched (SEQ, EMPL_ID, SCHED_DT, START_DT_TM, END_DT_TM, REC_STAT)
    values (31, 260774, to_date('03-03-2008', 'dd-mm-yyyy'), to_date('03-03-2008 10:30:00', 'dd-mm-yyyy hh24:mi:ss'), to_date('03-03-2008 14:00:00', 'dd-mm-yyyy hh24:mi:ss'), 'A');
    insert into testsched (SEQ, EMPL_ID, SCHED_DT, START_DT_TM, END_DT_TM, REC_STAT)
    values (32, 260774, to_date('03-03-2008', 'dd-mm-yyyy'), to_date('03-03-2008 05:30:00', 'dd-mm-yyyy hh24:mi:ss'), to_date('03-03-2008 07:00:00', 'dd-mm-yyyy hh24:mi:ss'), 'A');
    insert into testsched (SEQ, EMPL_ID, SCHED_DT, START_DT_TM, END_DT_TM, REC_STAT)
    values (33, 260774, to_date('03-03-2008', 'dd-mm-yyyy'), to_date('03-03-2008 07:15:00', 'dd-mm-yyyy hh24:mi:ss'), to_date('03-03-2008 10:35:00', 'dd-mm-yyyy hh24:mi:ss'), 'I');
    insert into testsched (SEQ, EMPL_ID, SCHED_DT, START_DT_TM, END_DT_TM, REC_STAT)
    values (34, 260774, to_date('03-03-2008', 'dd-mm-yyyy'), to_date('03-03-2008 07:15:00', 'dd-mm-yyyy hh24:mi:ss'), to_date('03-03-2008 10:35:00', 'dd-mm-yyyy hh24:mi:ss'), 'I');
    insert into testsched (SEQ, EMPL_ID, SCHED_DT, START_DT_TM, END_DT_TM, REC_STAT)
    values (35, 260774, to_date('03-03-2008', 'dd-mm-yyyy'), to_date('03-03-2008 05:30:00', 'dd-mm-yyyy hh24:mi:ss'), to_date('03-03-2008 14:00:00', 'dd-mm-yyyy hh24:mi:ss'), 'I');
    insert into testsched (SEQ, EMPL_ID, SCHED_DT, START_DT_TM, END_DT_TM, REC_STAT)
    values (36, 260774, to_date('03-03-2008', 'dd-mm-yyyy'), to_date('03-03-2008 07:00:00', 'dd-mm-yyyy hh24:mi:ss'), to_date('03-03-2008 10:30:00', 'dd-mm-yyyy hh24:mi:ss'), 'U');
    insert into testsched (SEQ, EMPL_ID, SCHED_DT, START_DT_TM, END_DT_TM, REC_STAT)
    values (37, 289039, to_date('03-03-2008', 'dd-mm-yyyy'), to_date('03-03-2008 16:30:00', 'dd-mm-yyyy hh24:mi:ss'), to_date('03-03-2008 22:15:00', 'dd-mm-yyyy hh24:mi:ss'), 'A');
    insert into testsched (SEQ, EMPL_ID, SCHED_DT, START_DT_TM, END_DT_TM, REC_STAT)
    values (38, 289039, to_date('03-03-2008', 'dd-mm-yyyy'), to_date('03-03-2008 13:45:00', 'dd-mm-yyyy hh24:mi:ss'), to_date('03-03-2008 22:15:00', 'dd-mm-yyyy hh24:mi:ss'), 'I');
    insert into testsched (SEQ, EMPL_ID, SCHED_DT, START_DT_TM, END_DT_TM, REC_STAT)
    values (39, 289039, to_date('03-03-2008', 'dd-mm-yyyy'), to_date('03-03-2008 13:45:00', 'dd-mm-yyyy hh24:mi:ss'), to_date('03-03-2008 16:30:00', 'dd-mm-yyyy hh24:mi:ss'), 'A');
    insert into testsched (SEQ, EMPL_ID, SCHED_DT, START_DT_TM, END_DT_TM, REC_STAT)
    values (40, 289039, to_date('03-03-2008', 'dd-mm-yyyy'), to_date('03-03-2008 13:45:00', 'dd-mm-yyyy hh24:mi:ss'), to_date('03-03-2008 16:30:00', 'dd-mm-yyyy hh24:mi:ss'), 'U');
    ========================= Problem Statement =======================================
    Problem Statement:
    Select all employees whose active schedule (rec_stat = 'A') start date & time falls
    between "16:30" and "17:45".
    An employee may be having multiple schedules on a day. It may be continuous or may be
    having breaks in between the schedules.
    If an employee schedule is continuous then the minimum schedule start date & time is
    considered as the start date & time of the work.
    If an employee is having breaks in the schedule, then each schedule start date & time is
    considered as start date & time.
    e.g:-1
    1     39609     2008/03/03     2008/03/03 07:00:00     2008/03/03 11:00:00     A
    2     39609     2008/03/03     2008/03/03 11:00:00     2008/03/03 11:30:00     A
    In above case, the employee schedule is continuous. The start date & time is 2008/03/03 07:00:00
    e.g:-2
    19     169241     2008/03/03     2008/03/03 05:30:00     2008/03/03 14:00:00     A
    21     169241     2008/03/03     2008/03/03 17:30:00     2008/03/03 22:00:00     A
    In above case, the employee is having a break in between. Then both records
    start date & time (i.e. 2008/03/03 05:30:00, 2008/03/03 05:30:00 ) is considered
    as start date & time.
    e.g:-3
    30     260774     2008/03/03     2008/03/03 07:00:00     2008/03/03 10:30:00     A
    31     260774     2008/03/03     2008/03/03 10:30:00     2008/03/03 14:00:00     A
    32     260774     2008/03/03     2008/03/03 05:30:00     2008/03/03 07:00:00     A
    In above case, the employee schedule is continuous. The start date & time is 2008/03/03 05:30:00
    ========================= Query to test Individual Employees =======================================
    Query-1: Test query to see the CASE and LEAD function works fine. If "CAL = 0" means that all
    schedules are continuous and the employee needs to ignored.
    SELECT fw.*,
    CASE WHEN LEAD(FW.END_DT_TM, 1)
    OVER(ORDER BY FW.START_DT_TM DESC ) IS NULL AND
    fw.start_dt_tm BETWEEN
    TO_DATE('03/03/2008 16:30:00','mm/dd/yyyy hh24:mi:ss') AND
    TO_DATE('03/03/2008 17:45:00','mm/dd/yyyy hh24:mi:ss')
    THEN Fw.seq
    WHEN LEAD(FW.END_DT_TM, 1)
    OVER(ORDER BY FW.START_DT_TM DESC) != FW.START_DT_TM AND
    fw.start_dt_tm BETWEEN
    TO_DATE('03/03/2008 16:30:00','mm/dd/yyyy hh24:mi:ss') AND
    TO_DATE('03/03/2008 17:45:00','mm/dd/yyyy hh24:mi:ss')
    THEN Fw.seq
    ELSE 0
    END AS "CAL"
    FROM TESTSCHED fw
    WHERE fw.empl_id = 289039
    and fw.rec_stat = 'A'
    Query Results
    SEQ     EMPL_ID     SCHED_DT     START_DT_TM          END_DT_TM          REC_STAT     CAL
    37     289039     2008/03/03     2008/03/03 16:30:00     2008/03/03 22:15:00     A          0
    39     289039     2008/03/03     2008/03/03 13:45:00     2008/03/03 16:30:00     A          0
    Since all "CAL" column is zero, the employee should be ignored.
    ========================= Query to be used in the application =======================================
    Query-2: Actual Query executed in the application which is not working. Query-1 is used as subquery
    here.
    SELECT
    F1.SEQ,
    F1.EMPL_ID,
    F1.SCHED_DT,
    F1.START_DT_TM,
    F1.END_DT_TM,
    F1.REC_STAT
    FROM TESTSCHED F1
    WHERE F1.SEQ IN
    (SELECT CASE
    WHEN LEAD(FW.END_DT_TM, 1)
    OVER(ORDER BY FW.START_DT_TM DESC) IS NULL AND
    FW.START_DT_TM BETWEEN
    TO_DATE('03/03/2008 16:30:00', 'mm/dd/yyyy hh24:mi:ss') AND
    TO_DATE('03/03/2008 17:45:00', 'mm/dd/yyyy hh24:mi:ss') THEN FW.SEQ
    WHEN LEAD(FW.END_DT_TM, 1)
    OVER(ORDER BY FW.START_DT_TM DESC) != FW.START_DT_TM AND
    FW.START_DT_TM BETWEEN
    TO_DATE('03/03/2008 16:30:00', 'mm/dd/yyyy hh24:mi:ss') AND
    TO_DATE('03/03/2008 17:45:00', 'mm/dd/yyyy hh24:mi:ss') THEN FW.SEQ
    ELSE 0
    END
    FROM TESTSCHED FW
    WHERE FW.EMPL_ID = F1.EMPL_ID
    AND FW.REC_STAT = 'A')
    Query-2 Results
    SEQ     EMPL_ID     SCHED_DT     START_DT_TM          END_DT_TM          REC_STAT
    9     118327     2008/03/03     2008/03/03 17:30:00     2008/03/03 22:00:00     A
    12     120033     2008/03/03     2008/03/03 17:30:00     2008/03/03 19:30:00     A
    17     126690     2008/03/03     2008/03/03 16:45:00     2008/03/03 18:45:00     A
    21     169241     2008/03/03     2008/03/03 17:30:00     2008/03/03 22:00:00     A
    24     200716     2008/03/03     2008/03/03 17:30:00     2008/03/03 22:00:00     A
    28     252836     2008/03/03     2008/03/03 17:30:00     2008/03/03 19:30:00     A
    37     289039     2008/03/03     2008/03/03 16:30:00     2008/03/03 22:15:00     A
    Problem with Query-2 Results:
    Employee IDs 126690 & 289039 should not appear in the List.
    Reason: Employee 126690: schedule start date & time is 2008/03/03 12:45:00 and falls outside
    "16:30" and "17:45"
    14     126690     2008/03/03     2008/03/03 18:45:00     2008/03/03 21:15:00     A
    17     126690     2008/03/03     2008/03/03 16:45:00     2008/03/03 18:45:00     A
    15     126690     2008/03/03     2008/03/03 12:45:00     2008/03/03 16:45:00     A
    Reason: Employee 289039: schedule start date & time is 2008/03/03 13:45:00 and falls outside
    37     289039     2008/03/03     2008/03/03 16:30:00     2008/03/03 22:15:00     A
    39     289039     2008/03/03     2008/03/03 13:45:00     2008/03/03 16:30:00     A

    Your LEAD function is order by fw.start_dt_tm, in your first sql, the where clause limited the records return to REC_STAT = A and EMPL_ID = 289039.
    In your 2nd query, there is no where clause, so to the LEAD function, the next record after seq 37 is seq 38 which has an end date of 2003-03-03 10:15 pm, not equal to the start time of record seq 37.
    Message was edited by:
    user477455

  • Problem with Method environment_get_variable (Windows GUI)

    Hello,
    I want to use the Method "cl_gui_frontend_services=>environment_get_variable".
    I try this coding with same keywords ('%TMP%', 'TMP', ...), but the result is ever sy-subrc = 0 und s_path is initial.
    DATA s_path TYPE string.
          CALL METHOD cl_gui_frontend_services=>environment_get_variable
            EXPORTING
              variable             = 'USERPROFILE'
            CHANGING
              value                = s_path
            EXCEPTIONS
              cntl_error           = 1
              error_no_gui         = 2
              not_supported_by_gui = 3
              OTHERS               = 4.
          IF sy-subrc <> 0.
            MESSAGE ID sy-msgid TYPE 'E' NUMBER sy-msgno
                       WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
          ENDIF.
    Please, can every body tell what is wrong.
    Thanks

    hi,
    seems to be a problem with java environment...
    see link and note
    [https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes/sdn_oss_bc_fes/~form/handler%7b5f4150503d3030323030363832353030303030303031393732265f4556454e543d444953504c4159265f4e4e554d3d31303237303133%7d]
    take a look at the env-variable:
    QTJAVA=d:Javajre1.5.0_11libextQTJava.zip
    and try to change it to older relase (1.4!)
    Bye

  • Problem with method action after migrating from TP2 to TP4

    Hi,
    we are migrating our application (ADF Faces, ADF BC) from TP2 to TP4. We have encountered several problems.
    The biggest that we could not solve is as following:
    In our View Object's RowImpl.java classes we have method void refreshLOVAccessorQueries(). In a number of View Objects that method is placed in client interface. In pageDefs of jspx pages that are bound to that View Objects we have method action like
    <methodAction IterBinding="TeeCronTtVOIterator"
    id="refreshLOVAccessorQueriesCron"
    InstanceName="bindings.TeeCronTtVOIterator.currentRow"
    DataControl="TradingAppModuleDataControl"
    RequiresUpdateModel="true" Action="invokeMethod"
    MethodName="refreshLOVAccessorQueries"
    IsViewObjectMethod="false" IsLocalObjectReference="true"/>
    and invoke action like
    <invokeAction id="refreshCronLOVs" Binds="refreshLOVAccessorQueriesCron"
    Refresh="prepareModel"
    RefreshCondition="#{!requestContext.postback and empty bindings.exceptionList}"/>
    When we are accessing such a jspx page the application rases error:
    "Method bindings.TeeCronTtVOIterator.currentRow.refreshLOVAccessorQueries() not supported "
    In TP2 everything worked fine. Now in TP4 for some VO that refresh is OK and for others just mentioned error is thrown. Confusing is that all View Objects and their java classes are created in the same manner and they are almost identical, and this counts for pageDefs too.
    What could be the reason of all this?
    Second thing is that in adfc-config.xml in backing bean defs we have managed-property like:
    <managed-bean>
    <managed-bean-name>regionBacking</managed-bean-name>
    <managed-bean-class>app.view.backing.RegionBacking</managed-bean-class>
    <managed-bean-scope>request</managed-bean-scope>
    <managed-property>
    <property-name>bindings</property-name>
    <value>#{bindings}</value>
    </managed-property>
    </managed-bean>
    JDeveloper warn us about that with: ' EL token bindings" is unknown '. Why is that? It looks that everything connected with that managed property works fine.
    Another problem is not severe but unpleasant
    After migration to TP4 nothing (not one element) is visible (shown) in the design view.
    The structure of the pages is similar as in the StoreFrontDemo and it shows just fine in TP2.
    Thanks!!!

    Thanks Frank,
    but working from beginning is to much work so, we have solved it in another way.
    Regard to first problem we discovered that it is happening only when there is no Rows in iterator for which we are invoking action. In invoke action we have changed refresh property to default value and the problem is solved.
    Second thing is warning that has no other effect so we will ignore it.
    About third problem, when we create new working copy of application in JDeveloper without system11.1..... directory, JDev works fine and all jspx pages are shown in design view. After some work, due to undiscovered reason design view is lost... What could cause this?
    Maxa

  • Photoshop CS4 OPENGL Drawing problem with Photoshop CS4

    Hello, I've had this problem since i installed photoshop cs4, and its finally getting on my nerves and i'm looking for a fix.
    I am on Windows XP SP3, NVIDIA 8800GTS. The OPENGL Drawing in Photoshop CS4 works fine, but a lot of times, when i start photoshop, it'll say that OPENGL Drawing is disabled and i'll have to go in to preferences and re-endabe and restart photoshop again to get it working. Please help, it's really annoying

    NVIDIA apparently does not update their drivers specifically to correct Photoshop CS4 incompatibilities. There release notes have never mentioned bugs or fixes relating to Photoshop.
    Try setting the 3D settings to Performance (rather than Quality) in the NVIDIA Control Panel.

  • Problem with method "write" in POI Library.

    Best regards, I have the following problem: I have a application in Oracle BPM 10g, that generates a file in Excel. First it upload a template, then query the data base, and storage this data in "POI Object" of type "XSSFWorkbook"; all of the this, at memory.
    The problem is when I try to write this object  "XSSFWorkbook", in the file(generate a Physical File), the file size is about 35 MB, usgin the method wb.write(out) of the "POI Library", my server spend about 15  minutes, generating blocks.
    I' like that some help me to solve this problem, maybe making any setting in my server.
    My Servers are:
    Application Server: Oracle WebLogic 10.3.1
    and File Server: Oracle Linux. Memoy: 32GB
    I show you the code in java:
                rsQuery = generarTablas(sStoredProcedure,xmlTableroControl);
                InputStream inp = JExcel.cargarPlantillaLectura(sRutaOrigen + sNombreOrigen + ".bck");
               XSSFWorkbook  wb = new XSSFWorkbook(inp);  //DESCOMENTAR
              wb.setForceFormulaRecalculation(true);
                int vnHoja = 0;
                String vsTabla = "";
                while(rsQuery.next()){
                    vnHoja  = rsQuery.getInt(1);
                    vsTabla = rsQuery.getString(2);
                    outResultado = new BufferedWriter (new FileWriter("/tmp/"+String.valueOf(nOrden)+vsTabla+".txt"));
                    outResultado.write("vsTabla: "+vsTabla+" Hoja : "+String.valueOf(vnHoja)+  "\n"+String.valueOf(Util.getTodayTime()));
                    outResultado.close();
                  nOrden ++;
                    this.rsConsulta = consultar(vsTabla);
                  if(_getRowCount(this.rsConsulta)>0)
                        generarHoja(wb, 6, vnHoja);
                        this.rsConsulta = null;//agregado 12/06/2013
                 File tempFileXLS = File.createTempFile(sNombreDestino + this.sFechaFin + "_", ".xlsx");
                ruta = sRutaDestino + tempFileXLS.getName();
                OutputStream out = new FileOutputStream(ruta);
                inp.close();
                wb.write(out);//---------------------> PROBLEM

    Best regards, I have the following problem: I have a application in Oracle BPM 10g, that generates a file in Excel. First it upload a template, then query the data base, and storage this data in "POI Object" of type "XSSFWorkbook"; all of the this, at memory.
    The problem is when I try to write this object  "XSSFWorkbook", in the file(generate a Physical File), the file size is about 35 MB, usgin the method wb.write(out) of the "POI Library", my server spend about 15  minutes, generating blocks.
    I' like that some help me to solve this problem, maybe making any setting in my server.
    My Servers are:
    Application Server: Oracle WebLogic 10.3.1
    and File Server: Oracle Linux. Memoy: 32GB
    I show you the code in java:
                rsQuery = generarTablas(sStoredProcedure,xmlTableroControl);
                InputStream inp = JExcel.cargarPlantillaLectura(sRutaOrigen + sNombreOrigen + ".bck");
               XSSFWorkbook  wb = new XSSFWorkbook(inp);  //DESCOMENTAR
              wb.setForceFormulaRecalculation(true);
                int vnHoja = 0;
                String vsTabla = "";
                while(rsQuery.next()){
                    vnHoja  = rsQuery.getInt(1);
                    vsTabla = rsQuery.getString(2);
                    outResultado = new BufferedWriter (new FileWriter("/tmp/"+String.valueOf(nOrden)+vsTabla+".txt"));
                    outResultado.write("vsTabla: "+vsTabla+" Hoja : "+String.valueOf(vnHoja)+  "\n"+String.valueOf(Util.getTodayTime()));
                    outResultado.close();
                  nOrden ++;
                    this.rsConsulta = consultar(vsTabla);
                  if(_getRowCount(this.rsConsulta)>0)
                        generarHoja(wb, 6, vnHoja);
                        this.rsConsulta = null;//agregado 12/06/2013
                 File tempFileXLS = File.createTempFile(sNombreDestino + this.sFechaFin + "_", ".xlsx");
                ruta = sRutaDestino + tempFileXLS.getName();
                OutputStream out = new FileOutputStream(ruta);
                inp.close();
                wb.write(out);//---------------------> PROBLEM

  • Problem with method just cannot get it to work

    hi. i got a problem in this part of my program. i am to read in a text file and store it in the arrys before printing it out.but i cannot get the file to be read into the array and to be printed out correctly.
    my text file to be read in is something like this:
    Question0
    what is your name
    a: nick
    b: john
    c: peter
    d: jane
    c
    Question1
    what is your most prefered colour
    a: red
    b: blue
    c: green
    d: yellow
    a
    but when i run the code i have written it keeps printing out like this:(excally what is printed out). the entire order is being messes but with no "questionO" which there should be and the "what is your name question being repeated twice, and the second time without the answer.
    what is your name
    a: nick
    b: john
    c: peter
    d: jane
    c
    what is your name
    a: nick
    b: john
    c: peter
    d: jane
    Question1
    what is your most prefered colour
    a: red
    b: blue
    c: green
    d: yellow
    a
    please can you advice me if in any part of this i have gone wrong, and what should i do to solve the probelm. i really need this help thanks.
    my code is:
    static int questionIndex = 0;
    static int mainMenuOption = 0;
    static String []question = new String[20];
    static String []answer = new String[20];
              do {
                   mainMenu();
                   mainMenuOption = Console.readInt("Enter Choice(1-3) :");
                        if (mainMenuOption==2)
                             takeTestOption();
              } while (mainMenuOption!=3);
              public static void mainMenu() {
                   System.out.println("2.Take Test");
                   System.out.println("3.Quit");
                   System.out.println("");
    public static void takeTestOption(){
                        readInQuestion();               
                   public static void takeTestOption(){
                   //     mainMenu();//prints out the menu options to be entered by the users
                        readInQuestion();
                        //printingOutQuestion();               
                   public static void readInQuestion() {
                        String fileName = "apple.txt";
                        FileIn readInFile = new FileIn(fileName);
                        String readInFileText = readInFile.readString();
                        String finalText= "";
                             if(readInFile.getReadStatus() != readInFile.FILE_NOT_FOUND){
                                   while (readInFile.getReadStatus() != readInFile.EOF ){
                                        while (readInFileText.length() !=2) {
                                            finalText = finalText+readInFileText;
                                            readInFileText = readInFile.readString();
                                       question[questionIndex]=finalText;
                                       if (readInFileText.length()==2) {
                                            answer[questionIndex] = readInFileText;
                                       questionIndex++;
                                       readInFileText = readInFile.readString();
                                        printingOutQuestion();
                   public static void printingOutQuestion() {
                        for (int index=0;index<questionIndex; index++){
                             System.out.println(question[index]);
                             System.out.println(answer[index]);
                   }

    You are using a class that was supplied by the teacher (FileIn). This is a class that none of us knows about. If it is small, it would be useful to post that as well.

  • Funny Problem with method GET_GROUPED_COLUMNS

    Hi All,
    I am encountering a funny problem. I need to provide all Grouped Columns of my Web Dynpro Table. I used the following coding to do this:
    lt_col_grp = lo_table->get_grouped_columns( ).
    Now, for one table this methode return all Grouped Columns and for another table it returns not only the Grouped Columns, but also the NON Grouped Columns!!!
    In the debugger this looks as follows:
    1     *->{O:1752*\CLASS=CL_WD_TABLE_COLUMN}*
    2     ->{O:1755*\CLASS=CL_WD_TABLE_COLUMN_GROUP}
    3     ->{O:1757*\CLASS=CL_WD_TABLE_COLUMN_GROUP}
    4     ->{O:1759*\CLASS=CL_WD_TABLE_COLUMN_GROUP}
    5     ->{O:1761*\CLASS=CL_WD_TABLE_COLUMN_GROUP}
    6     ->{O:1763*\CLASS=CL_WD_TABLE_COLUMN_GROUP}
    7     ->{O:1765*\CLASS=CL_WD_TABLE_COLUMN_GROUP}
    Why is that??
    Does anybody know how to delete the lines that are not of type CL_WD_TABLE_COLUMN_GROUP?
    Thanks,
    Johannes

    Hi Maik
    It seems you have solved your problem. There are some actions clearing all selection and scrolling info. And since you every time create a new instance or call some method which clears your selections your selections table is lost.
    For a screen session, you should use "set_table_for_first_display" for just once and for next PBO triggers you should execute the method "refresh_table_display".
    *--Serdar

  • I hava problem with method boolean

    The following method boolean controls if the Point is in the rectangle,which is correct...
    but the next method, which should show minimal rectangle, if the point is in it,shows an error..
    X cannot be resolved
    Y cannot be resolved
    I tried r.istPunktEnthalten(),but the same ...
    public boolean istPunktEnthalten(int X,int Y){
    if (X>=x1 && X<=x2 && Y>=y1 && Y<=y2 ){
    return true;
    return false;
    Rechteck vereinigung(Rechteck r){
    if (istPunktEnthalten(X,Y)){
    r.x2=X;
    r.y2=Y;
    return r;
    else return null;
    Edited by: baddalgazi on Mar 29, 2008 1:57 PM

    of course....
    here is the full class rectangle...
    I think i understand the problem, but i dont't know how to solve it
    public class Rechteck {
         int x1,x2,y1,y2;
         public Rechteck(int x1, int y1, int x2, int y2){
                   this.x1=x1;
                   this.x2=x2;
                   this.y1=y1;
                   this.y2=y2;
         public void bewegeUm(int x,int y){
              x1=x1+x;
              x2=x2+x;
              y1=y1+y;
              y2=y2+y;
         public boolean istPunktEnthalten(int X,int Y){
              if (X>=x1 && X<=x2 && Y>=y1 && Y<=y2 ){
                    return true;
              return false;
         Rechteck vereinigung(Rechteck r){
              if (istPunktEnthalten(X,Y)){
                   r.x2=X;
                   r.y2=Y;
                   return r;
         //Rechteck ueberlappung(Rechteck r){
         public String toString(){
              return "["+x1+","+y1+";"+x2+","+y2+"]";
    }Edited by: baddalgazi on Mar 29, 2008 3:29 PM

  • Problem with Method

    This code results is a number of syntax errors which I can't solve. Can anyone see where I'm going wrong?
    import neiPack.*;
    public class Class1
         public static void main (String[] args)
              int salary, annualSalary;
              String name;
              neInOut.println("Please enter the Name.");
              name=neInOut.readLine();
              neInOut.println("Please enter the Monthly Salary.");
              salary=neInOut.readInt();
              annualSalary=calcSal(salary);
              printResults();
              int calcSal(int salary)
                   int res;
                   res=salary*12;
                   return res;
              void printResults()
                   neInOut.println("Employee: "+name+" has an annual salary of: "+annualSalary);
              neInOut.readLine();

    what about posting the error message??
    this might be more helpful - especially cause I don't know the package "neiPack"...
    when will the exceptions be thrown? while compilation (if the code sample is your original there the source won't compile without error messages) or while execution ouf your app?
    please have a look at the "special tokens" page (http://forum.java.sun.com/faq.jsp#format) before posting further code examples...
    import neiPack.*;
    public class Class1 {
       public static void main (String[] args) {
          int salary, annualSalary;
          String name;
          neInOut.println("Please enter the Name.");
          name=neInOut.readLine();
          neInOut.println("Please enter the Monthly Salary.");
          salary=neInOut.readInt();
          annualSalary=calcSal(salary);
          printResults();
       } // ? you forgot this - you cannot define methods inside another method
       int calcSal(int salary) { // should be static int calcSal(int salary) to be available in the static main method!
          int res;
          res=salary*12;
          return res;
          // what about: return salary*12 ?
       void printResults() { // should be static int printResults() to be available in the static main method!
          neInOut.println("Employee: "+name+" has an annual salary of: "+annualSalary);
       // neInOut.readLine(); ??
    }ok... what happens when?

  • Problem with method Runtime.exec()

    i wrote this simple line, in a servlet:
    Runtime.getRuntime().exec(myCommand);
    if i run this servlet in the OC4j included whith jdeveloper all works well...but if i run the same servlet in the Application server, the command is not executed...why????
    is it a security issue?
    please help me..

    Stefano, can you take a look at the application server log files to see if there is any related information that tells what was happening? What is better, can you try catching the standout and standerr of your command as what is done in the following message?
       Re: javac not found on UNIX AIX runnig Oracle AS 9.0.4
    Please tell me if you have any new findings then.

  • Need help with method calling

    I have a problem with method calling as it does the method but doesn't send the values to the main program. The Need section in the main should take in the Max and Allocation arrays from the setMax and setAllocation but it doesn't. I figure I'm missing a return call or something. Could you help me out.
        public class Project4
           public static void main (String[] args)
             int[] Available=new int[4];
             int[][]Max=new int[5][4];
             int[][]Allocation=new int[5][4];
             int[][] Need=new int[5][4];
             setMax();
             setAllocated();
             setAvailable();
           //Creates the need.
             int numMax, numAlloc, numNeed;
             for(int row=0; row<5; row++)
                for (int col=0; col<4; col++)
                   numMax=Max[row][col];
                   numAlloc=Allocation[row][col];
                   numNeed=numMax-numAlloc;
                   Need[row][col]=numNeed;
             for(int row=0; row<Need.length; row++)
                for (int col=0; col<Need[row].length; col++)
                   System.out.print (Need[row][col]);
                System.out.println();
             System.out.println();
            //From here on checks to see if available.     
             int[] processLeft=new int[5];
             int numChecker, numAvail, counter, check, num, stop, processCounter;
             int i=0; 
             num=0;
             stop=3;
             processCounter=0;
             for(int row=num; row<Need.length; row++)
                int col=0;
                counter=Need[row].length; 
                numChecker=Need[row][col];
                numAvail=Available[col];
                do
                   check=0;
                   numChecker= Need[row][col];
                   numAvail=Available[col];
                   col++;
                   if (numChecker<=numAvail)
                      check=1;
                   while(numChecker<=numAvail && col<counter);
                if(col==counter && check==1)
                   System.out.println("Process P"+row+" executes");
                   for(col=0; col<Allocation.length-1; col++)
                      numChecker=Allocation[row][col];
                      numAvail=Available[col];
                      numAvail=numChecker+numAvail;
                      Available[col]=numAvail;
                   num++; 
                   processCounter=processCounter+1;
                else
                   processLeft=row;
    i++;
    // Checks the processes left over
    int j=0;
    int row=0;
    int col=0;
    counter=Need[row].length;
    while(processLeft[j]!=5 && processCounter!=5)
    row=processLeft[j];
    do
    check=0;
    numChecker= Need[row][col];
    numAvail=Available[col];
    col++;
    if (numChecker<=numAvail)
    check=1;
    while(numChecker<=numAvail && col<counter);
    if(col==counter && check==1)
    System.out.println("Process P"+row+" executes");
    for(col=0; col<Allocation.length-1; col++)
    numChecker=Allocation[row][col];
    numAvail=Available[col];
    numAvail=numChecker+numAvail;
    Available[col]=numAvail;
    processCounter=processCounter+1;
    j++;
    safe(processCounter);
    public static void setAllocated()
         // Creates the Allocation
    int[][] Allocation= {{3,0,0,2},{1,0,0,0},{1,3,5,4},{0,6,3,2},{0,0,1,4}};
    for(int row=0; row<Allocation.length; row++)
    for (int col=0; col<Allocation[row].length; col++)
    System.out.print (Allocation[row][col]);
    System.out.println();
    System.out.println();
    public static void setMax()
         // Creates the max
    int[][] Max= {{3,0,1,2},{1,5,5,0},{2,3,5,6},{0,6,5,2},{0,6,5,6}};
    for(int row=0; row<Max.length; row++)
    for (int col=0; col<Max[row].length; col++)
    System.out.print (Max[row][col]);
    System.out.println();
    System.out.println();
    public static void setAvailable()
    // Creates the Available.
    int[] Available={3,5,2,0};
    public static void safe(int processCounter)
         // Prints if it is safe or not     
    if(processCounter!=5)
    System.out.println("\n The system is not safe");     
    else
    System.out.println("\n The system is safe");

    those methods declare and initialize variables that exist only within that specific method, so no other method can see them
    move the 4 arrays you declare in main() out of the method into the class body, then in the other methods, don't declare new arrays, simply initialize the ones you just moved into the class body
    or alternatively, you could make the methods return the arrays they create, and instead of your main method creating arrays, it simply works with whatever those methods return
    btw 20 minutes is a bit early to be getting impatient

  • Openbox-svn6175 wired problem [solved]

    I have a wired problem with the new openbox-svn revision.
    I use pypanel and e.g i open urxvt and firefox, and will switch from firefox to urxvt I can't get urxvt in the foreground, only when I start first firefox , then urxvt, switch to firefox and then to urxvt.
    I hope you understand what I mean..
    Last edited by fk (2007-05-11 18:32:31)

    Mikko777 wrote:So are you saying they still develop Openbox? /end sarcasm Love OB3 tho <3
    Yeah, quite recently the original developer came back and started doing _a lot_ of work on ob. Quite some bugs got fixed and if you look closely, we got some nice new features... Also be prepared for a lot of fancy new stuff to come.
    Edit: I kinda mean that OB seems ready and always stable so what are they doing to break things? Is obconf2 just so much different than obconf1 that it always breaks?
    It is not obconf2 that breaks, it is ob that makes obconf2 break. Openbox has some libraries (for rendering themes, parsing config files, etc.) and obconf2 makes use of that and every time some api changes happen (quite often recently) obconf2 breaks.

  • Good external HD? Also, problems with wired TM use?

    I have a multi part question here:
    I recently got a new MBP and I want to get an external hard drive to use with Time Machine. Is there any sort of consensus on which external hard drives generally work well? I have a 500 GB Western Digital MyBook that has been a constant source of problems. I frequently am unable to eject it and have had to use Disk Utility many times just to get my (old Powerbook G4) computer to see it. I really don't want to get another WD product. Are there any consistently good products out there?
    Also, I've just been perusing this forum. I see many people suffering with Snow Leopard and TM using wireless backup. Have there also been many problems with wired backups? I don't use wireless at home, which is where I will keep my TM backups.
    Finally, I move my computer around a lot so I won't have it plugged into its TM drive most of the time. I plan on plugging it in each evening before I go to sleep. Is that an appropriate method of using TM?

    Pondini wrote:
    That's why I'd recommend backing-up more often, but if you don't, another app may be better.
    CCC or SD are most often used to make full "bootable clones." When your hard drive fails (and
    they all do, sooner or later), you can boot and run from them immediately; with TM, you need to
    have the disk replaced (or have another external) to restore your system to.
    If anyone is going to take action based on the advice above (or other suggestions) they will need to recognize there is a different set of risks.
    When you make a clone of a machine you end up with a clone and you can boot from it.
    If you then make a fresh clone a day later you really need to have a different disk around or you are taking a lot of risk. The process of creating the new clone might fail. If it does and you do not have a second drive then you have lost the previous clone while creating the newer clone. In other words you have no backup.
    You really should have a series of disk drives so you can put a few good ones on the shelf while making a new copy. You might want to think about where you store them.
    Even when using TM you have to think about what will happen if the TM device fails.
    Conclusion?
    Some people do not make backups.
    Some people store only files they think are critical on a server in a cloud (like leaving emails on the Google server for gmail).
    Some make a back up to TM under the assumption they are really protecting against a failure with their computer but not a fire or other site wide problem.
    Some will use TM for backups and still use CC or similar to make a clone every so often. The failure states can vary so incremental backups make sense for some problems and a bootable close covers some other risks.
    If a person is really worried then a series of backups are needed with off-site storage for some or all of backups. That way the computer's data is protected from a local problems and from a site wide problem.
    Each person can choose what they want to do, what they afford and how they will contain or reduce the risks. Maybe not all risks are worth dealing with. Just think it through before you commit to a solution.
    John

Maybe you are looking for

  • Weird Automatic Scrolling of Timeline

    I am running Premiere Elements 11 on Windows 7, 64 bit, with all the latest updates. I'm getting some weird automatic scrolling of the timeline happening. When I hover the mouse pointer anywhere on the left side of the screen, (including over the "Fi

  • Why do some of my song titles appear in red?

    Could anybody tell me why some of the CD's in my Library now appear in a red font? I purchased them legit or downloaded them from iTunes, but I get this red font. They still play, but why the red? Any ideas?

  • Planning run issue

    Good morning, I am planning a product in a sim version in APO, if I do a regen planning run it works but if I run the same scenario (and reset the results) with a net change it is not included (not planned) in the planning run. Am I missing something

  • No immediate TO for TR when GR quantity exceeds 1 pallet (SU) quantity

    Hi gurus, i am encoutering a very strange phenomenon and I hope you can help me. During GR (MB01 or MIGO) 103 -> 105 booking for serialnr managed materials i noticed that the immediate TO generation does function when the recevied quantity is the sam

  • FrontRow bug playing slide shows with music on remote share

    I found a new bug with FrontRow playing slideshows using music stored on a shared drive. I tried with AFP & NFS shares, but I suspect the same will apply to SMB shares. Here are the steps to repro the problem: 1) Define a new iTunes playlist 2) Add s