Odd FileSystemPreferences error in linux

I am getting this rather odd error when I run my swing program. It is not affecting the execution in anyway, but I would like to get rid of it....
Feb 12, 2004 4:05:07 PM java.util.prefs.FileSystemPreferences$3 run
WARNING: Could not create system preferences directory. System preferences are unusable.
I do not have any idea what might be causing this, it only happens when i log into my university's system and run the prog there, on the Linux (RH9.0) inst i have at home i am not getting any such error..
pls advise!
Kunal

thanks for the replies...
I spoke with the sysadmin in the department and this is what i found:
typically in the java inst dir in Linux, there is a hidden directory ".systemPrefs", inside that there are 2 hidden zero-byte files which are not editable by any user except root (with good reason too!). Some java progs (esp. those with swing) need to modify those files (dont precisely know why)..
a workaround is to install java into one's own home or have the hidden dir in home dir with the same 2 hidden zero-byte files and add the directory to the appropiate path(s)... i havent tested the second option yet... first seems to be working fine
this is never a problem in windows.. why? - Windows Registry - universally editable by just about anything :)
Kunal

Similar Messages

  • Forms compilation Errors under Linux

    Hello,
    I have a main form called Tbdoctrk.fmb.
    This forms compiles and runs perfectly through Oracle 9i iDS.
    When transfering the fmb file under Linux, and attempting to recompile using the f90genm.sh utility, I get the following compilation errors:
    FRM-18108: Failed to load the following objects.
    FRM-30436: Parent window not specified for canvas.View Canvas H_TOOLBAR
    FRM-30041: Position of item places it off of canvas.
    Item: BUTTON_HELP
    Block: VARIABLE
    Form: TBDOCTRK
    FRM: Unable to adjust form for output.
    ====
    I noticed that most of the object that failed to load (1 data block object, 1 canvas and a number of property classes and visual attributes) are contained in a file called TOOLBAR.fmb.
    The TOOLBAR.fmb file compiles without errors under Linux/WIndows + is located in the same folder as the Tbdoctrk.fmb file.
    1) How can I resolve this issue ?
    PT
    PS: I tried renaming the fmb files to upper/lower case without success.

    Hello,
    My main form called Tbdoctrk.fmb in turn calls a form called Pre_bord.fmb in a Program Unit.
    Most but not all Class and Value Attributes are included in a file called toolbar.fmb. I did not find any specific reference to the toolbar.fmb file.
    However, at compile time, I find that those objects are not loaded.
    1) In what part of the main form Tbdoctrk.fmb should I find any such reference to the toolbar.fmb file ?
    2) How should I create those symbolic links under Linux ?
    PT

  • WBFS Manager Errors (wiithon / linux-wbfs-manager)

    I am trying to get these applications to run in order to manage my Wii backups but am having trouble.
    Wiithon returns what i believe is a python error :
    An exit code of 1 was returned from /usr/share/wiithon/wiithon.py
    There was no output
    There was no error message
    linux-wbfs-manager runs ok without privelages, but then i cant access my drives.
    when i try and run as sudo or root it returns:
    No protocol specified
    (wbfs_gtk:1632): Gtk-WARNING **: cannot open display: :0.0
    i think i read its a permissions error, but I am never sure which to set and how properly to do it. 
    Ive seen
    chmod
    and export=<something er other>
    Last edited by jewnersey (2011-12-25 14:06:59)

    fixed it.
    found another thread that export XAUTHORITY..... and it worked after.
    can someone explain

  • Wine x64 - odd xorg errors

    i'm getting real odd 'glxbaddrawable' errors from trying to launch simcity 4 under 32 bit wine in x86_64 arch; odd in a quite litteral sense: it only seems to happen 'every other time'.
    i'll get the crash on an 'glxbadrawable' error only about half or a third of the time; the rest of the time the game launches fine. which leaves me really puzzled as to where to start debugging this. i've tried different combinations of using built-in or native d3d wine libraries; and i've tried under different ati drivers / xorg-server's .. etc..
    it's just annoying to have to try and launch it two or three times every time..
    any ideas ???
    (ill gather the outputs and attach em to this post in a short while)

    yes im using it software mode ...
    in fact, i've been trying to run the sims 3 as well, which is also supposed to work find, and i'm getting the exact same errors. ive read all about the different registery tips and tricks and none seem to have any effect on that.
    i've also come to the conclusion that i can't seem to be able to run direct 3d at all on my system. if i used hardware acceleration in simcity for instance, i get about 5 frames per second on everything ... with the sims 3, when it does launch (again, roughly 25 percent of the time...), it just stalls there as soon as it tries to render the EA logo after which it dies a painful death some moments later...
    even worse, i recently can't even seem to get anything to start at all ... i get a bunch of fixme: and err: messages about d3d and wined3d and after a while i get this " err:seh:setup_exception_record stack overflow XXX bytes in thread XXX" errors and eveyrthing dies ...

  • Error conecting linux(sqlplus(ora8/9 client)) to SCO(ora7( DB))

    HI. I apologize of my poor english....
    Im trying to connect a new linux machine with ora8 to an old sco with ora7
    points about...:
    1- tnsping works fine. and I can see it in the logs
    2- (here the problem) on "sqlplus user/pass@AUDI"
    SQL*Plus: Release 9.2.0.1.0 - Production on Mie Nov 6 15:43:47 2002
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    ERROR:
    ORA-03113: end-of-file on communication channel
    It got nothing on the trace files on the ora7 DB.
    And the ora7 DB is working fine at production level with net clients whitout problems.
    The service names tnsnames.ora for AUDI is:
    AUDI =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.119.207)(PORT = 1521))
    (CONNECT_DATA = (SID = AUDI)(SERVER=DEDICATED))
    3- I can connect to any ora8 ora9 DB. without any error
    what can I do ?
    can I trace to a lower level ?
    I really do not know what to do, becose I cant see any error at server side.
    may it be an enviroment variable problem ??? I tried to put the same as in the sco enviroment.but nothing.
    Please tell me any way to continue with it.
    I've searched about and tried it...:
    Solution Description:
    =====================
    The ORA-3113 error is a general error reported by Oracle client tools,
    which signifies that they cannot communicate with the oracle shadow
    process. As it is such a general error more information must be collected
    to help determine what has happened.
    This short article describes what information to collect for an
    ORA-3113 error when the Oracle server is on a Unix platform.
    General Issues:
    ===============
    1) Is it only one tool that encounters the error or
    do you get an ORA-3113 from any tool doing a similar operation?
    If the problem reproduces in SQL*Plus, use this in all tests
    below.
    2) Check if the problem is just restricted to:
    [ ] One particular UNIX user,
    [ ] Any UNIX user
    or [ ] Any UNIX user EXCEPT as the Oracle user.
    3) Check if the problem is just restricted to:
    [ ] One particular ORACLE logon
    or [ ] Any ORACLE logon that has access to the
    relevant tables.
    4) If you have a client-server configuration does this occur from:
    [ ] Any client
    [ ] Just one particular client
    or [ ] Just one group of clients ?
    If so what do these clients have in common ?
    Eg: Software release .
    5) Do you have a second server or database version where the
    same operation works correctly?
    Connecting to Oracle
    ====================
    If the ORA-3113 error occurs when actually connecting to Oracle then
    continue with this section. If you connect to Oracle successfully and get
    the error on an established connection, please go to the next section
    'An Established Connection'.
    Local Connections
    ~~~~~~~~~~~~~~~~~
    For local connections check the following:
    1) Have you installed the Parallel Server Option?
    ORA-3113 will occur if you have installed the Parallel
    Server Option but do NOT have a Distributed Lock Manager
    installed or running.
    To deinstall the Parallel Server Option:
    Shut down any Oracle instances
    % script /tmp/relink.out
    % cd $ORACLE_HOME/rdbms/lib
    # 'oracle' should not exist so delete it if it present
    % rm -f oracle
    % make -f oracle.mk no_parropt ioracle
    % exit
    If the above reports any errors Oracle support will need to
    see the contents of the file /tmp/relink.out.
    2) Try using the SQL*Net V1 driver for local connections:
    setenv TWO_TASK P:
    Then try the client tool. If this now works you may have a
    problem with the default SQL*Net driver.
    3) Your 'oracle' executable may be corrupt. Relink it as follows:
    Log in as the 'oracle' user.
    % script /tmp/relink.out
    % cd $ORACLE_HOME/rdbms/lib
    % rm -f oracle
    % make -f oracle.mk ioracle
    % exit
    If this reports any errors Oracle support will need to see
    the contents of the file /tmp/relink.out .
    4) Some Unix platforms need LD_LIBRARY_PATH to be set
    correctly to resolve any dynamically linked libraries.
    As the user with the problem:
    % script /tmp/ldd.out
    % id
    % cd $ORACLE_HOME/bin
    % ldd oracle
    % exit
    If the 'ldd' command does not exist go to the next step below.
    Check that all lines listed show a full library file. If there
    are any 'not found' lines reported contact Oracle support
    with the output of /tmp/ldd.out.
    5) If you cannot connect as the Oracle user AND your system has
    the 'truss' command try the following when logged in as
    'oracle' (using the relevant client tool):
    % truss -o /tmp/truss.out -f sqlplus user/password
    Exit from sqlplus (or the problem tool)
    Keep the file /tmp/truss.out safe - Oracle MAY need to see it.
    Remote Connections
    ==================
    For remote connections check the following:
    1) Check if you can make LOCAL connections. If not then follow
    the steps above for LOCAL connection problems.
    2) Which SQL*Net protocol are you using ?
    Table C.1
    ~~~~~~~~~
    SYMBOL SQL*Net V1 Layer Prefix Debug Listener
    osnptt PIPE Two Task P: OSNTTD none
    osnasy ASYNC A: OSNADBUG none
    osnttt TCP/IP Two Task T: OSNTDBUG orasrv
    osntlitcp TCP/TLI Two Task TT: OSNTLIDBUG tcptlisrv
    osntlispx SPX Two Task X: OSNTLIDBUG spxsrv
    osndnt DECNET Two Task D: OSNDDBUG none
    For the protocol you are using check that the oracle
    executable has this linked in as follows:
    Log in as oracle on the server
    % script /tmp/drivers.out
    % cd $ORACLE_HOME/bin
    % drivers oracle
    % exit
    Eg: If you are using TCP/IP it should list TCP/IP.
    If the drivers command does not exist on your machine, check
    the oracle executable as below substituting the relevant
    symbol from Table C.1 for the word SYMBOL. If you do not
    receive any output then:
    % script /tmp/symbols.out
    % cd $ORACLE_HOME/bin
    % nm oracle | grep -i SYMBOL # Use relevant SYMBOL
    % exit
    Eg: For SQL*Net TCP/IP you would use the command:
    % nm oracle | grep -i osnttt
    If the required driver is not installed you should:
    a) Relink Oracle (See step (B3) above).
    b) Re-check the oracle executable for the
    relevant driver. If it is still missing then
    the relevant SQL*Net driver has probably not
    been installed. Reinstall the required SQL*Net
    driver.
    3) Check your /etc/oratab or /var/opt/oracle/oratab file
    is of the form:
    # Comments begin with a HASH
    SID:/path/to/oracle/home:N
    And confirm:
    [ ] There are no blank lines.
    [ ] The PATH to ORACLE_HOME is correct and contains
    no environment variables.
    [ ] There are no ':'s in the ORACLE_HOME path.
    [ ] There is NOTHING at the end of the line.
    The last character on a line should be Y or N.
    There should NOT be a fourth field.
    4) If you have truss available try to truss the Oracle
    connection. You will normally need the root privilege to do this
    and should use truss on the relevant listener process (see
    Table C1)
    Eg: For TCP/IP the listener is 'orasrv' so enter these
    commands as 'root':
    % truss -o /tmp/truss.out -f -eall -p <PID_of_orasrv>
    Attempt the connection to reproduce the ORA-3113 then
    interrupt this 'truss' session.
    An Established Connection:
    ==========================
    If the ORA-3113 error occurs AFTER you have connected to Oracle, then
    it is most likely that the oracle executable has terminated unexpectedly.
    1) Determine which database you were connected to and
    obtain the following init.ora parameter values:
    Parameter Default
    USER_DUMP_DEST $ORACLE_HOME/rdbms/log
    BACKGROUND_DUMP_DEST $ORACLE_HOME/rdbms/log
    CORE_DUMP_DEST $ORACLE_HOME/dbs
    Eg: To find these log into SQL*DBA or Server Manager and:
    SQLDBA> show parameter dump
    2) Check in your 'USER_DUMP_DEST' for any Oracle trace file.
    It is important to find the correct trace file. Use the
    command 'ls -ltr' to list files in time order with the
    latest trace files appearing LAST. If you are not sure
    which trace file may be relevant, move all the current trace
    files to a different directory and reproduce the problem.
    The trace file will typically be of the form 'ora_<PID>.trc'.
    3) If there is no trace file check for a core dump in the
    CORE_DUMP_DEST. Check as follows:
    % cd $ORACLE_HOME/dbs # Or your CORE_DUMP_DEST
    % ls -l core*
    If there is a file called core, check that its time matches
    the time of the problem. If there are directories called
    'core_<PID>' check for core files in each of these. It is
    IMPORTANT to get the correct core file. Now obtain a stack
    trace from this core file. Check each of the sequences below
    for the procedure. One of the following should work for your
    platform:
    If you have dbx:
    % script /tmp/core.stack
    % dbx $ORACLE_HOME/bin/oracle core
    (dbx) where
    (dbx) quit
    % exit
    If you have sdb:
    % script /tmp/core.stack
    % sdb $ORACLE_HOME/bin/oracle core
    * t
    * q
    % exit
    If you have xdb:
    % script /tmp/core.stack
    % xdb $ORACLE_HOME/bin/oracle core
    (xdb) t
    (xdb) q
    % exit
    If you have adb:
    % script /tmp/core.stack
    % adb $ORACLE_HOME/bin/oracle core
    $c
    $q
    % exit
    4) Try to isolate the SQL command that is executing when
    the error occurs. Eg: Is it a particular SQL statement
    or PL/SQL block that causes the error ?
    To help establish this turn on SQL_TRACE for the client
    tool.
    Eg: Product Action
    ~~~~~~~ ~~~~~~
    SQL*Forms Use the '-s' statistics option at run time.
    SQL*Plus Issue 'ALTER SESSION SET SQL_TRACE TRUE;'
    Pro* EXEC SQL ALTER SESSION SET SQL_TRACE TRUE;
    This should force a server side SQL trace file as detailed
    in #2 above. The trace file should give a clue as to what
    SQL was being executed.
    5) Try to obtain any SQL*Net trace to show what the latest
    operation sent to the oracle process was.
    For SQL*Net V2 ask for the article [NOTE:16564.1]
    For SQL*Net V1 check which SQL*Net protocol you are using
    and note the Debug environment variable from table C1 above.
    Then catch SQL*Net trace from the client. Eg: For SQL*Net
    TCP/IP and sqlplus:
    % setenv OSNTDBUG -1 # Use correct OSN*DBUG
    variable
    % sh
    % sqlplus scott/tiger@t:hostname:sid 2>/tmp/net1.out
    6) Based on information collected above try to determine a small
    test case which will reproduce the problem. This is important
    for two reasons:
    a) It gives Oracle support a small test case if the
    problem does not look like a known problem.
    b) It gives you a simple way to check if any patch
    supplied will fix the problem.
    7) It may be useful to follow the instructions in step (4) above.
    This will produce a lot of output but MAY be useful if no
    other information is available.

    HI. I apologize of my poor english....
    Im trying to connect a new linux machine with ora8 to an old sco with ora7
    points about...:
    1- tnsping works fine. and I can see it in the logs
    2- (here the problem) on "sqlplus user/pass@AUDI"
    SQL*Plus: Release 9.2.0.1.0 - Production on Mie Nov 6 15:43:47 2002
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    ERROR:
    ORA-03113: end-of-file on communication channel
    It got nothing on the trace files on the ora7 DB.
    And the ora7 DB is working fine at production level with net clients whitout problems.
    The service names tnsnames.ora for AUDI is:
    AUDI =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.119.207)(PORT = 1521))
    (CONNECT_DATA = (SID = AUDI)(SERVER=DEDICATED))
    3- I can connect to any ora8 ora9 DB. without any error
    what can I do ?
    can I trace to a lower level ?
    I really do not know what to do, becose I cant see any error at server side.
    may it be an enviroment variable problem ??? I tried to put the same as in the sco enviroment.but nothing.
    Please tell me any way to continue with it.
    I've searched about and tried it...:
    Solution Description:
    =====================
    The ORA-3113 error is a general error reported by Oracle client tools,
    which signifies that they cannot communicate with the oracle shadow
    process. As it is such a general error more information must be collected
    to help determine what has happened.
    This short article describes what information to collect for an
    ORA-3113 error when the Oracle server is on a Unix platform.
    General Issues:
    ===============
    1) Is it only one tool that encounters the error or
    do you get an ORA-3113 from any tool doing a similar operation?
    If the problem reproduces in SQL*Plus, use this in all tests
    below.
    2) Check if the problem is just restricted to:
    [ ] One particular UNIX user,
    [ ] Any UNIX user
    or [ ] Any UNIX user EXCEPT as the Oracle user.
    3) Check if the problem is just restricted to:
    [ ] One particular ORACLE logon
    or [ ] Any ORACLE logon that has access to the
    relevant tables.
    4) If you have a client-server configuration does this occur from:
    [ ] Any client
    [ ] Just one particular client
    or [ ] Just one group of clients ?
    If so what do these clients have in common ?
    Eg: Software release .
    5) Do you have a second server or database version where the
    same operation works correctly?
    Connecting to Oracle
    ====================
    If the ORA-3113 error occurs when actually connecting to Oracle then
    continue with this section. If you connect to Oracle successfully and get
    the error on an established connection, please go to the next section
    'An Established Connection'.
    Local Connections
    ~~~~~~~~~~~~~~~~~
    For local connections check the following:
    1) Have you installed the Parallel Server Option?
    ORA-3113 will occur if you have installed the Parallel
    Server Option but do NOT have a Distributed Lock Manager
    installed or running.
    To deinstall the Parallel Server Option:
    Shut down any Oracle instances
    % script /tmp/relink.out
    % cd $ORACLE_HOME/rdbms/lib
    # 'oracle' should not exist so delete it if it present
    % rm -f oracle
    % make -f oracle.mk no_parropt ioracle
    % exit
    If the above reports any errors Oracle support will need to
    see the contents of the file /tmp/relink.out.
    2) Try using the SQL*Net V1 driver for local connections:
    setenv TWO_TASK P:
    Then try the client tool. If this now works you may have a
    problem with the default SQL*Net driver.
    3) Your 'oracle' executable may be corrupt. Relink it as follows:
    Log in as the 'oracle' user.
    % script /tmp/relink.out
    % cd $ORACLE_HOME/rdbms/lib
    % rm -f oracle
    % make -f oracle.mk ioracle
    % exit
    If this reports any errors Oracle support will need to see
    the contents of the file /tmp/relink.out .
    4) Some Unix platforms need LD_LIBRARY_PATH to be set
    correctly to resolve any dynamically linked libraries.
    As the user with the problem:
    % script /tmp/ldd.out
    % id
    % cd $ORACLE_HOME/bin
    % ldd oracle
    % exit
    If the 'ldd' command does not exist go to the next step below.
    Check that all lines listed show a full library file. If there
    are any 'not found' lines reported contact Oracle support
    with the output of /tmp/ldd.out.
    5) If you cannot connect as the Oracle user AND your system has
    the 'truss' command try the following when logged in as
    'oracle' (using the relevant client tool):
    % truss -o /tmp/truss.out -f sqlplus user/password
    Exit from sqlplus (or the problem tool)
    Keep the file /tmp/truss.out safe - Oracle MAY need to see it.
    Remote Connections
    ==================
    For remote connections check the following:
    1) Check if you can make LOCAL connections. If not then follow
    the steps above for LOCAL connection problems.
    2) Which SQL*Net protocol are you using ?
    Table C.1
    ~~~~~~~~~
    SYMBOL SQL*Net V1 Layer Prefix Debug Listener
    osnptt PIPE Two Task P: OSNTTD none
    osnasy ASYNC A: OSNADBUG none
    osnttt TCP/IP Two Task T: OSNTDBUG orasrv
    osntlitcp TCP/TLI Two Task TT: OSNTLIDBUG tcptlisrv
    osntlispx SPX Two Task X: OSNTLIDBUG spxsrv
    osndnt DECNET Two Task D: OSNDDBUG none
    For the protocol you are using check that the oracle
    executable has this linked in as follows:
    Log in as oracle on the server
    % script /tmp/drivers.out
    % cd $ORACLE_HOME/bin
    % drivers oracle
    % exit
    Eg: If you are using TCP/IP it should list TCP/IP.
    If the drivers command does not exist on your machine, check
    the oracle executable as below substituting the relevant
    symbol from Table C.1 for the word SYMBOL. If you do not
    receive any output then:
    % script /tmp/symbols.out
    % cd $ORACLE_HOME/bin
    % nm oracle | grep -i SYMBOL # Use relevant SYMBOL
    % exit
    Eg: For SQL*Net TCP/IP you would use the command:
    % nm oracle | grep -i osnttt
    If the required driver is not installed you should:
    a) Relink Oracle (See step (B3) above).
    b) Re-check the oracle executable for the
    relevant driver. If it is still missing then
    the relevant SQL*Net driver has probably not
    been installed. Reinstall the required SQL*Net
    driver.
    3) Check your /etc/oratab or /var/opt/oracle/oratab file
    is of the form:
    # Comments begin with a HASH
    SID:/path/to/oracle/home:N
    And confirm:
    [ ] There are no blank lines.
    [ ] The PATH to ORACLE_HOME is correct and contains
    no environment variables.
    [ ] There are no ':'s in the ORACLE_HOME path.
    [ ] There is NOTHING at the end of the line.
    The last character on a line should be Y or N.
    There should NOT be a fourth field.
    4) If you have truss available try to truss the Oracle
    connection. You will normally need the root privilege to do this
    and should use truss on the relevant listener process (see
    Table C1)
    Eg: For TCP/IP the listener is 'orasrv' so enter these
    commands as 'root':
    % truss -o /tmp/truss.out -f -eall -p <PID_of_orasrv>
    Attempt the connection to reproduce the ORA-3113 then
    interrupt this 'truss' session.
    An Established Connection:
    ==========================
    If the ORA-3113 error occurs AFTER you have connected to Oracle, then
    it is most likely that the oracle executable has terminated unexpectedly.
    1) Determine which database you were connected to and
    obtain the following init.ora parameter values:
    Parameter Default
    USER_DUMP_DEST $ORACLE_HOME/rdbms/log
    BACKGROUND_DUMP_DEST $ORACLE_HOME/rdbms/log
    CORE_DUMP_DEST $ORACLE_HOME/dbs
    Eg: To find these log into SQL*DBA or Server Manager and:
    SQLDBA> show parameter dump
    2) Check in your 'USER_DUMP_DEST' for any Oracle trace file.
    It is important to find the correct trace file. Use the
    command 'ls -ltr' to list files in time order with the
    latest trace files appearing LAST. If you are not sure
    which trace file may be relevant, move all the current trace
    files to a different directory and reproduce the problem.
    The trace file will typically be of the form 'ora_<PID>.trc'.
    3) If there is no trace file check for a core dump in the
    CORE_DUMP_DEST. Check as follows:
    % cd $ORACLE_HOME/dbs # Or your CORE_DUMP_DEST
    % ls -l core*
    If there is a file called core, check that its time matches
    the time of the problem. If there are directories called
    'core_<PID>' check for core files in each of these. It is
    IMPORTANT to get the correct core file. Now obtain a stack
    trace from this core file. Check each of the sequences below
    for the procedure. One of the following should work for your
    platform:
    If you have dbx:
    % script /tmp/core.stack
    % dbx $ORACLE_HOME/bin/oracle core
    (dbx) where
    (dbx) quit
    % exit
    If you have sdb:
    % script /tmp/core.stack
    % sdb $ORACLE_HOME/bin/oracle core
    * t
    * q
    % exit
    If you have xdb:
    % script /tmp/core.stack
    % xdb $ORACLE_HOME/bin/oracle core
    (xdb) t
    (xdb) q
    % exit
    If you have adb:
    % script /tmp/core.stack
    % adb $ORACLE_HOME/bin/oracle core
    $c
    $q
    % exit
    4) Try to isolate the SQL command that is executing when
    the error occurs. Eg: Is it a particular SQL statement
    or PL/SQL block that causes the error ?
    To help establish this turn on SQL_TRACE for the client
    tool.
    Eg: Product Action
    ~~~~~~~ ~~~~~~
    SQL*Forms Use the '-s' statistics option at run time.
    SQL*Plus Issue 'ALTER SESSION SET SQL_TRACE TRUE;'
    Pro* EXEC SQL ALTER SESSION SET SQL_TRACE TRUE;
    This should force a server side SQL trace file as detailed
    in #2 above. The trace file should give a clue as to what
    SQL was being executed.
    5) Try to obtain any SQL*Net trace to show what the latest
    operation sent to the oracle process was.
    For SQL*Net V2 ask for the article [NOTE:16564.1]
    For SQL*Net V1 check which SQL*Net protocol you are using
    and note the Debug environment variable from table C1 above.
    Then catch SQL*Net trace from the client. Eg: For SQL*Net
    TCP/IP and sqlplus:
    % setenv OSNTDBUG -1 # Use correct OSN*DBUG
    variable
    % sh
    % sqlplus scott/tiger@t:hostname:sid 2>/tmp/net1.out
    6) Based on information collected above try to determine a small
    test case which will reproduce the problem. This is important
    for two reasons:
    a) It gives Oracle support a small test case if the
    problem does not look like a known problem.
    b) It gives you a simple way to check if any patch
    supplied will fix the problem.
    7) It may be useful to follow the instructions in step (4) above.
    This will produce a lot of output but MAY be useful if no
    other information is available.

  • Odd Bursting error i haven't seen before... maybe you have?

    Running into an odd error when trying to run the 'XML Publisher Report Bursting Program' on a request that contains XML data generated from a datatemplate... if their is an RTF template associated with the data definition get the output with no issues.
    My problem is when i try to burst the file using an email delivery type...
    If something was wrong w/ the XML data i would think it would the request generating the data would fail, or at least fail when their is an rtf template associated with it?
    Metalink isn't turning out to much info either... "shrug"
    *********** OPP process Error: ***************
    [10/19/08 7:45:09 PM] [OPPServiceThread0] Post-processing request 26821773.
    [10/19/08 7:45:10 PM] [218204:RT26821773] Executing post-processing actions for request 26821773.
    [10/19/08 7:45:10 PM] [218204:RT26821773] Starting XML Publisher post-processing action.
    [10/19/08 7:45:10 PM] [218204:RT26821773]
    Template code: BURST_STATUS_REPORT
    Template app: XDO
    Language: en
    Territory: US
    Output type: PDF
    [10/19/08 7:45:11 PM] [UNEXPECTED] [218204:RT26821773] java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at oracle.apps.xdo.common.xml.XSLT10gR1.invokeParse(XSLT10gR1.java:517)
         at oracle.apps.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:224)
         at oracle.apps.xdo.common.xml.XSLTWrapper.transform(XSLTWrapper.java:177)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:1044)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:997)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:212)
         at oracle.apps.xdo.template.FOProcessor.createFO(FOProcessor.java:1657)
         at oracle.apps.xdo.template.FOProcessor.generate(FOProcessor.java:967)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.runProcessTemplate(TemplateHelper.java:5888)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3438)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3527)
         at oracle.apps.fnd.cp.opp.XMLPublisherProcessor.process(XMLPublisherProcessor.java:247)
         at oracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:157)
    Caused by: oracle.xdo.parser.v2.XMLParseException: Start of root element expected.
         at oracle.xdo.parser.v2.XMLError.flushErrors1(XMLError.java:324)
         at oracle.xdo.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:319)
         at oracle.xdo.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:281)
         at oracle.xdo.parser.v2.XMLParser.parse(XMLParser.java:266)
         ... 17 more
    ************** Control File ****************
    <?xml version="1.0" encoding="UTF-8"?>
    <xapi:requestset xmlns:xapi="http://xmlns.oracle.com/oxp/xapi">
    <xapi:request select="/PROGRAMS/LIST_BACKLOG/BACKLOG">
    <xapi:delivery>
    <xapi:email id="123" server="server.xyx.com" port="25" from="[email protected]">
    <xapi:message id="123" to="[email protected]" attachment="true" subject="BackLog Report" reply-to="">backlog
    attached</xapi:message>
    </xapi:email>
    </xapi:delivery>
    <xapi:document output-type="excel" delivery="123">
    <xapi:template type="rtf" location="/usr/tmp/Backlog.rtf"></xapi:template>
    </xapi:document>
    </xapi:request>
    </xapi:requestset>
    *************Request Log error: **************
    XML/BI Publisher Version : 5.6.3
    --Exception
    null
    java.lang.NullPointerException
         at oracle.apps.xdo.oa.cp.JCP4XDOBurstingEngine.getSystemTempDirectory(JCP4XDOBurstingEngine.java:413)
         at oracle.apps.xdo.oa.cp.JCP4XDOBurstingEngine.runProgram(JCP4XDOBurstingEngine.java:106)
         at oracle.apps.fnd.cp.request.Run.main(Run.java:161)
    *********** XML Structure Snipet **************
    <?xml version="1.0" encoding="windows-1252"?>
    <PROGRAMS>
    <org_code>MPK</org_code>
    <LIST_BACKLOG>
    <BACKLOG>
    <SCHEDULE_SHIP_DATE>2008-08-13T23:59:00.000-07:00</SCHEDULE_SHIP_DATE>
    <ORDER_NUMBER>639429</ORDER_NUMBER>
    <LINE_NUMBER>1</LINE_NUMBER>.....
    Edited by: jeremy21 on Oct 19, 2008 8:04 PM

    If you're still needing assistance on naming the email attachment (and you're bursting from EBS using XDOBURSTREP concurrent program); then here's a sample burst control file that names the email attachment baed on fields from the XML data:
    <xapi:requestset xmlns:xapi="http://xmlns.oracle.com/oxp/xapi" type="bursting">
    <xapi:request select="/APXCRRCR/LIST_G_PAY_GROUP/G_PAY_GROUP">
    <xapi:delivery>
    <xapi:email server="mailserv.domain.com" port="25" from="[email protected]" reply-to="[email protected]">
    <xapi:message id="EMAIL" to="${C_RECIPIENT}" attachment="true" content-type="text/html" subject="AP Cash Requirements Report for Business Unit: ${C_BUSINESS_UNIT}">
    </xapi:message>
    </xapi:email>
    </xapi:delivery>
    <xapi:document output="AP_CashRequirementsReport_${C_BU_NO_PUNC}_${C_FNAME_ADDENDA}" output-type="excel" delivery="EMAIL">
    <xapi:template type="xsl-fo" location="xdo://XXAP.XAPXCRRCRD_EXCEL.en.US" filter=".//G_PAY_GROUP[C_RECIPIENT!='NONE']">
    </xapi:template>
    </xapi:document>
    </xapi:request>
    </xapi:requestset>
    This one bursts each page to a user(s) identified in the XML (C_RECIPIENT) and names the attached file AP_CashRequirementsReport_<business unite name>_<first receipient name> and sends it as an excel file.
    Jennifer

  • Odd compile errors using a struct in a vector

    I am following Accelerated C++ by Koenig and Moo to learn C++, using Eclipse as my IDE and the MinGW tool chain. Chapter 4 teaches about the struct concept using a pretty simple multi-file example program which emulates reading in a series of student grades and outputs the averages. The struct it defines is called Student_info. Here is Student_info.h:
    #ifndef STUDENT_INFO_H_GUARD
    #define STUDENT_INFO_H_GUARD
    #include <iostream>
    #include <string>
    #include <vector>
    struct Student_info {
    std::string name;
    double midterm, final;
    std::vector<double> homework;
    bool compare(const Student_info&, const Student_info&);
    std::istream& read(std::istream&, Student_info);
    std::istream& read_hw(std::istream&, std::vector<double>&);
    #endif /* STUDENT_INFO_H_GUARD */
    There are no errors associated with compare, read or read_hw.
    The problem I am having is that even though the simple variable declaration below seems to work,
    #include "Student_info.h"
    int main() {
    vector<Student_info> students;
    Student_info record;
    string::size_type maxlen = 0;
    in the sense that the Eclipse code editor signals via i) its color coding that it has found the data type; ii) when I mouseover, it shows me the underlying Student_info definition in the hover box; and iii) the code associated with the variable "record" doesn't generate errors.
    However, when I try to use the students vector within main(), I get 'could not be resolved' errors on the property names or 'invalid arguments' for functions which try to pass the variables. For example,
    for(vector<Student_info>::size_type i=0; i!=students.size(); ++i) {
    cout << students[i].name
    << string(maxlen+1 - students[i].name.size(), ' ');
    produces a "Method 'size' could not be resolved" error and a "Field 'name' could be resolved" error.
    It's very odd to me, as I said, because mouseover of the vector students declaration at the beginning of main() produces a hover box with the correct struct definition, indicating the include file is being found and contains the intended definition with the 'name' property defined as a string.
    I've been trying to solve this for a couple of days and have searched the web and this site, as well as going over all the code many times. The code seems to be exactly what is in the book and it's not too difficult to figure out what it is supposed to be doing. I haven't been able to find a similar error description here or elsewhere by Googling. These errors prevent the project from compiling and so I can't precede. I'm hoping someone can describe what might possibly cause such a thing.
    Here's a shortened version of the file with main in it:
    #include <algorithm>
    #include <iomanip>
    #include <ios>
    #include <iostream>
    #include <string>
    #include <vector>
    #include <stdexcept>
    #include "Student_info.h"
    //say what standard library names we use
    using std::cin; using std::setprecision;
    using std::cout; using std::sort;
    using std::domain_error; using std::streamsize;
    using std::endl; using std::string;
    using std::max; using std::vector;
    int main() { // begin main
    vector<Student_info> students;
    Student_info record;
    string::size_type maxlen = 0;
    //read and store all the records, and find the length
    // of the longest name
    while(read(cin, record)) {
    maxlen = max(maxlen, record.name.size());
    students.push_back(record);
    //alphabetize the records
    sort(students.begin(), students.end(), compare);
    for(vector<Student_info>::size_type i=0; i!=students.size(); ++i) {
    // write the name, padded on the right to maxlen+1 chars
    cout << students[i].name
    << string(maxlen+1 - students[i].name.size(), ' ');
    //compute and write the grade
    cout << endl;
    return 0;
    } // end main
    Here are the 'read' functions, which are in a separate file from main and don't seem to be producing any errors:
    #include "Student_info.h"
    using std::istream; using std::vector;
    istream& read_hw(istream& in, vector<double>& hw) {
    if (in) {
    // get rid of previous contents
    hw.clear();
    // read homework grades
    double x;
    while (in >> x)
    hw.push_back(x);
    // clear the stream so that input will work for the
    // next student
    in.clear();
    return in;
    istream& read(istream& is, Student_info s) {
    // read and store the student's name and midterm and final exam
    is >> s.name >> s.midterm >> s.final;
    read_hw(is, s.homework);
    return is;
    bool compare(const Student_info& x, const Student_info& y) {
    return x.name < y.name;
    }

    Do you mind to try:
    for(unsigned i=0; i < students.size(); ++i)
    instead of :
    for(vector<Student_info>::size_type i=0; i!=students.size(); ++i)

  • CF MX 7 Installation Errors on Linux

    I have been planning to put a production web server up using
    Fedora Core 5 and Cold Fusion MX 7 for some time - Mainly because
    the updates on FC5 are done so much more frequenntly than most
    other versions of Linux I've used.
    So far, the only production web servers I've had up have been
    Windows, but I've really enjoyed how well Fedora has run my DNS and
    email in the arenas of stability and performance.
    So, I thought it'd be best to try a test install on FC5
    first. I installed the normal packages for a web server including
    Apache, and I
    disabled SE Linux to begin with (I might tighten it down
    later).
    I logged in as root, and attempted the CF Installation, and I
    received a series of errors that did not show up in
    /var/log/messages or anywhere else I could find. I also tried doing
    a chmod on all the installation directories to 777 (all privs
    granted for all users), and I verified all directories and files
    exist. I'm curious if anyone else has had this problem. I
    copy/pasted the context of what I saw below for reference. Any
    suggestions would be appreciated. Thanks!
    Bob Wiley
    [root@localhost ~]# ./coldfusion-702-lin.bin
    Preparing to install...
    Extracting the JRE from the installer archive...
    Unpacking the JRE...
    Extracting the installation resources from the installer
    archive...
    Configuring the installer for this system's environment...
    awk: error while loading shared libraries: libdl.so.2: cannot
    open
    shared
    object file: No such file or directory
    dirname: error while loading shared libraries: libc.so.6:
    cannot open
    shared object file: No such file or directory
    /bin/ls: error while loading shared libraries: librt.so.1:
    cannot open
    shared object file: No such file or directory
    basename: error while loading shared libraries: libc.so.6:
    cannot open
    shared object file: No such file or directory
    dirname: error while loading shared libraries: libc.so.6:
    cannot open
    shared object file: No such file or directory
    basename: error while loading shared libraries: libc.so.6:
    cannot open
    shared object file: No such file or directory
    Launching installer...
    grep: error while loading shared libraries: libc.so.6: cannot
    open
    shared
    object file: No such file or directory
    /tmp/install.dir.8552/Linux/resource/jre/bin/java: error
    while loading
    shared libraries: libpthread.so.0: cannot open shared object
    file: No
    such
    file or directory
    [root@localhost ~]#

    Thanks for the plug Melvin.
    I've recently addressed this specific problem with libc.so.6
    in a comprehensive blog entry on Running ColdFusion 7.02 on Fedora
    Core 6:
    http://www.talkingtree.com/blog/index.cfm/2006/12/6/Running-ColdFusion-MX-7-on-Fedora-Core -6-Linux

  • Command not found error in Linux

    Hi all,
    While login into Linux server using terminal i am getting following error.
    -bash: /usr/bin/id: No such file or directory
    -bash: [: =: unary operator expected
    While execute these commands getting following errors
    # clear
    -bash: clear: command not found
    # du -sh *
    -bash: du: command not found
    Help on these issues.
    Linux 32bit OS.
    Red Hat Enterprise Linux Server release 4.0 (Tikanga)

    Likely a flaky environment.
    What is the contents of .bash_profile in your $HOME?
    Any btw, why RHEL4? It is ancient.

  • OBIEE 11.1.7 installation error in Linux

    Hi All
    My colleague is installing 11.1.1.7.0 on Linux x86-64 (Red Hat Enterprise 6).
    Once done, we will be applying the patch to make it 11.1.17.1.
    Could any one please help us in fixing the below details
    Error details.
    /cs/psoft/obiee_installer/bishiphome/Disk1/install/linux64
    [pshr@gbl20037360 linux64]$ export DISPLAY=166.15.133.89:0.0
    [pshr@gbl20037360 linux64]$ ./runInstaller
    Starting Oracle Universal Installer...
    Checking Temp space: must be greater than 1536 MB.   Actual 1814 MB    Passed
    Checking swap space: must be greater than 500 MB.   Actual 3986 MB    Passed
    Checking monitor: must be configured to display at least 256 colors
    >>> Could not execute auto check for display colors using command /usr/bin/xdpyinfo. Check if the DISPLAY variable is set. Failed <<<<
    Some requirement checks failed. You must fulfill these requirements before
    continuing with the installation,
    Continue? (y/n) [n] y
    >>> Ignoring required pre-requisite failures. Continuing...
    Preparing to launch Oracle Universal Installer from /tmp/OraInstall2014-01-25_11-36-23AM. Please wait ...[pshr@gbl20037360 linux64]$ Exception in thread "main" java.lang.InternalError: Can't connect to X11 window server using '166.15.133.89:0.0' as the value of the DISPLAY variable.
    at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
    at sun.awt.X11GraphicsEnvironment.access$100(X11GraphicsEnvironment.java:52)
    at sun.awt.X11GraphicsEnvironment$1.run(X11GraphicsEnvironment.java:155)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:131)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:169)
    at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:68)
    at sun.awt.X11.XToolkit.<clinit>(XToolkit.java:89)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:169)
    at java.awt.Toolkit$2.run(Toolkit.java:834)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:826)
           at com.jgoodies.looks.LookUtils.isLowResolution(Unknown Source)
    at com.jgoodies.looks.LookUtils.<clinit>(Unknown Source)
    at com.jgoodies.looks.plastic.PlasticLookAndFeel.<clinit>(PlasticLookAndFeel.java:122)
    at oracle.as.install.engine.modules.presentation.ui.common.dialogs.SpecifyInventoryDirectoryDialog.showDialog(SpecifyInventoryDirectoryDialog.java:703)
    at oracle.sysman.oio.oioc.OiocOneClickInstaller.main(OiocOneClickInstaller.java:555)

    you need to have the x window to be able to launch the installer in GUI, you can use cygwin tool for your installation in GUI mode or else you can run the installer in silent mode

  • OBIEE 11g Scheduler installation error on Linux box. Please help!

    Hello,
    I'm trying to install OBIEE on a Linux box. The repository was created using a Windows PC on a separate Oracle database on another server.
    I have four of the five OBI components running but I keep getting this error for the Scheduler.
    [2011-09-19T14:47:54.000+00:00] [OracleBISchedulerComponent] [ERROR:1] [] [] [ecid: 004fKlhR3PrEkJr5KJo2ye0006XX000000] [tid: dc253800] [68008] Scheduler Error: [[
    Current Table: S_NQ_JOB.
    [nQSError: 17001] Oracle Error code: 1017, message: ORA-01017: invalid username/password; logon denied
    at OCI call OCISessionBegin.
    Current Table: S_NQ_JOB_PARAM.
    [nQSError: 17001] Oracle Error code: 1017, message: ORA-01017: invalid username/password; logon denied
    at OCI call OCISessionBegin.
    Current Table: S_NQ_INSTANCE.
    [nQSError: 17001] Oracle Error code: 1017, message: ORA-01017: invalid username/password; logon denied
    at OCI call OCISessionBegin.
    Current Table: S_NQ_ERR_MSG.
    [nQSError: 17001] Oracle Error code: 1017, message: ORA-01017: invalid username/password; logon denied
    at OCI call OCISessionBegin.. Errors were encountered while initializing Scheduler's backend database, check database configuration.
    I've checked the configuration and there is nothing wrong with it, plus I have checked connectivity from the weblogic server and the Linux server to this. Also I do not have Enterprise edition everything I do is at console level in Linux.
    Please help. I've been trying to sort through this for a long time.
    Thanks.

    Becky,
    You need not do any thing additional to have EM running in the OBI 11g instance. Although it is a deployed JEE application, if your Weblogic Server (WLS) is started and up and running then your EM Console should also be up and running.
    You say that you are doing everything from the command line. So, start the Weblogic Server then navigate to http://< your server name> : 7001/console
    If that comes up then go to
    http://<your server name>:7001/em
    That is your EM Fusion Console and it should come up as well.
    Don't mess with the XML file directly.

  • ELF file's phentsize not the expected size - ERROR on Linux

    I followed all the steps shown on the javasoft/tutorial on JNI and created the following files
    ThreadTool.c
    ~~~~~~~~~~~~~~~~~~
    #include <jni.h>
    #include "ThreadTool.h"
    #include <jvmdi.h>
    JNIEXPORT jint JNICALL Java_ThreadTool_getThreadStatus
    (JNIEnv *env, jclass clazz, jobject thread)
    jint threadStatus;
    jint suspendStatus;
    jvmdiError error = JVMDI_GetThreadStatus (env, thread, &threadStatus, &suspendStatus);
    return (threadStatus);
    ThreadTool.h
    ~~~~~~~~~~
    /* DO NOT EDIT THIS FILE - it is machine generated */
    #include <jni.h>
    /* Header for class ThreadTool */
    #ifndef IncludedThreadTool
    #define IncludedThreadTool
    #ifdef __cplusplus
    extern "C" {
    #endif
    #undef ThreadTool_THREAD_STATUS_UNKNOWN
    #define ThreadTool_THREAD_STATUS_UNKNOWN -1L
    #undef ThreadTool_THREAD_STATUS_ZOMBIE
    #define ThreadTool_THREAD_STATUS_ZOMBIE 0L
    #undef ThreadTool_THREAD_STATUS_RUNNING
    #define ThreadTool_THREAD_STATUS_RUNNING 1L
    #undef ThreadTool_THREAD_STATUS_SLEEPING
    #define ThreadTool_THREAD_STATUS_SLEEPING 2L
    #undef ThreadTool_THREAD_STATUS_MONITOR
    #define ThreadTool_THREAD_STATUS_MONITOR 3L
    #undef ThreadTool_THREAD_STATUS_WAIT
    #define ThreadTool_THREAD_STATUS_WAIT 4L
    #undef ThreadTool_SUSPEND_STATUS_SUSPENDED
    #define ThreadTool_SUSPEND_STATUS_SUSPENDED 1L
    #undef ThreadTool_SUSPEND_STATUS_BREAK
    #define ThreadTool_SUSPEND_STATUS_BREAK 2L
    * Class: ThreadTool
    * Method: getThreadStatus
    * Signature: (Ljava/lang/Thread;)I
    JNIEXPORT jint JNICALL Java_ThreadTool_getThreadStatus
    (JNIEnv *, jclass, jobject);
    #ifdef __cplusplus
    #endif
    #endif
    ThreadTool.java (This is my test class)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    public class ThreadTool {
    public static final int THREAD_STATUS_UNKNOWN = -1;
    public static final int THREAD_STATUS_ZOMBIE = 0;
    public static final int THREAD_STATUS_RUNNING = 1;
    public static final int THREAD_STATUS_SLEEPING = 2;
    public static final int THREAD_STATUS_MONITOR = 3;
    public static final int THREAD_STATUS_WAIT = 4;
    public static final int SUSPEND_STATUS_SUSPENDED = 1;
    public static final int SUSPEND_STATUS_BREAK = 2;
    public static native int getThreadStatus (Thread t);
    static {
    String currpath = System.getProperty("java.library.path");
    String newpath = currpath+":/home/apota/";
    System.setProperty("java.library.path", newpath);
    System.loadLibrary ("ThreadTool");
    public static void main(String[] args) {
    Reaper rp = new Reaper(1000, "apota");
    Reaper rp1 = new Reaper(2000, "drice");
    rp.start();
    rp1.start();
    while (true) {
    System.out.println("Apota thread "+ThreadTool.getThreadStatus(rp));
    System.out.println("Drice thread "+ThreadTool.getThreadStatus(rp1));
    I use the following command to compile on Linux
    gcc -I/usr/local/java/include -I/usr/local/java/include/linux ThreadTool.c -c -o libThreadTool.so
    When I run the java program to test it, I get the following
    Exception in thread "main" java.lang.UnsatisfiedLinkError: /usr/home/apota/libThreadTool.so: /usr/home/apota/libThreadTool.so: ELF file's phentsize not the expected size
    at java.lang.ClassLoader$NativeLibrary.load(Native Method)
    at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1419)
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1343)
    at java.lang.Runtime.loadLibrary0(Runtime.java:749)
    at java.lang.System.loadLibrary(System.java:820)
    at ThreadTool.<clinit>(ThreadTool.java:21)
    Whats going on?
    (FYI: I am trying ot get the status of a Thread in Java using the JVMDI C API)

    aldus99 wrote:
    I use the following command to compile on Linux
    gcc -I/usr/local/java/include -I/usr/local/java/include/linux ThreadTool.c -c -o libThreadTool.so
    I could be wrong, but it looks like you're invoking gcc all wrong.
    1) You're using the -c flag which tells the compiler to only compile, yet you're trying to also link.
    2) The last time that I used gcc, I believe you had to use a special flag to tell it that you wanted a shared library... something like -G. (It's not smart like Kai's KCC or Forte).
    3) On top of all that, you may have to use a -thread option to make sure you are generating multi-thread safe code.
    I suggest taking a second look at the man pages for gcc.
    God bless,
    -Toby Reyelts

  • Chart Error on Linux

    Hi,
    We have installed OBIEE on linux and all is working fine except the Charts. Charts are not working at all. I am getting following error.
    Error Generating Chart
         A fatal error occurred while processing the request. The server responded with: Error while executing ChartRpcCall.processMessage com.siebel.analytics.web.javahostrpccalls.corda.ChartRpcCall$EmptyChartException at com.siebel.analytics.web.javahostrpccalls.corda.ChartRpcCall.processMessageInternal(ChartRpcCall.java:294) at com.siebel.analytics.javahost.AbstractRpcCall.processMessage(AbstractRpcCall.java:107) at com.siebel.analytics.javahost.MessageProcessorImpl.processMessage(MessageProcessorImpl.java:175) at com.siebel.analytics.javahost.Listener$Job.run(Listener.java:223) at com.siebel.analytics.javahost.standalone.SAJobManagerImpl.threadMain(SAJobManagerImpl.java:205) at com.siebel.analytics.javahost.standalone.SAJobManagerImpl$1.run(SAJobManagerImpl.java:153) at java.lang.Thread.run(Thread.java:619) .
    Error Details
    Error Codes: AGEGTYVF
    Please let me know if any had faced a similar kind of error prior and a solution around it.
    Thanks,
    Raman Kumar

    Is your javahost process running?
    ps -ef|grep javahost

  • Tns-12560: TNS protocol adapter error on linux

    I've installed an oracle 10g database on linux 4.6 in a VMWare image. After opening an x term window within the image, I'm getting a tns-12560 error when both running tnsping and opening a sqlplus session as a database user. The listener and database seem to start fine. I've included entries for sqlnet.ora, tnsnames.ora and ORACLE_SID and ORACLE_HOME values for my user.
    mui> tnsping orcl
    Used parameter files:
    /pinmaster/newtools/oracle_10.2/linux/network/admin/sqlnet.or
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = cgbu-p731v2.us.oracle.com)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = orcl)))
    TNS-12560: TNS:protocol adapter error
    From sqlnet.ora: NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
    From tnsnames.ora:
    ORCL =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = cgbu-p731v2.us.<<my domain entry>>.com)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orcl)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    This is from init.ora
    # Database Identification
    db_domain=""
    db_name=orcl
    Environment variables for the database user:
    9mui> env | grep ORACLE_SID
    ORACLE_SID=orcl
    13mui> env | grep ORACLE_HOME
    ORACLE_HOME=/pinmaster/newtools/oracle_10.2/linux

    One of the more common issues causing 12560 is that the host in the listener.ora does not match current host name. Commonly caused by dhcp.
    Your tnsnames.ora looks for cgbu-p731v2.us.oracle.com
    Your listener.ora want to listen for cgbu-p731v2.us.<<my domain entry>>.com
    Your hostname is ??? (enter 'hostname' at command line)

  • Content Server error on LINUX (HTTP error: 404 Not Found)

    Hi All,
    While checking the status of content sever by using the T-code CSADMIN I am getting the following error message.
    <b>***********************************************************
    Error : - HTTP error: 404 Not Found
    Message no. CMS025
    Diagnosis
    Error in accessing via HTTP
    404 Not Found
    *************************************************************</b>
    I have done the installation of Content server 640 on Red Hat Linux / MaxDB.
    Moreover I am using the following connection data in CSADMIN.
    HTTP server :- 80.0.0.205
    Port Number:- 1090
    HTTP Script :- ContentServer/ContentServer.dll
    Version no. :- 0046
    Please help me.
    Thanks ,
    Harshal

    Hi Dagmar,
    The HTTP services are working fine. But i m not able to reach the content server url can u help on this?
    Please find the http trace file
    ERROR => PlugInHandleServData: HttpParseRequestHeader failed (rc=701) [http_plg.c   3258]
    ERROR => IcmHandleNetWrite(id=3/4782): HandleServData failed (rc=701) [icxxthrio.c  1833]
    The error i am getting in Content server url is
    Server Error
    404 - File or directory not found.
    The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable.

Maybe you are looking for

  • ILife Site Causes Crashes

    While at work on a PC, I've tried to browse the iLife site and had several different browsers crash due to a QuickTime "malfunction." I'm using QT 7.0.3 for Windows, and the following browsers IE 6, Firefox 1.5 and Opera 8 all crashed. The crashes oc

  • What's the format of the datasource tag in jbosscmp-jdbc.xml

    Hi, I made a CMP when I use Lomboz to generate the classes, and xml files, but I still don't know how to relate my CMP to datasource. I thought may be I should configure the jbosscmp-jdbc.xml, because when I look in this file and found: <defaults> <d

  • There should be a better way , while burning a playlist!

    I have the latest version of iTunes, and, yesterday, I downloaded an album, but, I ended up wasting three CDs before I got the answer from another music player. iTunes gave me no clue. The problem: a 13-track playlist took about 20 sec. to burn. I, e

  • Text variable property

    Folks, Where can I check in BEx various properties (like processed by, replacement path, manual entry, optional etc) for a defined text variable? Thanks, -SM

  • Lost connection to Bluetooth keyboard

    2 weeks old Intel mini. Logitech diNovo Edge Bluetooth keyboard paired just fine with the mini. Have not used the system for a few days. Mini goes to sleep when not in use. Today, the connection to the keyboard was lost. Trying to open Bluetooth pref