Characterset Al32UTF8 Issue

Hi,
Our db is set with Character set as "AL32UTF8" and are storing multi-language data. Taking Greece data as sample
data stored as below in the DB
First Name Last Name
?S?????S G?O?G??S
Can anybody guide me on how to store this data properly?
Thanks,
Parthy.

Correct forum for Globalization Support (NLS) issues is:
Globalization Support
Hint: use dump() function to verify what's actually stored in the database.

Similar Messages

  • Data not viewable in table using Control file  CharacterSet AL32UTF8

    i have a flat file which contains Chinese characters and English Characters
    I have to create a control file, to insert the data in this flat file to the Table
    The characterset i am using in my control file is AL32UTF8
    When i use this characterset the data is getting loaded into the table,but i am not able to view the Chinese characters.
    i am able to see some Upside down question mark symbol
    Please help me of how to view the chinese characters into the table
    Is that any other characterset i have to set in Control file

    NLS_LANG is an environment variable. I'm assuming you're on Windows, so it's probably something like
    Control Panel | System | Advanced | Environment Variables
    Given that you're using Toad, though, there may be someplace there where you set the character set. There is a discussion on Eddie Awad's blog on how various tools can be made to display Unicode data
    http://awads.net/wp/2006/07/06/sql-developer-and-utf8/
    Some of the comments discuss Toad, though that's not a tool I'm familiar with.
    If you happen to be able to use iSQL*Plus, since that's browser based, it supports unicode natively. That's often the easiest solution.
    Justin

  • Latin-1 Characterset Translation Issues

    I have an Oracle 9.2.0.5 database on OpenVMS 7.3-2. Currently, there are 101 incorrect Latin-1 to Latin-1 character set translations that are being loaded into my Oracle database (Incorrect OS conversion tables when data is transfered from source system).
    NLS DB parameters (nls parameters not listed are default values):
    nls_language string AMERICAN
    nls_length_semantics string BYTE
    nls_nchar_conv_excp string FALSE
    nls_territory string AMERICA
    example:
    Source Data : Résine de PolyPropylène
    Loaded in my database after OS translation: R©sine de PolyPropyl¬ne
    The invalid translations are happening external to the oracle database at the OS level. My problem is I need to correct all the invalid character sets that are in my database. The database is current 3.5TB in size, so I have to do this in an efficient matter. I know what the before (invalid translations values in HEX) and after (correct translations in HEX) values are.
    Is there a PL/SQL program or Oracle tool that can help me to correct these values against millions of rows of data in Oracle (Basically a characterset translation program)?
    I have a C program that works to convert the charactersets if they are in a CSV file. The problem is it takes to long to extract the data from oracle into CSV files for tables that are multi-millions of rows.
    Any help is appreciated.

    It looks like during the insertion from ASP the Latin 1 string has not been converted to UTF8. Hence you are storing Latin-1 encoding inside a UTF-8 database.
    I thought it would automatically be handled by OO4O.True. Did you specify the character set of the NLS_LANG env variable for the OO4O client to WE8ISO8859P1 ? If it was set to UTF8 then Oracle will assume that the encoding coming thru' the ASP page are in UTF-8 , hence no conversion takes place ..
    Also may be you should check the CODEPAGE directive and Charset property in your ASP ?
    null

  • Database Characterset AL32UTF8  junk in forms

    Hi,
    I am facing weird problem in oracle forms 10gR2.
    recently, i changed my database character set to AL32UTF8
    I set forms env NLS_LANG TO = AMERICAN.AMERICA.WE8MSWIN1252
    I tried with AR8MSWIN1256.
    I have following database field on my canvas.
    Remarks - Database field - Multiline - 2000 characters.
    when i save new record, all i can see is junk characters.
    Another weird problem is value of one field is getting into another field.
    I checked all my code, but unable to resolve mystry.
    any idea.

    i tried it with AMERICAN.AMERICA.WE8MSWIN1252
    on a sample table p1(cd number, dscr varchar2(2000))
    and entered English and Greek and worked ok.
    chk your default.env in case you just altered your registry only.
    chk from sqlplus also to see if you experience the same behavior.
    keep in mind of the font used... for multilingual apps i think you must use
    arial or lucida
    lucida i've used in the past without problem on a multi lang app.
    my terst was made with 10gR2 forms (10.1.2.0.2)

  • Oracle 11g decode issue with null

    Hi,
    we want to migrate from Oracle 10g to Oracle 11g and have an issue with decode.
    The database has the following character set settings:
    NLS_CHARACTERSET = AL32UTF8 in Oracle 11g and UTF8 in Oracle 10g
    NLS_NCHAR_CHARACTERSET = AL16UTF16
    If I try a select with decode which has null as first result argument I will get a wrong value.
    select decode(id, null, null, name) from tab1;
    ("name" is a NVARCHAR2 field. Table tab1 has only one entry and "id" is not null.)
    This select returns a value with characters which are splitted by 0 bytes.
    In Oracle 10g the value without 0 bytes is delivered.
    If I suround the decode with dump I get following results:
    select dump(decode(id, null, null, name), 1016) from tab1;
    Oracle 10g: Typ=1 Len=6 CharacterSet=AL32UTF8: 4d,61,72,74,69,6e
    Oracle 11g: Typ=1 Len=12 CharacterSet=US7ASCII: 0,4d,0,61,0,72,0,74,0,69,0,6e
    NLS_LANG has no effect on the character set of 'null' in Oracle 11g.
    Non null literals work:
    select dump(decode(id, null, 'T', name), 1016) from tab1;
    Oracle 10g: Typ=1 Len=6 CharacterSet=UTF8: 4d,61,72,74,69,6e
    Oracle 11g: Typ=1 Len=6 CharacterSet=AL32UTF8: 4d,61,72,74,69,6e
    select dump(decode(id, null, N'T', name), 1016) from tab1;
    Oracle 10g: Typ=1 Len=12 CharacterSet=AL16UTF16: 0,4d,0,61,0,72,0,74,0,69,0,6e
    Oracle 11g: Typ=1 Len=12 CharacterSet=AL16UTF16: 0,4d,0,61,0,72,0,74,0,69,0,6e
    Here the scripts for creating the table and the entry:
    create table tab1 (
    id NUMBER(3),
    name NVARCHAR2(10)
    insert into tab1 (id, name) values (1, N'Martin');
    commit;
    Is it possible to change the character set?
    Could you please help me?
    Regards
    Martin

    This doesn't have the problem.looks this doesn't solve the problem (of returning a value with characters which are splitted by 0 bytes):
    SQL> select * from v$version where rownum = 1
    BANNER                                                                         
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production         
    1 row selected.
    SQL> select dump(decode(id, null, null, name), 1016) from tab1
    union all
    select dump(case id when null then null else name end, 1016) cs from tab1
    DUMP(DECODE(ID,NULL,NULL,NAME),1016)                                           
    Typ=1 Len=12 CharacterSet=US7ASCII: 0,4d,0,61,0,72,0,74,0,69,0,6e              
    Typ=1 Len=12 CharacterSet=AL16UTF16: 0,4d,0,61,0,72,0,74,0,69,0,6e             
    2 rows selected.You need to explicitly convert the third parameter to char:
    SQL> select dump(decode(id, null, to_char(null), name), 1016) from tab1
    DUMP(DECODE(ID,NULL,TO_CHAR(NULL),NAME),1016)                                  
    Typ=1 Len=6 CharacterSet=WE8MSWIN1252: 4d,61,72,74,69,6e                       
    1 row selected.

  • German Characters issue while invoking Web Services via UTL_HTTP

    Dear Forum Members,
    I'm trying to invoke SAP CRM Web services from Oracle PL/SQL. I have used following code which is working fine.
    -- call web service using Oracle UTIL_HTTP packages
    DECLARE
      http_req utl_http.req;
         http_resp utl_http.resp;
         lv_request VARCHAR2(32767);
         lc_response CLOB;
         lv_buffer VARCHAR2(32000);
         lv_name          VARCHAR2(256);
         lv_hdr_value     VARCHAR2(1024);     
         l_xml XMLType;          
    BEGIN     
         utl_http.set_persistent_conn_support(true);
         utl_http.set_transfer_timeout(600);
         http_req:= utl_http.begin_request
                                       ( url => 'http://xyz3ni92.server.xyz.com:8045/sap/bc/srt/xip/sap/crm_bupa_custid_qr/011/customersbycrmid/http_binding'
                                       , method => 'POST'                              
         lv_request := '<?xml version="1.0" encoding="UTF-8"?>'
         ||'<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:glob="http://sap.com/xi/CRM/Global2">'
       ||'<soap:Header/>'
       ||'<soap:Body>'
          ||'<glob:CustomerCRMByIDQuery>'
             ||'<MessageHeader>'
                ||'<ID schemeID="?" schemeAgencyID="?" schemeAgencySchemeAgencyID="?"></ID>'
                ||'<UUID></UUID>'
                ||'<ReferenceID schemeID="?" schemeAgencyID="?" schemeAgencySchemeAgencyID="?"></ReferenceID>'
                ||'<ReferenceUUID></ReferenceUUID>'
             ||'</MessageHeader>'
             ||'<BusinessPartnerSelectionByBusinessPartner>'
                ||'<UUID schemeID="?" schemeAgencyID="?"></UUID>'
                ||'<InternalID>2200117598</InternalID>'
             ||'</BusinessPartnerSelectionByBusinessPartner>'
          ||'</glob:CustomerCRMByIDQuery>'
               ||'</soap:Body>'
         ||'</soap:Envelope>';     
         /*set username and password*/
         utl_http.set_authentication (
                   r => http_req,
                   username => 'WS_USER',
                   password => 'WS_PASSWORD',
                   scheme => 'Basic',
                   for_proxy => false);     
         utl_http.set_header(http_req, 'Content-Type', 'application/soap+xml;charset=UTF-8');
         utl_http.set_header(http_req, 'Content-Length', LENGTHB(lv_request));
         utl_http.write_text(http_req, lv_request);
         /*Make HTTP call*/
         http_resp:= utl_http.get_response(http_req);
         /*read response text from response*/
         BEGIN
                   LOOP
                             utl_http.read_text(http_resp, lv_buffer);
                             lc_response := lc_response || TO_CLOB(lv_buffer);
                   END LOOP;
         EXCEPTION
                   WHEN OTHERS THEN
                        -- ora-29266 end-of-body reached
                        IF SQLCODE <> -29266 THEN
                                  RAISE;
                        END IF;
         END;
         utl_http.end_response(http_resp);     
         l_xml := XMLType(lc_response);
         /*Log response for testing*/
         DELETE FROM webservice_log;
         INSERT INTO webservice_log (seq_id,xml_response) VALUES (sqe_Webservice_Log.NEXTVAL,l_xml);
    EXCEPTION WHEN OTHERS THEN
              RAISE;
    END;However, if there are any German Characters in SAP, then they are being replaced by JUNK data when they come to Oracle.
    If I invoke the same web-service suing tools like SOAP-UI, then German characters are coming fine. I have also traced web-service requests/responses from SAP side, and there response is showing fine. When it comes to Oracle, they are getting corrupted.
    I'm sure it's something to do with character-set, but I'm not able to find-out where and what I should fix/change.
    Thanks for your help in advance.
    DB: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    NLS_DATABASE_PARAMETERS
    PARAMETER                      VALUE                                 
    NLS_LANGUAGE                   AMERICAN                                
    NLS_TERRITORY                  AMERICA                                 
    NLS_CURRENCY                   $                                       
    NLS_ISO_CURRENCY               AMERICA                                 
    NLS_NUMERIC_CHARACTERS         .,                                      
    NLS_CHARACTERSET               AL32UTF8                                
    NLS_CALENDAR                   GREGORIAN                               
    NLS_DATE_FORMAT                DD-MON-RR                               
    NLS_DATE_LANGUAGE              AMERICAN                                
    NLS_SORT                       BINARY                                  
    NLS_TIME_FORMAT                HH.MI.SSXFF AM                          
    NLS_TIMESTAMP_FORMAT           DD-MON-RR HH.MI.SSXFF AM                
    NLS_TIME_TZ_FORMAT             HH.MI.SSXFF AM TZR                      
    NLS_TIMESTAMP_TZ_FORMAT        DD-MON-RR HH.MI.SSXFF AM TZR            
    NLS_DUAL_CURRENCY              $                                       
    NLS_COMP                       BINARY                                  
    NLS_LENGTH_SEMANTICS           BYTE                                    
    NLS_NCHAR_CONV_EXCP            FALSE                                   
    NLS_NCHAR_CHARACTERSET         AL16UTF16                               
    NLS_RDBMS_VERSION              11.2.0.1.0   Regards,
    Hari
    added further details by: Hari_639 on Apr 24, 2013 6:45 PM

    Hello Both,
    Thank you.
    I ran following command from SQL Plus window after connecting to DB..
    SQL> @[%NLS_LANG%]
    SP2-0310: unable to open file "[AMERICAN_AMERICA.WE8MSWIN1252]"And also I have checked actual data using DUMP function, it looks like data stored is wrong.
    I have updated one field in SAP such that it only contains German character ä. When I query corresponding data from Oracle I got following output..
    SELECT xmlresponse.Notes,
      dump(xmlresponse.Notes,1010) dump_text
    FROM webservice_log,
      Xmltable(Xmlnamespaces
                                  ('http://www.w3.org/2003/05/soap-envelope' AS "env",
                                   'http://sap.com/xi/CRM/Global2' AS "nm",
                                   'urn:sap.com:proxy:DCT:/1SAI/TAS57DF0B317943DEAE3C49:702' AS "prx"
                                   '/env:Envelope/env:Body/nm:CustomerCRMByIDResponse/BusinessPartner'
                                   PASSING xml_response
                                   columns
                                   NOTES VARCHAR2(4000) PATH 'TextCollection/Text/TextContent/Text'
                             ) XMLRESPONSE;
    /* Output */
    NOTES -- DUMP_TEXT
    ä     Typ=1 Len=4 CharacterSet=AL32UTF8: 195,131,194,164But decimal notation for German character ä is different!
    SELECT DUMP('ä',1010) dump_text from dual;
    /*Output*/
    DUMP_TEXT
    Typ=96 Len=2 CharacterSet=AL32UTF8: 195,164Regards,
    Hari

  • Problem finding docs using content index in DB with different charactersets

    Sorry for duplicating thread from [url http://forums.oracle.com/forums/thread.jspa?threadID=653067&tstart=0]this thread in Oracle Text forum, but it seems quite slow compared to this one, so probably someone has some suggestion.
    Problem explanation:
    DB version 10.2.0.1 SE on windows
    database characterset AL32UTF8
    I am creating following context index:
    create index myindex on g(Content)
    indextype is ctxsys.context
      parameters('filter ctxsys.auto_filter
      section group ctxsys.null_SECTION_GROUP');With following query:
    SELECT distinct filename FROM g f
    WHERE contains(F.Content, 'latiinju') >0;I can find latin symbols in ansi, utf-8 encoded text documents and msword and msexcel documents.
    With following query:
    SELECT distinct filename FROM g f
    WHERE contains(F.Content, 'latviešu') >0;I can find latvian symbols in utf-8 encoded text documents and msword and msexcel documents, which basically is OK.
    However there is another unfortunately already production database
    10.2.0.3.0 SE on windows
    with characterset BLT8CP921
    and with index as defined above queries find absolutely nothing for both latin and latvian texts.
    As soon as I've added another column "cset" in the table and filled it up with AL32UTF8 I can find latin characters for the same cases as in db above.
    Index in this case is as follows:
    create index myindex on g(Content)
    indextype is ctxsys.context
      parameters('filter ctxsys.auto_filter
      section group ctxsys.null_SECTION_GROUP
      charset column cset');However the problem is that for latvian characters it can find only UTF-8 encoded text files, but not doc and xls files and that's absolutely not OK.
    I've tried also another charactersets in cset columns, but without any success.
    So the question is - is there any possibility somehow to create the content index that it is possible to find also latvian specific symbols in doc and xls files in DB with characterset BLT8CP921?
    Of course the ultimate solution would be to recreate db with AL32UTF8 characterset but I'd like to avoid that if possible.
    TIA
    Gints Plivna

    I have applied performance tuning steps, like JAVA_POOL_SIZE, SGA_MAX_SIZE, increase table spaces size and change some other DB parameters. After applied, problematic index has been created without error and application is running fine without any error. Many thanks for your prompt suggestion, by which I could narrow down my problem. So, as my problem has been resolved, so please close this thread.
    Regards,
    Farhan Mazhar

  • Conversion between AL32UTF8 and EE8ISO8859P2

    Hi,
    we have two databases: one with characterset AL32UTF8 and another one with EE8ISO8859P2. Is it possible to replicate data(online) from one DB to another and vice versa with data conversion but without data losing? Data-replication works through triggers and database links. Unfortunetly, I got wrong characters on both sides. For example instead of 'é'(in the UTF8 DB) I got '??'(in the EE8ISO8859P2 DB.) So I lost data. Could someone help me? Is there any solution or there is no solution at all?
    Thanks,
    Csaba Lenkey

    EE8ISO8859P2 supports only central and Eastern European data. Any data going from EE8ISO8859P2 to AL32UTF8 should convert properly if you have set up parameter correctly like NLS_LANG, etc. However data going from AL32UTF8 to EE8ISO8859P2 may not convert properly as there are many code points in AL32UTF8 that do not have corresponding binary values in EE8ISO8859P2.

  • SQL Loader and foreign characters in the data file problem

    Hello,
    I have run into an issue which I can't find an answer for. When I run SQL Loader, one of my control files is used to get file content (LOBFILE) and one of the fields in the data file has a path to that file. The control file looks like:
    LOAD DATA
    INFILE 'PLACE_HOLDER.dat'
    INTO TABLE iceberg.rpt_document_core APPEND
    FIELDS TERMINATED BY ','
    doc_core_id "iceberg.seq_rpt_document_core.nextval",
    -- created_date POSITION(1) date "yyyy-mm-dd:hh24:mi:ss",
    created_date date "yyyy-mm-dd:hh24:mi:ss",
    document_size,
    hash,
    body_format,
    is_generic_doc,
    is_legacy_doc,
    external_filename FILLER char(275) ENCLOSED by '"',
    body LOBFILE(external_filename) terminated by EOF
    A sample data file looks like:
    0,2012-10-22:10:09:35,21,BB51344DD2127002118E286A197ECD4A,text,N,N,"E:\tmp\misc_files\index_testers\foreign\شیمیایی.txt"
    0,2012-10-22:10:09:35,17,CF85BE76B1E20704180534E19D363CF8,text,N,N,"E:\tmp\misc_files\index_testers\foreign\ลอบวางระเบิด.txt"
    0,2012-10-22:10:09:35,23552,47DB382558D69F170227AA18179FD0F0,binary,N,N,"E:\tmp\misc_files\index_testers\foreign\leesburgis_á_ñ_é_í_ó_ú_¿_¡_ü_99.doc"
    0,2012-10-22:10:09:35,17,83FCA0377445B60CE422DE8994900A79,binary,N,N,"E:\tmp\misc_files\index_testers\foreign\làm thế nào bạn làm ngày hôm nay"
    The problem is that whan I run this, SQL Loader throws an error that it can't find the file. It appears that it can't interpret the foreign characters in a way that allows it to find that path. I have tried adding a CHARACTERSET (using AL32UTF8 or UTF8) value in the control file but that only has some success with Western languages, not the ones listed above. Also, there is no set of defined languages that could be found in the data file. It essentaially could be any language.
    Does anyone know if there is a way to somehow get SQL Loader to "understand" the file system paths when a folder and/or file name could be in some other langauge?
    Thanks for any thoughts - Peter

    Thanks for the reply Harry. If I try to open the file in various text editors like Wordpad, Notepad, GVIM, andTextpad, they all display the foreign characters differently. Only Notepad comes close to displaying the characters properly. I have a C# app that will read the file and display the contents and it renders it fine. If you look at the directory of files in Windows Explorer, they all are displayed properly. So it seems things like .Net and Windows have some mechanism to understand the characters in order to render them properly. Other applications, again like Wordpad, do not know how to render them properly. It would seem that whatever SQL Loader is using to "read" the data files also is not rendering the characters properly which prevents it from finding the directory path to the file. If I add "CHARACTERSET AL32UTF8" in the control file, all is fine when dealing with Western langauges (ex, German, Spanish) but not for the Eastern languages (ex. Thai, Chinese). So .... telling SQL Loader to use a characterset seems to work, but not in all cases. The AL32UTF8 is the characterset that the Oracle database was created with. I have not had any luck if I try to set the CHARACTERSET to whatever the Thai character set is, for example. There problem there though is that even if that did work, I can't target specific lagauages because the data could come from anywhere. It's like I need some sort of global "super set" characterset to use. It seems like the CHARACTERSET is the right track to follow but I am not sure, and even if it is, is there a way to handle all languages.
    Thanks - Peter

  • [Oracle to PostgreSQL]connction string lacks some options

    Hi guys,
    I want to connect from oracle 11g to PostgreSQL 9.3 . l get this error message:
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    [unixODBC]connction string lacks some options {08001,NativeErr = 202}
    ORA-02063: preceding 2 lines from k
    but I can connected to PostgreSQL using isql.
    Oracle CharacterSet :AL32UTF8
    PostgreSQL server_encoding:UTF8
    PostgreSQL client_encoding:UTF8
    Here are my configuration files:
    odbc.ini:
    [PostgreSQL]
    Driver = /usr/local/pgsqlodbc/lib/psqlodbcw.so
    Description = Test2PG
    Servername = 192.168.0.1
    PORT = 5432
    Protocol = 9.3
    UserName = postgres
    Password = postgres
    Database = testdb
    TRACE =Yes
    TaceFile = /tmp/sql.log
    tnsnames.ora:
    PostgreSQL =
    (DESCRIPTION =
       (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.0.10)(PORT = 1521))
       (CONNECT_DATA =(SID = PostgreSQL)
      (HS =OK)
    listener.ora:
    SID_LIST_LISTENER=
      (SID_LIST=
        (SID_DESC=
          (SID_NAME=PostgreSQL)
          (ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_1)
          (EVNS=LD_LIBRARY_PATH=/usr/local/unixodbc/lib:/usr/local/pgsqlodbc/lib:/u01/app/oracle/product/11.2.0/dbhome_1/bin)
          (PROGRAM=dg4odbc)
    initiPostgreSQL.ora:
    HS_FDS_CONNECT_INFO = PostgreSQL
    HS_FDS_TRACE_LEVEL = 255
    HS_FDS_SHAREABLE_NAME = /usr/local/unixodbc/lib/libodbc.so
    HS_LANGUAGE=AMERICAN_AMERICA.WE8ISO8859P1
    set ODBCINI=/etc/odbc.ini
    Trace:
    Oracle Corporation --- THURSDAY  MAY 15 2014 15:59:19.875
    Heterogeneous Agent Release
    11.2.0.3.0
    Oracle Corporation --- THURSDAY  MAY 15 2014 15:59:19.874
        Version 11.2.0.3.0
    Entered hgogprd
    HOSGIP for "HS_FDS_TRACE_LEVEL" returned "255"
    Entered hgosdip
    setting HS_OPEN_CURSORS to default of 50
    setting HS_FDS_RECOVERY_ACCOUNT to default of "RECOVER"
    setting HS_FDS_RECOVERY_PWD to default value
    setting HS_FDS_TRANSACTION_LOG to default of HS_TRANSACTION_LOG
    setting HS_IDLE_TIMEOUT to default of 0
    setting HS_FDS_TRANSACTION_ISOLATION to default of "READ_COMMITTED"
    setting HS_NLS_NCHAR to default of "AL32UTF8"
    setting HS_FDS_TIMESTAMP_MAPPING to default of "DATE"
    setting HS_FDS_DATE_MAPPING to default of "DATE"
    setting HS_RPC_FETCH_REBLOCKING to default of "ON"
    setting HS_FDS_FETCH_ROWS to default of "100"
    setting HS_FDS_RESULTSET_SUPPORT to default of "FALSE"
    setting HS_FDS_RSET_RETURN_ROWCOUNT to default of "FALSE"
    setting HS_FDS_PROC_IS_FUNC to default of "FALSE"
    setting HS_FDS_MAP_NCHAR to default of "TRUE"
    setting HS_NLS_DATE_FORMAT to default of "YYYY-MM-DD HH24:MI:SS"
    setting HS_FDS_REPORT_REAL_AS_DOUBLE to default of "FALSE"
    setting HS_LONG_PIECE_TRANSFER_SIZE to default of "65536"
    setting HS_SQL_HANDLE_STMT_REUSE to default of "FALSE"
    setting HS_FDS_QUERY_DRIVER to default of "TRUE"
    setting HS_FDS_SUPPORT_STATISTICS to default of "FALSE"
    setting HS_FDS_QUOTE_IDENTIFIER to default of "TRUE"
    setting HS_KEEP_REMOTE_COLUMN_SIZE to default of "OFF"
    setting HS_FDS_GRAPHIC_TO_MBCS to default of "FALSE"
    setting HS_FDS_MBCS_TO_GRAPHIC to default of "FALSE"
    Default value of 32 assumed for HS_FDS_SQLLEN_INTERPRETATION
    setting HS_CALL_NAME_ISP to "gtw$:SQLTables;gtw$:SQLColumns;gtw$:SQLPrimaryKeys;gtw$:SQLForeignKeys;gtw$:SQLProcedures;gtw$:SQLStatistics;gtw$:SQLGetInfo"
    setting HS_FDS_DELAYED_OPEN to default of "TRUE"
    setting HS_FDS_WORKAROUNDS to default of "0"
    Exiting hgosdip, rc=0
    ORACLE_SID is "PostgreSQL"
    Product-Info:
      Port Rls/Upd:3/0 PrdStat:0
      Agent:Oracle Database Gateway for ODBC
      Facility:hsa
      Class:ODBC, ClassVsn:11.2.0.3.0_0011, Instance:PostgreSQL
    Exiting hgogprd, rc=0
    hostmstr:          0: HOA After hoagprd
    hostmstr:          0: HOA Before hoainit
    Entered hgoinit
    HOCXU_COMP_CSET=1
    HOCXU_DRV_CSET=31
    HOCXU_DRV_NCHAR=873
    HOCXU_DB_CSET=873
    HS_LANGUAGE is AMERICAN_AMERICA.WE8ISO8859P1
    LANG=en_US.UTF-8
    HOCXU_SEM_VER=112000
    Entered hgolofn at 2014/05/15-15:59:19
    HOSGIP for "HS_FDS_SHAREABLE_NAME" returned "/usr/local/unixodbc/lib/libodbc.so"
    Entered hgolofns at 2014/05/15-15:59:19
    libname=/usr/local/unixodbc/lib/libodbc.so, funcname=SQLAllocHandle
    symbol_peflctx=0x522520
    hoaerr:0
    Exiting hgolofns at 2014/05/15-15:59:19
    Entered hgolofns at 2014/05/15-15:59:19
    libname=/usr/local/unixodbc/lib/libodbc.so, funcname=SQLBindCol
    symbol_peflctx=0x5226c0
    hoaerr:0
    Exiting hgolofns at 2014/05/15-15:59:19
    Entered hgolofns at 2014/05/15-15:59:19
    libname=/usr/local/unixodbc/lib/libodbc.so, funcname=SQLBindParameter
    symbol_peflctx=0x523110
    hoaerr:0
    Exiting hgolofns at 2014/05/15-15:59:19
    Entered hgolofns at 2014/05/15-15:59:19
    libname=/usr/local/unixodbc/lib/libodbc.so, funcname=SQLCancel
    symbol_peflctx=0x524930
    hoaerr:0
    Exiting hgolofns at 2014/05/15-15:59:19
    Entered hgolofns at 2014/05/15-15:59:19
    libname=/usr/local/unixodbc/lib/libodbc.so, funcname=SQLDescribeParam
    symbol_peflctx=0x52e120
    hoaerr:0
    Exiting hgolofns at 2014/05/15-15:59:19
    Entered hgolofns at 2014/05/15-15:59:19
    libname=/usr/local/unixodbc/lib/libodbc.so, funcname=SQLDisconnect
    symbol_peflctx=0x52e670
    hoaerr:0
    Exiting hgolofns at 2014/05/15-15:59:19
    Entered hgolofns at 2014/05/15-15:59:19
    libname=/usr/local/unixodbc/lib/libodbc.so, funcname=SQLEndTran
    symbol_peflctx=0x531b50
    hoaerr:0
    Exiting hgolofns at 2014/05/15-15:59:19
    Entered hgolofns at 2014/05/15-15:59:19
    libname=/usr/local/unixodbc/lib/libodbc.so, funcname=SQLExecute
    symbol_peflctx=0x5336b0
    hoaerr:0
    Exiting hgolofns at 2014/05/15-15:59:19
    Entered hgolofns at 2014/05/15-15:59:19
    libname=/usr/local/unixodbc/lib/libodbc.so, funcname=SQLFetch
    symbol_peflctx=0x534070
    hoaerr:0
    Exiting hgolofns at 2014/05/15-15:59:19
    Entered hgolofns at 2014/05/15-15:59:19
    libname=/usr/local/unixodbc/lib/libodbc.so, funcname=SQLFreeHandle
    symbol_peflctx=0x5361e0
    hoaerr:0
    Exiting hgolofns at 2014/05/15-15:59:19
    Entered hgolofns at 2014/05/15-15:59:19
    libname=/usr/local/unixodbc/lib/libodbc.so, funcname=SQLFreeStmt
    symbol_peflctx=0x536210
    hoaerr:0
    Exiting hgolofns at 2014/05/15-15:59:19
    Entered hgolofns at 2014/05/15-15:59:19
    libname=/usr/local/unixodbc/lib/libodbc.so, funcname=SQLGetData
    symbol_peflctx=0x537fd0
    hoaerr:0
    Exiting hgolofns at 2014/05/15-15:59:19
    Entered hgolofns at 2014/05/15-15:59:19
    libname=/usr/local/unixodbc/lib/libodbc.so, funcname=SQLGetEnvAttr
    symbol_peflctx=0x53bc40
    hoaerr:0
    Exiting hgolofns at 2014/05/15-15:59:19
    Entered hgolofns at 2014/05/15-15:59:19
    libname=/usr/local/unixodbc/lib/libodbc.so, funcname=SQLGetFunctions
    symbol_peflctx=0x53c040
    hoaerr:0
    Exiting hgolofns at 2014/05/15-15:59:19
    Entered hgolofns at 2014/05/15-15:59:19
    libname=/usr/local/unixodbc/lib/libodbc.so, funcname=SQLMoreResults
    symbol_peflctx=0x53e0d0
    hoaerr:0
    Exiting hgolofns at 2014/05/15-15:59:19
    Entered hgolofns at 2014/05/15-15:59:19
    libname=/usr/local/unixodbc/lib/libodbc.so, funcname=SQLNumResultCols
    symbol_peflctx=0x53f030
    hoaerr:0
    Exiting hgolofns at 2014/05/15-15:59:19
    Entered hgolofns at 2014/05/15-15:59:19
    libname=/usr/local/unixodbc/lib/libodbc.so, funcname=SQLParamData
    symbol_peflctx=0x53f3f0
    hoaerr:0
    Exiting hgolofns at 2014/05/15-15:59:19
    Entered hgolofns at 2014/05/15-15:59:19
    libname=/usr/local/unixodbc/lib/libodbc.so, funcname=SQLPutData
    symbol_peflctx=0x541a40
    hoaerr:0
    Exiting hgolofns at 2014/05/15-15:59:19
    Entered hgolofns at 2014/05/15-15:59:19
    libname=/usr/local/unixodbc/lib/libodbc.so, funcname=SQLRowCount
    symbol_peflctx=0x541f30
    hoaerr:0
    Exiting hgolofns at 2014/05/15-15:59:19
    Entered hgolofns at 2014/05/15-15:59:19
    libname=/usr/local/unixodbc/lib/libodbc.so, funcname=SQLSetEnvAttr
    symbol_peflctx=0x5447f0
    hoaerr:0
    Exiting hgolofns at 2014/05/15-15:59:19
    Entered hgolofns at 2014/05/15-15:59:19
    libname=/usr/local/unixodbc/lib/libodbc.so, funcname=SQLSetDescRec
    symbol_peflctx=0x544570
    hoaerr:0
    Exiting hgolofns at 2014/05/15-15:59:19
    Entered hgolofns at 2014/05/15-15:59:19
    libname=/usr/local/unixodbc/lib/libodbc.so, funcname=SQLColAttribute
    symbol_peflctx=0x5254a0
    hoaerr:0
    Exiting hgolofns at 2014/05/15-15:59:19
    Entered hgolofns at 2014/05/15-15:59:19
    libname=/usr/local/unixodbc/lib/libodbc.so, funcname=SQLColumns
    symbol_peflctx=0x527280
    hoaerr:0
    Exiting hgolofns at 2014/05/15-15:59:19
    Entered hgolofns at 2014/05/15-15:59:19
    libname=/usr/local/unixodbc/lib/libodbc.so, funcname=SQLConnect
    symbol_peflctx=0x52b600
    hoaerr:0
    Exiting hgolofns at 2014/05/15-15:59:19
    Entered hgolofns at 2014/05/15-15:59:19
    libname=/usr/local/unixodbc/lib/libodbc.so, funcname=SQLDescribeCol
    symbol_peflctx=0x52d8c0
    hoaerr:0
    Exiting hgolofns at 2014/05/15-15:59:19
    Entered hgolofns at 2014/05/15-15:59:19
    libname=/usr/local/unixodbc/lib/libodbc.so, funcname=SQLDriverConnect
    symbol_peflctx=0x52f420
    hoaerr:0
    Exiting hgolofns at 2014/05/15-15:59:19
    Entered hgolofns at 2014/05/15-15:59:19
    libname=/usr/local/unixodbc/lib/libodbc.so, funcname=SQLExecDirect
    symbol_peflctx=0x532ff0
    hoaerr:0
    Exiting hgolofns at 2014/05/15-15:59:19
    Entered hgolofns at 2014/05/15-15:59:19
    libname=/usr/local/unixodbc/lib/libodbc.so, funcname=SQLForeignKeys
    symbol_peflctx=0x534bc0
    hoaerr:0
    Exiting hgolofns at 2014/05/15-15:59:19
    Entered hgolofns at 2014/05/15-15:59:19
    libname=/usr/local/unixodbc/lib/libodbc.so, funcname=SQLGetConnectAttr
    symbol_peflctx=0x536670
    hoaerr:0
    Exiting hgolofns at 2014/05/15-15:59:19
    Entered hgolofns at 2014/05/15-15:59:19
    libname=/usr/local/unixodbc/lib/libodbc.so, funcname=SQLGetDescField
    symbol_peflctx=0x538800
    hoaerr:0
    Exiting hgolofns at 2014/05/15-15:59:19
    Entered hgolofns at 2014/05/15-15:59:19
    libname=/usr/local/unixodbc/lib/libodbc.so, funcname=SQLGetDescRec
    symbol_peflctx=0x538ea0
    hoaerr:0
    Exiting hgolofns at 2014/05/15-15:59:19
    Entered hgolofns at 2014/05/15-15:59:19
    libname=/usr/local/unixodbc/lib/libodbc.so, funcname=SQLGetDiagField
    symbol_peflctx=0x53a350
    hoaerr:0
    Exiting hgolofns at 2014/05/15-15:59:19
    Entered hgolofns at 2014/05/15-15:59:19
    libname=/usr/local/unixodbc/lib/libodbc.so, funcname=SQLGetDiagRec
    symbol_peflctx=0x53b220
    hoaerr:0
    Exiting hgolofns at 2014/05/15-15:59:19
    Entered hgolofns at 2014/05/15-15:59:19
    libname=/usr/local/unixodbc/lib/libodbc.so, funcname=SQLGetInfo
    symbol_peflctx=0x53cbd0
    hoaerr:0
    Exiting hgolofns at 2014/05/15-15:59:19
    Entered hgolofns at 2014/05/15-15:59:19
    libname=/usr/local/unixodbc/lib/libodbc.so, funcname=SQLGetStmtAttr
    symbol_peflctx=0x53cf60
    hoaerr:0
    Exiting hgolofns at 2014/05/15-15:59:19
    Entered hgolofns at 2014/05/15-15:59:19
    libname=/usr/local/unixodbc/lib/libodbc.so, funcname=SQLGetTypeInfo
    symbol_peflctx=0x53dc40
    hoaerr:0
    Exiting hgolofns at 2014/05/15-15:59:19
    Entered hgolofns at 2014/05/15-15:59:19
    libname=/usr/local/unixodbc/lib/libodbc.so, funcname=SQLPrepare
    symbol_peflctx=0x53fce0
    hoaerr:0
    Exiting hgolofns at 2014/05/15-15:59:19
    Entered hgolofns at 2014/05/15-15:59:19
    libname=/usr/local/unixodbc/lib/libodbc.so, funcname=SQLPrimaryKeys
    symbol_peflctx=0x540340
    hoaerr:0
    Exiting hgolofns at 2014/05/15-15:59:19
    Entered hgolofns at 2014/05/15-15:59:19
    libname=/usr/local/unixodbc/lib/libodbc.so, funcname=SQLProcedureColumns
    symbol_peflctx=0x540ae0
    hoaerr:0
    Exiting hgolofns at 2014/05/15-15:59:19
    Entered hgolofns at 2014/05/15-15:59:19
    libname=/usr/local/unixodbc/lib/libodbc.so, funcname=SQLProcedures
    symbol_peflctx=0x541300
    hoaerr:0
    Exiting hgolofns at 2014/05/15-15:59:19
    Entered hgolofns at 2014/05/15-15:59:19
    libname=/usr/local/unixodbc/lib/libodbc.so, funcname=SQLSetConnectAttr
    symbol_peflctx=0x542270
    hoaerr:0
    Exiting hgolofns at 2014/05/15-15:59:19
    Entered hgolofns at 2014/05/15-15:59:19
    libname=/usr/local/unixodbc/lib/libodbc.so, funcname=SQLSetStmtAttr
    symbol_peflctx=0x546050
    hoaerr:0
    Exiting hgolofns at 2014/05/15-15:59:19
    Entered hgolofns at 2014/05/15-15:59:19
    libname=/usr/local/unixodbc/lib/libodbc.so, funcname=SQLSetDescField
    symbol_peflctx=0x5440d0
    hoaerr:0
    Exiting hgolofns at 2014/05/15-15:59:19
    Entered hgolofns at 2014/05/15-15:59:19
    libname=/usr/local/unixodbc/lib/libodbc.so, funcname=SQLStatistics
    symbol_peflctx=0x548140
    hoaerr:0
    Exiting hgolofns at 2014/05/15-15:59:19
    Entered hgolofns at 2014/05/15-15:59:19
    libname=/usr/local/unixodbc/lib/libodbc.so, funcname=SQLTables
    symbol_peflctx=0x5491b0
    hoaerr:0
    Exiting hgolofns at 2014/05/15-15:59:19
    Exiting hgolofn, rc=0 at 2014/05/15-15:59:19
    HOSGIP for "HS_OPEN_CURSORS" returned "50"
    HOSGIP for "HS_FDS_FETCH_ROWS" returned "100"
    HOSGIP for "HS_LONG_PIECE_TRANSFER_SIZE" returned "65536"
    HOSGIP for "HS_NLS_NUMERIC_CHARACTER" returned ".,"
    HOSGIP for "HS_KEEP_REMOTE_COLUMN_SIZE" returned "OFF"
    HOSGIP for "HS_FDS_DELAYED_OPEN" returned "TRUE"
    HOSGIP for "HS_FDS_WORKAROUNDS" returned "0"
    HOSGIP for "HS_FDS_MBCS_TO_GRAPHIC" returned "FALSE"
    HOSGIP for "HS_FDS_GRAPHIC_TO_MBCS" returned "FALSE"
    Invalid value of 32 given for HS_FDS_SQLLEN_INTERPRETATION
    treat_SQLLEN_as_compiled = 1
    Exiting hgoinit, rc=0 at 2014/05/15-15:59:19
    hostmstr:          0: HOA After hoainit
    hostmstr:          0: HOA Before hoalgon
    Entered hgolgon at 2014/05/15-15:59:19
    reco:0, name:postgres, tflag:0
    Entered hgosuec at 2014/05/15-15:59:19
    Exiting hgosuec, rc=0 at 2014/05/15-15:59:19
    HOSGIP for "HS_FDS_RECOVERY_ACCOUNT" returned "RECOVER"
    HOSGIP for "HS_FDS_TRANSACTION_LOG" returned "HS_TRANSACTION_LOG"
    HOSGIP for "HS_FDS_TIMESTAMP_MAPPING" returned "DATE"
    HOSGIP for "HS_FDS_DATE_MAPPING" returned "DATE"
    HOSGIP for "HS_FDS_MAP_NCHAR" returned "TRUE"
    HOSGIP for "HS_FDS_RESULTSET_SUPPORT" returned "FALSE"
    HOSGIP for "HS_FDS_RSET_RETURN_ROWCOUNT" returned "FALSE"
    HOSGIP for "HS_FDS_PROC_IS_FUNC" returned "FALSE"
    HOSGIP for "HS_FDS_REPORT_REAL_AS_DOUBLE" returned "FALSE"
    using postgres as default value for "HS_FDS_DEFAULT_OWNER"
    HOSGIP for "HS_SQL_HANDLE_STMT_REUSE" returned "FALSE"
    Entered hgocont at 2014/05/15-15:59:19
    HS_FDS_CONNECT_INFO = "PostgreSQL"
    RC=-1 from HOSGIP for "HS_FDS_CONNECT_STRING"
    Entered hgogenconstr at 2014/05/15-15:59:19
    dsn:PostgreSQL, name:postgres
    optn:
    Entered hgocip at 2014/05/15-15:59:19
    dsn:PostgreSQL
    Exiting hgocip, rc=0 at 2014/05/15-15:59:19
    ##>Connect Parameters (len=40)<##
    ## DSN=PostgreSQL;
    #! UID=postgres;
    #! PWD=*
    Exiting hgogenconstr, rc=0 at 2014/05/15-15:59:19
    Entered hgopoer at 2014/05/15-15:59:19
    hgopoer, line 231: got native error 202 and sqlstate 08001; message follows...
    [unixODBC]connction string lacks some options {08001,NativeErr = 202}
    Exiting hgopoer, rc=0 at 2014/05/15-15:59:19
    hgocont, line 2754: calling SqlDriverConnect got sqlstate 08001
    Exiting hgocont, rc=28500 at 2014/05/15-15:59:19 with error ptr FILE:hgocont.c LINE:2774 FUNCTION:hgocont() ID:Something other than invalid authorization
    Exiting hgolgon, rc=28500 at 2014/05/15-15:59:19 with error ptr FILE:hgolgon.c LINE:801 FUNCTION:hgolgon() ID:Calling hgocont
    hostmstr:          0: HOA After hoalgon
    RPC Calling nscontrol(0), rc=0
    hostmstr:          0: RPC Before Exit Agent
    hostmstr:          0: HOA Before hoaexit
    Entered hgoexit at 2014/05/15-15:59:19
    Exiting hgoexit, rc=0
    hostmstr:          0: HOA After hoaexit
    hostmstr:          0: RPC After Exit Agent
    ODBC Trace:
    [ODBC][6580][1400140759.882270][SQLSetConnectAttr.c][396]
      Entry:
      Connection = 0x90bd960
      Attribute = SQL_ATTR_AUTOCOMMIT
      Value = (nil)
      StrLen = -5
    [ODBC][6580][1400140759.882326][SQLSetConnectAttr.c][671]
      Exit:[SQL_SUCCESS]
    [ODBC][6580][1400140759.882642][SQLDriverConnect.c][728]
      Entry:
      Connection = 0x90bd960
      Window Hdl = (nil)
      Str In = [DSN=PostgreSQL;UID=postgres;PWD=********][length = 40]
      Str Out = 0x90bd200
      Str Out Max = 1024
      Str Out Ptr = 0xbfd1e25c
      Completion = 0
      UNICODE Using encoding ASCII 'ANSI_X3.4-1968' and UNICODE 'UCS-2LE'
      DIAG [08001] connction string lacks some options
    [ODBC][6580][1400140759.887954][SQLDriverConnect.c][1454]
      Exit:[SQL_ERROR]
    [ODBC][6580][1400140759.888032][SQLGetDiagRec.c][680]
      Entry:
      Connection = 0x90bd960
      Rec Number = 1
      SQLState = 0xbfd1df58
      Native = 0xbfd1df7c
      Message Text = 0xbfd1dd20
      Buffer Length = 510
      Text Len Ptr = 0xbfd1df94
    [ODBC][6580][1400140759.888065][SQLGetDiagRec.c][717]
      Exit:[SQL_SUCCESS]
      SQLState = 08001
      Native = 0xbfd1df7c -> 202
      Message Text = [[unixODBC]connction string lacks some options]
    [ODBC][6580][1400140759.888108][SQLGetDiagRec.c][680]
      Entry:
      Connection = 0x90bd960
      Rec Number = 2
      SQLState = 0xbfd1df58
      Native = 0xbfd1df7c
      Message Text = 0xbfd1dd20
      Buffer Length = 510
      Text Len Ptr = 0xbfd1df94
    [ODBC][6580][1400140759.888136][SQLGetDiagRec.c][717]
      Exit:[SQL_NO_DATA]
    [ODBC][6580][1400140759.888222][SQLDisconnect.c][208]
      Entry:
      Connection = 0x90bd960
    [ODBC][6580][1400140759.888250][SQLDisconnect.c][237]Error: 08003
    [ODBC][6580][1400140759.888319][SQLFreeHandle.c][284]
      Entry:
      Handle Type = 2
      Input Handle = 0x90bd960
    [ODBC][6580][1400140759.888352][SQLFreeHandle.c][333]
      Exit:[SQL_SUCCESS]
    [ODBC][6580][1400140759.889499][SQLFreeHandle.c][219]
      Entry:
      Handle Type = 1
      Input Handle = 0x90abf70
    Thank you.

    When looking at the strace file the Driver Manager tries to load the odbc.ini you specified in your gateway init file: set ODBCINI=/etc/odbc.ini
    but that fails as the oracle user can not access it - instead it tries to load a different file:
    17811 open("/etc/odbc.ini", O_WRONLY|O_CREAT|O_APPEND, 0666) = -1 EACCES (Permission denied)
    17811 open("/usr/local/unixodbc/etc/odbc.ini", O_RDONLY) = 8
    Could you please make sure that the oracle user can access that file?
    You also mentioned at the beginning that you could connect to the Postgres database using isql - did you do the test as "oracle" user and what ENV parameters have you set before opening isql?
    Just a minor issue which has no impact as your LD_LIBRARY_PATH in the environment is set correctly - the listener.ora file contains the line
    (EVNS=LD_LIBRARY_PATH=/usr/local/unixodbc/lib:/usr/local/pgsqlodbc/lib:/u01/app/oracle/product/11.2.0/dbhome_1/bin)
    but EVNS should be ENVS or even better ENV. So please correct:
    (EVNS=LD_LIBRARY_PATH=/usr/local/unixodbc/lib:/usr/local/pgsqlodbc/lib:/u01/app/oracle/product/11.2.0/dbhome_1/bin)
    to
    (ENV="LD_LIBRARY_PATH=/usr/local/unixodbc/lib:/usr/local/pgsqlodbc/lib:/u01/app/oracle/product/11.2.0/dbhome_1/bin")
    Then stop and start the listener.
    - Klaus

  • Arabic characters not displaying in Forms

    Problem :
    I have a xml in the unix server machine and I try to read that xml file through a dba job which is using simple utl_file functionality.
    To read the file and put in a table of column CLOB.
    I'm checking it from front end Oracle 10g form 's text item , I'm getting junk characters like ???????
    I tried to check whether the data stored in db is correct by running below program to generate message to the text file
    BEGIN
    for x in (
    select message from tb_xml_in where xml_sr_no='123'
    loop
       clob_to_file( '/test/debug/',
       'test' || '.txt',
       x.message );
    end loop;
    END;I transferred the test.txt from unix and checked in notepad of my machine where Arabic character is enabled
    and it is showing me Arabic character.
    Which means its storing correct in db but not able to show it correct in through FMB.
    Database details:
    NLS parameter is
    NLS_LANGUAGE          AMERICAN
    NLS_TERRITORY          AMERICA
    NLS_NCHAR_CONV_EXCP     FALSE
    NLS_CHARACTERSET     AR8MSWIN1256
    NLS_NCHAR_CHARACTERSET     AL16UTF16
    NLS_LENGTH_SEMANTICS     BYTE
    NLS_RDBMS_VERSION     10.2.0.4.0
    select * from V$NLS_VALID_VALUES where parameter = 'CHARACTERSET' and value like '%UTF%';
    PARAMETER     VALUE          ISDEPRECATED
    CHARACTERSET     AL24UTFFSS     TRUE
    CHARACTERSET     UTF8          FALSE
    CHARACTERSET     UTFE          FALSE
    CHARACTERSET     AL32UTF8     FALSE
    CHARACTERSET     AL16UTF16     FALSE
    select * from V$version;
    BANNER
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi
    PL/SQL Release 10.2.0.4.0 - Production
    CORE    10.2.0.4.0      ProductionChanging NLS Characterset of db is not currently recommended as the production database is very huge.
    Can you please help on how i can resolve this issue.

    even though the NLS_LANG is AMERICAN_AMERICA.US7ASCII in formconfig.
    My utl_file.Get_line not reading arabic character in my xml file.
    since my incoming xml is in UTF8 format, I used following code to read xml as raw data type and converting format from UTF8 to database format(i.e., Arabic) and I'm able to see Arabic from front end
    DECLARE
    v_Data1 varchar2(32767 BYTE);
    v_Data2 varchar2(32767 BYTE);
    v_Raw1 raw(32767);
    v_Targetcharset varchar2(40 BYTE);
    v_Dbcharset varchar2(40 BYTE);
    v_inf UTL_FILE.FILE_TYPE;
    l_UTL_DIR varchar2(1000) := '/test/arabic/in/xml/';
    v_Filecharset varchar2(100);
    v_nchar NVARCHAR2(4000);
    BEGIN
    v_Filecharset := 'AMERICAN_AMERICA.AL32UTF8' ;
    v_Dbcharset:= 'ARABIC_UNITED ARAB EMIRATES.AR8MSWIN1256' ;
    dbms_output.put_line('here1');
    V_Inf := UTL_FILE.FOPEN(l_UTL_DIR,'testing.xml', 'R',32767);
    dbms_output.put_line('here2');
    UTL_FILE.GET_RAW(V_inf, v_Raw1, 2000);
    dbms_output.put_line('here3');
    v_Raw1 := UTL_RAW.CONVERT (v_Raw1,v_Dbcharset,v_Filecharset);
    dbms_output.put_line('here5');
    v_Data2 := utl_raw.cast_to_varchar2 (v_Raw1);
    dbms_output.put_line('here6');
    update sample_test set sample_col1 = v_Data2
    where sample_col2 ='XXXXX';
    UTL_FILE.FClose(v_inf);
    commit;
    EXCEPTION
    WHEN OTHERS THEN
         dbms_output.put_line('SQLERRM ='||SQLERRM);
    End;
    /Edited by: Leonard on Aug 31, 2012 4:32 AM

  • How to create ODBC connection between Oracle 10g and MS SQL Server

    Hi,
    Can someone help us with the steps to create an ODBC connection between Oracle APPS using Oracle 10g database and MS SQL Server.
    Requirement is to extract the transactional data from MS SQL Server on a daily basis and dump it into Oracle tables for an interface to be run. Currently it is being done through Dataloader tool which we feel is causing the data issue with Arabic characters. We want to create the ODBC directly between Oracle and MS SQL Server and check if the data is being pulled correctly.
    The data is in sql server 2000 which has data in Arabic_CI_AS character set which is moved to Oracle 10.2.0.3 database with characterset AL32UTF8. The table data is moved to oracle using the dataloader 3.6 standard edition licensed version. We cannot change the character set of Sql Server 2000.
    Please help
    Thanks
    Shanil

    Hi,
    If you're trying to PULL data from SQLServer into an Oracle database, you wouldnt use Oracle ODBC driver for that, so you may want to post in the Heterogeneous Services forum instead:
    Heterogeneous Connectivity
    If you're trying to PUSH data from SQLServer into an Oracle database, you could use ODBC but most folks use OLEDB for that, and the following note on MOS should help:
    How to Create a Sql Server Linked Server With The Oracle Provider for OLE DB     (Doc ID 191368.1)
    As with any NLS related issue, the first thing to do is dump the codepoints of the data in the Oracle database to see if it is stored validly, rather than relying on what the data "looks like" from some tool or other. It's best to check a single row, with only a few characters in it if you can, and you can do that via
    SELECT DUMP(<columname>,1016) FROM <tablename> WHERE ...
    Hope it helps,
    Greg

  • SQL*LOADER ERROR WHILE LOADING ARABIAN DATA INTO UNICODE DATABSE

    Hi,
    I was trying to load arabic data using sql*loader and the datafile is in .CSV format.But i am facing a error Value to large for a column while loading and some data are not loaded due to this error.My target database character set is..
    Characterset : AL32UTF8
    National Character set: AL16UTF16
    DB version:-10g release 2
    OS:-Cent OS 5.0/redhat linux 5.0
    I have specified the characterset AR8MSWIN1256/AR8ISO8859P6/AL32UTF8/UTF8 separately in the sql*loader control file,but getting the same error for all the cases.
    I have also created the table with CHAR semantics and have specified the "LENGTH SEMANTICS CHAR" in the sql*loader control file but again same error is coming.
    I have also changed the NLS_LANG setting.
    I am getting stunned that the data that i am goin to load using sql*loader, it is resided in the same database itself.But when i am generating a csv for those datas and trying to load using sql*loader to the same database and same table structure,i am getting this error value too large for a column.
    whats the probs basically???? whether the datafile is problemetic as i am generating the csv programmetically or is there any problem in my approach of loading unicode data.
    Please help...

    Here's what we know from what you've posted:
    1. You may be running on an unsupported operating system ... likely not the issue but who knows.
    2. You are using some patch level of 10gR2 of the Oracle database but we don't know which one.
    3. You've had some kind of error but we have no idea which error or the error message displayed with it.
    4. You are loading data into a table but we do not have any DDL so we do not know the data types.
    Perhaps you could provide a bit more information.
    Perhaps a lot more. <g>

  • Installing Oracle10g (Error in Configuration Assistant)

    Hey, the following error msg shown up halfway thro the installation.
    Is there any way i can solve it? Thks for any help.
    Error msg:
    The following configuration assistants have not been successfully
    completed. These assistants must be completed
    for your product to be completely configured.
    Execute file
    /app/oracle/product/10.1.0/db_1/cfgtoollogs/configToolCommands
    to re-run all skipped/failed configu
    ration assistants.
    /app/oracle/product/10.1.0/db_1/bin/dbca -progress_only
    -createDatabase -templateName General_Purpose.dbc -gdbN
    ame orcl.oracle.com -sid orcl Protected value, not to be logged
    Protected value, not to be logged *Protected
    value, not to be logged* Protected value, not to be logged
    -emConfiguration LOCAL -datafileJarLocation /app/
    oracle/product/10.1.0/db_1/assistants/dbca/templates
    -datafileDestination /app/oracle/oradata/ -responseFile NO
    _VALUE  -characterset AL32UTF8 -obfuscatedPasswords true
    -sampleSchema false -oratabLocation /app/oracle/produc
    t/10.1The following configuration assistants have not been
    successfully completed. These assistants must be completed
    for your product to be completely configured.
    Warning: Cannot convert string
    "-monotype-arial-regular-r-normal--*-140-*-*-p-*-iso8859-1" to type
    FontStruct
    man FontStruct
    No manual entry for FontStruct.

    Hi
    I also face the same issue.It woudl be really nice if oracle can help us on this error.
    Thanks in Advance!

  • JumpStartKit install hangs at 87% complete during database creation / instance configuration

    Hello folks, I'm wanting to evaluate Oracle WebCenter Portal 11.1.1.8 (huge improvement over 11.1.1.7, which I have already gave a quick try in the VDI provided by Oracle).
    So I found out about this Jump Start Kit, which installs each required piece once you've got a properly configured Linux environment. I had some fun with the prereqs but now that's all completed and I got SO EXCITED to make it past "STEP 4".
    So now I'm encountering the same issue during installation -- in STEP 6 of 22 Configuration of Database Instance (Completing Database Creation) it gets to 87% complete and then nothing seems to happen, it never gets beyond that point even if I wait 10 more hours:
    NOTE: I suspect my issue is not specific to the "Jump Start Kit", but rather it is something others have encountered during the Database creation/configuration step of the Oracle Universal Installer in general. And hopefully others have solved it.
    "/opt/oracle/portal" is my INSTALL_DIR ; I had launched the JSK installer with this command:
    ./runme INSTANCE_PASSWORD=apwd ROOT_PASSWORD=rpwd DOWNLOAD_DIR=/media/sf_Downloads/JSKfiles INSTALL_DIR=/opt/oracle/portal
    - The installer makes it this far, before it seems to get "stuck" -- even after many hours there is no change, HD is not doing anything, CPU stays at <5% usage:
    rtkit.main.JSKStarter - launchScript:172 - Tue Jun 10 15:41:38 MDT 2014: BEGIN STEP 6 of 22: Configuration of Database Instance. Estimated time is around 5 minutes. Please wait..
    10/06/2014 15:41:38.545 -(3)- JSK Starter Thread - oracle.webcenter.jumpstartkit.main.JSKStarter - launchScript:172 -
    10/06/2014 15:41:48.222 -(3)- JSK Starter Thread - oracle.webcenter.jumpstartkit.main.JSKStarter - launchScript:172 - Copying database files
    10/06/2014 15:41:48.413 -(3)- JSK Starter Thread - oracle.webcenter.jumpstartkit.main.JSKStarter - launchScript:172 - 1% complete
    10/06/2014 15:41:52.894 -(3)- JSK Starter Thread - oracle.webcenter.jumpstartkit.main.JSKStarter - launchScript:172 - 3% complete
    10/06/2014 15:41:52.915 -(3)- JSK Starter Thread - oracle.webcenter.jumpstartkit.main.JSKStarter - launchScript:172 - 11% complete
    10/06/2014 15:42:02.917 -(3)- JSK Starter Thread - oracle.webcenter.jumpstartkit.main.JSKStarter - launchScript:172 - 18% complete
    10/06/2014 15:42:32.920 -(3)- JSK Starter Thread - oracle.webcenter.jumpstartkit.main.JSKStarter - launchScript:172 - 26% complete
    10/06/2014 15:42:42.638 -(3)- JSK Starter Thread - oracle.webcenter.jumpstartkit.main.JSKStarter - launchScript:172 - 37% complete
    10/06/2014 15:42:42.640 -(3)- JSK Starter Thread - oracle.webcenter.jumpstartkit.main.JSKStarter - launchScript:172 - Creating and starting Oracle instance
    10/06/2014 15:42:48.568 -(3)- JSK Starter Thread - oracle.webcenter.jumpstartkit.main.JSKStarter - launchScript:172 - 40% complete
    10/06/2014 15:42:56.827 -(3)- JSK Starter Thread - oracle.webcenter.jumpstartkit.main.JSKStarter - launchScript:172 - 45% complete
    10/06/2014 15:42:57.357 -(3)- JSK Starter Thread - oracle.webcenter.jumpstartkit.main.JSKStarter - launchScript:172 - 46% complete
    10/06/2014 15:42:57.526 -(3)- JSK Starter Thread - oracle.webcenter.jumpstartkit.main.JSKStarter - launchScript:172 - 47% complete
    10/06/2014 15:42:57.627 -(3)- JSK Starter Thread - oracle.webcenter.jumpstartkit.main.JSKStarter - launchScript:172 - 48% complete
    10/06/2014 15:42:57.834 -(3)- JSK Starter Thread - oracle.webcenter.jumpstartkit.main.JSKStarter - launchScript:172 - 49% complete
    10/06/2014 15:44:42.915 -(3)- JSK Starter Thread - oracle.webcenter.jumpstartkit.main.JSKStarter - launchScript:172 - 54% complete
    10/06/2014 15:44:42.963 -(3)- JSK Starter Thread - oracle.webcenter.jumpstartkit.main.JSKStarter - launchScript:172 - 59% complete
    10/06/2014 15:44:43.036 -(3)- JSK Starter Thread - oracle.webcenter.jumpstartkit.main.JSKStarter - launchScript:172 - 60% complete
    10/06/2014 15:44:43.452 -(3)- JSK Starter Thread - oracle.webcenter.jumpstartkit.main.JSKStarter - launchScript:172 - 61% complete
    10/06/2014 15:44:43.452 -(3)- JSK Starter Thread - oracle.webcenter.jumpstartkit.main.JSKStarter - launchScript:172 - 64% complete
    10/06/2014 15:44:43.453 -(3)- JSK Starter Thread - oracle.webcenter.jumpstartkit.main.JSKStarter - launchScript:172 - Completing Database Creation
    10/06/2014 15:44:43.493 -(3)- JSK Starter Thread - oracle.webcenter.jumpstartkit.main.JSKStarter - launchScript:172 - 68% complete
    10/06/2014 15:44:43.510 -(3)- JSK Starter Thread - oracle.webcenter.jumpstartkit.main.JSKStarter - launchScript:172 - 72% complete
    10/06/2014 15:44:43.571 -(3)- JSK Starter Thread - oracle.webcenter.jumpstartkit.main.JSKStarter - launchScript:172 - 76% complete
    10/06/2014 15:45:01.516 -(3)- JSK Starter Thread - oracle.webcenter.jumpstartkit.main.JSKStarter - launchScript:172 - 87% complete
    I am using VirtualBox on Windows 7, I have tried it multiple times, first with the guest OS as Oracle Linux 6, and then Oracle Linux 5 (fun learning about updating the version of Java!).
    It always gets to the same point and then it just seems to do nothing -- no progress, but no error message on-screen (see log files below). But it seems to be using less than 5% CPU usage... and waiting 10 hours makes no difference.
    Based on what I found in tons of Google searching, I tried increasing my swap file, adding more memory and HD space (12GB RAM and 10GB sap and 20GB free hard drive space) but still nothing changed.
    In post #2 of this thread I will separately provide the logging details, which I hope will be helpful.
    Thanks in advance!
    Darren.
    PS: moderator, I attempted to create this thread in other Spaces because I did not know about this "Portal JSK" specific one -- was that why my thread was rejected? NO REASON WAS GIVEN. If that WAS the reason, I have to say that it will be nearly impossible for anyone who is able to help me to actually FIND this thread here because as I said I do not think it specific to ONLY the Portal JSK. (But I will post it only here just in case that's the reason for the previous rejections)

    First off, thank you very much for not just deleting the other 2 threads -- I intentionally created them in the other 2 spaces that MIGHT find a set of eyes that can help -- but in both I linked to THIS thread because this is the specific product. So this is the only place replies will be found therefore no "duplication" to worry about... but as I said this is likely not specific to PortalJSK since others on the internet have described a similar problem during the Oracle database installation.
    Second of all. here we go, the log contents...
    ...So in the hope that I could troubleshoot based on some error logging, I had a look inside "/opt/oracle/portal/db/OraInventory/logs/"...
    - "/opt/oracle/portal/db/OraInventory/logs/oraInstall2014-06-10_03-27-37PM.err" is empty (0 bytes),
    - "/opt/oracle/portal/db/OraInventory/logs/installActions2014-06-10_03-27-37PM.log" * (2.3MB) ends with...
    INFO: Terminating all background operations
    INFO: Terminated all background operations
    INFO: Successfully executed the flow in SILENT mode
    INFO: Finding the most appropriate exit status for the current application
    INFO: Exit Status is 0
    INFO: Shutdown Oracle Database 11g Release 2 Installer
    INFO: Unloading Setup Driver
    [eof]
    I am not sure of the value of the additional log files inside "/opt/oracle/run/logs/", here is what they contain...
    - all of the "/opt/oracle/run/logs/xyz_NofN.zip.unzip.out" files are empty (0 bytes).
    - "/opt/oracle/run/logs/install_commands.log" is tiny, it just has this:
    /media/sf_Downloads/JSKfiles/DB/database/runInstaller -invPtrLoc /opt/oracle/run/linux64/dborainst.loc  -ignoreSysPrereqs  -ignorePrereq -force -silent -waitforcompletion -responseFile /opt/oracle/run/linux64/db_generated.rsp
    /opt/oracle/portal/db/ohome/bin/netca /orahome /opt/oracle/portal/db/ohome /orahnam orcl /instype typical /inscomp client,oraclenet,javavm,server,ano /insprtcl tcp /cfg local /authadp NO_VALUE /responseFile /opt/oracle/run/linux64/netca.rsp /silent
    /opt/oracle/portal/db/ohome/bin/dbca -silent -responseFile /opt/oracle/run/linux64/dbca.rsp  -sampleSchema true -oratabLocation ORATAB
    - "webtier_prereqs.log" and "ecm_prereqs.log" and "wcprereqs.log" all say that all tests passed.
    (Tests for HD and RAM space and swap size and # of processes etc. are all SUCCESS; and all required packages are installed and high enough version, etc.)
    - "/opt/oracle/run/logs/dbprereqs_log.txt" says this:
    Starting Oracle Universal Installer...
    Checking Temp space: must be greater than 120 MB.   Actual 8855 MB    Passed
    Checking swap space: must be greater than 150 MB.   Actual 4031 MB    Passed
    Preparing to launch Oracle Universal Installer from /opt/oracle/portal/tmpdir/OraInstall2014-06-10_03-26-23PM. Please wait ...[WARNING] [INS-13014] Target environment do not meet some optional requirements.
       CAUSE: Some of the optional prerequisites are not met. See logs for details. /opt/oracle/portal/db/OraInventory/logs/installActions2014-06-10_03-26-23PM.log
       ACTION: Identify the list of failed prerequisite checks from the log: /opt/oracle/portal/db/OraInventory/logs/installActions2014-06-10_03-26-23PM.log. Then either from the log file or from installation manual find the appropriate configuration to meet the prerequisites and fix it manually.
    - "/opt/oracle/run/logs/wls-install.log" is the most confusing, maybe this is the reason for getting "stuck"?
    2014-06-10 15:24:38,139 WARN  [home] com.bea.cie.gpr.internal.model.JvmTargetManagerImpl - Property value for linux32_jdk160_29b11.zip not found..
    2014-06-10 15:24:38,143 WARN  [home] com.bea.cie.gpr.internal.model.JvmTargetManagerImpl - Property value for linux_ia32_jrockit_160_29_D1.2.0-10_jdk.zip not found..
    2014-06-10 15:24:38,206 WARN  [home] com.bea.cie.gpr.internal.model.JvmTargetManagerImpl - Property value for linux32_jdk160_29b11.zip not found..
    2014-06-10 15:24:38,209 WARN  [home] com.bea.cie.gpr.internal.model.JvmTargetManagerImpl - Property value for linux_ia32_jrockit_160_29_D1.2.0-10_jdk.zip not found..
    2014-06-10 15:24:38,225 WARN  [home] com.bea.plateng.wizard.installer.silent.tasks.SilentBEAHomeTask - /opt/oracle/portal/fmw directory is not empty. Proceed with installation?
    2014-06-10 15:24:39,223 WARN  [ocmCredVerify] com.bea.plateng.wizard.installer.helpers.OCMInstallHelper - Failed test connection
    java.lang.reflect.InvocationTargetException
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at com.bea.plateng.wizard.installer.helpers.OCMInstallHelper.testConnection(OCMInstallHelper.java:92)
      at com.bea.plateng.wizard.installer.silent.tasks.OCMCredVerifySilentTask.execute(OCMCredVerifySilentTask.java:35)
      at com.bea.plateng.wizard.silent.tasks.AbstractSilentTask.run(AbstractSilentTask.java:28)
      at java.lang.Thread.run(Thread.java:662)
    Caused by: com.bea.plateng.wizard.installer.helpers.OCMException: Connection failed in SSL peer verificaition.
      at com.bea.plateng.wizard.installer.helpers.OCMHelper.testSimpleConnection(OCMHelper.java:54)
      at com.bea.plateng.wizard.installer.helpers.OCMHelper.testConnection(OCMHelper.java:145)
      ... 8 more
    2014-06-10 15:24:39,228 WARN  [ocmCredVerify] com.bea.plateng.wizard.installer.silent.tasks.OCMCredVerifySilentTask - OCMInstallException:
    com.bea.plateng.wizard.installer.helpers.OCMInstallException
      at com.bea.plateng.wizard.installer.helpers.OCMInstallHelper.testConnection(OCMInstallHelper.java:96)
      at com.bea.plateng.wizard.installer.silent.tasks.OCMCredVerifySilentTask.execute(OCMCredVerifySilentTask.java:35)
      at com.bea.plateng.wizard.silent.tasks.AbstractSilentTask.run(AbstractSilentTask.java:28)
      at java.lang.Thread.run(Thread.java:662)
    2014-06-10 15:25:49,347 INFO  [Thread-13] com.oracle.cie.domain.TemplateImporter - Domain Extension Successful!
    2014-06-10 15:25:49,350 INFO  [runScript] com.oracle.cie.domain.script.ScriptExecutor - close template
    2014-06-10 15:25:49,351 INFO  [runScript] com.oracle.cie.domain.script.ScriptExecutor - succeed: close template
    2014-06-10 15:25:49,351 INFO  [runScript] com.oracle.cie.domain.script.ScriptExecutor - read domain from "/opt/oracle/portal/fmw/wlserver_10.3/samples/domains/medrec-spring"
    2014-06-10 15:25:49,405 INFO  [runScript] com.oracle.cie.domain.script.ScriptExecutor - succeed: read domain from "/opt/oracle/portal/fmw/wlserver_10.3/samples/domains/medrec-spring"
    2014-06-10 15:25:49,405 INFO  [runScript] com.oracle.cie.domain.script.ScriptExecutor - succeed: update domain
    2014-06-10 15:25:49,406 INFO  [runScript] com.oracle.cie.domain.script.ScriptExecutor - close template
    2014-06-10 15:25:49,406 INFO  [runScript] com.oracle.cie.domain.script.ScriptExecutor - succeed: close template
    2014-06-10 15:25:49,743 INFO  [WizardController] com.bea.plateng.wizard.silent.tasks.LogTask - The installation was successfull!
    ^ ^ ^ BUT IT SEEMS TO END AS A "SUCCESS"!?
    - "install_setup.log" ends with the following -- and so does "JSKDownloader.log" (the "master log"? it contains basically what shows up on-screen)
    rtkit.main.JSKStarter - launchScript:172 - Tue Jun 10 15:41:38 MDT 2014: BEGIN STEP 6 of 22: Configuration of Database Instance. Estimated time is around 5 minutes. Please wait..
    10/06/2014 15:41:38.545 -(3)- JSK Starter Thread - oracle.webcenter.jumpstartkit.main.JSKStarter - launchScript:172 -
    10/06/2014 15:41:48.222 -(3)- JSK Starter Thread - oracle.webcenter.jumpstartkit.main.JSKStarter - launchScript:172 - Copying database files
    10/06/2014 15:41:48.413 -(3)- JSK Starter Thread - oracle.webcenter.jumpstartkit.main.JSKStarter - launchScript:172 - 1% complete
    10/06/2014 15:41:52.894 -(3)- JSK Starter Thread - oracle.webcenter.jumpstartkit.main.JSKStarter - launchScript:172 - 3% complete
    10/06/2014 15:41:52.915 -(3)- JSK Starter Thread - oracle.webcenter.jumpstartkit.main.JSKStarter - launchScript:172 - 11% complete
    10/06/2014 15:42:02.917 -(3)- JSK Starter Thread - oracle.webcenter.jumpstartkit.main.JSKStarter - launchScript:172 - 18% complete
    10/06/2014 15:42:32.920 -(3)- JSK Starter Thread - oracle.webcenter.jumpstartkit.main.JSKStarter - launchScript:172 - 26% complete
    10/06/2014 15:42:42.638 -(3)- JSK Starter Thread - oracle.webcenter.jumpstartkit.main.JSKStarter - launchScript:172 - 37% complete
    10/06/2014 15:42:42.640 -(3)- JSK Starter Thread - oracle.webcenter.jumpstartkit.main.JSKStarter - launchScript:172 - Creating and starting Oracle instance
    10/06/2014 15:42:48.568 -(3)- JSK Starter Thread - oracle.webcenter.jumpstartkit.main.JSKStarter - launchScript:172 - 40% complete
    10/06/2014 15:42:56.827 -(3)- JSK Starter Thread - oracle.webcenter.jumpstartkit.main.JSKStarter - launchScript:172 - 45% complete
    10/06/2014 15:42:57.357 -(3)- JSK Starter Thread - oracle.webcenter.jumpstartkit.main.JSKStarter - launchScript:172 - 46% complete
    10/06/2014 15:42:57.526 -(3)- JSK Starter Thread - oracle.webcenter.jumpstartkit.main.JSKStarter - launchScript:172 - 47% complete
    10/06/2014 15:42:57.627 -(3)- JSK Starter Thread - oracle.webcenter.jumpstartkit.main.JSKStarter - launchScript:172 - 48% complete
    10/06/2014 15:42:57.834 -(3)- JSK Starter Thread - oracle.webcenter.jumpstartkit.main.JSKStarter - launchScript:172 - 49% complete
    10/06/2014 15:44:42.915 -(3)- JSK Starter Thread - oracle.webcenter.jumpstartkit.main.JSKStarter - launchScript:172 - 54% complete
    10/06/2014 15:44:42.963 -(3)- JSK Starter Thread - oracle.webcenter.jumpstartkit.main.JSKStarter - launchScript:172 - 59% complete
    10/06/2014 15:44:43.036 -(3)- JSK Starter Thread - oracle.webcenter.jumpstartkit.main.JSKStarter - launchScript:172 - 60% complete
    10/06/2014 15:44:43.452 -(3)- JSK Starter Thread - oracle.webcenter.jumpstartkit.main.JSKStarter - launchScript:172 - 61% complete
    10/06/2014 15:44:43.452 -(3)- JSK Starter Thread - oracle.webcenter.jumpstartkit.main.JSKStarter - launchScript:172 - 64% complete
    10/06/2014 15:44:43.453 -(3)- JSK Starter Thread - oracle.webcenter.jumpstartkit.main.JSKStarter - launchScript:172 - Completing Database Creation
    10/06/2014 15:44:43.493 -(3)- JSK Starter Thread - oracle.webcenter.jumpstartkit.main.JSKStarter - launchScript:172 - 68% complete
    10/06/2014 15:44:43.510 -(3)- JSK Starter Thread - oracle.webcenter.jumpstartkit.main.JSKStarter - launchScript:172 - 72% complete
    10/06/2014 15:44:43.571 -(3)- JSK Starter Thread - oracle.webcenter.jumpstartkit.main.JSKStarter - launchScript:172 - 76% complete
    10/06/2014 15:45:01.516 -(3)- JSK Starter Thread - oracle.webcenter.jumpstartkit.main.JSKStarter - launchScript:172 - 87% complete
    * Here are the final 261 lines of "/opt/oracle/portal/db/OraInventory/logs/installActions2014-06-10_03-27-37PM.log"...
    INFO: Start output from spawned process:
    INFO: ----------------------------------
    INFO:
    INFO: SaveInvWCCE JRE files in Scratch
    INFO: oracle.installer.mandatorySetup property is set to false, so skipping the execution of additional tools
    INFO: oracle.installer.installUpdates property is set to false, so skipping the checking of updates
    INFO: Config Initialize JRE files in Scratch
    INFO: stage loc: /opt/oracle/portal/tmpdir/OraInstall2014-06-10_03-27-37PM/
    INFO: Copying Aggr XML for: Oracle Configuration Manager
    INFO: stage loc: /opt/oracle/portal/tmpdir/OraInstall2014-06-10_03-27-37PM/
    INFO: Copying Aggr XML for: HAS Common Files
    INFO: stage loc: /opt/oracle/portal/tmpdir/OraInstall2014-06-10_03-27-37PM/
    INFO: Copying Aggr XML for: Oracle Netca Client
    INFO: stage loc: /opt/oracle/portal/tmpdir/OraInstall2014-06-10_03-27-37PM/
    INFO: Copying Aggr XML for: Database Configuration and Upgrade Assistants
    INFO: stage loc: /opt/oracle/portal/tmpdir/OraInstall2014-06-10_03-27-37PM/
    INFO: Copying Aggr XML for: Oracle Enterprise Manager Console DB
    INFO: stage loc: /opt/oracle/portal/tmpdir/OraInstall2014-06-10_03-27-37PM/
    INFO: Copying Aggr XML for: Oracle Database 11g
    INFO: The Top level Aggreage File = /opt/oracle/portal/db/ohome/inventory/ContentsXML/ConfigXML/oracle.server.11_2_0_1_0.xml
    INFO: OUI_CAPlugIn is not found in XML
    INFO: no. of tools to supress: 0 for comp: Oracle Enterprise Manager Console DB
    INFO: cf session will be created for OH: /opt/oracle/portal/db/ohome/ TLAggr: oracle.server instancePath: inventory/ContentsXML/ConfigXML/
    INFO: cf session for OH: /opt/oracle/portal/db/ohome/ TL Aggr: [oracle.server] instancePath: inventory/ContentsXML/ConfigXML/
    INFO: aggr ref length : 6
    INFO: cf session hashcode: 620301082
    INFO: cf session saved with key: OraDb11g_home1 oracle.server
    INFO: cf session is ok
    INFO: created and saved cf session for oh: OraDb11g_home1
    INFO: passing params to cf
    INFO: Handling the storing of variables for aggr name  oracle.sysman.ccr
    INFO: This variable s_OPSNodeInfoString is not added to the global context map
    INFO: This variable b_isUNIX is not added to the global context map
    INFO: This variable b_createResponseFile is not added to the global context map
    INFO: This variable s_ps is not added to the global context map
    INFO: This variable s_oraName is not added to the global context map
    INFO: This variable s_ccrJarDestination is not added to the global context map
    INFO: This variable b_localInstall is not added to the global context map
    INFO: This variable b_doConfigCCR is not added to the global context map
    INFO: This variable b_ccrUpgrade is not added to the global context map
    INFO: This variable s_rspFilePath is not added to the global context map
    INFO: This variable PROD_HOME is not added to the global context map
    INFO: for oracle.has.common no aggregate found by cf: no configuration
    INFO: Handling the storing of variables for aggr name  oracle.assistants.netca.client
    INFO: This variable s_swingallName is not added to the global context map
    INFO: This variable s_shareName is not added to the global context map
    INFO: This variable s_runtimeLib is not added to the global context map
    INFO: This variable s_runTimeJar is not added to the global context map
    INFO: This variable s_responseFileName is not added to the global context map
    INFO: This variable s_operatingSystem is not added to the global context map
    INFO: This variable s_netcfgName is not added to the global context map
    INFO: This variable s_netcahelpName is not added to the global context map
    INFO: This variable s_netcaUpgradeFlag is not added to the global context map
    INFO: This variable s_netcaClass is not added to the global context map
    INFO: This variable s_netCA_Args is not added to the global context map
    INFO: This variable s_netCAInstalledProtocols is not added to the global context map
    INFO: This variable s_netAPIName is not added to the global context map
    INFO: This variable s_ldapclnt9 is not added to the global context map
    INFO: This variable s_ldapclnt11 is not added to the global context map
    INFO: This variable s_ldapclnt10 is not added to the global context map
    INFO: This variable s_jreLocation is not added to the global context map
    INFO: This variable s_jreJarFile is not added to the global context map
    INFO: This variable s_jreJar is not added to the global context map
    INFO: This variable s_jewtName is not added to the global context map
    INFO: This variable s_installTypeForLaunchNETCA is not added to the global context map
    INFO: This variable s_icebrowserName is not added to the global context map
    INFO: This variable s_helpName is not added to the global context map
    INFO: This variable s_ewtcompatName is not added to the global context map
    INFO: This variable s_ewtName is not added to the global context map
    INFO: This variable s_ewtFile is not added to the global context map
    INFO: This variable s_ewtCompat is not added to the global context map
    INFO: This variable s_cfgMethod is not added to the global context map
    INFO: This variable s_caHelpZhTwJar is not added to the global context map
    INFO: This variable s_caHelpZhCnJar is not added to the global context map
    INFO: This variable s_caHelpPtBRJar is not added to the global context map
    INFO: This variable s_caHelpKoJar is not added to the global context map
    INFO: This variable s_caHelpJar is not added to the global context map
    INFO: This variable s_caHelpJaJar is not added to the global context map
    INFO: This variable s_caHelpItJar is not added to the global context map
    INFO: This variable s_caHelpFrJar is not added to the global context map
    INFO: This variable s_caHelpEsJar is not added to the global context map
    INFO: This variable s_caHelpDeJar is not added to the global context map
    INFO: This variable s_authAdaptors is not added to the global context map
    INFO: This variable ps_netCA_Args_OverRide is not added to the global context map
    INFO: This variable b_net8ServerInstalling is not added to the global context map
    INFO: This variable b_javavmIsInstalling is not added to the global context map
    INFO: This variable b_isWindows is not added to the global context map
    INFO: This variable b_isUNIX is not added to the global context map
    INFO: This variable b_cmanIsInstalling is not added to the global context map
    INFO: This variable b_anoIsInstalling is not added to the global context map
    INFO: This variable s_xmlparservLoc is not added to the global context map
    INFO: This variable s_ouiJlibDir is not added to the global context map
    INFO: This variable s_opsmJlib is not added to the global context map
    INFO: This variable s_ntwkTools is not added to the global context map
    INFO: This variable s_netjlibDir is not added to the global context map
    INFO: This variable s_netcahelpLocation is not added to the global context map
    INFO: This variable s_netcaJlibDir is not added to the global context map
    INFO: This variable s_netcaDocDir is not added to the global context map
    INFO: This variable s_netPropertiesFile is not added to the global context map
    INFO: This variable s_netCA is not added to the global context map
    INFO: This variable s_net8caFileToInstantiate is not added to the global context map
    INFO: This variable s_jre15Location is not added to the global context map
    INFO: This variable s_jlibDir is not added to the global context map
    INFO: This variable s_inventoryPrereqOui is not added to the global context map
    INFO: This variable s_emdwLibDir is not added to the global context map
    INFO: This variable s_caHelpDir is not added to the global context map
    INFO: This variable s_assistantJlibDir is not added to the global context map
    INFO: This variable s_JavaFlag is not added to the global context map
    INFO: This variable b_isOPS is not added to the global context map
    INFO: This variable s_windowsCommandLine is not added to the global context map
    INFO: This variable s_net8caExecutable is not added to the global context map
    INFO: This variable s_netcaUserDirArg is not added to the global context map
    INFO: This variable s_installTypeForNetCA is not added to the global context map
    INFO: This variable s_netcaSilentFlag is not added to the global context map
    INFO: This variable s_netCAInstalledProducts is not added to the global context map
    INFO: This variable s_netcaClasspath is not added to the global context map
    INFO: This variable PROD_HOME is not added to the global context map
    INFO: ORACLE_HOME is not settable, hence not setting the value
    INFO: Handling the storing of variables for aggr name  oracle.assistants.server
    INFO: This variable s_operatingSystem is not added to the global context map
    INFO: This variable s_jreLocation is not added to the global context map
    INFO: This variable pn_dboffset is not added to the global context map
    INFO: This variable cs_swingName is not added to the global context map
    INFO: This variable cs_komodoName is not added to the global context map
    INFO: This variable cs_kodiakName is not added to the global context map
    INFO: This variable cs_jewtName is not added to the global context map
    INFO: This variable cs_iceBrowserName is not added to the global context map
    INFO: This variable cs_ewtcompatName is not added to the global context map
    INFO: This variable cs_ewtName is not added to the global context map
    INFO: This variable cs_baliShareName is not added to the global context map
    INFO: This variable b_orabaseContainsOrahome is not added to the global context map
    INFO: This variable b_isWINDOWS is not added to the global context map
    INFO: This variable b_isUNIX is not added to the global context map
    INFO: This variable sl_dbmaParameterListForIcon is not added to the global context map
    INFO: This variable sl_dbcaParameterListForIcon is not added to the global context map
    INFO: This variable s_xmlparservLoc is not added to the global context map
    INFO: This variable s_ouiJlibLocation is not added to the global context map
    INFO: This variable s_oratabLocation is not added to the global context map
    INFO: This variable s_opsmLocation is not added to the global context map
    INFO: This variable s_dbuaLocation is not added to the global context map
    INFO: This variable s_dbcaLocation is not added to the global context map
    INFO: This variable s_OracleBinLocation is not added to the global context map
    INFO: This variable s_dbcaInstLaunchFile is not added to the global context map
    INFO: This variable s_dbcaLaunchFile is not added to the global context map
    INFO: This variable s_dbmaLaunchFile is not added to the global context map
    INFO: This variable s_dbmaInstLaunchFile is not added to the global context map
    INFO: This variable PROD_HOME is not added to the global context map
    INFO: ORACLE_HOME is not settable, hence not setting the value
    INFO: Handling the storing of variables for aggr name  oracle.sysman.console.db
    INFO: This variable s_sid is not added to the global context map
    INFO: This variable s_serverInstallType is not added to the global context map
    INFO: This variable s_platform is not added to the global context map
    INFO: HashMap added with the key oracle.sysman.console.db and an empty variable Vector
    INFO: Adding the variable s_obfOc4jAdmPasswd to the aggregate oracle.sysman.console.db
    INFO: Adding the variable s_obfOc4jAdmPasswd to the global context map for the aggregate oracle.sysman.console.db
    INFO: Adding the variable s_obfJtaAdmPasswd to the aggregate oracle.sysman.console.db
    INFO: Adding the variable s_obfJtaAdmPasswd to the global context map for the aggregate oracle.sysman.console.db
    INFO: This variable s_nlsLang is not added to the global context map
    INFO: This variable s_emailServer is not added to the global context map
    INFO: This variable s_emailAddress is not added to the global context map
    INFO: This variable s_cfgtyperet is not added to the global context map
    INFO: Adding the variable s_JtaAdmPasswd to the aggregate oracle.sysman.console.db
    INFO: Adding the variable s_JtaAdmPasswd to the global context map for the aggregate oracle.sysman.console.db
    INFO: This variable n_uploadInterval is not added to the global context map
    INFO: This variable localhost is not added to the global context map
    INFO: This variable b_launchTools is not added to the global context map
    INFO: This variable b_launchBrowser is not added to the global context map
    INFO: This variable b_isUNIX is not added to the global context map
    INFO: This variable b_centralConsole is not added to the global context map
    INFO: This variable USE_HTTP_PROXY is not added to the global context map
    INFO: This variable USE_DB_CONSOLE is not added to the global context map
    INFO: This variable SET_CONSOLE_MODE is not added to the global context map
    INFO: This variable SA_SETUP is not added to the global context map
    INFO: This variable OC4JLOC is not added to the global context map
    INFO: This variable NO_PC_MODE is not added to the global context map
    INFO: This variable LOGGING_LEVEL is not added to the global context map
    INFO: This variable JRE_HOME is not added to the global context map
    INFO: This variable ISQLPLUS_PROTOCOL is not added to the global context map
    INFO: This variable ISQLPLUS_PORT is not added to the global context map
    INFO: This variable HOST_SID_OFFSET_ENABLED is not added to the global context map
    INFO: This variable HOSTNAME is not added to the global context map
    INFO: This variable EM_UPLOAD_DISABLE is not added to the global context map
    INFO: This variable EM_UIX_DEBUG_FLAG is not added to the global context map
    INFO: This variable EMPRODVER is not added to the global context map
    INFO: This variable CONSOLE_MODE is not added to the global context map
    INFO: This variable CONSOLE_CFG is not added to the global context map
    INFO: This variable sl_oraclehomes is not added to the global context map
    INFO: This variable s_oc4jDir is not added to the global context map
    INFO: This variable s_oc4jAppsDir is not added to the global context map
    INFO: This variable s_jreHome is not added to the global context map
    INFO: This variable s_configcommand is not added to the global context map
    INFO: This variable b_isRAC is not added to the global context map
    INFO: This variable b_UNIX is not added to the global context map
    INFO: This variable OJSP_JAR_LOC is not added to the global context map
    INFO: This variable OJSPUTIL_JAR_LOC is not added to the global context map
    INFO: This variable LDAP_JAR_LOC is not added to the global context map
    INFO: This variable JAVA_HOME is not added to the global context map
    INFO: This variable ISQLPLUS_HOST is not added to the global context map
    INFO: This variable EM_UIX_LOCATION is not added to the global context map
    INFO: This variable EM_REPOS_HOST is not added to the global context map
    INFO: This variable EM_PING_COMMAND is not added to the global context map
    INFO: This variable EM_OC4J_HOME is not added to the global context map
    INFO: This variable EM_EAR_LOC is not added to the global context map
    INFO: This variable EMDROOT is not added to the global context map
    INFO: Adding the variable s_oc4jAdmPasswd to the aggregate oracle.sysman.console.db
    INFO: Adding the variable s_oc4jAdmPasswd to the global context map for the aggregate oracle.sysman.console.db
    INFO: This variable s_launchBrowserClasspath is not added to the global context map
    INFO: This variable s_javapOracleHome is not added to the global context map
    INFO: This variable PROD_HOME is not added to the global context map
    INFO: {Parameter:TOPLEVEL_COMPONENT in {Aggregate:OuiConfigVariables:1.0.0.0.0:common}}: Parameter data type is not compatible with the provided String Array.
    INFO: passing params to cf done
    INFO: done saving info by cf
    INFO: This is a shared oracle home or remote nodes are null. No copy required.
    INFO: Checkpoint:Failed Checkpoint found returning it for getAllFailedCheckPoints.
    INFO: Checkpoint:Failed Checkpoint found returning null for getLastFailedCheckPoint.
    INFO: Checkpoint:Index file written and updated
    INFO: Checkpoint:Transfer of file done from remote node
    INFO: Adding iterator oracle.sysman.oii.oiif.oiifw.OiifwRootShWCDE
    INFO: Updating the global context
    INFO: Path To 'globalcontext.xml' = /opt/oracle/portal/db/ohome/install/chainedInstall/globalcontext
    INFO: Since operation was successful, move the current OiicAPISessionDetails to installed list
    INFO: Number of root scripts to be executed = 1
    INFO: isSuccessfullInstallation: true
    INFO: isSuccessfullRemoteInstallation: true
    INFO: Adding ExitStatus SUCCESS to the exit status set
    INFO: Completed setting up InstallDB
    INFO: Number of root scripts to be executed = 1
    INFO: Shutting down OUISetupDriver.JobExecutorThread
    INFO: Cleaning up, please wait...
    INFO: Dispose the install area control object
    INFO: Update the state machine to STATE_CLEAN
    INFO: All forked task are completed at state setup
    INFO: Completed background operations
    INFO: Moved to state <setup>
    INFO: Waiting for completion of background operations
    INFO: Completed background operations
    INFO: Validating state <setup>
    WARNING: Validation disabled for the state setup
    INFO: Completed validating state <setup>
    INFO: Verifying route success
    INFO: Waiting for completion of background operations
    INFO: Completed background operations
    INFO: Executing action at state finish
    INFO: FinishAction Actions.execute called
    INFO: Completed executing action at state <finish>
    INFO: Waiting for completion of background operations
    INFO: Completed background operations
    INFO: Moved to state <finish>
    INFO: Waiting for completion of background operations
    INFO: Completed background operations
    INFO: Validating state <finish>
    WARNING: Validation disabled for the state finish
    INFO: Completed validating state <finish>
    INFO: Terminating all background operations
    INFO: Terminated all background operations
    INFO: Successfully executed the flow in SILENT mode
    INFO: Finding the most appropriate exit status for the current application
    INFO: Exit Status is 0
    INFO: Shutdown Oracle Database 11g Release 2 Installer
    INFO: Unloading Setup Driver
    ----------that is all----------
    re. PROCESSES/TASKS at the ending:
    Also I had a look in System Monitor and noticed there a TON of processes ("Sleeping") that show up in System Monitor at this time of "freezing" or "hanging" or whatever you want to call it (where nothing is visibly happening anymore).
    -The most recent shell script is "install_db_instance.sh" (not surprising) with Waiting Channel "do_wait".
    #!/bin/bash
    export JSK_DIR=${PWD}
    . $JSK_DIR/setup_env.sh
    export ORACLE_HOME=$DB_ORACLE_HOME
    export ORACLE_BASE=$DB_ORACLE_BASE
    echo ""
    #$DB_ORACLE_HOME/bin/dbca -createDatabase -templateName $JSK_DIR/General_Purpose.dbc -gdbName orcl -sid orcl -sysPassword $SCHEMA_PASSWORD -systemPassword $SCHEMA_PASSWORD -emConfiguration LOCAL -dbsnmpPassword $SCHEMA_PASSWORD -sysmanPassword $SCHEMA_PASSWORD -datafileJarLocation $DB_ORACLE_HOME/assistants/dbca/templates/ -storageType FS -datafileDestination $DB_ORACLE_DATA -responseFile NO_VALUE -characterset AL32UTF8 -obfuscatedPasswords false -sampleSchema true -oratabLocation ORATAB -recoveryAreaDestination NO_VALUE -silent
    echo "$ORACLE_HOME/bin/dbca -silent -responseFile $JSK_DIR/dbca.rsp  -sampleSchema true -oratabLocation ORATAB" >> $LOGS_DIR/install_commands.log
    $ORACLE_HOME/bin/dbca -silent -responseFile $JSK_DIR/dbca.rsp  -sampleSchema true -oratabLocation ORATAB
    cat $JSK_DIR/dbca.rsp | grep -v -i PASSWORD > $JSK_DIR/dbca_saved_no_passwords.rsp
    rm -f $JSK_DIR/dbca.rsp
    echo ""
    -Immediately after that is "java" with this Command Line:
    /opt/oracle/portal/db/ohome/jdk/jre/bin/java -DORACLE_HOME=/opt/oracle/portal/db/ohome [parameters] -DJDBC_PROTOCOL=thin -mx128m -classpath /opt/oracle/portal/db/ohome/assistants/dbca/jlib/dbca.jar:[otherJarFiles]:/opt/oracle/portal/db/ohome/dv/jlib/dvca.jar oracle.sysman.assistants.dbca.Dbca -silent -responseFile /opt/oracle/run/linux64/dbca.rsp -sampleSchema true -oratabLocation ORATAB
    -There are 7 named "oracleorcl" where the Command Line is simply "oracleorcl (LOCAL=NO)" or "oracleorcl (DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))" -- Waiting Channel is "sk_wait_data".
    -There are 52 named "oracle" with various similar-looking Command Lines. The Waiting Channel for these varies: "poll_schedule_timeout", or "hrtimer_nanosleep", or "sys_semtimedop" (the 2 highest ProcessIDs -- aka most recent -- have this, with Command Line "ora_w000_orcl" and "xe_w000_XE").
    -There are 3 named "sqlplus", their Command Lines are "/opt/oracle/portal/db/ohome/bin/sqlplus -S -N" (the oldest 2), or "/opt/oracle/portal/db/ohome/bin/sqlplus" (the most recent) -- Waiting Channel is "pipe_wait".
    Message was edited by: DarrenAg (added PROCESSES/TASKS info)

Maybe you are looking for