XQuery Engine API for enabling trace

Hi,
Is there any way to enable trace while executing the xquery file inside osb or is there any way to get the api details or the implementation details of the xquery engine used in osb. Please guide me in this regard.
Thanks,
Sajeev

Except the server part, is it something similar to XQom https://xqom.dev.java.net/, Jnxd https://jnxd.dev.java.net/ or XQJ ?

Similar Messages

  • JavaMail API for enabling email notification

    Hi
    I want to use JavaMail API for enabling email notification for an application. I have downloaded the javamail_1.4 zip file, unzipped it and set the CLASSPATH environment variable. JAVA_HOME isalso set. the activation.jar file from JAF is also in place. but, when i try to compile the sample programs (included with javamail) like smtpsend.java,msgsend.java, I get a screenful of errors all referring to "cannot find symbol", the main error being
    "package javax.mail does not exist". I guess, Java is not able to locate the package.
    Please suggest what can be done .Any tips for configuring email notification are more than welcome!
    Thanks!

    Are you compiling using the "javac" command,
    or are you using an IDE like Eclipse or NetBeans?
    In the latter case, you have to tell the IDE to
    add the jar files to your project.

  • Enable Trace for the Session Loggied in..

    Hi All,
    How to enable trace for the session logged in with out db bounce.
    after enable how to stop and how to get the trace file in readable format.
    Please suggest
    Thanks
    Mano

    Trace a session.
    1)Logout all sessions from the database
    2)Login to application (ensure that only one session is available)
    3)sqlplus trace/trace
    Schema which has privilege to trace the session
    4)check the sid and serial# of the session from v$session
    Use the following query
    SQL> select username,to_char(logon_time,'DD-MON-YYYY HH:MI:SS') from v$session where username='<db username>' order by logon_time;
    SQL>exec sys.dbms_system.set_sql_trace_in_session(sid,serial#,TRUE);
    5)now execute the report/transaction.
    6)once the activity is over
    SQL>exec sys.dbms_system.set_sql_trace_in_session(sid,serial,FALSE);
    7)Now the trace file will be available in the udump folder of the database ip
    Userid/password: trace/trace
    The trace wil be available in /oracle/admin/orcl/udump
    8)To find the name of the trace file use the below query
    select spid from v$process where addr=(select paddr from v$session where sid=<enter the SID>);
    This will give the name of the file
    If you are not able to identify the trace file then please remove all files in udump before starting trace.
    9) ftp the trace fil to ur local pc and issue the tkprof command
    TKPROF <trace file (like D:\orcl_8853.trc)> D:\trace.txt explain=Oracle username/password (application user) sort=(prsela,exeela,fchela)
    This will give trace file in readable format(you need to have 10g client on your pc for tkprof to work)

  • Enable trace for particular concurrent program

    Hi Experts,
    I want to enable trace for the program called "Print Invoice Notice". I tick the enable trace box in Concurrent->Define-> navigation.
    But i didn't get any trace under USER_DUMP_DEST destination.
    Thanks
    Sundar.

    Hi,
    Please run the query in (Note: 296559.1 - FAQ: Common Tracing Techniques within the Oracle Applications 11i/R12) to find the trace file name and location.
    Regards,
    Hussein

  • Crystal Report Print Engine API calls  from Powerbuilder

    I am using Crystal Report XI R2 with Powerbuilder 9.0. I  am using Crystal Report API calls using crpe32.dll to display my reports. When i run my reports from my development machine where Crystal Reports is installed the reports run properly, but when i deploy my application on a server where Crystal Reports is not installed the report gives me error "Report has not been opened" , Error 599.
    The database logon info is properly set in the RPT file.
    I want to know whether it is possible to run reports without installing Crystal Reports and how do you do it?

    Somehow, you will have to install the CR runtime...
    Probably the best way will be to create a deployment project using a utility such as InstallShield,  Wise, MS Visual Installer, etc. Use the RDC merge modules and  add the crpe32.dll to the deployment project, ensuring the crpe32.dll is installed into the ...\3.5\bin directory. The Correct msm files are here:
    https://smpdl.sap-ag.de/~sapidp/012002523100009381702008E/crxir2sp4_rdc_mm.zip
    BTW., using the print engine APIs... Not something recommended, nor supported. Last header files for the crpe APIs shipped in version 9...
    Ludek

  • How to reduce number of output parameters in case of determination engine API

    Hi
    We are using determination engine API to integrate with the third party (OBRM) . In that case all the base/top/intermediate attributes have been sent in xml as output.
    Is there any way to filter out the output parameters as I don't want to send all attributes in output XML.
    Thanks and Regards
    Vandana

    There are the following possible copies of an object that can be made in TopLink.
    - Session cache - copy of object stored in the Session cache, this instance is considered read-only and can be shared. In the case of a shared cache, this copy exists in the ServerSession cache, in the case of an isolated cache, this copy exists in the ClientSession cache.
    This copy can be created whenever a query is executed against a ClientSession, or non-isolated UnitOfWork. To avoid this copy for an update operation, you can query in a UnitOfWork, and set your descriptor's unitOfWorkCacheIsolationLevel to ISOLATE_CACHE_ALWAYS (added in 10.1.3).
    This copy can be created after a inserted object is committed as well. ISOLATE_CACHE_ALWAYS will also avoid this.
    - UnitOfWork working copy. Instance of the object that is modified in the UnitOfWork. This instance must exist as at least one instance is required, unless UpdateAll / DeleteAll / SQL queries are used.
    - UnitOfWork backup copy. This copy is used to track changes to the object. This copy can be avoided if attribute change tracking is used (added in 10.1.3, weaving added in 11g).
    So, it is possible to only have a single copy.
    You can also use a DatabaseSession which only maintains a single copy. You can use Insert and UpdateObjectQuery's, these will update everything and not give you the benefit of change tracking nor a shared cache, but may be useful in batch transactions such as yours.
    -- James : http://www.eclipselink.org

  • Java API for running entire ".sql" files on a remote DB ( mySQL or Oracle)?

    Hi,
    Would anyone happen to know if there's a java API for executing entire ".sql" files (containing several different SQL commands), on a remote database server ?
    It's enough if the API works with MySQL and/or Oracle.
    Just to demonstrate what i'm looking for:
    Suppose you've created sql file "c:/test.sql" with several script lines:
    -- test.sql:
    insert into TABLE1 values(3,3);
    insert into TABLE1 values(5,5);
    create table TABLE2 (name VARCHER) ENGINE innoDB; -- MYSQL specific
    Then the java API should look something like:
    // Dummy java code:
    String driver="com.mysql.jdbc.Driver";
    String url= "jdbc:mysql://localhost:3306/myDb";
    SomeAPI.executeScriptFile( "c:/test.sql", driver, url);
    Thanks.

    No such a API, but it's easy to parse all sqls in a file, then run those command:
    For instance:
    import java.sql.*;
    import java.util.Properties;
    /* A demo show how to load some sql statements. */
    public class testSQL {
    private final static Object[] getSQLStatements(java.util.Vector v) {
    Object[] statements = new Object[v.size()];
    Object temp;
    for (int i = 0; i < v.size(); i++) {
    temp = v.elementAt(i);
    if (temp instanceof java.util.Vector)
    statements[i] = getSQLStatements( (java.util.Vector) temp);
    else
    statements[i] = temp;
    return statements;
    public final static Object[] getSQLStatements(String sqlFile) throws java.
    io.IOException {
    java.util.Vector v = new java.util.Vector(1000);
    try {
    java.io.BufferedReader br = new java.io.BufferedReader(new java.io.
    FileReader(sqlFile));
    java.util.Vector batchs = new java.util.Vector(10);
    String temp;
    while ( (temp = br.readLine()) != null) {
    temp = temp.trim();
    if (temp.length() == 0)
    continue;
    switch (temp.charAt(0)) {
    case '*':
    case '"':
    case '\'':
    // System.out.println(temp);
    break; //Ignore any line which begin with the above character
    case '#': //Used to begin a new sql statement
    if (batchs.size() > 0) {
    v.addElement(getSQLStatements(batchs));
    batchs.removeAllElements();
    break;
    case 'S':
    case 's':
    case '?':
    if (batchs.size() > 0) {
    v.addElement(getSQLStatements(batchs));
    batchs.removeAllElements();
    v.addElement(temp);
    break;
    case '!': //Use it to get a large number of simple update statements
    if (batchs.size() > 0) {
    v.addElement(getSQLStatements(batchs));
    batchs.removeAllElements();
    String part1 = temp.substring(1);
    String part2 = br.readLine();
    for (int i = -2890; i < 1388; i += 39)
    batchs.addElement(part1 + i + part2);
    for (int i = 1890; i < 2388; i += 53) {
    batchs.addElement(part1 + i + part2);
    batchs.addElement(part1 + i + part2);
    for (int i = 4320; i > 4268; i--) {
    batchs.addElement(part1 + i + part2);
    batchs.addElement(part1 + i + part2);
    for (int i = 9389; i > 7388; i -= 83)
    batchs.addElement(part1 + i + part2);
    v.addElement(getSQLStatements(batchs));
    batchs.removeAllElements();
    break;
    default:
    batchs.addElement(temp);
    break;
    if (batchs.size() > 0) {
    v.addElement(getSQLStatements(batchs));
    batchs.removeAllElements();
    br.close();
    br = null;
    catch (java.io.FileNotFoundException fnfe) {
    v.addElement(sqlFile); //sqlFile is a sql command, not a file Name
    Object[] statements = new Object[v.size()];
    for (int i = 0; i < v.size(); i++)
    statements[i] = v.elementAt(i);
    return statements;
    public static void main(String argv[]) {
    try {
    String url;
    Object[] statements;
    switch (argv.length) {
    case 0: //Use it for the simplest test
    case 1:
    url = "jdbc:dbf:/.";
    if (argv.length == 0) {
    statements = new String[1];
    statements[0] = "select * from test";
    else
    statements = argv;
    break;
    case 2:
    url = argv[0];
    statements = getSQLStatements(argv[1]);
    break;
    default:
    throw new Exception(
    "Syntax Error: java testSQL url sqlfile");
    Class.forName("com.hxtt.sql.dbf.DBFDriver").newInstance();
    //Please see Connecting to the Database section of Chapter 2. Installation in Development Document
    Properties properties = new Properties();
    Connection con = DriverManager.getConnection(url, properties);
    Statement stmt = con.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE,
    ResultSet.CONCUR_READ_ONLY);
    //Statement stmt = con.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE,ResultSet.CONCUR_UPDATABLE);
    // stmt.setMaxRows(0);
    stmt.setFetchSize(10);
    final boolean serializeFlag = false;//A test switch to serialize/deserialize the resultSet
    ResultSet rs;
    for (int i = 0; i < statements.length; i++) {
    if (statements[i] instanceof java.lang.String) {
    String temp = (java.lang.String) statements;
    switch (temp.charAt(0)) {
    case 'S':
    case 's':
    case '?':
    System.out.println(temp);
    rs = stmt.executeQuery(temp);
    if (serializeFlag) {
    // serialize the resultSet
    try {
    java.io.FileOutputStream fileOutputStream = new
    java.io.FileOutputStream("testrs.tmp");
    java.io.ObjectOutputStream
    objectOutputStream = new java.io.
    ObjectOutputStream(fileOutputStream);
    objectOutputStream.writeObject(rs);
    objectOutputStream.flush();
    objectOutputStream.close();
    fileOutputStream.close();
    catch (Exception e) {
    System.out.println(e);
    e.printStackTrace();
    System.exit(1);
    rs.close(); //Let the CONCUR_UPDATABLE resultSet release its open files at once.
    rs = null;
    // deserialize the resultSet
    try {
    java.io.FileInputStream fileInputStream = new
    java.io.FileInputStream("testrs.tmp");
    java.io.ObjectInputStream objectInputStream = new
    java.io.ObjectInputStream(
    fileInputStream);
    rs = (ResultSet) objectInputStream.
    readObject();
    objectInputStream.close();
    fileInputStream.close();
    catch (Exception e) {
    System.out.println(e);
    e.printStackTrace();
    System.exit(1);
    ResultSetMetaData resultSetMetaData = rs.
    getMetaData();
    int iNumCols = resultSetMetaData.getColumnCount();
    for (int j = 1; j <= iNumCols; j++) {
    // System.out.println(resultSetMetaData.getColumnName(j));
    /* System.out.println(resultSetMetaData.getColumnType(j));
    System.out.println(resultSetMetaData.getColumnDisplaySize(j));
    System.out.println(resultSetMetaData.getPrecision(j));
    System.out.println(resultSetMetaData.getScale(j));
    System.out.println(resultSetMetaData.
    getColumnLabel(j)
    + " " +
    resultSetMetaData.getColumnTypeName(j));
    Object colval;
    rs.beforeFirst();
    long ncount = 0;
    while (rs.next()) {
    // System.out.print(rs.rowDeleted()+" ");
    ncount++;
    for (int j = 1; j <= iNumCols; j++) {
    colval = rs.getObject(j);
    System.out.print(colval + " ");
    System.out.println();
    rs.close(); //Let the resultSet release its open tables at once.
    rs = null;
    System.out.println(
    "The total row number of resultset: " + ncount);
    System.out.println();
    break;
    default:
    int updateCount = stmt.executeUpdate(temp);
    System.out.println(temp + " : " + updateCount);
    System.out.println();
    else if (statements[i] instanceof java.lang.Object[]) {
    int[] updateCounts;
    Object[] temp = (java.lang.Object[]) statements[i];
    try {
    for (int j = 0; j < temp.length; j++){
    System.out.println( temp[j]);
    stmt.addBatch( (java.lang.String) temp[j]);
    updateCounts = stmt.executeBatch();
    for (int j = 0; j < temp.length; j++)
    System.out.println((j+1)+":"+temp[j]);
    for (int j = 0; j < updateCounts.length; j++)
    System.out.println((j+1)+":" +updateCounts[j]);
    catch (java.sql.BatchUpdateException e) {
    updateCounts = e.getUpdateCounts();
    for (int j = 0; j < updateCounts.length; j++)
    System.out.println((j+1)+":"+updateCounts[j]);
    java.sql.SQLException sqle = e;
    do {
    System.out.println(sqle.getMessage());
    System.out.println("Error Code:" +
    sqle.getErrorCode());
    System.out.println("SQL State:" + sqle.getSQLState());
    sqle.printStackTrace();
    while ( (sqle = sqle.getNextException()) != null);
    catch (java.sql.SQLException sqle) {
    do {
    System.out.println(sqle.getMessage());
    System.out.println("Error Code:" +
    sqle.getErrorCode());
    System.out.println("SQL State:" + sqle.getSQLState());
    sqle.printStackTrace();
    while ( (sqle = sqle.getNextException()) != null);
    stmt.clearBatch();
    System.out.println();
    stmt.close();
    con.close();
    catch (SQLException sqle) {
    do {
    System.out.println(sqle.getMessage());
    System.out.println("Error Code:" + sqle.getErrorCode());
    System.out.println("SQL State:" + sqle.getSQLState());
    sqle.printStackTrace();
    while ( (sqle = sqle.getNextException()) != null);
    catch (Exception e) {
    System.out.println(e.getMessage());
    e.printStackTrace();

  • I need urgent help in business catalyst SOAP api for [Product_UpdateInsert] operation.

    Hi Everyone, I am new in Business Catalyst, but, my company is working with BC for a while. I have a task to import external data (such as catalogue, products, orders, shopping cart etc) to business catalyst native tables via SOAP api. I am able to use "Product_ListRetrieve" function that gave me products from BC. Now I want to insert and update product list, for which the api call is "Product_UpdateInsert". I am not being able to feed in even a single record. I need any code (jquery, php, javascript, java etc) as a sample, that works with SOAP api for this function. It is very urgent. Please help me. Thanks in advance. I have tried with the code below, but I am getting bugs (format not valid):
    try
         $soapfileurlUpdate="https://worldsecuresystems.com/catalystwebservice/catalystecommercewebservice.asmx?wsdl";
         $soap_clientUpdate = new SoapClient($soapfileurlUpdate);
         $array_of_products=array("Products",
      array("productId"=>"1128",
       "productCode"=>"1128",
               "productName"=>"Bostik 1128  Heat Transfer Sealer (thermo Putty) 460g Cartridge",
               "description"=>"Bostik 1128  Heat Transfer Sealer (thermo Putty) 460g Cartridge",
               "smallImage"=>"images/products/TEMUFF-7_New.jpg",
               "largeImage"=>"/images/products/TEMUFF-7.jpg",
               "cataloguesArray"=>array("DUCTS"), //array("string"=>"DUCTS"),
               "pricesSaleArray"=>array("US/9.95"),//array("string"=>"US/9.95"),
               "pricesRetailArray"=>array("US/9.95"),
               "pricesWholesaleArray"=>array("US/5.00"),
               "wholesaleTaxCodeArray"=>array("US/0.00"),
               "taxCodeArray"=>array("GB/VAT"),
               "groupProducts"=>array(""),
               "groupProductsDescriptions"=>array(""),
               "supplierEntityId"=>"1",
               "supplierCommission"=>"2",
               "weight"=>"20",
               "relatedProducts"=>array(""),
               "tags"=>"",
               "unitType"=>"",
               "minUnits"=>"1",
               "maxUnits"=>"2",
               "inStock"=>"10",
               "onOrder"=>"0",
               "reOrder"=>"0",
               "inventoryControl"=>"true",
               "canPreOrder"=>"0",
               "custom1"=>"",
               "custom2"=>"",
               "custom3"=>"",
               "custom4"=>"",
               "popletImages"=>"",
               "enabled"=>"true",
               "deleted"=>"false",
               "captureDetails"=>"true",
               "downloadLimitCount"=>"22",
               "limitDownloadsToIP"=>"0",
               "isOnSale"=>"true",
               "hideIfNoStock"=>"false",
               "productAttributes"=>"Size*|5|N:Small|,Medium|,Large|;Color*|5|N:Red|,Wh",
               "isGiftVoucher"=>"false",
               "enableDropShipping"=>"true",
               "productWeight"=>"20",
               "productWidth"=>"20",
               "productHeight"=>"29",
               "productDepth"=>"20",
               "excludeFromSearch"=>"0",
               "productTitle"=>"Bostik 1128  Heat Transfer Sealer (thermo Putty) 460g Cartridge",
               "cycletypeId"=>"1",
               "cycletypeCount"=>"1",
               "slug"=>"item-1",
               "hasVariations"=>"false",
               //"variations"=>array("ProductVariation"=>"true"),
               "roleResponsible"=>"",
               "metaDescription"=>""));
      echo "SOAP Data To Be Inserted:<br/>";
      var_dump($array_of_products);
      $vectUpdate = array("soap_version"   => SOAP_1_2,
                     "username"=>$soapusername,
                     "password" => $soappassword,
                     "siteId"=> $soapsiteid,
                     "productList"=>$array_of_products);
      $quoteUpdate = $soap_clientUpdate->Product_UpdateInsert($vectUpdate);
         $status = 1;
      echo "BC side is updated.";
      catch (SoapFault $sf)
         $errorlogText=date("Y-m-d h:i:s A"). "=> Error occurred while inserting data to business catalyst. \r\n";
      echo $errorlogText. " See log for errors.\r\n";
      echo $sf->getTrace();
      //fwrite($errorLogFile,$errorlogText. "Error Dump: ". $sf->getMessage());
      return;

    Hi BCMan, Thanks for replying. Yes, the error is from BC side. The format was invalid. I fixed the issue today. Actually, I was pushing data from my PHP server to BC host system using SOAP api. I am still getting format errors, but I am able to insert data into products table.
    One more question if you don't mind. Is it possible to use JQuery/Javascript to push data into BC tables in real time (while browsing products table) using customized pages? There are documents to solve this. However, I could not find examples of how I could fetch data from JSON file using JQuery and then populate products/catalog/order tables.
    I appreciate your help.
    Thank you.

  • Reproting tool(api) for exporting in xls files in different templates

    Hi
    I need api for exporting data into xls files. DIfferent reports everyone has own template and data.
    Please suggest some free java APIs or tools that can be intergrated with java web application easy.

    you should use windward reports. we can use excel for the template, report, and now even the data source. And our design tool is word/excel/powerpoint, so you're already trained. you need a powerful, secure enterprise-level Java/J2EE reporting engine to back your critical reporting and document generation systems.
    The Windward Engine installs easily, runs on one or more servers as part of your server-based application, and can easily produce hundreds of thousands of reports per day on a single server. The server is a pure Java product (and also is available as pure .NET).
    Even better news for you guys: When combined with the Windward report design tools AutoTag and AutoTag Max, users design, schedule and run reports from within Microsoft Office. That means you can turn over reporting to the business group and get back to more interesting work.
    You don't have to take my word for it. Check out this [robust Java reporting engine|http://www.windwardreports.com/java.htm?source=pday909&campaign=pday909&utm_source=everyr&utm_medium=post&utm_campaign=pday909&id=203] for yourself.

  • System Configuation API for Configuration Management

    Hi all,
    I've been toying around with the system configuration API for a little bit now and I see it as a great way for companies to use it as part of an overall configuration management utility. For example, if a customer wants to build up a new test rack with the same hardware aliases, configuration, and installed NI software then the system configuration API helps with most of this. I've already created a simple utility that can be used to query the currently installed hardware (of a local or remote system) and then programmatically rename the aliases based on a loaded configuration file or manual input. Likewise, the MAX export/import functionality can also be used. My application of this would primarily be non-RT and mostly PXI products but a good design could enable it to work for both.
    So, my question to the community is actually on the side where I haven't used the System Configuration API yet which is querying the installed software on a system. The software querying functionality of the System Configuration API is really only geared towards RT targets and not Windows based controllers. I'd like to be able to export a list of installed software/drivers on an older system and then compare it with what is installed on a newer system to make it easier for customers to determine whether they have everything required. I know that the MAX export or report has a list of installed software but is parsing this the best way of retrieving installed software (It's a beast of a file)? Does anyone have a better method?
    Regards,
    Tim Sileo
    RF Field Account Specialist
    National Instruments
    You don’t stop running because you get old. You get old because you stop running. -Jack Kirk, From "Born to Run" by Christopher McDougall.
    Solved!
    Go to Solution.

    Not sure if the attached VI will work across various Windows OS's since it uses a powershell command and I also don't know how well the command used will work across 32/64 bit applications...But, so far this little VI I came up with is returning the software that I want to query. Hope this is usefull for others and, as always, suggestions for improvement are welcomed!
    Tim Sileo
    RF Field Account Specialist
    National Instruments
    You don’t stop running because you get old. You get old because you stop running. -Jack Kirk, From "Born to Run" by Christopher McDougall.
    Attachments:
    NI_Software_Query(CMD).vi ‏12 KB

  • Enableing trace through dbms_system package.

    Hi All,
    DB 8.1.7.0.0
    OS : HPUX.
    I am trying to enable trace through dbms_system package for a perticular session. I am still to figure it out, how can I find this perticular trace file. After enabling a trace, I did cd'd to updump directory and found, there w're no file generated.Anyone have any idea, how to go about this.
    ptmsap> ls -ltr | tail
    -rw-r-----   1 oraptsap   dba           2494 Jul 21 12:45 ora_21730_ptmsap.trc
    -rw-r-----   1 oraptsap   dba           3062 Jul 21 12:53 ora_22736_ptmsap.trc
    -rw-r-----   1 oraptsap   dba           4988 Jul 21 13:01 ora_23791_ptmsap.trc
    -rw-r-----   1 oraptsap   dba           4378 Jul 21 13:10 ora_24901_ptmsap.trc
    -rw-r-----   1 oraptsap   dba          12146 Jul 21 13:20 ora_26277_ptmsap.trc
    -rw-r-----   1 oraptsap   dba           3315 Jul 21 13:30 ora_27270_ptmsap.trc
    -rw-r-----   1 oraptsap   dba           3314 Jul 21 13:38 ora_28622_ptmsap.trc
    -rw-r-----   1 oraptsap   dba            822 Jul 21 13:45 ora_29712_ptmsap.trc
    -rw-r-----   1 oraptsap   dba           3300 Jul 21 13:54 ora_804_ptmsap.trc
    -rw-r-----   1 oraptsap   dba           4949 Jul 21 14:01 ora_1985_ptmsap.trc
    14:07:38 SQL>  EXECUTE dbms_system.set_sql_trace_in_session (41, 61052, TRUE);
    PL/SQL procedure successfully completed.
    14:07:46 SQL> !ls -ltr | tail
    -rw-r-----   1 oraptsap   dba           2494 Jul 21 12:45 ora_21730_ptmsap.trc
    -rw-r-----   1 oraptsap   dba           3062 Jul 21 12:53 ora_22736_ptmsap.trc
    -rw-r-----   1 oraptsap   dba           4988 Jul 21 13:01 ora_23791_ptmsap.trc
    -rw-r-----   1 oraptsap   dba           4378 Jul 21 13:10 ora_24901_ptmsap.trc
    -rw-r-----   1 oraptsap   dba          12146 Jul 21 13:20 ora_26277_ptmsap.trc
    -rw-r-----   1 oraptsap   dba           3315 Jul 21 13:30 ora_27270_ptmsap.trc
    -rw-r-----   1 oraptsap   dba           3314 Jul 21 13:38 ora_28622_ptmsap.trc
    -rw-r-----   1 oraptsap   dba            822 Jul 21 13:45 ora_29712_ptmsap.trc
    -rw-r-----   1 oraptsap   dba           3300 Jul 21 13:54 ora_804_ptmsap.trc
    -rw-r-----   1 oraptsap   dba           4949 Jul 21 14:01 ora_1985_ptmsap.trc
    14:09:10 SQL> EXECUTE dbms_system.set_sql_trace_in_session (19, 12693, FALSE);
    PL/SQL procedure successfully completed.
    14:09:13 SQL> !ls -ltr| tail
    14:09:38 SQL> !ls -ltr | tail
    -rw-r-----   1 oraptsap   dba           2494 Jul 21 12:45 ora_21730_ptmsap.trc
    -rw-r-----   1 oraptsap   dba           3062 Jul 21 12:53 ora_22736_ptmsap.trc
    -rw-r-----   1 oraptsap   dba           4988 Jul 21 13:01 ora_23791_ptmsap.trc
    -rw-r-----   1 oraptsap   dba           4378 Jul 21 13:10 ora_24901_ptmsap.trc
    -rw-r-----   1 oraptsap   dba          12146 Jul 21 13:20 ora_26277_ptmsap.trc
    -rw-r-----   1 oraptsap   dba           3315 Jul 21 13:30 ora_27270_ptmsap.trc
    -rw-r-----   1 oraptsap   dba           3314 Jul 21 13:38 ora_28622_ptmsap.trc
    -rw-r-----   1 oraptsap   dba            822 Jul 21 13:45 ora_29712_ptmsap.trc
    -rw-r-----   1 oraptsap   dba           3300 Jul 21 13:54 ora_804_ptmsap.trc
    -rw-r-----   1 oraptsap   dba           4949 Jul 21 14:01 ora_1985_ptmsap.trc

    SQL> select sid, serial# from sys.v_$session where ...
    SID SERIAL#
    1 12
    Enable tracing for your selected process:
    SQL> ALTER SYSTEM SET timed_statistics = true;
    SQL> execute dbms_system.set_sql_trace_in_session(1, 12, true);
    Ask user to run just the necessary to demonstrate his problem.
    Disable tracing for your selected process:
    SQL> execute dbms_system.set_sql_trace_in_session(1,12, false);
    Look for trace file in USER_DUMP_DEST:
    If you don't know your USER_DUMP_DEST.
    look for system parameter
    SQL> show parameter user_dump_dest
    KR.

  • Adobe needs to develop an api for communicating with HTML Overlays & Indesign Objects

    I'm a front-end developer who has been assigned the task of developing one of our client's DPS every month. While I praise Adobe for saving a dying a industry and giving non-developers simple GUI controls, they need to develop an api for communicating from HTML Overlays to Indesign MSOs and other objects.
    I've had to do some intense animations/pages; which I in turn simply developed all in HTML5 and did an overlay. The time put into those pages could have been greatly reduced if their was a proper API in place to trigger different MSO and events. Is anybody at Adobe working on this? As DPS matures, and more developers are tasked with making folios it's imperative we have a proper way way to develop.

    We had a page for embedded movies in a lightbox; the client said customers were complaining that the folios were too large and took too long to download. So we switched to youtube streaming page, but they wanted a poster and autoplay enabled. If you have ever programmed with mobile video, you'll know devices are extremely difficult to manipulate.
    I had to do an html overlay with a bunch of transparent divs for hotspots and buttons. If I could have told Indesign to move different objects layer orders or go to a different MSO it would have saved me hours.
    Doesn't DPS support localstorage? Couldn't you guys whip up a little api to trigger events via localstorage?
    Off topic, another request:
    - enable the safari webkit inspector for debugging connected ipads with folios that have html overlays; you guys don't fully support HTML5 or certain js events and it's extremely annoying and difficult to debug. 

  • ActiveX API vs Engine API

    Hello,
    I want to develop an Operator Interface with C#, but I do not know whether I should use the TestStand ActiveX API or TestStand Engine API. From my view, the TestStand ActiveX API is more sampler than the Engine API, but the Engine API is more flexible and powerful.
    Actually, we do not know what it is the different between the ActiveX API and Engine API, could you please to tell me in which case I should use the ActiveX API and in which case I should use Engine API?
    What is the advantage and disadvantage of ActiveX API and Engine API separately?
    Thanks in advance!
    Regards
    Simon
    Solved!
    Go to Solution.

    Hi Doug,
    At first, thanks for your feedback!
    My question is that I want to know the difference between the UI Controls API (Smart Pointer) and the ActivieX API (Pure API)?
    The UI Controls API means the API defined in TestStand help document "TestStandUIControlsReferencePoster.pdf", and ActivieX API means the API defined in document "TestStandAPIReferencePoster.pdf".
    And I do not know when I should use the UI Controls API and when I should use the ActiveX API?
    It seems that the ActiveX API has more powerful  to control/access TestStand than the UI Controls API, is that right?
    Thanks!
    Regards
    Simon

  • Oracle9iAS Reports Services Engine API

    Hi,
    In Oracle9iAS Reports Service documentation, it mentions that there's an API for creating your own engine called Oracle9iAS Reports Services Engine API. Could anyone tell me where can I find information about this API?
    Thank you in advance,
    Fred

    Hi Fred,
    We are working on publishing the Pluggable Engine sample code and documentation soon on OTN. Meanwhile, if you post your email address, I could send you the sample code.
    By the way all Reports API's are available here:
    http://otn.oracle.com/products/reports/apis/index.html
    Navneet.

  • Using User Management Engine API in Portal Application

    Hello,
    I actually develope a simple Portal Application, which print any User-Infos. Especially I need the date of the last Login. For this purpose I read the Article Using User Management Engine API - Portal - SAP Library where they use the library com.sap.security.api. In the articel they describe also, how to set DC dependencies. But this doesn't function for a Portal Component, because they do not appear in the Component Browser.
    So my question is, how get I the User Management Engine API referenced in my Portal Application, so that I can use the package com.sap.security.api. In the filesystem I can not find a JAR-File for the Development Componenten tc/je/usermanagement/api
    Greetings,
    Thomas

    HI,
    Getting the last logon date can be a small problem. There is a method called: getLastSuccessfulLogonDate, but that one is deprecated since NW 2004s.
    https://help.sap.com/javadocs/NW04S/SPS09/se/com/sap/security/api/IUserAccount.html#getLastSuccessfulLogonDate()
    In NW 7.3 the method is still there: Generated Documentation (Untitled), but even so, JavaDoc states that the value is not updated automatically
    "get last sucessful logon date NOTE: This attribute is not automatically updated during login."

Maybe you are looking for

  • FTP - Sender File Adapter - Exactly Once In Order

    We are running SP10 on PI7.0 I have a file (FTP - content conversion) to idoc scenario and this works well apart from the communication channel picking up the files in the wrong order. I have set to Exactly Once In Order, and the nuemrically file is

  • How to view XML file generated by Reports 6i in browser ?

    Hi, I have generated a report in XML file format. However, when I open this file in a browser, it displays the contents in the browser in the following fashion : <?xml version="1.0" ?> - <!-- Generated by Oracle Reports version 6.0.8.8.3 --> - <MSIO1

  • Abcense Type Only One time

    Dear All ; hwo can i manage Abcense for the employee to be one time for him all his life and can not be taken another time? Need the answer ASAP please Best Regards

  • IMac G5 iSight won't boot from external optical drive . . . FW or USB

    Hello, all. I have an iMac G5 iSight with a busted optical drive. Every six months or so, OS 10.4 eats itself (directory structure goes corrupt), and I need to reinstall. The issue I'm having is that the computer won't boot off of my external optical

  • Iplanet ldap authentication

    In my web application running under Iplanet webserver with LDAP authentication, how would I retrieve the ID of the user currently using my webapp (he's sure to have passed the authentication since he's already insed my app) Thanks for any info! Franc