Error in SQL script  generated from OWB 10.1.0.4.0 Metadata Export Bridge

Hi... maybe i´m abusing this forum .. but .. when you have questions .. you have to look for answers
I use OWB 10.1.0.4 to buid some dimensions and one cube. I validate and generate this object and the result was successful.
I made the deployment and everithing goes OK !!!.
The problem appears when i want to generate metadata over this objects. I use the option Project > Metadata > Export > Gridge and use the option "Oracle 9i OLAP" like the product where i want to transfer the metadata .. and i got the SQL script without any errors. I suppose that i take the sql script i run it into SQL*plus ... so i do it.. and i got this errors:
declare
ERROR at line 1:
ORA-06501: PL/SQL: program error
ORA-06512: at line 119
ORA-06510: PL/SQL: unhandled user-defined exception
The same error for any dimension in script..
Any help .. will be fully valued for me ..
best regards
Lisandro.

But how did you identify that there are no runtime records in all_rt_audit_executions for your PL/SQL procedure?
I guess you tried to search by procedure name... (but what column you used for searching)
In my case all_rt_audit_executions and wb_rtv_audit_executions contains the same number of records, so they should be always in sync.
Oleg

Similar Messages

  • Connect SQL server source from OWB

    Hi,
    I have to connect to SQL Server source from OWB.
    I am using OWB 10.2 version and Owb is installed on UNIX platform.
    I have created system DSN, made respective entries in hs/admin and edited listener.ora file.
    In OWB Non-Oracle sorces trying to connect with ODBC connection to SQL server source.
    It is throwing erorr 'ORA-28545:error diagonised by Net8 agent when connecting to an agent Unable to retrieve text of NETWORK/NCR message 65535
    ORA-02063: preceding 2 lines from OWB-2339'
    How to check System DSN is setup properly on UNIX or not.
    Could anyone help out on this.

    Hi David,
    I have created db link and queried with select statement.
    It has thrown following error.
    " ORA-12537: TNS:connection closed".
    And, I don't know how to use "trace level gateway service configuration property in the service .ora file".
    I want to start from the first.
    Could you please give me the guidelines on, how to connect to a Sql server source(Which is on Remote Server) from OWB.
    What are the prerequisites and steps.
    Thanks for your help,
    Shaik.

  • Calling a sql script file from a function.

    Hi,
    I need to call a sql script file from a user defined function. Currently i am trying to do this in Oracle SQL Developer. i tried calling with
    @ {filename}, EXECUTE IMMEDIATE etc, but nothing worked. I get the Compiler error.
    Basically my need is to call catldap.sql file so that DBMS_LDAP package gets loaded and then I can call the API functions from this.
    Please let me know if this is possible doing in a PL/SQL function.
    thanks,
    Naresh

    user784520 wrote:
    I need to call a sql script file from a user defined function. Not possible.. and it seems that you do not fully understand the client-server within the Oracle context.
    All SQL and PL/SQL are parsed and executed by an Oracle server process. The SQL and PL/SQL engines each expects a single command block at a time. Neither of these can accept a series of separate commands as a single call and then execute each in turn. The SQL engine expects a single SQL statement at a time. The PL engine expects a single PL/SQL anonymous block at a time.
    This server process also cannot break into the local file system to access script files. Nor can it hack across the network to access script files on the client.
    In order for the server process to access local files, a directory object needs to be created and the current Oracle schema needs read and/or write access on that directory object. As sound security principles apply.
    There's no PL/SQL command to execute a script. You must not mistake SQL*Plus commands (this client has a very limited vocabulary) with PL/SQL commands. SQL*Plus executes its own commands.. and send SQL and PL/SQL commands (a statement block a time) to the Oracle server process to be serviced and executed.
    It is also a very bad idea to execute external script contents from inside an Oracle server process - as that script resides externally and thus outside Oracle's security mechanisms. This means that is is pretty easy for someone to access that script, compromise it, and then have you inject and execute the contents of that script into the database.
    It is not sound security.
    Last issue - it is even worse to have application PL/SQL code dynamically creating (or trying to create) portions of the Oracle data dictionary and PL/SQL call interface.
    The database needs to be installed correctly - and this includes loading and executing the required rdbms/admin scripts during database installation. It does not make sense at all for application code to try and execute such scripts. It raises numerous issues, including having to allow that application code full and unrestricted SYS access to the database instance. A very serious security violation.
    I do not agree at all with the approach you want to use.

  • Promt from user to proceed in case of error in sql script in sqlplus

    I am using Oracle 10g on Linux platform. I am executing a control.sql script from sqlplus from where i cam calling three *.sql scripts:
    control.sql
    SPOOL test.log
    SELECT 'Start of Control File at:'||systimestamp from dual;
    @00_create_table_scripts.sql
    @01_alter_table_scripts.sql
    @02_insert_scripts.sql
    SELECT 'End of Control File at:'||systimestamp from dual;
    SPOOL OFFI want that whenver there is an error in any of the three sql scripts, a prompt should be displayed asking the user if he wants to continue or not(Y/N). If he presses Y, then the remaining script shall be executed, otherwise execution should be stopped there.
    Can any body guide me how can i do this?
    Thanks.

    I want that whenver there is an error in any of the three sql scripts, a prompt should be displayed asking the user if he wants to continue or not(Y/N). If he presses Y, then the remaining script shall be executed, otherwise execution should be stopped there.If you have toad installed on your machine ,please run control.sql file from your machine .Toad will prompt an alert message saying that so and so error occurred and do you want to continue with that exception or not .
    Thanks,
    Prakash

  • How to test the script generated by OWB?

    Hi!! I am now using Oracle 9i. What kind of Oracle software that I should use to run the script that was generated by OWB? Thanks.
    For example"
    OPTIONS ( DIRECT=TRUE,PARALLEL=FALSE, ERRORS=50, BINDSIZE=50000, ROWS=200, READSIZE=65536)
    LOAD DATA
    CHARACTERSET ZHS16GBK
    INFILE 'C:\out.csv'
    READBUFFERS 4
    INTO TABLE "DIFF_OUT"
    APPEND
    REENABLE DISABLED_CONSTRAINTS
    FIELDS
    TERMINATED BY ','
    OPTIONALLY ENCLOSED BY '"'
    "CUST_NUM" CHAR ,
    "ACCT_NUM" CHAR ,
    "CUSTNAME" CHAR ,
    "ORDER_NO" CHAR

    Simth,
    Since you use the OWB framework, you would deploy the generated script using the deployment manager and then you can execute using the deployment manager also.
    Please refer to the quick guide:
    http://otn.oracle.com/products/warehouse/pdf/92QuickStartGuide.pdf
    You also may want to check out the deployment and execution section of the user's guide:
    http://otn.oracle.com/documentation/warehouse.html
    Thanks,
    Mark.

  • Executing .sql scripts file from command prompt

    I had created the .sql scripts for
    --Create Database
    --Create tables
    --Create Stored procedure
    I am using SQL server 2008.
    Now i want to deploy it into the target server using the command prompt.
    How can I call to execute that script on the target server?

    with few errors as "Incorrect Syntax near "GO"".
    Hello,
    GO is a command, which is only known & interpretted by SSMS + SqlCmd.exe; SQL Server engine / data access components don't know this command, therefore you get an error.
    See
    Query Options Execution (General Page); for SSMS you can change it from GO to any other term.
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

  • I need to get error from sql script launched from class

    Hello.
    I need to run a bat file (windows xp) inside a PL/SQL procedure and I must check the codes returned by the command.
    I am trying with these files:
    comando.bat
    sqlplus -s fernando/sayaka@ferbd %1
    exit /Bkk.sql
    whenever sqlerror exit sql.sqlcode rollback
    declare
      v_res number;
    begin
      select 1
           into v_res
           from dual
       where 1=2;
    end;
    exit sql.sqlcodeEjecutarProcesoSOreturn.java
    import java.lang.Runtime; 
    import java.lang.Process; 
    import java.io.IOException; 
    import java.lang.InterruptedException;   
    public class EjecutarProcesoSOreturn
        public static int ejecuta(java.lang.String  arg0, java.lang.String arg1)
            java.lang.String[] args= new String[2];
            args[0]=arg0;
            args[1]=arg1;
            int ret = 0;
            System.out.println("En ejecuta");           
            try
                /* Se ejecta el comando utilizando el objeto Runtime
                y Process */               
                Process p = Runtime.getRuntime().exec(args);      
                try
                    /* Esperamos la finalizacion del proceso */                 
                    ret = p.waitFor(); 
                    //ret = p.exitValue();                
                catch (InterruptedException intexc)
                    System.out.println("Se ha interrumpido el waitFor: " +  intexc.getMessage());
                    ret = -1;            
                System.out.println("Codigo de retorno: "+ ret);    
            catch (IOException e)
               System.out.println("IO Exception de exec : " +               e.getMessage());              
               e.printStackTrace();          
               ret = -1;            
            finally
               return ret;
        public static void main(java.lang.String[] args)
            System.out.println("En main");  
            System.out.println("args[0] " + args[0]);           
            System.out.println("args[1] " + args[1]);   
            ejecuta(args[0], args[1]);
    }  When I launch the script from a console I get:
    D:\Ejercicios_Oracle\BATCH_SCRIPTS>comando.bat @kk.sql
    D:\Ejercicios_Oracle\BATCH_SCRIPTS>sqlplus -s fernando/sayaka@ferbd @kk.sql
    declare
    ERROR en lÝnea 1:
    ORA-01403: no se han encontrado datos
    ORA-06512: en lÝnea 4
    D:\Ejercicios_Oracle\BATCH_SCRIPTS>exit /BAnd if I check the errorlevel I get:
    D:\Ejercicios_Oracle\BATCH_SCRIPTS>echo %errorlevel%
    1403When I run it the class I get:
    D:\Ejercicios_Oracle\BATCH_SCRIPTS>java EjecutarProcesoSOreturn comando.bat @kk.sql
    En main
    args[0] comando.bat
    args[1] @kk.sql
    En ejecuta
    Codigo de retorno: 0And if I check the errorlevel I get:
    D:\Ejercicios_Oracle\BATCH_SCRIPTS>echo %errorlevel%
    0How can I get the code 1403 returned from the class?
    Thanks in advance.

    I am trying to extract the error code from the Process.getInputStream() but it seems as if I do not have some privileges.
    This is my class right now:
    import java.lang.Runtime; 
    import java.lang.Process; 
    import java.io.IOException; 
    import java.lang.InterruptedException;   
    import java.io.BufferedReader;
    import java.io.InputStreamReader;
    import java.io.InputStream;
    public class EjecutarProcesoSOreturn
        public static int ejecuta(java.lang.String  arg0, java.lang.String arg1)
            java.lang.String[] args= new String[2];
            args[0]=arg0;
            args[1]=arg1;
    int ret = -100;
            //System.out.println("En ejecuta");           
            try
                /* Se ejecuta el comando utilizando el objeto Runtime y Process */     
                Process p = Runtime.getRuntime().exec(args);      
    ret = -101;   
                try
                    /* Esperamos la finalizacion del proceso */                 
                    ret = p.waitFor(); 
                    //ret = p.exitValue();
                    InputStream bis = p.getInputStream();
                    InputStreamReader isr = new InputStreamReader(bis);
                    BufferedReader br = new BufferedReader(isr);
                    String line = null;
                    String msg = null;
                    String errCode = null;
                    boolean oraError = false;
    ret = -102;   
                    while ( (line = br.readLine()) != null)   
                      //System.out.println(line);
                      if ((line.length() >= 5) & (!oraError))
                        msg = line.substring(0,4); 
                        if (msg.equals("ORA-"))
                             oraError = true;
                             errCode = line.substring(4,9);
    ret = -103;   
                          //System.out.println(errCode);
                          ret = Integer.parseInt(errCode);;
                catch (InterruptedException intexc)
                    //System.out.println("Se ha interrumpido el waitFor: " +  intexc.getMessage());
                    ret = -1;            
            catch (IOException e)
               //System.out.println("IO Exception de exec : " +               e.getMessage());              
               //e.printStackTrace();          
               ret = -1;            
            catch (Exception e)
               //System.out.println("IO Exception de exec : " +               e.getMessage());              
               //e.printStackTrace();          
               ret = -104;            
            finally
               //ret = -100;   
               System.out.println("Codigo de retorno: "+ ret);
               return ret;
        public static void main(java.lang.String[] args)
            System.out.println("En main");  
            System.out.println("args[0] " + args[0]);           
            System.out.println("args[1] " + args[1]);   
            ejecuta(args[0], args[1]);
    }  And when I call the main method with these parameters then I get:
    D:\Ejercicios_Oracle\BATCH_SCRIPTS>java EjecutarProcesoSOreturn d:\comando.bat @d:\kk.sql
    En main
    args[0] d:\comando.bat
    args[1] @d:\kk.sql
    Codigo de retorno: 1403I have this pl/sql function:
    CREATE OR REPLACE FUNCTION FERNANDO.EjecutarProcesoSOreturn (param1 VARCHAR2, param2 VARCHAR2) return NUMBER
    AS LANGUAGE JAVA  name 'EjecutarProcesoSOreturn.ejecuta(java.lang.String, java.lang.String) return java.lang.int';I have granted some privileges to the user FERNANDO:
    begin
        dbms_java.grant_permission
        ('FERNANDO',
         'java.io.FilePermission',
         'd:\comando.bat',
         'execute');
        dbms_java.grant_permission
        ('FERNANDO',
         'java.lang.RuntimePermission',
         'writeFileDescriptor' );
        dbms_java.grant_permission
        ('FERNANDO',
         'java.lang.RuntimePermission',
         'readFileDescriptor' );
        dbms_java.grant_permission
        ('FERNANDO',                   
         'java.io.FilePermission',    
         'd:\*',               
         'read,write');
    end;
    /and when I try the function, I get:
    SQL> DECLARE
      2    RetVal NUMBER := 0;
      3    PARAM1 VARCHAR2(200);
      4    PARAM2 VARCHAR2(200);
      5 
      6  BEGIN
      7    PARAM1 := 'd:\comando.bat';
      8    PARAM2 := '@d:\kk.sql';
      9 
    10    RetVal := EJECUTARPROCESOSORETURN ( PARAM1, PARAM2 );
    11    dbms_output.put_line('RetVal: '||RetVal);
    12    --ROLLBACK;
    13  END;
    14  /
    RetVal: -102Could you please tell me what my problem is?

  • Error in MView script generated by DBMS_ODM.CREATEFACTMV_GS

    Hello,
    I run the package (connected with OLAPSYS),DBMS_ODM.CREATEFACTMV_GS, in order to generate DDL script to create materialized view for a cube. When I look the script, I can't see that the quality of the code is not good, here is an example:
    This has been run on the cube ANALYTIC_CUBE, that comes with BI Beans demo:
    create materialized view
    ANALYTIC_CUBE_4_OLAP
    pctfree 5 pctused 40
    parallel
    build immediate
    using no index
    refresh force
    enable query rewrite
    AS
    SELECT
    GROUPING_ID() gid,
    SUM(BIBDEMO_ANALYTIC_FACTS.COSTS) SUM_OF_COSTS,
    SUM(BIBDEMO_ANALYTIC_FACTS.PROMO) SUM_OF_PROMO,
    SUM(BIBDEMO_ANALYTIC_FACTS.QUOTA) SUM_OF_QUOTA,
    SUM(BIBDEMO_ANALYTIC_FACTS.SALES) SUM_OF_SALES,
    SUM(BIBDEMO_ANALYTIC_FACTS.UNITS) SUM_OF_UNITS,
    COUNT(*) COUNT_OF_STAR,
    FROM
    BIBDEMO.BIBDEMO_CHANNEL BIBDEMO_CHANNEL,
    BIBDEMO.BIBDEMO_GEOGRAPHY BIBDEMO_GEOGRAPHY,
    BIBDEMO.BIBDEMO_PRODUCT BIBDEMO_PRODUCT,
    BIBDEMO.BIBDEMO_TIME BIBDEMO_TIME,
    BIBDEMO.BIBDEMO_ANALYTIC_FACTS BIBDEMO_ANALYTIC_FACTS
    WHERE
    (BIBDEMO_GEOGRAPHY.GEOG_STD_CITY = BIBDEMO_ANALYTIC_FACTS.GEOG_LEAVES) AND
    (BIBDEMO_PRODUCT.PROD_STD_PRODUCT = BIBDEMO_ANALYTIC_FACTS.PROD_LEAVES) AND
    (BIBDEMO_TIME.TIME_STD_MONTH = BIBDEMO_ANALYTIC_FACTS.TIME_LEAVES) AND
    (BIBDEMO_CHANNEL.CHAN_STD_CHANNEL = BIBDEMO_ANALYTIC_FACTS.CHAN_LEAVES)
    GROUP BY GROUPING SETS (
    As you can see the group_id () function is wrong, because it miss the dimensions of the cube. Group by is also wrong.
    I am running Oracle 9.2.0.3 on Win2000.
    Any idea ?
    Thanks.
    Claude-Alain

    I downloaded this patch ,
    but after execute on olapodm.pls & olapodm.plb I got an error :
    Errors for PACKAGE BODY DBMS_ODM:
    LINE/COL ERROR
    4226/7 PL/SQL: Statement ignored
    4226/21 PLS-00302: component 'HIERNAME' must be declared
    Which is the problem ?

  • COMMAND TO EXECUTE SCRIPT GENERATED BY OWB TO EXPORT METADATA

    Sorry but I'm trying to execute the script to export metadata to OLAP like is descripbed in the Oracle Warehouse Builder User's Guide, but it doesn't function it give the usege:
    TARGET is the schema where is data:
    sqlplus OLAPDBA/[email protected] TARGET
    Usage: SQLPLUS [ [<option>] [<logon>] [<start>] ]
    where <option> ::= -H | -V | [ [-C <v>] [-L] [-M <o>] [-R <n>] [-S] ]
    <logon> ::= <username>[<password>][@<connect_identifier>] | / | /NOLOG
    <start> ::= @<URL>|<filename>[.<ext>] [<parameter> ...]
    "-H" displays the SQL*Plus version banner and usage syntax
    "-V" displays the SQL*Plus version banner
    "-C" sets SQL*Plus compatibility version <v>
    "-L" attempts log on just once
    "-M <o>" uses HTML markup options <o>
    "-R <n>" uses restricted mode <n>
    "-S" uses silent mode
    Thanks in advance.

    Simth,
    Since you use the OWB framework, you would deploy the generated script using the deployment manager and then you can execute using the deployment manager also.
    Please refer to the quick guide:
    http://otn.oracle.com/products/warehouse/pdf/92QuickStartGuide.pdf
    You also may want to check out the deployment and execution section of the user's guide:
    http://otn.oracle.com/documentation/warehouse.html
    Thanks,
    Mark.

  • Runtime error on sql script

    Hi
    i have a filed start_time in table has NUMBER(38).the number is in seconds format. I am converting this into HH24:MI:SS filed.
    in sql, i have statement like this:
    to_char(to_date(start_time,'sssss'),'hh24:mi:ss')
    when i run script i am getting error ORA-01853: seconds in day must be between 0 and 86399           
    I think when start_time exceeds 24:00:00 time period. it is giving error. 1 days = 60*60*24=86400
    If it is bellow 23:59:59 it is working fine. How can i get to run this script evern if start time is more than 24 hours.
    pl help.
    thx, M.

    SQL> with t as (
      2             select 86400 + 1 start_time from dual union all
      3             select 86400 + 3600 + 55 * 60 from dual
      4            )
      5  select  start_time,
      6          trunc(start_time / 3600) ||
      7          to_char(trunc(sysdate)+numtodsinterval(start_time,'second'),':MI:SS')
      8    from  t
      9  /
    START_TIME TRUNC(START_TIME/3600)||TO_CHAR(TRUNC(SYSDATE)
         86401 24:00:01
         93300 25:55:00
    SQL> SY.

  • Sql query generator from xml data

    Hi,
    I am looking for an open source tool in java which would generate the sql query with an xml configuration file as input. The xml configuration file schema would be defined by the tool and and would provide placeholders for giving the various information required to build the sql query.
    Are there any available?
    Please let me know.
    Anshuk

    hi All,
    I tried below . but still no luck .
    CREATE OR REPLACE FUNCTION get_audit_trail_log(cikey IN INTEGER) RETURN blob IS
    CURSOR c_log(l_cikey INTEGER) IS
    SELECT *
    FROM PROD_SOAINFRA.audit_details atr
    WHERE cikey = l_cikey
    ORDER BY count_id;
    bl BLOB;
    BEGIN
    dbms_lob.createtemporary (bl, TRUE);
    FOR r_log IN c_log(cikey)
    LOOP
    dbms_lob.append (bl,r_log.log);
    END LOOP;
    RETURN(bl);
    END;
    =======================================
    SELECT UTL_RAW.CAST_TO_VARCHAR2(UTL_COMPRESS.LZ_UNCOMPRESS(get_audit_trail_log(ci.cikey)))
    FROM PROD_SOAINFRA.audit_details ci
    WHERE cikey = 848063749
    =======================================
    Error:
    =====================
    ORA-22835: Buffer too small for CLOB to CHAR or BLOB to RAW conversion (actual: 20958, maximum: 2000)
    22835. 00000 - "Buffer too small for CLOB to CHAR or BLOB to RAW conversion (actual: %s, maximum: %s)"
    *Cause:    An attempt was made to convert CLOB to CHAR or BLOB to RAW, where
    the LOB size was bigger than the buffer limit for CHAR and RAW
    types.
    Note that widths are reported in characters if character length
    semantics are in effect for the column, otherwise widths are
    reported in bytes.
    *Action:   Do one of the following
    1. Make the LOB smaller before performing the conversion,
    for example, by using SUBSTR on CLOB
    2. Use DBMS_LOB.SUBSTR to convert CLOB to CHAR or BLOB to RAW.

  • Dimension load through sql script generated by AWM

    Hi,
    I have taken the script which AWM has generated while loading a dimenson. I created it as a procedure in the schema where the AW having this dimension exists. The procedure works well when executed in this schema.
    Now I want to load the dimension through other schema by executing the procedure. I did following to achieve this:-
    1) Grant execute on the procedure is given to new schema
    2) Grant all on aw$<aw name>(dim exits in this AW) to the new schema
    When I try to run the procedure this give me following error:
    Successoracle.AWXML.AWException: Action BUILDDATABASE failed on object XPRO_OLAP_WH.XPRO_OLAP_WH
    Am I missing something?
    Thanks
    Brijesh

    Which version?
    If 11g, try the following too.
    a) use object security (available via awm, right click on dimension and select object security) to give access to dimension for other schema
    b) use keyword "AUTHID CURRENT_USER" in pl/sql package/procedure definition.
    c)
    grant OLAP_USER to <new_schema>;
    grant OLAP_XS_ADMIN to <new_schema>;
    Try a), b) first. Failing that, try a), b) and c).
    HTH
    Shankar

  • Urgent - Error calling web service generated from plsql package

    Hi,
    I am using Jdeveloper 10.1.3 production release.
    I am trying to publish a plsql packaged procedure as a web service.
    My first question is -
    When I am publishing the plsql API as a WS, should I choose the style Document/Wrapped or RPC Literal? Document Wrapped is the default in the wizard.
    My second question - Depending on whether I choose Document/Wrapped or RPC Literal style, I get 2 different errors when I try to run the client java file (generated by Jdeveloper) that calls the web service. The client java compiles successfully but when I run I get these messages:
    Document/Wrapped error -
    D:\jdev1013\jdk\bin\javaw.exe -ojvm -classpath H:\jdevhome\jdev\mywork\Genesis\Test\classes;D:\jdev1013\sqlj\lib\runtime12.jar;D:\jdev1013\jdbc\lib\ojdbc14dms.jar;D:\jdev1013\jdbc\lib\orai18n.jar;D:\jdev1013\jdbc\lib\ocrs12.jar;D:\jdev1013\diagnostics\lib\ojdl.jar;D:\jdev1013\lib\dms.jar;D:\jdev1013\jdev\lib\jdev-rt.jar;D:\jdev1013\webservices\lib\soap.jar;D:\jdev1013\webservices\lib\saaj-api.jar;D:\jdev1013\lib\xmlparserv2.jar;D:\jdev1013\jlib\javax-ssl-1_1.jar;D:\jdev1013\jlib\jssl-1_1.jar;D:\jdev1013\j2ee\home\lib\activation.jar;D:\jdev1013\j2ee\home\lib\mail.jar;D:\jdev1013\j2ee\home\lib\http_client.jar;D:\jdev1013\webservices\lib\jaxrpc-api.jar;D:\jdev1013\webservices\lib\wsclient.jar;D:\jdev1013\webservices\lib\wsserver.jar;D:\jdev1013\webservices\lib\wssecurity.jar;D:\jdev1013\webservices\lib\wsdl.jar;D:\jdev1013\webservices\lib\orasaaj.jar;D:\jdev1013\webservices\lib\orawsdl.jar;D:\jdev1013\webservices\lib\orawsrm.jar;D:\jdev1013\webservices\lib\jaxr_api.jar;D:\jdev1013\webservices\lib\orajaxr.jar;D:\jdev1013\webservices\lib\relaxngDatatype.jar;D:\jdev1013\webservices\lib\jaxb-impl.jar;D:\jdev1013\webservices\lib\jaxb-libs.jar;D:\jdev1013\webservices\lib\xsdlib.jar;D:\jdev1013\webservices\lib\mdds.jar;D:\jdev1013\jlib\jaxen.jar;D:\jdev1013\jlib\oraclepki.jar;D:\jdev1013\jlib\ojpse.jar;D:\jdev1013\jlib\osdt_core.jar;D:\jdev1013\jlib\osdt_cert.jar;D:\jdev1013\jlib\osdt_xmlsec.jar;D:\jdev1013\jlib\osdt_wss.jar;D:\jdev1013\jlib\osdt_saml.jar;D:\jdev1013\jlib\repository.jar;D:\jdev1013\jlib\ojmisc.jar;D:\jdev1013\j2ee\home\jazncore.jar;D:\jdev1013\j2ee\home\oc4jclient.jar;D:\jdev1013\rdbms\jlib\xdb.jar;D:\jdev1013\diagnostics\lib\ojdl2.jar;D:\jdev1013\lib\xsu12.jar;D:\jdev1013\lib\xml.jar;D:\jdev1013\j2ee\home\lib\ejb.jar;D:\jdev1013\j2ee\home\lib\jms.jar;D:\jdev1013\j2ee\home\lib\jta.jar;D:\jdev1013\j2ee\home\lib\servlet.jar;D:\jdev1013\jakarta-taglibs\commons-logging-1.0.3\commons-logging-api.jar;D:\jdev1013\jakarta-taglibs\commons-logging-1.0.3\commons-logging.jar;D:\jdev1013\j2ee\home\lib\ojsp.jar;D:\jdev1013\j2ee\home\jsp\lib\taglib\ojsputil.jar;D:\jdev1013\j2ee\home\oc4j.jar;D:\jdev1013\j2ee\home\lib\oc4j-internal.jar;D:\jdev1013\jdev\lib\ojc.jar genc2dv1.TestWebServiceSoapHttpPortClient
    calling http://rchellam-PC1:8888/Genesis-Test-context-root/TestWebServiceSoapHttpPort
    java.rmi.RemoteException: Error parsing envelope: (1, 1) Start of root element expected.; nested exception is:
         javax.xml.soap.SOAPException: Error parsing envelope: (1, 1) Start of root element expected.
         at test.proxy.runtime.TestWebServiceSoapHttp_Stub.getAttributes(TestWebServiceSoapHttp_Stub.java:157)
         at genc2dv1.TestWebServiceSoapHttpPortClient.getAttributes(TestWebServiceSoapHttpPortClient.java:46)
         at genc2dv1.TestWebServiceSoapHttpPortClient.main(TestWebServiceSoapHttpPortClient.java:29)
    Caused by: javax.xml.soap.SOAPException: Error parsing envelope: (1, 1) Start of root element expected.
         at oracle.j2ee.ws.saaj.soap.soap11.SOAPImplementation11.createEnvelope(SOAPImplementation11.java:104)
         at oracle.j2ee.ws.saaj.soap.SOAPPartImpl.getEnvelope(SOAPPartImpl.java:76)
         at oracle.j2ee.ws.saaj.soap.MessageImpl.getSOAPBody(MessageImpl.java:713)
         at oracle.j2ee.ws.client.StreamingSender._preHandlingHook(StreamingSender.java:673)
         at oracle.j2ee.ws.client.StubBase._preHandlingHook(StubBase.java:664)
         at oracle.j2ee.ws.client.StreamingSender._sendImpl(StreamingSender.java:201)
         at oracle.j2ee.ws.client.StreamingSender._send(StreamingSender.java:111)
         at test.proxy.runtime.TestWebServiceSoapHttp_Stub.getAttributes(TestWebServiceSoapHttp_Stub.java:134)
         ... 2 more
    Caused by: oracle.xml.parser.v2.XMLParseException: Start of root element expected.
         at oracle.xml.parser.v2.XMLError.flushErrors1(XMLError.java:320)
         at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:333)
         at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:295)
         at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:201)
         at oracle.j2ee.ws.saaj.soap.soap11.SOAPImplementation11.createEnvelope(SOAPImplementation11.java:78)
         ... 9 more
    Process exited with exit code 0.
    RPC Literal error -
    D:\jdev1013\jdk\bin\javaw.exe -ojvm -classpath H:\jdevhome\jdev\mywork\Genesis\Test\classes;D:\jdev1013\sqlj\lib\runtime12.jar;D:\jdev1013\jdbc\lib\ojdbc14dms.jar;D:\jdev1013\jdbc\lib\orai18n.jar;D:\jdev1013\jdbc\lib\ocrs12.jar;D:\jdev1013\diagnostics\lib\ojdl.jar;D:\jdev1013\lib\dms.jar;D:\jdev1013\jdev\lib\jdev-rt.jar;D:\jdev1013\webservices\lib\soap.jar;D:\jdev1013\webservices\lib\saaj-api.jar;D:\jdev1013\lib\xmlparserv2.jar;D:\jdev1013\jlib\javax-ssl-1_1.jar;D:\jdev1013\jlib\jssl-1_1.jar;D:\jdev1013\j2ee\home\lib\activation.jar;D:\jdev1013\j2ee\home\lib\mail.jar;D:\jdev1013\j2ee\home\lib\http_client.jar;D:\jdev1013\webservices\lib\jaxrpc-api.jar;D:\jdev1013\webservices\lib\wsclient.jar;D:\jdev1013\webservices\lib\wsserver.jar;D:\jdev1013\webservices\lib\wssecurity.jar;D:\jdev1013\webservices\lib\wsdl.jar;D:\jdev1013\webservices\lib\orasaaj.jar;D:\jdev1013\webservices\lib\orawsdl.jar;D:\jdev1013\webservices\lib\orawsrm.jar;D:\jdev1013\webservices\lib\jaxr_api.jar;D:\jdev1013\webservices\lib\orajaxr.jar;D:\jdev1013\webservices\lib\relaxngDatatype.jar;D:\jdev1013\webservices\lib\jaxb-impl.jar;D:\jdev1013\webservices\lib\jaxb-libs.jar;D:\jdev1013\webservices\lib\xsdlib.jar;D:\jdev1013\webservices\lib\mdds.jar;D:\jdev1013\jlib\jaxen.jar;D:\jdev1013\jlib\oraclepki.jar;D:\jdev1013\jlib\ojpse.jar;D:\jdev1013\jlib\osdt_core.jar;D:\jdev1013\jlib\osdt_cert.jar;D:\jdev1013\jlib\osdt_xmlsec.jar;D:\jdev1013\jlib\osdt_wss.jar;D:\jdev1013\jlib\osdt_saml.jar;D:\jdev1013\jlib\repository.jar;D:\jdev1013\jlib\ojmisc.jar;D:\jdev1013\j2ee\home\jazncore.jar;D:\jdev1013\j2ee\home\oc4jclient.jar;D:\jdev1013\rdbms\jlib\xdb.jar;D:\jdev1013\diagnostics\lib\ojdl2.jar;D:\jdev1013\lib\xsu12.jar;D:\jdev1013\lib\xml.jar;D:\jdev1013\j2ee\home\lib\ejb.jar;D:\jdev1013\j2ee\home\lib\jms.jar;D:\jdev1013\j2ee\home\lib\jta.jar;D:\jdev1013\j2ee\home\lib\servlet.jar;D:\jdev1013\jakarta-taglibs\commons-logging-1.0.3\commons-logging-api.jar;D:\jdev1013\jakarta-taglibs\commons-logging-1.0.3\commons-logging.jar;D:\jdev1013\j2ee\home\lib\ojsp.jar;D:\jdev1013\j2ee\home\jsp\lib\taglib\ojsputil.jar;D:\jdev1013\j2ee\home\oc4j.jar;D:\jdev1013\j2ee\home\lib\oc4j-internal.jar;D:\jdev1013\jdev\lib\ojc.jar genc2dv1.TestWebService2SoapHttpPortClient
    calling http://rchellam-PC1:8888/Genesis-Test-context-root/TestWebService2SoapHttpPort
    unexpected null value for literal data
         at oracle.j2ee.ws.common.util.exception.JAXRPCExceptionBase.<init>(JAXRPCExceptionBase.java:52)
         at oracle.j2ee.ws.common.encoding.SerializationException.<init>(SerializationException.java:26)
         at oracle.j2ee.ws.common.encoding.literal.LiteralObjectSerializerBase.internalSerialize(LiteralObjectSerializerBase.java:191)
         at oracle.j2ee.ws.common.encoding.literal.LiteralObjectSerializerBase.serialize(LiteralObjectSerializerBase.java:137)
         at test.proxy.runtime.TestWebService2SoapHttp_getAttributes_ReqS_LiteralSerializer.doSerialize(TestWebService2SoapHttp_getAttributes_ReqS_LiteralSerializer.java:154)
         at oracle.j2ee.ws.common.encoding.literal.LiteralObjectSerializerBase.internalSerialize(LiteralObjectSerializerBase.java:199)
         at oracle.j2ee.ws.common.encoding.literal.LiteralObjectSerializerBase.serialize(LiteralObjectSerializerBase.java:137)
         at oracle.j2ee.ws.client.StreamingSender._writeRequest(StreamingSender.java:625)
         at oracle.j2ee.ws.client.StreamingSender._sendImpl(StreamingSender.java:137)
         at oracle.j2ee.ws.client.StreamingSender._send(StreamingSender.java:111)
         at test.proxy.runtime.TestWebService2SoapHttp_Stub.getAttributes(TestWebService2SoapHttp_Stub.java:89)
         at genc2dv1.TestWebService2SoapHttpPortClient.getAttributes(TestWebService2SoapHttpPortClient.java:57)
         at genc2dv1.TestWebService2SoapHttpPortClient.main(TestWebService2SoapHttpPortClient.java:32)
    Process exited with exit code 0.
    Now all the classes are generated by JDeveloper automatically from the plsql API. So I am not sure why the errors occur and how to fix these.
    Also, these errors are occurring on plsql APIs that have input or output parameters of plsql record type or pslql table of record type. These errors don't occur if the api is simple with scalar input or output parameters only.
    I would appreciate any help on how to resolve these errors.
    Thanks,
    Raji

    Hi,
    I'm wondering if the problem is actually that the client is failing to connect to the server correctly. Can I suggest that you switch on the HTTP Analyzer and see what comes back there.
    Is it possible it is a proxy problem? If you are working locally then I first suggest that you ensure that the Web Browser Proxy is off (see Tools -> Preferences -> Web Browser Proxy) - and that there are no exceptions listed (either with the proxy on or off) before you start the HTTP Analyzer.
    As to Doc/Wrapped or RPC. see this blog entry for a little more explanation:
    http://susanduncan.blogspot.com/2006/05/rpc-document-bare-wrapped-literal-get.html
    regards
    Susan

  • What may cause Errors.log to be generated from Essentials configuration wizard?

    I customized install.wim to handle specific drivers, and while the OS installs properly... during the Essentials Configuration Wizard, the process nearly immediately stops at 0% and generates this file "Errors.log" with the contents:
    FATAL: SetFolderPermission:
    Is it just a corrupted install.wim, that just so happens to prevent the wizard from working... or did I accidently change permissions on something that would lead to this type of error?

    Well you finally lost me :) Any data partitions are pretty much irrelevant until after Essentials is done installing
    Essentials does not get it "installed", Windows gets Installed, and then Essentials "Configures".  As I said part of this configure is to decide where the largest data partition is.  The team does not do tons of what if's in
    the Dev cycle. I have no clue what that code/logic actually is, but I am certain it went no deeper than a normal standard Server install.  They did not test different allocation units, smaller than standard "hidden partitions with drive letters.
    This said, I was able to complete the Essentials configuration using my unattend.xml with 100, 350, and 328.  I used diskpart to assign letters to the 100 and 350, and formatted a 70 gb "data" partition with the 64k and gave it B: But I am
    confused as after Essentials config finished the 100 and 350 did not have drive letters?  Also when I assign the letters it was not reflected in diskmgmt.msc.  Right click still only showed Help.  But File Explorer did.
    So my ask would be that you edit your winpe to,  100, 350, and 328, and format the system drive with 4k and see if that works for you. Then we/you could change things one at a time to see what breaks it.
    All this said, even if we can figure out what breaks it and I file a bug they may acknowledge it is a bug but will mark it as will not fix in this build, and the next build.  If we can explain to the Dev team why it should work this way, that this is
    the future of Server installs they may look at changing it in V.next.next t be shipped, who knows when. 3 years from now?
    Grey

  • How to modify the SQL being generated from BC, to fix the issue

    Hi,
    We have seen a strange issue in our implementation.The issue is also reproducible in Vanilla environment.
    In Contact List Applet, if we Query in First Name or Last Name fields in UI, the Query being generated is,showing that, Siebel is Querying for first name in S_POSTN_CON.CON_FST_NAME. This is a normalized column for S_CONTACT.FST_NAME.
    This is causing the performance issue.
    When I check the configuration in Tools for Contact BC's First Name field, it is configured as follows.
    Join = S_CONTACT
    Column = FST_NAME.
    I do not understand, Why it is still querying in S_POSTN_CON.
    Any suggestions on how to fix this issue to make the Query to be performed on S_CONTACT.FST_NAME?
    Regards
    Vamshi

    Hi Vamshi,
    As Robert mentioned, there just happens to be a number of things that need to be analyzed prior to changing the shape of the buscomp that triggers that sql.
    If this siebel performance issue occurs on a production environment, you should certainly look at the performance trend/characteristics of that sql over time and assess its the impact on your business community (...), then carefully identify its -true- root-cause, implement a fix and validate it against a production-like environment in order to verify there is no regression associated with it; once the fix is deployed on your production system, you want to monitor its benefit overtime and on a 24x7 basis…all this may sound very generic yet good practices.
    If you are looking at -effectively- solving this siebel peformance issue (and others...) in a timely manner, best is to have your Siebel Teams 1)use a Siebel-specific performance monitoring software technology built by Siebel Architects (like GMT v1.8.5, more info @ www.germainsoftware.com) that is able to collect 24x7 all the data needed for root-cause analysis(and more..), and 2)have senior siebel architects (like Robert's team) that have successfully solved tones and severe performance and scalability issues for many years, provide technical guidance to your team throughout the resolution process.
    Siebel CRM is a great CRM software solution that is very complex. Every "switch you turn on/off", every customization you built into it may generate performance issues if it is not carefully implemented, optimized, tested...and monitored 24x7 once it is deployed onto your production system.
    Good luck w/ this..
    Regards,
    Yannick Germain
    CEO & Founder
    GERMAIN SOFTWARE llc
    Complete Siebel Performance Monitoring Tool
    21 Columbus Avenue, Suite 221
    San Francisco, CA 94111, USA
    Cell: +1-415-606-3420
    Fax: +1-415-651-9683
    [email protected]
    http://www.germainsoftware.com

Maybe you are looking for

  • Statement Update

    Hi all, The below query CURSOR for_update         IS                 SELECT uarchst_cust_code, uarchst_prem_code,uarchst_deletion_cost                 FROM   UIMSMGR.UARCHST, UIMSMGR.UABSCON                 WHERE uarchst_scon_number = uabscon_number

  • Re-saving photos in my library as a smaller size

    is there anyway to select multiple photos and re-save them as a smaller size [some of my photos are 3-6mg and i don't need them to be that high of quality.] any thoughts/ideas?

  • Studio 12 with latest patches and wxGTK 2.8.10

    Anyone build wxGTK 2.8.10 on Solaris 10 with the Studio 12 compiler + latest Studio 12 patches? /opt/SUNWspro/prod/include/CC/Cstd/memory now has:   template <class _T , class _Base>   class __rw_basis : public _Base     _T __data_;   public:     __r

  • When sharing a video on You Tube I am unable to enter text

    When sharing a video from You Tube to Facebook I am unable to enter text in the text box. The video does go onto Facebook, I just can't enter a comment. == This happened == Every time Firefox opened == Installed Firefox

  • Plz hlep my

    There is a problem in my iPhone device after updating the new version needed to Active and wants amyl, bus and my Lord and unfortunately forgot this data, what work