Oracle 11g: stack trace misses first line

Hi,
I am working with an Oracle 11g database and trying to make a Java file work. I get an error when I try to run it (using SQL developer), and when I output the stack trace it is not complete.
My stack trace is:
java.lang.NoSuchMethodError
  at oracle.security.xmlsec.wss.WSSecurity.sign(WSSecurity.java:1169)
  at Discimus.generateSoapMessage(DISCIMUS:176)
I have a library issue somewhere, but I can't figure out where it is if I can't get a full stack trace. The sign method is large, so I need to know where the error is thrown.
Any ideas?
Thanks in advance!

Hi,
I am working with an Oracle 11g database and trying to make a Java file work. I get an error when I try to run it (using SQL developer), and when I output the stack trace it is not complete.
My stack trace is:
java.lang.NoSuchMethodError
  at oracle.security.xmlsec.wss.WSSecurity.sign(WSSecurity.java:1169)
  at Discimus.generateSoapMessage(DISCIMUS:176)
I have a library issue somewhere, but I can't figure out where it is if I can't get a full stack trace. The sign method is large, so I need to know where the error is thrown.
Any ideas?
Thanks in advance!

Similar Messages

  • Netbeans debug level - missing line numbers in stack trace

    How could I set debug level to something like "lines,vars,source" in Netbeans 6.0?
    I have enabled 'Generate debugging info' in project properties, but in exception stack trace aren't line numbers (only bci).
    Thanks
    David

    Ask in a NetBeans forum, you can probably find one on java-forums.org, Java Ranch or nabble.com.
    This forum's for CLDC and MIDP.
    db

  • Solution: Stack traces on actual devices

    I've created a tool to work around one of the major problems when developing for CLDC: getting proper stack traces. Using the tool you get stack traces (with correct line number info) on exception situations also when running MIDlets on real devices. You can redirect the trace to any desired destination (e.g. a log file).
    There isn't much documentation yet but it works and it's a real time saver. Check it out at [http://jarrut.sourceforge.net].

    I believe this does what you're talking about.
    yourLoggerName.error("your error message",yourException);Since you are using log4j, check their documentation about the methods:
    http://logging.apache.org/log4j/docs/api/index.html
    While there, look up debug, info, warn, error, fatal, and if you are using a recent version of log4j also see trace. You'll want the methods that pass the message and Throwable.

  • "Rows" statistics from STAT in trace event 10046, Oracle 11g.

    Hi, all!
    Why "Rows" statistics in STAT are different for 10g and 11g?
    I have two database with version 10g and 11g, with the same data.
    I executed some pl/sql code with tracing 10046 level 8.
    And I have different result when obtain raw trace.
    In 10g I obtain rows statistics for all executions - Rows= 7.
    In 11g I obtain rows statistics for first executions - Rows= 1. Why?
    See my example:
    declare
         type t_name_tbl is table of varchar2(30) index by binary_integer;
         v_name_tbl t_name_tbl;
         v_len      number := 10;
    begin
         execute immediate 'alter session set timed_statistics = true ';
         execute immediate 'alter session set statistics_level=all ';
         execute immediate 'alter session set max_dump_file_size = unlimited ';
         execute immediate 'alter session set events ''10046 trace name context forever,level 8'' ';
         loop
           select cour_name bulk collect
                into v_name_tbl
               from country t
              where length(t.cour_name) = v_len;
           exit when v_len = 0;
           v_len := v_len - 1;
           for i in 1 .. v_name_tbl.count loop
             dbms_output.put_line(v_name_tbl(i));
           end loop;
         end loop;
    end;Result Tkprof for Oracle 10g:
    SELECT COUR_NAME
    FROM
    COUNTRY T WHERE LENGTH(T.COUR_NAME) = :B1
    call     count       cpu    elapsed       disk      query    current        rows
    Parse        1      0.00       0.00          0          0          0           0
    Execute     11      0.00       0.00          0          0          0           0
    Fetch       11      0.01       0.00          0         44          0           7
    total       23      0.01       0.00          0         44          0           7
    Misses in library cache during parse: 0
    Optimizer mode: ALL_ROWS
    Parsing user id: 649     (recursive depth: 1)
    Rows     Row Source Operation
          7  TABLE ACCESS FULL COUNTRY (cr=44 pr=0 pw=0 time=1576 us)Result Tkprof for Oracle 11g:
    SQL ID: 3kqmkg8jp5nwk
    Plan Hash: 1371235632
    SELECT COUR_NAME
    FROM
    COUNTRY T WHERE LENGTH(T.COUR_NAME) = :B1
    call     count       cpu    elapsed       disk      query    current        rows
    Parse        1      0.01       0.00          0          0          0           0
    Execute     11      0.02       0.01          0          0          0           0
    Fetch       11      0.00       0.01          3         44          0           7
    total       23      0.03       0.02          3         44          0           7
    Misses in library cache during parse: 1
    Misses in library cache during execute: 1
    Optimizer mode: ALL_ROWS
    Parsing user id: 82     (recursive depth: 1)
    Rows     Row Source Operation
          1  TABLE ACCESS FULL COUNTRY (cr=4 pr=3 pw=0 time=0 us cost=2 size=44 card=2)Were can I read about it?

    Oracle 11g by default writes the execution plan (the STAT lines in the raw trace file) after the first execution of the SQL statement, while prior to 11g the execution plan is written only when the cursor is closed.
    The behavior in 11g can be controlled by changing the PLAN_STAT parameter of the call that enables the trace from the default value of FIRST_EXECUTION to ALL_EXECUTIONS:
    http://download.oracle.com/docs/cd/B28359_01/appdev.111/b28419/d_sessio.htm#i1010518
    Charles Hooper
    Co-author of "Expert Oracle Practices: Oracle Database Administration from the Oak Table"
    http://hoopercharles.wordpress.com/
    IT Manager/Oracle DBA
    K&M Machine-Fabricating, Inc.
    Edited by: Charles Hooper on Aug 9, 2010 3:33 PM
    Default value on 11g is FIRST_EXECUTION, while the behavior prior to 11g is ALL_EXECUTIONS - corrected the incomplete sentence.

  • Compound lines in Oracle 11g

    Could you please tell me whether "3D compound lines" supported in Oracle 11g R2 ?
    Ex : SDO_GEOMETRY(3002,NULL,NULL,SDO_ELEM_INFO_ARRAY(1,4,1,1,2,1)
    This object is valid in oracle 10.2.0.4 but getting invalid in oracle 11.2.0.1 . ( check with SDO_GEOM.VALIDATE_GEOMETRY_WITH_CONTEXT ).
    This cause index creation fail as invalid data in the SDO_ELEM_INFO_ARRAY.

    user9015969,
    . . . .Yes, 3D compound lines are supported in Oracle 11gR2.
    . . . .That geometry is invalid. According to the documentation compound linestrings need to have >1 subelements, whereas that geometry only has =1 subelement. One way to fix it is to remove the first tuple ("1,4,1") from the sdo_elem_info array.
    Regards,
    Noel

  • ER for jdev1013: JSP line number in exception stack trace

    I'd like to have the JSP line number back in the exception stack trace like in jdev 9052 (and before)
    Sample code to force an exception:
    <%
    request.getParameter("x").length();
    %>
    Output running in JDev 9.0.5.2:
    500 Internal Server Error
    java.lang.NullPointerException
    at default.jspService(default.jsp:2)
    [default.jsp]
    at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:139)
    Output running in JDev 10.1.3 (SU5):
    500 Internal Server Error
    java.lang.NullPointerException
    at default.jspService(_default.java:40)
    [default.jsp]
    at com.orionserver[Oracle Containers for J2EE 10g (10.1.3.0.0) ].http.OrionHttpJspPage.service(OrionHttpJspPage.java:60)
    ...

    Hi,
    can you work with customer support to file a bug?
    Thanks
    Frank

  • No line numbers in stack trace from Java Stored Procedure exception

    I have a Java Stored Procedure which can generate an exception. In one database (11.1.0.6) the Java stack trace contains line numbers for my code, but not for the classes loaded by default with the JVM. In another database (same version) the Java stack trace does NOT contain line numbers for my code, but does contain them for some of the classes loaded by default with the JVM!
    Neither of the schemas where I am running the the Java stored procedure has a JAVA$OPTIONS tables as described here:
    http://download.oracle.com/docs/cd/B28359_01/java.111/b31225/chtwo.htm#BABIGFGA
    So the Java should have been compile "-debug" by default in both schemas. I specifically set the debug option to true using:
    exec dbms_java.set_compiler_option('', 'debug', 'true');
    but this had no effect.
    Can anyone explain this behavior or tell me how to always get line number in the Java stack trace?

    Hi,
    Try using java.util.logging package. Using these packages you can configure your logging information to include context down to the class name. Then each log message would be unique enough to know where it came from.
    -Priyanka

  • Failure at final check of Oracle CRS stack. 10 on the first node.

    Hi everyone
    I trying to install an Oracle RAC 10gr2 on an Oracle Enterprise Linux AS release 4 (October Update 7) , but I'm having this problem
    root@fporn01 crs# ./root.sh
    Checking to see if Oracle CRS stack is already configured
    Setting the permissions on OCR backup directory
    Setting up NS directories
    Oracle Cluster Registry configuration upgraded successfully
    clscfg: EXISTING configuration version 3 detected.
    clscfg: version 3 is 10G Release 2.
    assigning default hostname fporn01 for node 1.
    assigning default hostname fporn02 for node 2.
    Successfully accumulated necessary OCR keys.
    Using ports: CSS=49895 CRS=49896 EVMC=49898 and EVMR=49897.
    node <nodenumber>: <nodename> <private interconnect name> <hostname>
    node 1: fporn01 fporn01-priv fporn01
    node 2: fporn02 fporn02-priv fporn02
    clscfg: Arguments check out successfully.
    NO KEYS WERE WRITTEN. Supply -force parameter to override.
    -force is destructive and will destroy any previous cluster
    configuration.
    Oracle Cluster Registry for cluster has already been initialized
    Startup will be queued to init within 90 seconds.
    Adding daemons to inittab
    Expecting the CRS daemons to be up within 600 seconds.
    Failure at final check of Oracle CRS stack.
    +10+
    forget about the node names!!!!
    but on the second node everything went fine, so I'm sure this is not a connectivity issue.
    the iptables service is stopped and disabled
    check the results after running the root.sh script
    root@fporn02 ~# /u01/app/crs/root.sh
    Checking to see if Oracle CRS stack is already configured
    +/etc/oracle does not exist. Creating it now.+
    Setting the permissions on OCR backup directory
    Setting up NS directories
    Oracle Cluster Registry configuration upgraded successfully
    clscfg: EXISTING configuration version 3 detected.
    clscfg: version 3 is 10G Release 2.
    assigning default hostname fporn01 for node 1.
    assigning default hostname fporn02 for node 2.
    Successfully accumulated necessary OCR keys.
    Using ports: CSS=49895 CRS=49896 EVMC=49898 and EVMR=49897.
    node <nodenumber>: <nodename> <private interconnect name> <hostname>
    node 1: fporn01 fporn01-priv fporn01
    node 2: fporn02 fporn02-priv fporn02
    clscfg: Arguments check out successfully.
    NO KEYS WERE WRITTEN. Supply -force parameter to override.
    -force is destructive and will destroy any previous cluster
    configuration.
    Oracle Cluster Registry for cluster has already been initialized
    Startup will be queued to init within 90 seconds.
    Adding daemons to inittab
    Expecting the CRS daemons to be up within 600 seconds.
    CSS is active on these nodes.
    fporn02
    CSS is inactive on these nodes.
    fporn01
    Local node checking complete.
    Run root.sh on remaining nodes to start CRS daemons.
    this is the log of crs on the first node
    root@fporn01 bin# cat /u01/app/crs/log/fporn01/alertfporn01.log
    +2009-06-24 17:27:37.695+
    client(9045)CRS-1006:The OCR location /u02/oradata/orcl/OCRFile_mirror is inaccessible. Details in /u01/app/crs/log/fporn01/client/ocrconfig_9045.log.
    +2009-06-24 17:27:37.741+
    client(9045)CRS-1001:The OCR was formatted using version 2.
    +2009-06-24 17:28:24.544+
    client(9092)CRS-1801:Cluster pdb-rac configured with nodes fporn01 fporn02 .
    this is the log of crs on the second node
    root@fporn02 ~# cat /u01/app/crs/log/fporn02/alertfporn02.log
    +2009-06-24 18:09:09.307+
    cssd(16991)CRS-1605:CSSD voting file is online: /u02/oradata/orcl/CSSFile. Details in /u01/app/crs/log/fporn02/cssd/ocssd.log.
    +2009-06-24 18:09:09.307+
    cssd(16991)CRS-1605:CSSD voting file is online: /u02/oradata/orcl/CSSFile_mirror1. Details in /u01/app/crs/log/fporn02/cssd/ocssd.log.
    +2009-06-24 18:09:09.310+
    cssd(16991)CRS-1605:CSSD voting file is online: /u02/oradata/orcl/CSSFile_mirror2. Details in /u01/app/crs/log/fporn02/cssd/ocssd.log.
    +2009-06-24 18:09:12.441+
    cssd(16991)CRS-1601:CSSD Reconfiguration complete. Active nodes are fporn02 .
    I have rechecked the Remote Access / User Equivalence
    after run the OCRCHECK command ia have this information
    root@fporn01 bin# ./ocrcheck
    Status of Oracle Cluster Registry is as follows :
    Version : 2
    Total space (kbytes) : 262144
    Used space (kbytes) : 312
    Available space (kbytes) : 261832
    ID : 255880615
    Device/File Name : /u02/oradata/orcl/OCRFile
    Device/File integrity check succeeded
    Device/File Name : /u02/oradata/orcl/OCRFile_mirror
    Device/File integrity check succeeded
    Cluster registry integrity check succeeded
    on the second node i get the same output
    root@fporn02 bin# ./ocrcheck
    Status of Oracle Cluster Registry is as follows :
    Version : 2
    Total space (kbytes) : 262144
    Used space (kbytes) : 312
    Available space (kbytes) : 261832
    ID : 255880615
    Device/File Name : /u02/oradata/orcl/OCRFile
    Device/File integrity check succeeded
    Device/File Name : /u02/oradata/orcl/OCRFile_mirror
    Device/File integrity check succeeded
    Cluster registry integrity check succeeded
    I have reviewed the following metalink notes but none of them seems to solve my problem
    *344994.1*
    *240001.1*
    *725878.1*
    *329450.1*
    *734221.1*
    I have done a research trough many forums, but always the fail is on the second node, but my fail is on the first node.
    I hope anyone could help me.
    this is the output of cluvfy
    Performing pre-checks for cluster services setup
    Checking node reachability...
    Check: Node reachability from node "fporn01"
    Destination Node Reachable?
    fporn01 yes
    fporn02 yes
    Result: Node reachability check passed from node "fporn01".
    Checking user equivalence...
    Check: User equivalence for user "oracle"
    Node Name Comment
    fporn02 passed
    fporn01 passed
    Result: User equivalence check passed for user "oracle".
    Checking administrative privileges...
    Check: Existence of user "oracle"
    Node Name User Exists Comment
    fporn02 yes passed
    fporn01 yes passed
    Result: User existence check passed for "oracle".
    Check: Existence of group "oinstall"
    Node Name Status Group ID
    fporn02 exists 501
    fporn01 exists 501
    Result: Group existence check passed for "oinstall".
    Check: Membership of user "oracle" in group "oinstall" as Primary
    Node Name User Exists Group Exists User in Group Primary Comment
    fporn02 yes yes yes yes passed
    fporn01 yes yes yes yes passed
    Result: Membership check for user "oracle" in group "oinstall" as Primary passed.
    Administrative privileges check passed.
    Checking node connectivity...
    Interface information for node "fporn02"
    Interface Name IP Address Subnet
    eth0 10.218.108.245 10.218.108.0
    eth1 192.168.1.2 192.168.1.0
    Interface information for node "fporn01"
    Interface Name IP Address Subnet
    eth0 10.218.108.244 10.218.108.0
    eth1 192.168.1.1 192.168.1.0
    eth2 172.16.9.210 172.16.9.0
    Check: Node connectivity of subnet "10.218.108.0"
    Source Destination Connected?
    fporn02:eth0 fporn01:eth0 yes
    Result: Node connectivity check passed for subnet "10.218.108.0" with node(s) fporn02,fporn01.
    Check: Node connectivity of subnet "192.168.1.0"
    Source Destination Connected?
    fporn02:eth1 fporn01:eth1 yes
    Result: Node connectivity check passed for subnet "192.168.1.0" with node(s) fporn02,fporn01.
    Check: Node connectivity of subnet "172.16.9.0"
    Result: Node connectivity check passed for subnet "172.16.9.0" with node(s) fporn01.
    Suitable interfaces for the private interconnect on subnet "10.218.108.0":
    fporn02 eth0:10.218.108.245
    fporn01 eth0:10.218.108.244
    Suitable interfaces for the private interconnect on subnet "192.168.1.0":
    fporn02 eth1:192.168.1.2
    fporn01 eth1:192.168.1.1
    ERROR:
    Could not find a suitable set of interfaces for VIPs.
    Result: Node connectivity check failed.
    Checking system requirements for 'crs'...
    Check: Total memory
    Node Name Available Required Comment
    fporn02 7.93GB (8310276KB) 512MB (524288KB) passed
    fporn01 7.93GB (8310276KB) 512MB (524288KB) passed
    Result: Total memory check passed.
    Check: Free disk space in "/tmp" dir
    Node Name Available Required Comment
    fporn02 9.57GB (10037300KB) 400MB (409600KB) passed
    fporn01 9.55GB (10012168KB) 400MB (409600KB) passed
    Result: Free disk space check passed.
    Check: Swap space
    Node Name Available Required Comment
    fporn02 8.81GB (9240568KB) 1GB (1048576KB) passed
    fporn01 8.81GB (9240568KB) 1GB (1048576KB) passed
    Result: Swap space check passed.
    Check: System architecture
    Node Name Available Required Comment
    fporn02 i686 i686 passed
    fporn01 i686 i686 passed
    Result: System architecture check passed.
    Check: Kernel version
    Node Name Available Required Comment
    fporn02 2.6.9-78.0.0.0.1.ELhugemem 2.4.21-15EL passed
    fporn01 2.6.9-78.0.0.0.1.ELhugemem 2.4.21-15EL passed
    Result: Kernel version check passed.
    Check: Package existence for "make-3.79"
    Node Name Status Comment
    fporn02 make-3.80-7.EL4 passed
    fporn01 make-3.80-7.EL4 passed
    Result: Package existence check passed for "make-3.79".
    Check: Package existence for "binutils-2.14"
    Node Name Status Comment
    fporn02 binutils-2.15.92.0.2-25 passed
    fporn01 binutils-2.15.92.0.2-25 passed
    Result: Package existence check passed for "binutils-2.14".
    Check: Package existence for "gcc-3.2"
    Node Name Status Comment
    fporn02 gcc-3.4.6-10.0.1 passed
    fporn01 gcc-3.4.6-10.0.1 passed
    Result: Package existence check passed for "gcc-3.2".
    Check: Package existence for "glibc-2.3.2-95.27"
    Node Name Status Comment
    fporn02 glibc-2.3.4-2.41 passed
    fporn01 glibc-2.3.4-2.41 passed
    Result: Package existence check passed for "glibc-2.3.2-95.27".
    Check: Package existence for "compat-db-4.0.14-5"
    Node Name Status Comment
    fporn02 compat-db-4.1.25-9 passed
    fporn01 compat-db-4.1.25-9 passed
    Result: Package existence check passed for "compat-db-4.0.14-5".
    Check: Package existence for "compat-gcc-7.3-2.96.128"
    Node Name Status Comment
    fporn02 missing failed
    fporn01 missing failed
    Result: Package existence check failed for "compat-gcc-7.3-2.96.128".
    ++Check: Package existence for "compat-gcc-c++-7.3-2.96.128"++
    Node Name Status Comment
    fporn02 missing failed
    fporn01 missing failed
    ++Result: Package existence check failed for "compat-gcc-c++-7.3-2.96.128".++
    ++Check: Package existence for "compat-libstdc++-7.3-2.96.128"++
    Node Name Status Comment
    fporn02 missing failed
    fporn01 missing failed
    ++Result: Package existence check failed for "compat-libstdc++-7.3-2.96.128".++
    ++Check: Package existence for "compat-libstdc++-devel-7.3-2.96.128"++
    Node Name Status Comment
    fporn02 missing failed
    fporn01 missing failed
    ++Result: Package existence check failed for "compat-libstdc++-devel-7.3-2.96.128".++
    Check: Package existence for "openmotif-2.2.3"
    Node Name Status Comment
    fporn02 openmotif-2.2.3-10.2.el4 passed
    fporn01 openmotif-2.2.3-10.2.el4 passed
    Result: Package existence check passed for "openmotif-2.2.3".
    Check: Package existence for "setarch-1.3-1"
    Node Name Status Comment
    fporn02 setarch-1.6-1 passed
    fporn01 setarch-1.6-1 passed
    Result: Package existence check passed for "setarch-1.3-1".
    Check: Group existence for "dba"
    Node Name Status Comment
    fporn02 exists passed
    fporn01 exists passed
    Result: Group existence check passed for "dba".
    Check: Group existence for "oinstall"
    Node Name Status Comment
    fporn02 exists passed
    fporn01 exists passed
    Result: Group existence check passed for "oinstall".
    Check: User existence for "nobody"
    Node Name Status Comment
    fporn02 exists passed
    fporn01 exists passed
    Result: User existence check passed for "nobody".
    System requirement failed for 'crs'
    Pre-check for cluster services setup was unsuccessful on all the nodes.

    forget about my last post, it was my mistake, I rebooted the server and the clustered file system service did not start up at boot time.
    sorry
    this is what I really got in /var/log/messages
    after manually running crs daemons
    Jun 26 16:43:07 fporn01 su(pam_unix)[10020]: session opened for user oracle by (uid=0)
    Jun 26 16:43:07 fporn01 su(pam_unix)[10020]: session closed for user oracle
    Jun 26 16:43:07 fporn01 logger: Cluster Ready Services completed waiting on dependencies.
    Jun 26 16:44:07 fporn01 su(pam_unix)[9977]: session opened for user oracle by (uid=0)
    Jun 26 16:45:31 fporn01 su(pam_unix)[10293]: session opened for user oracle by (uid=0)
    Jun 26 16:45:32 fporn01 su(pam_unix)[10293]: session closed for user oracle
    Jun 26 16:45:32 fporn01 logger: Cluster Ready Services completed waiting on dependencies.
    Jun 26 16:45:40 fporn01 su(pam_unix)[10351]: session opened for user oracle by (uid=0)
    Jun 26 16:45:40 fporn01 su(pam_unix)[10351]: session closed for user oracle
    Jun 26 16:45:40 fporn01 su(pam_unix)[10415]: session opened for user oracle by (uid=0)
    Jun 26 16:45:40 fporn01 su(pam_unix)[10415]: session closed for user oracle
    Jun 26 16:45:40 fporn01 logger: Cluster Ready Services completed waiting on dependencies.
    Jun 26 16:46:32 fporn01 su(pam_unix)[10591]: session opened for user oracle by (uid=0)
    Jun 26 16:46:40 fporn01 logger: Running CRSD with TZ =
    after running ps -ef | grep -E 'init|d.bin|ocls|oprocd|diskmon|evmlogger|PID'
    [root@fporn01 ~]# ps -ef | grep -E 'init|d.bin|ocls|oprocd|diskmon|evmlogger|PID'
    UID PID PPID C STIME TTY TIME CMD
    root 1 0 0 15:33 ? 00:00:00 init [5]
    root 9869 7951 0 16:40 pts/1 00:00:00 [init.crsd] <defunct>
    oracle 10053 9977 0 16:44 ? 00:00:00 /u01/app/crs/bin/evmd.bin
    root 10249 7951 0 16:45 pts/1 00:00:00 /bin/sh /etc/init.d/init.cssd fatal
    root 10341 7951 0 16:45 pts/1 00:00:00 /u01/app/crs/bin/crsd.bin reboot
    root 10551 10249 0 16:46 pts/1 00:00:00 /bin/sh /etc/init.d/init.cssd daemon
    oracle 10618 10592 0 16:46 ? 00:00:00 /u01/app/crs/bin/ocssd.bin
    oracle 10926 10053 0 16:46 ? 00:00:00 /u01/app/crs/bin/evmlogger.bin -o /u01/app/crs/evm/log/evmlogger.info -l /u01/app/crs/evm/log/evmlogger.log
    root 16658 9461 0 16:50 pts/2 00:00:00 grep -E init|d.bin|ocls|oprocd|diskmon|evmlogger|PID
    CRS daemons finally work
    *but i get this error when i run [oracle@fporn01 cluvfy]$ ./runcluvfy.sh stage -post crsinst -n fporn01,fporn02 -verbose*
    Performing post-checks for cluster services setup
    Checking node reachability...
    Check: Node reachability from node "fporn01"
    Destination Node                      Reachable?
    fporn01                               yes
    fporn02                               yes
    Result: Node reachability check passed from node "fporn01".
    Checking user equivalence...
    Check: User equivalence for user "oracle"
    Node Name                             Comment
    fporn02                               passed
    fporn01                               passed
    Result: User equivalence check passed for user "oracle".
    ERROR:
    CRS is not installed on any of the nodes.
    Verification cannot proceed.
    Post-check for cluster services setup was unsuccessful on all the nodes.

  • How to get Line numbers in KVM stack traces

    Hello!
    I am fairly new to kvm programming and might have missed the obvious. When my program dumps a stack trace under kvm it gives me an offset (I dont know what the number corresponds to) from the method but not source line numbers like I am used to seeing under J2SE. I complie the code using -g and run it using kvm_g. For example, I see soemething like
    java.lang.NullPointerException
    at myclass.mymethod(+5)
    at parentclass.parentmethod(+10)
    Where I dont know what the +5 or +10 stand for as it relates to my source code.
    Can somebody help with trying to correlate the stack trace to my source code.
    Thanks.
    Ranga.

    I would like to know too. Has anyone found an answer?

  • Oracle.jbo.NoDefException: JBO-29114 ADFContext is not setup to process messages for this exception. Use the exception stack trace and error code to investigate the root cause of this exception. Root cause error code is JBO-25058. Error message parameters

    Dear Guru's,
    I am not able to solve the above issue for last couple of days.
    I am newbie to the webservice
    My Issue...
    I am using Jdeveloper 11.1.2.4.0 Release 2
    1. Using Jdev I built one small Web Service with two methods.
            While testing the Webservice...
                   I passed User Id as Parameter and it successfully return the values (user id, user name and description) from fnd_user table
    2. I created another application to consume the web service i created.
                   1. I added the webservice SOAP and added the method.
                   2. Created a jsf page and drag and drop the parameter and return values to the jsf page.
    3. While executing the created jsf page I received the error message as below
    "oracle.jbo.NoDefException: JBO-29114 ADFContext is not setup to process messages for this exception. Use the exception stack trace and error code to investigate the root cause of this exception. Root cause error code is JBO-25058. Error message parameters are {0=Attribute, 1=UserName, 2=UserName}"
    Even I know that this issue is repeated one in our forum, I was not able to solve this issue.
    Can anybody help to solve this issue.
    Thanks and Regards,
    Durai S E

    Dear Guru's,
    I am not able to solve the above issue for last couple of days.
    I am newbie to the webservice
    My Issue...
    I am using Jdeveloper 11.1.2.4.0 Release 2
    1. Using Jdev I built one small Web Service with two methods.
            While testing the Webservice...
                   I passed User Id as Parameter and it successfully return the values (user id, user name and description) from fnd_user table
    2. I created another application to consume the web service i created.
                   1. I added the webservice SOAP and added the method.
                   2. Created a jsf page and drag and drop the parameter and return values to the jsf page.
    3. While executing the created jsf page I received the error message as below
    "oracle.jbo.NoDefException: JBO-29114 ADFContext is not setup to process messages for this exception. Use the exception stack trace and error code to investigate the root cause of this exception. Root cause error code is JBO-25058. Error message parameters are {0=Attribute, 1=UserName, 2=UserName}"
    Even I know that this issue is repeated one in our forum, I was not able to solve this issue.
    Can anybody help to solve this issue.
    Thanks and Regards,
    Durai S E

  • Select first and last records in grouped results - Oracle 11g

    Say I have the following information in an Oracle 11g table:
    Qty
    Production order
    Date and time
    20
    00000000000000001
    12-JAN-14 00:02
    20
    00000000000000001
    12-JAN-14 00:05
    20
    00000000000000001
    12-JAN-14 00:07
    20
    00000000000000001
    13-JAN-14 00:09
    30
    00000000000000002
    12-JAN-14 00:11
    30
    00000000000000002
    12-JAN-14 00:15
    30
    00000000000000002
    12-JAN-14 00:20
    30
    00000000000000002
    14-JAN-14 00:29
    I would like to write a query that would return the following:
    Qty
    Production order
    First
    Last
    80
    00000000000000001
    12-JAN-14 00:02
    13-JAN-14 00:09
    120
    00000000000000002
    12-JAN-14 00:11
    14-JAN-14 00:29
    That is, the sum of the Qty column grouped by Production order, and the date/time of the first and last records for each Production order.
    I came up with a query that yielded this result:
    Qty
    Production order
    First
    Last
    80
    00000000000000001
    12-JAN-14 00:02
    14-JAN-14 00:29
    120
    00000000000000002
    12-JAN-14 00:02
    14-JAN-14 00:29
    Which means that the First and Last columns show the overall first and last date / time of the whole table. Please note that this is a dummy table. Sorry I am now allowed to write the actual query
    I came up with since work policies do not allow me to share it. Also, I tried with windowing functions such as rank()and row_number() but my user does not have enough privileges to do so.
    Any help or hints will be greatly appreciated.

    Due to the fact that Oracle does not record the rows in any particular order, it would be wrong that the "first date" would be the first row processed by the query.
    Therefore you would have to supply some other column if you do not want to consider the table as ordered by date.
    Also, any analytical functions will need you to supply the "order by" and if its the date, then just a simple query will do:
    SQL>WITH Tab1 (Qty, Production_Order, Pdate)
      2       AS (SELECT 20, '00000000000000001', TO_DATE ( '12-JAN-14 00:02', 'DD-MON-YY HH24:MI') FROM DUAL UNION ALL
      3           SELECT 20, '00000000000000001', TO_DATE ( '12-JAN-14 00:05', 'DD-MON-YY HH24:MI') FROM DUAL UNION ALL
      4           SELECT 20, '00000000000000001', TO_DATE ( '12-JAN-14 00:07', 'DD-MON-YY HH24:MI') FROM DUAL UNION ALL
      5           SELECT 20, '00000000000000001', TO_DATE ( '13-JAN-14 00:09', 'DD-MON-YY HH24:MI') FROM DUAL UNION ALL
      6           SELECT 30, '00000000000000002', TO_DATE ( '12-JAN-14 00:11', 'DD-MON-YY HH24:MI') FROM DUAL UNION ALL
      7           SELECT 30, '00000000000000002', TO_DATE ( '12-JAN-14 00:15', 'DD-MON-YY HH24:MI') FROM DUAL UNION ALL
      8           SELECT 30, '00000000000000002', TO_DATE ( '12-JAN-14 00:20', 'DD-MON-YY HH24:MI') FROM DUAL UNION ALL
      9           SELECT 30, '00000000000000002', TO_DATE ( '14-JAN-14 00:29', 'DD-MON-YY HH24:MI') FROM DUAL)
    10  SELECT   SUM ( Qty), Production_Order, MIN ( Pdate), MAX ( Pdate)
    11      FROM Tab1
    12  GROUP BY Production_Order
    13* ORDER BY Production_Order
    SQL> /
      SUM(QTY) PRODUCTION_ORDER     MIN(PDATE)                    MAX(PDATE)
            80 00000000000000001    12-Jan-2014 00:02:00          13-Jan-2014 00:09:00
           120 00000000000000002    12-Jan-2014 00:11:00          14-Jan-2014 00:29:00

  • Oracle 11g Table function returns no records on first call

    Hello,
    On a Oracle 11g R2 I've a table function ( PIPELINED ) returning rows selected from a table.
    The first time the function is selected, in a session ( I've tried to disconnect and log in again ), it returns no rows.
    I've tried to log the call using DBMS_OUTPUT and from what I see the select on the table function returns no rows and no output is printed. So I presume Oracle is not calling the function.
    The same function on a similar environment ( same db versions, patches and database structure ) works fine. The second environment is a production environment so it has more memory and some other settings enabled.
    Does anyone know of settings that can relate to this behaviour ?
    Thanks in advance for the help.
    Regards,
    Stefano Muret

    Thank you for answering so fast.
    Here's the function code:
    FUNCTION template_parameters (iTemplate IN TEMPLATE_RAW_DATA.TMPL_ID%TYPE := NULL)
    RETURN table_type_tmpl_parameters PIPELINED
    IS
    li_exception INTEGER DEFAULT -20025;
    POUT_PARM TABLE_TYPE_TMPL_PARAMETERS;
    lt_parms table_type_tmpl_parms_raw;
    sParmCheck VARCHAR2(4000);
    iOccurrence INTEGER;
    BEGIN
    pOut_Parm := table_type_tmpl_parameters();
    pOut_Parm.EXTEND;
    select
    tmpl_id
    *,tmpl_name*
    *,replace(upper(trim(sql_out)),'[SCHEMA].')*
    *,UPPER(TRIM(out_tmpl_parms))*
    bulk collect into lt_parms
    from ref_templates
    where tmpl_id = NVL(iTemplate,tmpl_id)
    order by tmpl_id;
    FOR k IN 1..lt_parms.COUNT
    LOOP
    pOut_Parm(1).tmpl_id := lt_parms(k).tmpl_id;
    pOut_Parm(1).tmpl_name := lt_parms(k).tmpl_name;
    FOR i IN 1..2
    LOOP
    IF i = 1 THEN
    sParmCheck := lt_parms(k).sql_out;
    ELSE
    sParmCheck := lt_parms(k).sql_parms;
    END IF;
    iOccurrence := 1;
    *pOut_Parm(1).parameter_name := regexp_substr(sParmCheck,'\[[^\[]+\]',1,iOccurrence);*
    WHILE pOut_Parm(1).parameter_name IS NOT NULL
    LOOP
    PIPE ROW (pOut_Parm(1));
    iOccurrence := iOccurrence + 1;
    *pOut_Parm(1).parameter_name := regexp_substr(sParmCheck,'\[[^\[]+\]',1,iOccurrence);*
    END LOOP;
    END LOOP;
    END LOOP;
    RETURN;
    EXCEPTION
    WHEN OTHERS THEN
    RAISE_APPLICATION_ERROR(li_exception,SUBSTR(SQLERRM,1,1000));
    RETURN;
    END template_parameters;
    This function is part of a package.
    The data on both environments is the same.

  • User change password after first logging in Oracle 11g

    Hi
    Can you help someone in connection with this problem:
    user can not change password after first logging in Oracle 11g
    All the best
    Ragip Avdijaj

    Sounds like they are not getting logged in at all, so they are never getting to the point where they can change the password, but we need to see more detail to give a better answer (an example or copy-paste of a sqlplus session might help)

  • Do trace files need to be purged in Oracle 11g DB

    We have the Oracle 11g database setup. I have a query as to if it is required to purge the trace files found in adump, Bdump & Cdump administration file subdirectories or there is automatic log rotation of the trace files?
    I hope my query is clear that if it is required to manually purge the trace files or is there an automatic log rotation for the trace files.
    Please revert with the reply to my query.
    Regards

    starting with 11g and ADRCI there are two Parameters which controls the purging of old log and / or trace files:
    SHORTP_POLICY (default 720 hours) and LONGP_POLICY (default 8720 hours). As with the Default most traces and logs stay an entire year it might be worth changing those values like follows:
    adrci> set control (SHORTP_POLICY = 168)
    adrci> set control (LONGP_POLICY = 720)
    you can verify the current values with
    adrci> show control
    Unfortunately those parameters are only valid for components managed with ADR (Automatic Diagnostic Repository). So adump or any log locations under $ORACLE_HOME are still not managed automatically.

  • Oracle 11g ADR Purged trace file list

    In Oracle 11g, how do I get list of files automatically purged by ADR ?
    Is there any data dictionary view or physical file which keeps track of trace files deleted by ADR ?

    See if the following post helps:
    Oracle 11g ADR Automatic Diagnostic Repository
    http://virag.sharma.googlepages.com/oracle11gadrautomaticdiagnosticrepositor
    Regards,
    Naveed.

Maybe you are looking for

  • "Download Files"procedure not working in duplicate app/shows page not found

    Hello, I have created an application using the "Download files" procedure described in "How to Upload and Download Files in an Application" chapter of the APEX "Advanced Tutorials." It works just fine on the one server, however, when I exported the a

  • Asset depreciation for legacy data

    Hi, I encounter the following problem, please input some advices. An asset from legacy system needed to be migrated into SAP. In the old system, it starts to depreciate at rate of 20% per year, but after a period of time, it changes the depn. rate in

  • Excel spreadsheet not printing correctly

    Recently bought a Envy 4500 all in one printer that my son installed. Everything works except for one thing on my excel spreadsheets. 1. Every horizontal line is not printing, so I get larger boxes with two lines of print within. Thanks for your help

  • Creating video clips from MP4 movie

    Can anyone recommend a piece of software that will allow me to capture pieces of an mp4 movie and save them as clips for use in iMovie projects?  I have converted some analog video Hi8 vacation movies to digital mp4 format.  The problem is that the e

  • Clock output from TRITON into Logic

    Does anyone know how to use the sequencer clock in a KORG TRITON EXTREME to control logic? I have tried every possible combination from the two but can not seem to get this to work? Any help would be grateful Maxx G5 Duel 2 gig   Mac OS X (10.4.5)