Obiee server SQL throw exception :ORA-29275

The obiee server throws oracle exception: ORA-29275 while execute in the sql in the bidw , the sql results have Chinese characters
I have try to copy the sql to query from Jdeveloper adn SQL developer , the sql can run and no exception so does it the NSL_LANG issue in the obiee server side ?
I also have try to set the NSL_LANG as AMERICAN_AMERICA.AL32UTF8 and AMERICAN_AMERICA.UTF8 , and they seems not worked!
Odbc driver returned an error (SQLExecDirectW).
Error Details
Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 43119] Query Failed: [nQSError: 17001] Oracle Error code: 29275, message: ORA-29275: partial multibyte character at OCI call OCIStmtFetch. [nQSError: 17012] Bulk fetch failed. (HY000)

Any one can help?

Similar Messages

  • OAS 4.0.8 PL/SQL Catridge exception ORA-6502 (Numeric or value error)

    Hello,
    Out product is using OAS 4.0.8.2 on UNIX running SOlaris. We are using Oracles Web Toolkit for application development and
    presentation. I am basically trying to fill up some HTML form fields and calling
    an HTTP post procedure in response
    to a user clicking a submit button.
    For some reason the PL/SQL cartridge throws an ORA-6502 error(Numeric or value error). Is there any restrictions to the
    string types that can be passed to an HTTP
    post procedure ??
    Any pointers would be greatly appreciated ?
    Thanks,
    Ricko
    null

    We have fixed the problem !!! :-DDD
    Thanks to all Oracle analysts who replied this issue.
    aLeX
    [email protected]

  • ORA-29275: partial multibyte character with 11.1.0.7

    Connected to: Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
    SQL> create table test_char(c1 varchar2(100));
    Table created.
    SQL> insert into test_char values (chr(200));
    1 row created.
    SQL> select from test_char;*
    ERROR:
    **ORA-29275: partial multibyte character**
    NLS_CHARACTERSET ==> AL32UTF8
    But, with Oracle9i Enterprise Edition Release 9.2.0.7.0 - 64bit Production
    Don't throw any error
    SQL> select * from test_char;
    C1
    question is what is the reason behind throws this ORA-29275 and how to work around or suppress this error in 11.1.0.7(similar to 9.2)

    And with CLOB it is ORA-600 :
    Connected to:
    Personal Oracle Database 11g Release 11.1.0.7.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL> create table test_char(c1 clob);
    Table created.
    SQL> insert into test_char values (chr(200));
    insert into test_char values (chr(200))
    ERROR at line 1:
    ORA-00600: internal error code, arguments: [kole_t2u], [34], [], [], [], [],
    SQL>You should read carefully the Metalink note #788156.1 (AL32UTF8 / UTF8 (Unicode) Database Character Set Implications) part *B.4) The meaning of SP2-0784, ORA-29275 and ORA-600 [kole_t2u], [34] errors / losing characters when using convert.*+
    And also
    *ORA-600 [kole_t2u], [34] - description, bugs, and reasons*+
    Doc ID: 734474.1+
    Nicolas.

  • SQL Query and Exception ORA-01722

    Hi,
    I have a table called t_lookup which has three columns Lookup_Value, Description and Lookup_Type all of them are varchar2 type. If I execute the below query, its working fine
    SELECT *
    FROM (SELECT Lookup_Value
    *,To_Number(Description) Dd*
    FROM t_Lookup
    WHERE Lookup_Type = 'CALENDAR') Tab ;
    Here is the result
    Lookup_Value .............. Dd
    January....................... 1
    February..................... 2
    March......................... 3
    April........................... 4
    May........................... 5
    June.......................... 6
    July........................... 7
    August....................... 8
    September................... 9
    October...................... 10
    November................... 11
    December................... 12
    But when i execute
    SELECT *
    FROM (SELECT Lookup_Value
    *,To_Number(Description) Dd*
    FROM t_Lookup
    WHERE Lookup_Type = 'CALENDAR') Tab
    AND Dd = 9;
    then it is throwing ORA exception
    ORA-01722: invalid number
    Can any one help me on this in order to understand the root cause of this problem? Oracle server I am using is "Oracle9i Release 9.2.0.8.0" .
    Thanks

    I'm assuming that it is intended that certain descriptions will have non-numeric data in them, right?
    Assuming that is the case, the success or failure of the query will depend on how the optimizer happens to choose to execute your query. If it happens to run the TO_NUMBER function before it filters out a row with non-numeric data, you'll get an error. If it happens to run the TO_NUMBER after filtering out all the rows with non-numeric data, the query will be successful. Given that query plans are subject to change, particularly when you eventually upgrade, you probably don't want to just find a SQL query that works, you'll need to ensure that either the query plan never changes or that the query is formulated in such a way that it will never fail.
    My first thought would be whether you really need to store numeric data in a VARCHAR2 field in the first place. I'm guessing this is some sort of generic lookup table (which cause a raft of issues, this being one). Can you at least store string, date, and number data in separate columns?
    Barring that, can you create your own PL/SQL function that converts a string to a number and catches the exception?
    CREATE OR REPLACE FUNCTION my_to_number( p_arg IN varchar2 )
      RETURN NUMBER
    IS
      l_num NUMBER;
    BEGIN
      l_num := to_number( p_arg );
      RETURN l_num;
    EXCEPTION
      WHEN others THEN
        RETURN NULL;
    END;That will ensure that the query will be successful regardless of the plan. Note that you would probably want to catch just the ORA-01722 error, not OTHERS, in your real code-- this is just a sample.
    Barring that, you'll need to do something to enforce stability in the query plan. A stored outline that forces this query to use the query plan that doesn't generate an error.
    Justin

  • OBIEE/EBS R12 - works, except for one user - ORA-06512 error

    OBIEE 10.3.1.4 / EBS 12.0.4
    Oracle 11g
    HPUX 11.31 64 bit Itanium
    We are successfully using EBS integration with OBIEE, but for one user that we have created it doesn't work. When they try to access OBIEE from EBS we get this error in NQServer.log:
    *[nQSError: 13011] Query for Initialization Block 'EBS Security Context' has failed.*
    *[nQSError: 17001] Oracle Error code: 6510, message: ORA-06510: PL/SQL: unhandled user-defined exception*
    ORA-06512: at "APPS.APP_SESSION", line 313
    at OCI call OCIStmtExecute: call / 101507300 */ APP_SESSION.validate_icx_session('NIOWQbvOlCFpGilcGDvlBIY-:S').*
    *[nQSError: 17011] SQL statement execution failed.*
    This is when the query is run against EBS to authenticate the user:
    select FND_GLOBAL.RESP_ID,
    FND_GLOBAL.RESP_APPL_ID,
    FND_GLOBAL.SECURITY_GROUP_ID,
    FND_GLOBAL.RESP_NAME,
    FND_GLOBAL.USER_ID,
    FND_GLOBAL.EMPLOYEE_ID,
    FND_GLOBAL.USER_NAME from dual
    It is only for one user that has the problem. All others users work fine.
    Has anyone else seen this problem?
    Our EBS DBA has checked that the above sql can be run with the session set to the problem user, and compared with a user who can successfully connect to OBIEE. The results were the same for both.

    I was on the wrong lines with this one.
    The error in the NQServer.log was not from the problem user, it was a separate user.
    The real cause of a specific user not being able to login was a corrupt web catalog (which we're still trying to resolve)

  • SQL query throwing Exception.

    Hi,
    i am facing a problem while using the date as search criteria. In the JDO class the field type is of java.util.Date. The search is working in the local environment whose local date settings as M/d/YYYY(windows 2003 , english version).The search is not working in the chines OS environment , where the local date setting is YYYY-M-d. In the chinese enviroment , if we alter the session NLS settings in toad, we could able to execute the query.
    we are using kodo-2.5.8
    SELECT t0.JDO_ID, t0.JDO_CLASS, t0.BAD_NAMES, t0.CONCAT_NAME, t0.DDATE, t0.FIRST_NAME, t0.LAST_NAME, t0.MAX_SCN, t0.NAME,
    t0.NATURALID, t0.PARTYID, t0.PHONE, t0.ROLE FROM PARTY_VBO t0 WHERE (t0.ROLE LIKE '%ICR%' AND t0.DDATE = '17-APR-1974' AND ROWNUM <= 25) AND
    t0.JDO_CLASS = 2 ORDER BY t0.PARTYID ASC)
    This Query is throwing ORA-01843.
    From where the session opened by the java in oracle will take the data format?

    Plaese help.
    One of my sql query is throwing exception during
    execution. I do not know which one (there are several
    of them). Is there a way to display or extract the
    last query from SQLException class.
    Any help will be highly appreciated.
    Thanks,
    Indrasish.No there is not. You should do some debugging, such as logging something like: "Executing query: SELECT blahblahblah" - then execute the query, then log something like: "Query completed". Then find in your log which one didn't complete.

  • Using sql bulk copy throwing exception -The given value of type String from the data source cannot be converted to type int of the specified target column

    Hi All,
    I am reading notepads files and inserting data in sql tables from the notepad-
    while performing sql bulk copy on this line it throws exception - "bulkcopy.WriteToServer(dt); -"data type related(mentioned in subject )".
    Please go through my  logic and tell me what to change to avoid this error -
    public void Main()
    Dts.TaskResult = (int)ScriptResults.Success;
    string[] filePaths = Directory.GetFiles(@"C:\Users\jainruc\Desktop\Sudhanshu\master_db\Archive\test\content_insert\");
    for (int k = 0; k < filePaths.Length; k++)
    string[] lines = System.IO.File.ReadAllLines(filePaths[k]);
    //table name needs to extract after = sign
    string[] pathArr = filePaths[0].Split('\\');
    string tablename = pathArr[9].Split('.')[0];
    DataTable dt = new DataTable(tablename);
    |
    string[] arrColumns = lines[1].Split(new char[] { '|' });
    foreach (string col in arrColumns)
    dt.Columns.Add(col);
    for (int i = 2; i < lines.Length; i++)
    string[] columnsvals = lines[i].Split(new char[] { '|' });
    DataRow dr = dt.NewRow();
    for (int j = 0; j < columnsvals.Length; j++)
    //Console.Write(columnsvals[j]);
    if (string.IsNullOrEmpty(columnsvals[j]))
    dr[j] = DBNull.Value;
    else
    dr[j] = columnsvals[j];
    dt.Rows.Add(dr);
    SqlConnection conn = new SqlConnection();
    conn.ConnectionString = "Data Source=UI3DATS009X;" + "Initial Catalog=BHI_CSP_DB;" + "User Id=sa;" + "Password=3pp$erv1ce$4";
    conn.Open();
    SqlBulkCopy bulkcopy = new SqlBulkCopy(conn);
    bulkcopy.DestinationTableName = dt.TableName;
    bulkcopy.WriteToServer(dt);
    conn.Close();
    Issue 1:-
    I am reading notepad: getting all column and values in my data table now while inserting for date and time or integer field i need to do explicit conversion how to write for specific column before bulkcopy.WriteToServer(dt);
    Issue 2:- Notepad does not contains all columns nor in specific sequence in that case i can add few column ehich i am doing now but the issue is now data table will add my columns + notepad columns and while inserting how to assign in perticular colums?
    sudhanshu sharma Do good and cast it into river :)

    Hi,
    I think you'll have to do an explicit column mapping if they are not in exact sequence in both source and destination.
    Have a look at this link:
    https://msdn.microsoft.com/en-us/library/system.data.sqlclient.sqlbulkcopycolumnmapping(v=vs.110).aspx
    Good Luck!
    Kaur.
    Please mark as answer if this resolves your issue.

  • Dynamic SQL run with error 'ORA-29275: partial multibyte character'

    Hi All,
    In daily work, we use daynamic SQL to load data from another database through DB Link. However, even if I run the following simple statement in our DB, it will raise the error.
    CREATE TABLE TEST_TMP
    AS
    SELECT TRANSACTION_REASON
    FROM [email protected] --it is using db link.
    WHERE LAST_UPDATE_DATE>=TO_DATE('18-12-2012 22:01:58', 'dd-mm-yyyy hh24:mi:ss');
    This statement had been workng correctly before OCT-2012 and there was no change with the source. Afterwards, there was just a change which upgraded the DB version from 10g to 11g on our side. I have browsed my technical articles, but I still cannot find the root cause. Is it due to the updgrading of the DB which practice stricter sanity check?
    I don't know.
    I'd appreciate of you can give me suggestion if you know such case.
    Thanks,
    David

    David Paul wrote:
    Hi,
    Can you give me a full explaination about the DL http://vibhorkumar.wordpress.com/2011/02/27/fix-of-ora-29275-partial-multibyte-character/ you mentioned?
    I don't understand the query in it well.
    Thanks,
    DavidDon't confuse yourself... It's just saying to convert data into your local DB type...
    Check these queries -
    1] /* check this in both your LOCAL and REMOTE databases */
    select dump('a',1010) from dual;
    I got --
    Typ=96 Len=1 CharacterSet=AL32UTF8: 97
    So, my charset encoding is AL32UTF8. Similarly, find yours for both Local & Remote DBs.
    2]
    /* Then do */
    CONVERT(transaction_reason,'<local_charset>','<remote_charset>')Edited by: ranit B on Dec 22, 2012 5:46 PM

  • SQL Exception ORA-03115

    Hi,
    I am using WLCS 3.5/WLS 6.0 service pack 2/Oracle 8.1.6 with WebLogic
    jdrivers (816_7)(weblogicoci37.dll) and am trying to display the sample
    application. When the placeholders are loading I get the following
    exceptions:
    ####<02-Aug-01 11:53:27 BST> <Warning> <ph:placeholder> <ecsoft-lo-twks1>
    <wlcsServer> <ExecuteThread: '11' for queue: 'default'> <> <> <000000>
    <Content Error (Placeholder:cs_top_generic) SQL Exception:ORA-03115:
    unsupported network datatype or representation>
    ####<02-Aug-01 11:53:27 BST> <Warning> <ph:placeholder> <ecsoft-lo-twks1>
    <wlcsServer> <ExecuteThread: '11' for queue: 'default'> <> <> <000000>
    <Content Error (Placeholder:cs_side_generic) SQL Exception:ORA-03115:
    unsupported network datatype or representation>
    ####<02-Aug-01 11:53:35 BST> <Warning> <ph:placeholder> <ecsoft-lo-twks1>
    <wlcsServer> <ExecuteThread: '11' for queue: 'default'> <> <> <000000>
    <Content Error (Placeholder:cs_top_generic) SQL Exception:ORA-03115:
    unsupported network datatype or representation>
    ####<02-Aug-01 11:53:35 BST> <Warning> <ph:placeholder> <ecsoft-lo-twks1>
    <wlcsServer> <ExecuteThread: '11' for queue: 'default'> <> <> <000000>
    <Content Error (Placeholder:cs_side_generic) SQL Exception:ORA-03115:
    unsupported network datatype or representation>
    ####<02-Aug-01 11:53:41 BST> <Warning> <ph:placeholder> <ecsoft-lo-twks1>
    <wlcsServer> <ExecuteThread: '13' for queue: 'default'> <> <> <000000>
    <Content Error (Placeholder:cs_top_generic) SQL Exception:ORA-03115:
    unsupported network datatype or representation>
    ####<02-Aug-01 11:53:41 BST> <Warning> <ph:placeholder> <ecsoft-lo-twks1>
    <wlcsServer> <ExecuteThread: '13' for queue: 'default'> <> <> <000000>
    <Content Error (Placeholder:cs_side_generic) SQL Exception:ORA-03115:
    unsupported network datatype or representation>
    ####<02-Aug-01 11:53:46 BST> <Warning> <ph:placeholder> <ecsoft-lo-twks1>
    <wlcsServer> <ExecuteThread: '13' for queue: 'default'> <> <> <000000>
    <Content Error (Placeholder:cs_top_generic) SQL Exception:ORA-03115:
    unsupported network datatype or representation>
    ####<02-Aug-01 11:53:46 BST> <Warning> <ph:placeholder> <ecsoft-lo-twks1>
    <wlcsServer> <ExecuteThread: '13' for queue: 'default'> <> <> <000000>
    <Content Error (Placeholder:cs_side_generic) SQL Exception:ORA-03115:
    unsupported network datatype or representation>
    ####<02-Aug-01 11:53:50 BST> <Warning> <ph:placeholder> <ecsoft-lo-twks1>
    <wlcsServer> <ExecuteThread: '13' for queue: 'default'> <> <> <000000>
    <Content Error (Placeholder:cs_top_generic) SQL Exception:ORA-03115:
    unsupported network datatype or representation>
    ####<02-Aug-01 11:53:50 BST> <Warning> <ph:placeholder> <ecsoft-lo-twks1>
    <wlcsServer> <ExecuteThread: '13' for queue: 'default'> <> <> <000000>
    <Content Error (Placeholder:cs_side_generic) SQL Exception:ORA-03115:
    unsupported network datatype or representation>
    Can anybody help?
    Laura :-)

    All my fault - have now solved problem by running the install users script -
    feel a bit stupid but at least the problem is fixed!! Thanks for all your
    help people. :-)
    "Laura Allen" <[email protected]> wrote in message
    news:[email protected]...
    Hi,
    I am using WLCS 3.5/WLS 6.0 service pack 2/Oracle 8.1.6 with WebLogic
    jdrivers (816_7)(weblogicoci37.dll) and am trying to display the sample
    application. When the placeholders are loading I get the following
    exceptions:
    ####<02-Aug-01 11:53:27 BST> <Warning> <ph:placeholder> <ecsoft-lo-twks1>
    <wlcsServer> <ExecuteThread: '11' for queue: 'default'> <> <> <000000>
    <Content Error (Placeholder:cs_top_generic) SQL Exception:ORA-03115:
    unsupported network datatype or representation>
    ####<02-Aug-01 11:53:27 BST> <Warning> <ph:placeholder> <ecsoft-lo-twks1>
    <wlcsServer> <ExecuteThread: '11' for queue: 'default'> <> <> <000000>
    <Content Error (Placeholder:cs_side_generic) SQL Exception:ORA-03115:
    unsupported network datatype or representation>
    ####<02-Aug-01 11:53:35 BST> <Warning> <ph:placeholder> <ecsoft-lo-twks1>
    <wlcsServer> <ExecuteThread: '11' for queue: 'default'> <> <> <000000>
    <Content Error (Placeholder:cs_top_generic) SQL Exception:ORA-03115:
    unsupported network datatype or representation>
    ####<02-Aug-01 11:53:35 BST> <Warning> <ph:placeholder> <ecsoft-lo-twks1>
    <wlcsServer> <ExecuteThread: '11' for queue: 'default'> <> <> <000000>
    <Content Error (Placeholder:cs_side_generic) SQL Exception:ORA-03115:
    unsupported network datatype or representation>
    ####<02-Aug-01 11:53:41 BST> <Warning> <ph:placeholder> <ecsoft-lo-twks1>
    <wlcsServer> <ExecuteThread: '13' for queue: 'default'> <> <> <000000>
    <Content Error (Placeholder:cs_top_generic) SQL Exception:ORA-03115:
    unsupported network datatype or representation>
    ####<02-Aug-01 11:53:41 BST> <Warning> <ph:placeholder> <ecsoft-lo-twks1>
    <wlcsServer> <ExecuteThread: '13' for queue: 'default'> <> <> <000000>
    <Content Error (Placeholder:cs_side_generic) SQL Exception:ORA-03115:
    unsupported network datatype or representation>
    ####<02-Aug-01 11:53:46 BST> <Warning> <ph:placeholder> <ecsoft-lo-twks1>
    <wlcsServer> <ExecuteThread: '13' for queue: 'default'> <> <> <000000>
    <Content Error (Placeholder:cs_top_generic) SQL Exception:ORA-03115:
    unsupported network datatype or representation>
    ####<02-Aug-01 11:53:46 BST> <Warning> <ph:placeholder> <ecsoft-lo-twks1>
    <wlcsServer> <ExecuteThread: '13' for queue: 'default'> <> <> <000000>
    <Content Error (Placeholder:cs_side_generic) SQL Exception:ORA-03115:
    unsupported network datatype or representation>
    ####<02-Aug-01 11:53:50 BST> <Warning> <ph:placeholder> <ecsoft-lo-twks1>
    <wlcsServer> <ExecuteThread: '13' for queue: 'default'> <> <> <000000>
    <Content Error (Placeholder:cs_top_generic) SQL Exception:ORA-03115:
    unsupported network datatype or representation>
    ####<02-Aug-01 11:53:50 BST> <Warning> <ph:placeholder> <ecsoft-lo-twks1>
    <wlcsServer> <ExecuteThread: '13' for queue: 'default'> <> <> <000000>
    <Content Error (Placeholder:cs_side_generic) SQL Exception:ORA-03115:
    unsupported network datatype or representation>
    Can anybody help?
    Laura :-)

  • How close server socket without throwing exception to accepted socket

    Hi,
    In my project, we are closing the server by running a program which connects to server through socket.
    Through socket, it asks server to destroy all the process and atlast server exist it connection by
    System.exit(0);
    Because of this, accepted socket throws a socket exception which clients don't want to see in their log file.
    Is there any way to close the server in the accepted socket or to close without throwing exception.
    Thanks & Regards,
    Nasrin.N

    All you have to do is close the ServerSocket then wait for all currently executing accepted-socket threads to exit. Closing the ServerSocket won't do anything to accepted sockets, but terminating the process early via System.exit() will, and this is what you want to avoid.

  • Abot oracle.sql.opaque exception

    Wheen I run a program which is retreiving xmltype data from databse using a application then it works fine. But If I use jsp for same a deploy it on OC4jJ server it fgives exception at this line
    xml = (XMLType)resultSet.getObject(1);
    Excpeuin is ClassCasrtException: oracle.sql.OPAQUE
    Please expalon. Methis is given below it works fine with application
    public Vector doSelect (String keywords[]) throws Exception
    //System.out.println("++++ Start of doSelect() method ++++");
    // String SQLTEXT="SELECT extract(warehouse_spec,'/"+ str + "') as XMLDocument FROM WAREHOUSES";
    /* select extract (value(t),'/VideoSubIndex')
    * from mastersvideo x,TABLE (xmlsequence (
    * extract (x.vindex,'/VideoIndexes/VideoSubIndex'))) t
    * where existnode(value(t),'/VideoSubIndex[Transcription="So basically"]')=1
    // String SQLTEXT="SELECT extract(x.vindex,'/VideoIndexes/VideoSubIndex/Transcription') as XMLDocument FROM mastersvideo x"+
    // " where existsnode(x.vindex,'/VideoIndexes/VideoSubIndex[Transcription=\"So basically\"]')=1";
    String SQLTEXT="select extract (value(t),'/VideoSubIndex') from mastersvideo x,TABLE (xmlsequence (extract (x.vindex,'/VideoIndexes/VideoSubIndex'))) t where existsnode(value(t),'/VideoSubIndex[Transcription=\"So basically\"]')=1";
    // String SQLTEXT="select extract (value(t),'/VideoSubIndex') from mastersvideo x,TABLE (xmlsequence (extract (x.vindex,'/VideoIndexes/VideoSubIndex'))) t where existsnode(value(t),'/VideoSubIndex[ora:contains(Transcription,\"way\")>0]','xmlns:ora=\"http://xmlns.oracle.com/xdb\"')=1";
    //keywords="sql";
    //description="basically";
    for(int i=0;i<keywords.length;i++)
    System.out.println("KeyWords Received"+keywords);
    String SQLTEXT=null;
    if (keywords.length>0)
    SQLTEXT="select extract (value(t),'/VideoSubIndex') from mastersvideo x,TABLE (xmlsequence (extract (x.vindex,'/VideoIndexes/VideoSubIndex'))) t where existsnode(value(t),'/VideoSubIndex[ora:contains(@KeyTerm,\""+keywords[0]+"\")>0]','xmlns:ora=\"http://xmlns.oracle.com/xdb\"')=1"+
    " OR existsnode(value(t),'/VideoSubIndex[ora:contains(Transcription,\""+keywords[0]+"\")>0]','xmlns:ora=\"http://xmlns.oracle.com/xdb\"')=1";
    for(int i=1;i<keywords.length;i++)
    System.out.println("Value of i "+i+" And Value Here"+keywords[i]);
    SQLTEXT+=" OR existsnode(value(t),'/VideoSubIndex[ora:contains(@KeyTerm,\""+keywords[i]+"\")>0]','xmlns:ora=\"http://xmlns.oracle.com/xdb\"')=1"+
    " OR existsnode(value(t),'/VideoSubIndex[ora:contains(Transcription,\""+keywords[i]+"\")>0]','xmlns:ora=\"http://xmlns.oracle.com/xdb\"')=1";
    // SQLTEXT+=
    // Running Query
    // String SQLTEXT="select extract (value(t),'/VideoSubIndex') from mastersvideo x,TABLE (xmlsequence (extract (x.vindex,'/VideoIndexes/VideoSubIndex'))) t where existsnode(value(t),'/VideoSubIndex[ora:contains(@KeyTerm,\""+keywords[0]+"\")>0]','xmlns:ora=\"http://xmlns.oracle.com/xdb\"')=1"+
    // " OR existsnode(value(t),'/VideoSubIndex[ora:contains(Transcription,\""+keywords[0]+"\")>0]','xmlns:ora=\"http://xmlns.oracle.com/xdb\"')=1";
    //System.out.println(SQLTEXT);
    OraclePreparedStatement sqlStatement = null;
    //OracleResultSet resultSet = null;
    ResultSet resultSet = null;
    oracle.xdb.XMLType xml = null;
    try
    System.out.println("SQL := " + SQLTEXT);
    sqlStatement = (OraclePreparedStatement) getConnection("scott","tiger").prepareStatement(SQLTEXT);
    System.out.println("+++++ OraclePreparedStatement created +++++");
    // resultSet = (OracleResultSet) sqlStatement.executeQuery();
    resultSet = sqlStatement.executeQuery();
    System.out.println("***** Query Executed *****");
    // return resultSet;
    Vector resVector=new Vector();
    while(resultSet.next())
    System.out.println("Hello Miss World");
    xml = (XMLType)resultSet.getObject(1);
    //System.out.println("Hello World");
    resVector.add(xml);
    // xml.get
    System.out.println(xml.getStringVal());
    //System.out.println("Hello Miss World");
    System.out.println("Vector size is "+resVector.size());
    return resVector;
    catch(NullPointerException npe)
    catch (SQLException SQLe)
    if (sqlStatement != null)
    sqlStatement.close();
    throw SQLe;
    /*if(resultSet!=null)
    resultSet.close();
    System.out.println("**** Resultset closed ****");
    if(sqlStatement!=null)
    sqlStatement.close();
    System.out.println("**** Resultset closed ****");
    System.out.println("### Returning Vector ###");
    return null;
    } // End of Function doSelect()

    I believe the 9.2 XDK requires the use of the 9.2 JDBC drivers.
    In general, later versions of the JDBC driver will work with older versions of the database, but not vice versa. The 8.1.7 JDBC drivers won't necessarily work with a 9.2 database, but the 9.2 JDBC drivers will work with an 8.1.7 database.
    Justin

  • FRM-40735: ON-POPULATE-DETAILS trigger raised unhandled exception ORA-06508

    Dear All,
    I checked this forum before i post this thread. But i didn't get any solutions.
    Recently we have migrated our production database from 10gR2 to 11g EE R11.2.0.1.0 - 64bit.
    We are continuing 10gR2 version as our oracle application server after migration.
    Now we are facing a problem - When we open a screen and query the records we are getting an error as
    FRM-40735: On-Populate-Details trigger raised unhandled exception ORA-06508.
    Then the details are not populating.
    We are getting this error indefinitely. In the same screen if we close it and open then its not throwing an error.
    After some times it shows the same error. may be in any form. Due to this we can't even debug the code part.
    Command used to compile all plls
    for %%i IN (*.pll) do frmcmp module=%%i userid=userid/pw@connectstg batch=yes module_type=LIBRARY compile_all=yes window_state=Minimize
    Same way we compiled the forms mmbs. OLBS no change.
    We tried manually compilation of plls too.
    We didn't made any change in the On-Populate-Details. Frequently irregular indefinite
    Thanks in Advance,
    Regards
    Balaji M

    The "ORA-06508: PL/SQL: could not find program unit being called" error is caused when Forms can't find the program unit being called or the status of the program unit is "Invalid." Have you checked the particular program unit being called to ensure it's status is "Valid?"
    Also, the On-Populate-Details triggers is system generated. You might need to drop and recreate the related Releationship in order to fix the issue.
    Hope this helps,
    Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.

  • ORA-00604: error occurred at recursive SQL level 1 ORA-01882: timezone

    Hi
    I'm trying to config my base_domain for SOA11g but i'm getting the following error when connecting to my Oracle XE DB to configure SOA,
    please help thanks
    Software installed
    OS: Windows 7 64bit
    DB: Oracle XE 10g
    Oracle SOA 11.1.1.4.0
    Oracle RCU 11.1.1.4.0
    Oracle wls1034_generic
    Error Detials
    Component Schema=SOA Infrastructure
    Driver=oracle.jdbc.xa.client.OracleXADataSource
    URL=jdbc:oracle:thin:@127.0.0.1:1521/XE
    User=DEV_SOAINFRA
    Password=********
    SQL Test=select 1 from schema_version_registry where owner=(select user from dual) and mr_type='SOAINFRA' and version='11.1.1.4.0'
    ORA-00604: error occurred at recursive SQL level 1
    ORA-01882: timezone region  not found
    CFGFWK-60850:  Test Failed!
    Component Schema=User Messaging Service
    Driver=oracle.jdbc.OracleDriver
    URL=jdbc:oracle:thin:@127.0.0.1:1521/XE
    User=DEV_ORASDPM
    Password=********
    SQL Test=select 1 from schema_version_registry where owner=(select user from dual) and mr_type='ORASDPM' and version='11.1.1.2.0'
    ORA-00604: error occurred at recursive SQL level 1
    ORA-01882: timezone region  not found
    CFGFWK-60850:  Test Failed!
    Component Schema=OWSM MDS Schema
    Driver=oracle.jdbc.OracleDriver
    URL=jdbc:oracle:thin:@127.0.0.1:1521/XE
    User=DEV_MDS
    Password=********
    SQL Test=select 1 from schema_version_registry where
                        owner=(select user from dual) and mr_type='MDS' and
                        version='11.1.1.4.0'
    ORA-00604: error occurred at recursive SQL level 1
    ORA-01882: timezone region  not found
    CFGFWK-60850:  Test Failed!
    Component Schema=SOA MDS Schema
    Driver=oracle.jdbc.OracleDriver
    URL=jdbc:oracle:thin:@127.0.0.1:1521/XE
    User=DEV_MDS
    Password=********
    SQL Test=select 1 from schema_version_registry where owner=(select user from dual) and mr_type='MDS' and version='11.1.1.4.0'
    ORA-00604: error occurred at recursive SQL level 1
    ORA-01882: timezone region  not found
    CFGFWK-60850:  Test Failed!
    Component Schema=OSB JMS Reporting Provider
    Driver=org.apache.derby.jdbc.ClientDriver
    URL=jdbc:derby://127.0.0.1:1521/XE;create=true;ServerName=127.0.0.1;databaseName=XE
    User=DEV_SOAINFRA
    Password=********
    SQL Test=SELECT 1 FROM SYS.SYSTABLES
    Insufficient data while reading from the network - expected a minimum of 6 bytes and received only 0 bytes.  The connection has been terminated.
    CFGFWK-60850:  Test Failed!

    Hi,
    Please check the timezone set in your server where Weblogic is installed. Also ensure the timezone on which your weblogic is running, the same is present in in database by querying V$TIMEZONE_NAMES table. If it is not present then please change the timezone of the server. then try to execute the steps what you are doing, it will not throw any error.
    if this helps please mark.
    Thanks,
    Kishore

  • ORA-00604: error occurred at recursive SQL level 1 + ORA-04031

    Hi,
    SQL> select * from v$version;
    BANNER
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bi
    PL/SQL Release 10.2.0.1.0 - Production
    CORE    10.2.0.1.0      Production
    TNS for Solaris: Version 10.2.0.1.0 - Production
    NLSRTL Version 10.2.0.1.0 - Production
    os version : SunOS oratest 5.10 Generic_127127-11 sun4u sparc SUNW,Sun-Fire-V210
    SQL> show parameter  sga_target
    NAME                                 TYPE        VALUE
    sga_target                           big integer 892M
    SQL> show parameter shared_pool_size
    NAME                                 TYPE        VALUE
    shared_pool_size                     big integer 112M
    when i do normal query i am getting ora-04031 error and 10g server is Automatic Shared Memory Management since i set sga_target and server as to do automatically readjusts the sizes of memory pools, if that is the case why it throwing ora-04031 error;
    below errors showing before bounce the database
    SQL> show parameter size
    ORA-04031: unable to allocate 3840 bytes of shared memory ("shared
    pool","unknown object","sga heap(1,0)","kglsim object batch")
    SQL> select * from tab
      2  ;
    select * from tab
    ERROR at line 1:
    ORA-04031: unable to allocate 3840 bytes of shared memory ("shared
    pool","select * from tab
    ","sga heap(1,0)","kglsim object batch")
    alert log file:
    Errors in file /oracle/admin/appsdb/bdump/appsdb_smon_19154.trc:
    ORA-00604: error occurred at recursive SQL level 1
    ORA-04031: unable to allocate 3840 bytes of shared memory ("shared pool","unknown object","sga heap(1,0)","kglsim object batc
    h")
    Thanks
    PrakashEdited by: prakashdba on Jan 10, 2009 12:31 AM
    Edited by: prakashdba on Jan 10, 2009 4:10 AM

    And your version number is?
    And your patch level is?
    And your hardware and operating system are?
    What did you find when you looked this up at metalink?
    Did you follow the advice in the metalink Knowledge Base docs?

  • Error while table Import from Oracle (OBIEE server 64bit & Client 32bit)

    Hi All,
    Problem : ODBC/OCI Connectivity Issue between OBIEE 11.1.1.6.2 BP1 (64-bit) server and OBIEE 11.1.1.6.2 BP1 Client (32-bit) local machine.
    We have an OBIEE 11.1.1.6.2 BP1(64-bit) setup on a 64-bit ‘Windows Server 2008 R2 Enterprise’ machine.
    OBIEE dev team members have 32-bit local machines.
    OBIEE “Admin team member” (who will work on RPD) has OBIEE 11g client (BP1) installed on their *32-bit local machine*(which is common client software for 32/64 bit.)
    Now, two ODBC connections were created on this 32-bit local Client machine, with OBIEE 11g client installed on it.
    One with “BI server driver” for connection to OBIEE server machine(64-bit) to open RPD and other with “Oracle database driver” to connect to the Oracle database on 64-bit machine, to import tables.
    With this setup done, I am able to open the RPD in online mode and view the existing sampleapp related objects present in it.
    But when I try to import metadata from OBIEE client admin tool using OCI or ODBC, it gives an error that “Connection fails! “
    I have the required tns entry in my tnsnames.ora file and I am able to connect to this database from the local client machine, using sqlplus.
    Kindly let me know if there are any restrictions in using this type of a setup combination of 32-bit and 64-bit machines for OBIEE 11.1.1.6.2 BP1 setup.
    If not then, what steps are to be followed to do the setup btw 64-bit OBIEE server and 32-bit OBIEE client to make table import working.

    Hi Veeravalli.. Thanks for your response.
    I have my tns file residing in both the location you mentioned on the server machine. (64-bit)
    •     {Oracle_BI1}\network\admin directory
    •     {oracle_common}\network\admin directory
    And also in the below Oracle_home path of oracle_client in the local machine. (32-bit, Oracle 11g R2 database client)
    •     {oracle_Home}\product\11.2.0\client_1\network\admin
    Also, I have used the full expanded tnsnames as you mentioned. Still issue persists.
    When I use , “DataDirect 6.0 ODBC Oracle Wire Protocol” driver, for creating the system DSN and try to import tables from OBIEE client admin tool on local client machine, the connection happens and table list comes up, but it’s an SAP product and hence it throws a msg to purchase the tool to go further with table import.
    I am wondering if I any other configuration steps need to be carried out, with the ODBC/OCI set up between 64-bit OBIEE server and 32-bit OBIEE client.
    Also, the source database that I am trying to connect to is yet again on a 64-bit machine(Oracle 11g R2).
    Please suggest.

Maybe you are looking for

  • How to configure multiple cisco 3750x switches

    Hi All, we recently bought 25 x 3750-48PS switches and need to roll them out with similar IOS and configuration. I normally get a console to the switch from my laptop and do one by one. is there a better way or software which can speed up the process

  • Converting Binary to date

    Hello Experts, I have a table , having one column called Timestamp with Data Type Binary(8) . How can I convert this column with the binary data type to date type for we suppose this column is containing a Date type value. Output sample: SELECT ACCOU

  • Histrorical Material Ageing

    Hi Experts, Is there a way by which I can get a report from SAP on material ageing for a historical date ( say a month back) today. Regards Milind Nair

  • Question for Otto or anyone re: Sound Check

    Hi, I have noticed that many times (don't know if it happens all the time) when I reimport a song and choose to "Replace Existing," the original Sound Check adjustment (associated with the replaced song) seems to be retained while a new adjustment is

  • Forms in iweb

    I wish to place a form on my iweb site which can be filled out by a visitor and then emailed using the email me button. How do I do this?