A problem about Ms Sql 7 - Oracle 8.1.5 ?

hi
I used OMWB to migrate MS sql 7 to Oracle 8.1.5, both of our env are on chinese character set,it worked well. Thank OMWB work team. The whole process of migration did't meet any problem. But I met a problem about character set,I don't see right content on CLOB column,all data in CLOB columns are like the following something :
0F5C3A53A44E1A904575BE8FBF4F776302303052FD56388D01303100380006529F943052B065164E
I maped text datatype of SQL to CLOB datatype,I can see the right data directly in SQL by select command,but I can't see the right data in SQL*PLUS.
How can I do? Migration workbanch don't support the multi-bit char set such as chinese?
null

I already knew the solution of the problem,but I met another problem.
I checked my sql 7 database again, I found large columns are ntext datatype. I changed the ntext to text and migrated data again. In SQL*PLUS ,I found the data of clob columns change to '????.?-?'. I know this is caused by NLS_LANG, my NLS_LANG=simplified chinese_china.zhs16gbk. How do i set my nls_lang to get the right data?
null

Similar Messages

  • Help! problem about jstl sql with "LIKE?" in query

    Hi All,
    I have a problem about getting data by using "LIKE" in my sql statment.
    here is my case:
    <sql:query var="tmp">
    SELECT ...... FROM ...
    WHERE a LIKE ?
    <sql:param value="%${param.a}%"/>
    </sql:query>
    Once I used "LIKE" keyword, the query failed to use this critica.
    and couldn't find any match cases
    thx or help
    Micheal

    besides, i found that:
    this works:
    "AND a.block LIKE '%' + 'a' + '%'"
    but these don't work:
    "AND a.block LIKE '%' + 'a' + '' + '%'"
    or
    "AND a.block LIKE '' + '%' + 'cp' + '%'"
    or
    "AND a.block LIKE '%' + 'cp' + '%' + ''"
    it seems '' is the casue of error... so strange, anyone has idea?
    micheal

  • Problem about launching sql developer

    Hello,
    i've downloaded sql developer 1.5.5 with jdk1.6_11. When i try to launch the application file sqldeveloper.exe i have a screen which disappears. Has somebody already encounted this problem? I think it's linked to the jdk release but probably it's not the case. Can you help me please?
    Thank you in advance
    Arnaud

    Thx for your response. I have the same error with thus release. So i decide change the release and to use a previous release. I'm working in windows Vista. But i've seen that my problem is linked to jdk because i can't also launch elcipse.lol.the first time i have this problem. when i write java -version i have this error C:\Users\JEFF>java -version
    Error: could not open `C:\Program Files\Java\jre6\lib\i386\jvm.cfg'
    i had jdk1.6_18 that i remplace with jdk1.6_11. I define the JAVA_HOME and the path. When i write
    C:\Users\JEFF>echo %PATH%
    C:\XEClient\bin;C:\oraclexe\app\oracle\product\10.2.0\server\bin;C:\Windows\syst
    em32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files\Intel\WiFi\bin\;C:\Pro
    gram Files\Acer\Empowering Technology\eDataSecurity\;C:\Program Files\Acer\Empow
    ering Technology\eDataSecurity\x86;C:\Program Files\Acer\Empowering Technology\e
    DataSecurity\x64;C:\Program Files\Java\jdk1.6.0_11\bin;
    So what is wrong? I don't want to install again jdk.
    Thank u

  • The problem about java.sql.CallableStatement

    we need call oracle store procedure to get a record set.
    the code below is the oracle's pl/sql program for test
    package test2 as
    type sample_record is record(id char(4),
    name varchar2(10),
    addr varchar2(30));
    type sample_cursor is ref cursor return sample_record;
    function get_resultset return sample_cursor;
    end;
    package body test2 as
    function get_resultset return sample_cursor is
    p_cursor sample_cursor;
    begin
    open p_cursor for select 'aaaa' id,'John' name,'guangzhou' addr from dual;
    return p_cursor;
    end get_resultset;
    end;
    and ,in java,how to use java.sql.CallableStatement to
    run the store procedure to get the cursor,a sql type define in our oracle programme

    see the code below,
    public static sun.jdbc.rowset.WebRowSet testmethod(){
         Connection conn = null ;
              CallableStatement cstmt = null ;
              String str = null ;
              ResultSet result = null ;
              str = "{?=call test2.get_resultset()}" ;                    
              try
                   conn = DbPool.getConnection() ;
                   cstmt = conn.prepareCall(str) ;
                   cstmt.registerOutParameter(1, OracleTypes.CURSOR);
                   cstmt.execute();
                   result = (java.sql.ResultSet)cstmt.getObject(1) ;                                             
                   sun.jdbc.rowset.WebRowSet wrs = new sun.jdbc.rowset.WebRowSet() ;
              wrs.populate(result) ;//in this statement,it will throw a NullPointerException
                   return wrs;
              catch (Exception e)
                   CommLog.writeLog("pr", "PrLogic test: " + e.toString()) ;
                   return null ;
              }finally
                   try
                        result.close() ;
                   catch (Exception e3)
                   try
                        cstmt.close() ;
                   catch (Exception e1)
                   try
                        conn.close() ;
                   catch (Exception e2)
         }

  • Is there any problem about 10I oracle connect to 9I oracle  in BW

    we want to know about
    creating a new source system on BW in AIX pointing to an Oracle
    database, bw oracle use 10i database , connect to
    9idatabase(Windows) to get data for BW,
    can you tell me how 10I oracle connect to 9I oracle ??
    is there any problem about 10I oracle connect to 9I oracle ??If
    there exit problem ,how to deal with it ??
    Thank you
    ALLEN ZHOU

    Hi
    You may face some problem in BASIS side especially if one version is Open SQL and other in Old SQL
    Regards
    N Ganesh

  • Problem about oracle

         Statement stmt = con.createStatement();
                        stmt.executeUpdate("DROP TABLE Students");
                        stmt.executeUpdate("CREATE TABLE Students" +
                         "(StdNumber NUMBER primary key, StdName VARCHAR2(20),StdSurname VARCHAR2(20),Courses VARCHAR2(15), Year VARCHAR2(15),Semester VARCHAR2(5), Grades REAL )" );
                      stmt.executeUpdate("INSERT INTO Students" +
                         "VALUES (1234,'Sezgin','Zeka','Kimya','2002-2003','I',4.00)" );
                      ResultSet rs = stmt.executeQuery("SELECT Courses FROM Students WHERE stdNumber = 1234");          
                        while(rs.next())
                         System.out.println(">>> " + rs.getString("Courses"));     
                     }catch(Exception ex) {
                        System.out.println("Error: " + ex); 
                     }Dear friend i have a problem about oracle. When i execute this code ( i have only written releated code part about my problem ) there is an error like this: Error: java.sql.SQLException: ORA-00928: missing SELECT keyword
    Thanks for your help

    Can you explain much more. Because i have no idea.
    ThanksYou know, if you did like every decent programmer does and instead of writing
    }catch(Exception ex) {
      System.out.println("Error: " + ex); 
    }wrote
    }catch(Exception ex) {
      ex.printStackTrace(); 
    }then you could see which statement is faulty.

  • Problem in starting SQL*PLUS in oracle database 10g

    Hi
    Well I am facing one problem while starting SQL*PLUS in oracle database 10g
    ERROR - "Procedure entry point longjmp could not be located in dynamic link library orauts.dll"
    This has happened when I installed Oracle Database 11g on same machine and when I deinstalled Oracle 11g then SQL*PLUS is started...no error came
    Can anybody tell me the reason please...

    hi
    pls im having the same problem but in my own case i installed oracle apex using 11g.
    im env variable is:
    C:\Oracle\product\10.1.0\Client_1\bin;C:\Oracle\product\10.1.0\Client_1\jre\1.4.2\bin\client;C:\Oracle\product\10.1.0\Client_1\jre\1.4.2\bin;C:\app\Xty\product\11.2.0\dbhome_1\bin;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;;C:\Program Files\TortoiseSVN\bin;C:\Program Files\Microsoft SQL Server\80\Tools\Binn\;C:\Program Files\Microsoft SQL Server\90\DTS\Binn\;C:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\Microsoft SQL Server\90\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PrivateAssemblies\
    pls which is my apex_home so i can interchange it?
    i also have oracle 10g client installed

  • Problem in connecting SQL developer to Oracle database

    Hi,I don't know this is the correct forum for my problem
    I Just installed   Oracle Sql developer 3.2.I encountered a problem while creating a new connection with Oracle database 11g..
    The error message says "Status : Failure -Test failed: The Network Adapter could not establish the connection"..
    The command response as follows
    lsnrctl stop
    LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 31-OCT-2013 21:52
    :56
    Copyright (c) 1991, 2010, Oracle.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
    TNS-01190: The user is not authorized to execute the requested listener command
    lsnrctl start
    LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 31-OCT-2013 21:55
    :49
    Copyright (c) 1991, 2010, Oracle.  All rights reserved.
    TNS-01106: Listener using listener name LISTENER has already been started
    lsnrctl status
    LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 31-OCT-2013 21:57
    :07
    Copyright (c) 1991, 2010, Oracle.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
    STATUS of the LISTENER
    Alias                     LISTENER
    Version                   TNSLSNR for 64-bit Windows: Version 11.2.0.1.0 - Produ
    ction
    Start Date                31-OCT-2013 20:57:07
    Uptime                    0 days 1 hr. 0 min. 0 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   C:\app\RIYAS\product\11.2.0\dbhome_1\network\admin\lis
    tener.ora
    Listener Log File         c:\app\riyas\diag\tnslsnr\RIYAS-PC\listener\alert\log.
    xml
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
      Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "orcl" has 1 instance(s).
      Instance "orcl", status READY, has 1 handler(s) for this service...
    Service "orclXDB" has 1 instance(s).
      Instance "orcl", status READY, has 1 handler(s) for this service...
    The command completed successfully
    lsnrctl service
    LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 31-OCT-2013 21:58
    :28
    Copyright (c) 1991, 2010, Oracle.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
      Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
        Handler(s):
          "DEDICATED" established:0 refused:0
             LOCAL SERVER
    Service "orcl" has 1 instance(s).
      Instance "orcl", status READY, has 1 handler(s) for this service...
        Handler(s):
          "DEDICATED" established:102 refused:0 state:ready
             LOCAL SERVER
    Service "orclXDB" has 1 instance(s).
      Instance "orcl", status READY, has 1 handler(s) for this service...
        Handler(s):
          "D000" established:0 refused:0 current:0 max:1022 state:ready
             DISPATCHER <machine: RIYAS-PC, pid: 1828>
             (ADDRESS=(PROTOCOL=tcp)(HOST=RIYAS-PC)(PORT=49911))
    The command completed successfully
    set
    ALLUSERSPROFILE=C:\ProgramData
    APPDATA=C:\Users\RIYAS\AppData\Roaming
    CommonProgramFiles=C:\Program Files\Common Files
    CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files
    CommonProgramW6432=C:\Program Files\Common Files
    COMPUTERNAME=RIYAS-PC
    ComSpec=C:\windows\system32\cmd.exe
    FP_NO_HOST_CHECK=NO
    HOMEDRIVE=C:
    HOMEPATH=\Users\RIYAS
    LOCALAPPDATA=C:\Users\RIYAS\AppData\Local
    LOGONSERVER=\\RIYAS-PC
    NUMBER_OF_PROCESSORS=4
    OS=Windows_NT
    Path=C:\app\RIYAS\product\11.2.0\dbhome_1\bin;C:\app\RIYAS\product\11.2.0\dbhome
    _2\bin;C:\Program Files (x86)\PC Connectivity Solution\;C:\Program Files\Common
    Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsof
    t Shared\Windows Live;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\
    Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\wi
    ndows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPo
    werShell\v1.0\;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;
    C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program File
    s (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\I
    ntel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\Open
    CL SDK\2.0\bin\x86;C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x64;C:\Progra
    m Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\P
    rogram Files (x86)\Windows Live\Shared
    PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
    PROCESSOR_ARCHITECTURE=AMD64
    PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 58 Stepping 9, GenuineIntel
    PROCESSOR_LEVEL=6
    PROCESSOR_REVISION=3a09
    ProgramData=C:\ProgramData
    ProgramFiles=C:\Program Files
    ProgramFiles(x86)=C:\Program Files (x86)
    ProgramW6432=C:\Program Files
    PROMPT=$P$G
    PSModulePath=C:\windows\system32\WindowsPowerShell\v1.0\Modules\
    PUBLIC=C:\Users\Public
    SESSIONNAME=Console
    SystemDrive=C:
    SystemRoot=C:\windows
    TEMP=C:\Users\RIYAS\AppData\Local\Temp
    TMP=C:\Users\RIYAS\AppData\Local\Temp
    USERDOMAIN=RIYAS-PC
    USERNAME=RIYAS
    USERPROFILE=C:\Users\RIYAS
    windir=C:\windows
    windows_tracing_flags=3
    windows_tracing_logfile=C:\BVTBin\Tests\installpackage\csilogfile.log
    Pls help..

    You don't say what you have done to set up a connection.
    This error is usually caused by something like using the wrong host name, or port number.

  • MS-SQL - Oracle SELECT INTO conversion problem...

    Under MS-SQL (T-SQL) Select statement is defined as follows:
    SELECT select_list
    [INTO new_table_]
    ^^^^^^^^^^^^^^^^^^^^^
    FROM table_source
    [WHERE search_condition]
    [GROUP BY group_by_expression]
    [HAVING search_condition]
    [ORDER BY order_expression [ASC | DESC] ]
    Q:How under PL/SQL can one redirect sorted (ORDERed BY) results
    from SELECT query to another table.
    Slawek
    null

    I have asked the question because of the following reason:
    I have a large select query that returns rows from a table in
    different sort orders depending on user inputs, and I wonder if
    there is any way to return just the rows between two specified
    positions.
    I figured that I'm going to either create one temporary table
    with all the data (1000 records for example), sort the data in
    the prefered order and use the rownum method to obtain the row
    range (works fine under T-SQL). Other way is to try an inline
    view that return the rownumber. I can then restrict the numer of
    fields, e.g.
    select empid, rowNumber from emp,
    (select empid as id, rownum as rowNumber from emp) x
    where empid = id
    and rowNumber between 2 and 5
    The problem is that under Oracle the subquery is not allowed to
    have an ORDER BY clause (even if it had, rownum reflects row
    numbers before they were sorted) and there is no SELECT into
    TABLE_NAME.
    Michael Malicky (guest) wrote:
    : Slawek (guest) wrote:
    : : Under MS-SQL (T-SQL) Select statement is defined as follows:
    : : SELECT select_list
    : : [INTO new_table_]
    : : ^^^^^^^^^^^^^^^^^^^^^
    : : FROM table_source
    : : [WHERE search_condition]
    : : [GROUP BY group_by_expression]
    : : [HAVING search_condition]
    : : [ORDER BY order_expression [ASC | DESC] ]
    : : Q:How under PL/SQL can one redirect sorted (ORDERed BY)
    results
    : : from SELECT query to another table.
    : : Slawek
    : Order by is irrelevant when creating a new table out of a
    : query, as the rows are NOT stored in any order in a table.
    : The syntax for creating a new table out of an existing one
    : is:
    : CREATE TABLE new_table AS
    : SELECT select_list FROM old_table
    : WHERE ...
    : etc.
    : /mike
    null

  • Problem about using Oracle Form 6i to connect Oracle Database 10g express.

    Sorry to interrupt all of you.
    I have encountered a problem about using Oracle Form 6i to connect Oracle Database 10g express.
    As I would like to
    I use Oracle Net8 Easy Config to create a connection.
    According to "tnsnames.ora", the paramater of connection is as follows;
    XE =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521))
    (CONNECT_DATA = (SID = XE))
    Unfortunately, when I use Oracle Net8 Easy Config to test the connection, an error message is prompted as follows:
    Connecting....
    The test did not succeed.
    ORA-03106: fatal two-task communication protocol error
    There may be an error in the fields entered
    or the server may not be ready for a connection.
    You can check the server and retry, or continue.
    After I google it, I still have no idea how to solve the problem. I would like to ask, could anyone mind providing some hints or solution to address the issues.
    Thanks for your assistance in advance.

    I don't believe the Net8 Easy Config (NEC) will create a compatible entry in the tnsnames.ora. I have Forms 6i running successfully against a 10g Express database, but I did not use the NEC - I created the entry myself. Here is the entry I use:
    XE=
      (DESCRIPTION=
        (ADDRESS=
          (PROTOCOL=TCP)
          (HOST=<<servername or IP address>>)
          (PORT=1521)
        (CONNECT_DATA=
          (SERVER=dedicated)
          (SERVICE_NAME=XE)
      )Hope this helps,
    Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.

  • Hello everyone!! I'm having a big problem trying to reinstall oracle xe 10g

    I'm having a big problem with Oracle XE 10g, and I have no more ideas about what should i do
    Some weeks ago I installed this database on my PC, and everything was working fine. I could access to the DB, with the web interface or command line.
    But I uninstalled all the system 'cause suddenly I started having problems with the SQL command line, and now, after reinstalling the system several times, I can't acces to the database (web or command line).
    When I try to acces manually by command line, this happends:
    C:\oraclexe\app\oracle\product\10.2.0\server\BIN>sqlplus
    SQL*Plus: Release 10.2.0.1.0 - Production on Jue Sep 9 11:23:52 2010
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Username: sys
    Password:*********
    ERROR:
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    Another try:
    C:\oraclexe\app\oracle\product\10.2.0\server\BIN>sqlplus /nolog
    SQL*Plus: Release 10.2.0.1.0 - Production on Jue Sep 9 11:17:24 2010
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    SQL> CONNECT SYS as SYSDBA
    Password:********
    Conected to an Idle Intance.
    SQL> startup
    ORA-01078: failure in processing system parameters
    ORA-01565: error in identifying file 'C:\oraclexe\app\oracle\product\10.2.0\serv
    er\dbs/spfileXE.ora'
    ORA-27041: unable to open file
    OSD-04002: unable to open file
    O/S-Error: (OS 2) System cannot find the file.
    SQL> help
    SP2-0171: Help system is unavailable.
    What should I do???? Reinstalling Oracle XE is not working fot me.... U_U
    Thanks!!!

    Finally I discover what were happening to me...
    When you remove oracle XE, the uninstall system "forget" to delete the route of the bin directory in the PATH variable
    Thanks for the help!!
    =)

  • A very surprise problem about JDBC and connection pool

    I occur a very problem about JDBC and connection pool on Weblogic Platform
    8.1.
    There is a table in Oracle
    Table
    Name: t1
    id varchar2(5);
    content clob;
    id is primary key.
    If I use a connection pool to connect to Oracle,like following program:
    InitialContext ic = new InitialContext();
    DataSource ds = (DataSource) ic.lookup("cgOracleDataSource");
    con = ds.getConnection();
    then following program will throw a ClassCastException
    String sql = "select content from t1 where id = ?";
    PreparedStatement pst = con.prepareStatement(sql);
    pst.setString(1,"001");
    oracle.sql.CLOB clob = (oralce.sql.CLOB)rs.getClob("content") //this
    statement will throw ClassCastException
    but if I use JNDI to connect to Oracle,like following program, then those
    program above is ok
    private String dbdriver="oracle.jdbc.driver.OracleDriver";
    private String dburl="jdbc:oracle:thin:@192.168.7.148:1521:ep";
    private String username="ep";
    private String password="epuser";
    Class.forName(dbdriver);
    conn = DriverManager.getConnection(dburl, username, password);
    conn.setAutoCommit(false);
    On the contrary, if I use JNDI to connect to Oracle, following program will
    throw ClassCastException
    weblogic.jdbc.vendor.oracle.OracleThinClob clob =
    (weblogic.jdbc.vendor.oracle.OracleThinClob)rs.getClob("content");
    but it is fine if I use connection pool to connect to Oracle.
    I am confused this problem, who can tell me why?
    Daniel

    When you are getting connection using datasource lookup from weblogic
    connection pool, this connection is internally wrapped and hence you have to
    cast it to weblogic.jdbc.vendor.oracle.OracleThinClob which you do and so it
    works.
    But when you get connection by loading driver straight, you are getting naked
    oracle connection. In this case when you cast it to oracle.sql.Clob it works,
    as you have seen in your test case.
    I hope this explains what is going on with your code.
    Thanks,
    Mitesh
    Daniel wrote:
    I occur a very problem about JDBC and connection pool on Weblogic Platform
    8.1.
    There is a table in Oracle
    Table
    Name: t1
    id varchar2(5);
    content clob;
    id is primary key.
    If I use a connection pool to connect to Oracle,like following program:
    InitialContext ic = new InitialContext();
    DataSource ds = (DataSource) ic.lookup("cgOracleDataSource");
    con = ds.getConnection();
    then following program will throw a ClassCastException
    String sql = "select content from t1 where id = ?";
    PreparedStatement pst = con.prepareStatement(sql);
    pst.setString(1,"001");
    oracle.sql.CLOB clob = (oralce.sql.CLOB)rs.getClob("content") //this
    statement will throw ClassCastException
    but if I use JNDI to connect to Oracle,like following program, then those
    program above is ok
    private String dbdriver="oracle.jdbc.driver.OracleDriver";
    private String dburl="jdbc:oracle:thin:@192.168.7.148:1521:ep";
    private String username="ep";
    private String password="epuser";
    Class.forName(dbdriver);
    conn = DriverManager.getConnection(dburl, username, password);
    conn.setAutoCommit(false);
    On the contrary, if I use JNDI to connect to Oracle, following program will
    throw ClassCastException
    weblogic.jdbc.vendor.oracle.OracleThinClob clob =
    (weblogic.jdbc.vendor.oracle.OracleThinClob)rs.getClob("content");
    but it is fine if I use connection pool to connect to Oracle.
    I am confused this problem, who can tell me why?
    Daniel

  • SAP 4.7 Installation problem on Solaris 10 - Oracle 9.2.0.7

    Hi,
    I am trying to install SAP 4.7 on Solaris 10 - Oracle 9.2.0.7. I am using standar installation DVD for SAP 4.7 SR1. After installation I want to login SAP system I have an error about database inconsistency. System said that enter SICK transaction. I entered SICK and my error is "OS release SunOS 5.10 Generic_141444-09 sun4u is not support with this kernel". After I received this error I installed new kernel (221) and I upgaded kernel to 221. But after that I could not open SAP system. I checked dev_w1 and it is like below:
    "dev_w1" 456 lines, 18662 characters
    trc file: "dev_w1", trc level: 1, release: "640"
    ACTIVE TRACE LEVEL           1
    ACTIVE TRACE COMPONENTS      all, M
    M sysno      00
    M sid        KZP
    M systemid   370 (Solaris on SPARCV9 CPU)
    M relno      6400
    M patchlevel 0
    M patchno    221
    M intno      20020600
    M make:      single threaded, Unicode, 64 bit
    M pid        22022
    M
    M
    M Fri Jan 29 15:11:00 2010
    M  ***LOG Q01=> tskh_init, WPStart (Workproc 1 1 22022) [thxxhead.c   1144]
    M  calling db_connect ...
    C  Got ORACLE_HOME=/oracle/KZP/920_64 from environment
    C  got NLS_LANG='AMERICAN_AMERICA.UTF8' from environment
    C  Client NLS settings: AMERICAN_AMERICA.UTF8
    C  Logon as OPS$-user to get SAPKZP's password
    C  Connecting as /@KZP on connection 0 (nls_hdl 0) ... (dbsl 640 070208)
    C  Nls CharacterSet                 NationalCharSet              C      EnvHp      ErrHp ErrHpBatch
    C    0 UTF8                                                      1 0x10667d250 0x10668fcd0 0x10668f668
    C  Attaching to DB Server KZP (con_hdl=0,svchp=0x10668f598,srvhp=0x106691dc8)
    C  Starting user session (con_hdl=0,svchp=0x10668f598,srvhp=0x106691dc8,usrhp=0x10669a800)
    C  Now '/@KZP' is connected: con_hdl=0, nls_hdl=0, session_id=13.
    C  Got SAPKZP's password from OPS$-user
    C  Disconnecting from connection 0 ...
    C  Close user session (con_hdl=0,svchp=0x10668f598,usrhp=0x10669a800)
    C  Now I'm disconnected from ORACLE
    C  Connecting as SAPKZP/<pwd>@KZP on connection 0 (nls_hdl 0) ... (dbsl 640 070208)
    C  Nls CharacterSet                 NationalCharSet              C      EnvHp      ErrHp ErrHpBatch
    C    0 UTF8                                                      1 0x10667d250 0x10668fcd0 0x10668f668
    C  Starting user session (con_hdl=0,svchp=0x10668f598,srvhp=0x106691dc8,usrhp=0x10669a800)
    C  Now 'SAPKZP/<pwd>@KZP' is connected: con_hdl=0, nls_hdl=0, session_id=13.
    C  Database NLS settings: AMERICAN_AMERICA.UTF8
    C  DB instance KZP is running on sapkzpn2 with ORACLE version 9.2.0.7.0 since JAN 29, 2010, 15:10:46
    B  Connection 0 opened (DBSL handle 0)
    B  Wp  Hdl ConName          ConId     ConState     TX  PRM RCT TIM MAX OPT Date     Time   DBHost
    B  000 000 R/3              000000000 ACTIVE       NO  YES NO  000 255 255 20100129 151100 sapkzpn2
    M  db_connect o.k.
    M  ICT: exclude compression: .zip,.cs,.rar,.arj,.z,.gz,.tar,.lzh,.cab,.hqx,.ace,.jar,.ear,.war,.css,.pdf,.js,.gzip
    ,.uue,.bz2,.iso,.sda,.sar,.gif
    I
    I Fri Jan 29 15:11:07 2010
    I  MtxInit: 1 0 0
    M  SHM_PRES_BUF                 (addr: 0xffffffff7597a000, size: 4400000)
    M  SHM_ROLL_AREA                (addr: 0xfffffffe56000000, size: 134217728)
    M  SHM_PAGING_AREA              (addr: 0xffffffff62000000, size: 67108864)
    M  SHM_ROLL_ADM                 (addr: 0xffffffff75db0000, size: 2672386)
    M  SHM_PAGING_ADM               (addr: 0xffffffff71f00000, size: 656416)
    M  ThCreateNoBuffer             allocated 572152 bytes for 1000 entries at 0xfffffffe4e004000
    M  ThCreateNoBuffer             index size: 3000 elems
    M  ThCreateVBAdm                allocated 12176 bytes (50 server) at 0xffffffff7bc00000
    X  EmInit: MmSetImplementation( 2 ).
    X  <ES> client 1 initializing ....
    X  Using implementation std
    X  ES initialized.
    B  db_con_shm_ini:  WP_ID = 1, WP_CNT = 8, CON_ID = -1
    B  dbtbxbuf: Buffer TABL  (addr: 0xffffffff60000100, size: 30000000, end: 0xffffffff61c9c480)
    B  dbtbxbuf: Buffer TABLP (addr: 0xffffffff6d400100, size: 10240000, end: 0xffffffff6ddc4100)
    B  dbexpbuf: Buffer EIBUF (addr: 0xfffffffe5f800108, size: 4194304, end: 0xfffffffe5fc00108)
    B  dbexpbuf: Buffer ESM   (addr: 0xfffffffe5f000108, size: 4194304, end: 0xfffffffe5f400108)
    B  dbexpbuf: Buffer CUA   (addr: 0xfffffffe5101e108, size: 3072000, end: 0xfffffffe5130c108)
    B  dbexpbuf: Buffer OTR   (addr: 0xfffffffe5e800108, size: 4194304, end: 0xfffffffe5ec00108)
    M  rdisp/reinitialize_code_page -> 0
    M  icm/accept_remote_trace_level -> 0
    M  rdisp/no_hooks_for_sqlbreak -> 0
    M  CCMS: AlInitGlobals : alert/use_sema_lock = TRUE.
    S
    S Fri Jan 29 15:11:08 2010
    S  *** init spool environment
    S  initialize debug system
    T  Stack direction is downwards.
    T  debug control: prepare exclude for printer trace
    T  new memory block 0x106aa11e0
    S  spool kernel/ddic check: Ok
    S  using table TSP02FX for frontend printing
    S  1 spool work process(es) found
    S  frontend print via spool service enabled
    S  printer list size is 150
    S  printer type list size is 50
    S  queue size (profile)   = 300
    S  hostspool list size = 3000
    S  option list size is 30
    S      found processing queue enabled
    S  found spool memory service RSPO-RCLOCKS at 0xfffffffe51310070
    S  doing lock recovery
    S  setting server cache root
    S  found spool memory service RSPO-SERVERCACHE at 0xfffffffe513103c8
    S    using messages for server info
    S  size of spec char cache entry: 297032 bytes (timeout 100 sec)
    S  size of open spool request entry: 2272 bytes
    S  immediate print option for implicitely closed spool requests is disabled
    A
    A Fri Jan 29 15:11:09 2010
    A
    A  -PXA--
    A  PXA INITIALIZATION
    A  System page size: 8kb, total admin_size: 5512kb, dir_size: 5480kb.
    I  *** ERROR => shmget(10006,153600000,2016) (22: Invalid argument) [shmux.c      1525]
    A  RABAX in run level 1
    A  RABAX in unkown environment: task_type=0, run level=1, rabax state=80000000 ztta_task_type=0
    [0] DoStack2 ( 0x105af7010, 0xffffffff7fffd740, 0x1004a4ae4, 0x0, 0x105dbb180, 0x102e2f6e0 ), at 0x1004a4ae4
    [1] CTrcStack2 ( 0x1036f6d60, 0x0, 0x17400, 0x102e947dc, 0x0, 0x102e2f6e0 ), at 0x1004a4680
    [2] __1cXrabax_CStackToTraceFile6F_v_ ( 0x0, 0x1, 0x0, 0x3097000, 0x100000000, 0x103097058 ), at 0x100ae0e80
    [3] __1cKrabax_init6FpkH_v_ ( 0x102002ad8, 0x0, 0x1, 0x0, 0x0, 0x0 ), at 0x100ad97d8
    [4] ab_rabax ( 0x0, 0x80000000, 0x6da, 0x103879400, 0x1880, 0x1065e4110 ), at 0x100acfe3c
    [5] __1cJab_pbinit6F_v_ ( 0x100000000, 0x102e947dc, 0x1, 0x102002ab4, 0x102f4e1c0, 0x103815550 ), at 0x100750de0
    [6] ab_init ( 0x0, 0x5bd5000, 0xac8800, 0x5bd5000, 0x1, 0x0 ), at 0x100ac8d34
    [7] ThrInitRunTime ( 0x100489c00, 0x489c00, 0x332c400, 0x102e94820, 0x1, 0x102e947d4 ), at 0x100476e84
    [8] ThStartUp2 ( 0x101fec800, 0x194c800, 0x100000000, 0x102e947d4, 0x0, 0x10194cc00 ), at 0x100415860
    [9] tskh_init ( 0x2e7a000, 0x1, 0x1, 0x540, 0x102e94400, 0x15 ), at 0x100260f14
    [10] tskhstart ( 0x0, 0x2e94400, 0x0, 0x1003d6400, 0x3d6400, 0x100000000 ), at 0x10025cf9c
    [11] DpMain ( 0x3641400, 0x2e7a000, 0x100000000, 0x1, 0x0, 0x0 ), at 0x1001856c0
    A
    A Fri Jan 29 15:11:10 2010
    A  TH VERBOSE LEVEL FULL
    A  ** RABAX: level LEV_RX_PXA_RELEASE_MTX entered.
    A  ** RABAX: level LEV_RX_PXA_RELEASE_MTX failed.
    A  *** suicide ON
    A  ** RABAX: level LEV_RX_VMIT_CLEANUP entered.
    A  ** RABAX: level LEV_RX_VMIT_CLEANUP completed.
    A  ** RABAX: level LEV_RX_ROLLBACK entered.
    A  ** RABAX: level LEV_RX_ROLLBACK completed.
    A  ** RABAX: level LEV_RX_DB_ALIVE entered.
    A  ** RABAX: level LEV_RX_DB_ALIVE completed.
    A  ** RABAX: level LEV_RX_HOOKS entered.
    A  ** RABAX: level LEV_RX_HOOKS completed.
    A  ** RABAX: level LEV_RX_STANDARD entered.
    A  ** RABAX: level LEV_RX_STANDARD failed.
    A  ** RABAX: level LEV_RX_C_STACK entered.
    A  ** RABAX: level LEV_RX_C_STACK completed.
    A  ** RABAX: level LEV_RX_MEMO_CHECK entered.
    A  ** RABAX: level LEV_RX_MEMO_CHECK completed.
    A  ** RABAX: level LEV_RX_INTERFACES entered.
    A  ** RABAX: level LEV_RX_INTERFACES completed.
    A  ** RABAX: level LEV_RX_GET_MESS entered.
    A  ** RABAX: level LEV_RX_GET_MESS completed.
    A  ** RABAX: level LEV_RX_INIT_SNAP entered.
    A  ** RABAX: level LEV_RX_INIT_SNAP completed.
    A  ** RABAX: level LEV_RX_WRITE_SYSLOG entered.
    A  ** RABAX: level LEV_RX_WRITE_SYSLOG completed.
    A  ** RABAX: level LEV_RX_WRITE_SNAP entered.
    X  *** ERROR => invalid MM administration (adm) (nil)  (admCheck)(nil) [mmxx.c       2127]
    A  ** RABAX: level LEV_RX_WRITE_SNAP failed.
    A  ** RABAX: level LEV_RX_SET_ALERT entered.
    A  ** RABAX: level LEV_RX_SET_ALERT completed.
    A  ** RABAX: level LEV_RX_COMMIT entered.
    A  ** RABAX: level LEV_RX_COMMIT completed.
    A  ** RABAX: level LEV_RX_SNAP_SYSLOG entered.
    A  ** RABAX: level LEV_RX_SNAP_SYSLOG completed.
    A  ** RABAX: level LEV_RX_RESET_PROGS entered.
    A  ** RABAX: level LEV_RX_RESET_PROGS completed.
    A  ** RABAX: level LEV_RX_STDERR entered.
    A  Fri Jan 29 15:11:10 2010
    A
    A  Error Code PXA_NO_SHARED_MEMORY.
    A  Module  $Id: //bas/640_REL/src/krn/runt/abload3.c#44 $ SAP.
    A  Function ab_pbinit Line 1754.
    A  ** RABAX: level LEV_RX_STDERR completed.
    A  ** RABAX: level LEV_RX_RFC_ERROR entered.
    A  ** RABAX: level LEV_RX_RFC_ERROR completed.
    A  ** RABAX: level LEV_RX_RFC_CLOSE entered.
    A  ** RABAX: level LEV_RX_RFC_CLOSE completed.
    A  ** RABAX: level LEV_RX_IMC_ERROR entered.
    A  ** RABAX: level LEV_RX_IMC_ERROR completed.
    A  ** RABAX: level LEV_RX_DATASET_CLOSE entered.
    A  ** RABAX: level LEV_RX_DATASET_CLOSE completed.
    A  ** RABAX: level LEV_RX_RESET_SHMLOCKS entered.
    A  ** RABAX: level LEV_RX_RESET_SHMLOCKS failed.
    A  ** RABAX: level LEV_RX_ERROR_SAVE entered.
    A  ** RABAX: level LEV_RX_ERROR_SAVE completed.
    A  ** RABAX: level LEV_RX_ERROR_TPDA entered.
    A  ** RABAX: level LEV_RX_ERROR_TPDA completed.
    A  ** RABAX: level LEV_RX_PXA_RELEASE_RUDI entered.
    A  ** RABAX: level LEV_RX_PXA_RELEASE_RUDI completed.
    A  ** RABAX: level LEV_RX_LIVE_CACHE_CLEANUP entered.
    A  ** RABAX: level LEV_RX_LIVE_CACHE_CLEANUP completed.
    A  ** RABAX: level LEV_RX_END entered.
    A  ** RABAX: level LEV_RX_END completed.
    A  ** RABAX: end RX_SUICIDE
    A  Shared Memory von 150000 Kilo-Bytes f\303\274r PXA nicht verf\303\274gbar..
    A
    A  *
    A  * Non recoverable error. Aborting process...
    A  *
    M  ***LOG R63=> ThWpHalt, halt wp () [thxxhead.c   15213]
    M  in_ThErrHandle: 1
    M  *** ERROR => ThWpHalt: halt wp (step 1, th_errno 5, action 2, level 1) [thxxhead.c   9696]
    M
    M  Info for wp 1
    M
    M    stat = 4
    M    reqtype = 1
    M    act_reqtype = -1
    M    rq_info = 0
    M    tid = 1
    M    mode = 0
    M    len = -1
    M    rq_id = 65535
    M    rq_source = 255
    M    last_tid = 0
    M    last_mode = 0
    M    int_checked_resource(RFC) = 0
    M    ext_checked_resource(RFC) = 0
    M    int_checked_resource(HTTP) = 0
    M    ext_checked_resource(HTTP) = 0
    M    report = >                                        <
    M    action = 0
    M    tab_name = >                              <
    M
    M
    M  PfStatDisconnect: disconnect statistics
    M  ThIErrHandle: action changed to 2
    M  Entering TH_CALLHOOKS
    M  ThCallHooks: call hook >SAP-Trace buffer write< for event BEFORE_DUMP
    M  TrThHookFunc: called for WP dump
    M  ThCallHooks: call hook >ThrSaveSPAFields< for event BEFORE_DUMP
    M  *** ERROR => ThrSaveSPAFields: no valid thr_wpadm [thxxrun1.c   730]
    M  *** ERROR => ThCallHooks: event handler ThrSaveSPAFields for event BEFORE_DUMP failed [thxxtool3.c  255]
    M  Entering ThSetStatError
    M  ThErrPrivHandle: set th_errno (5)
    M  Entering ThReadDetachMode
    M  *** ERROR => ThIErrHandle: bad value for th_act_em_hdl (5), detach T1/M0 [thxxhead.c   10129]
    M
    M  Modeinfo for User T1/M0
    M
    M
    M  call ThrShutDown (1)...
    A  Saving PXA statistics.
    M  -
    C-STACK -
    [0] __1cNab_pxasavedir6F_i_ ( 0x102e94400, 0x2f63c00, 0x102e94800, 0x10200b800, 0x1, 0x0 ), at 0x10076c108
    [1] ab_shutdown ( 0x0, 0x1, 0x102f3b400, 0x1, 0x102e94400, 0x2e94400 ), at 0x100aca150
    [2] ThIErrHandle ( 0x10251b400, 0x2e94800, 0x102e7a324, 0x2, 0x2e94400, 0x102e94800 ), at 0x100293870
    M  -
    M  ***LOG Q0E=> SigIGenAction, signal ( 11) [sigux.c      902]
    M  in_ThErrHandle: 2
    M  ***LOG R0H=> ThIErrHandle, Loop in ThErrHandle, restart wp () [thxxhead.c   9717]
    M  -
    C-STACK -
    [0] DoStack2 ( 0x105af7010, 0xffffffff7fffc340, 0x1004a4ae4, 0x0, 0x105dbac40, 0x102e2f6e0 ), at 0x1004a4ae4
    [1] CTrcStack2 ( 0x1036f6d00, 0x0, 0x17400, 0x102e947dc, 0x10049d16c, 0x102e2f6e0 ), at 0x1004a4680
    [2] ThIErrHandle ( 0x0, 0x100000000, 0x3, 0x10331ff08, 0xb, 0x4 ), at 0x100291b08
    [3] SigIGenAction ( 0x102c9f800, 0x1032acd04, 0x102c9f800, 0xb, 0x102e94820, 0x102e947d4 ), at 0x101e49c4c
    [4] __sighndlr ( 0xb, 0xffffffff7fffcf80, 0xffffffff7fffcca0, 0x101e493bc, 0x0, 0x0 ), at 0xffffffff7c7d62e0
    [5] call_user_handler ( 0xffffffff7d300200, 0xffffffff7d300200, 0xffffffff7fffcca0, 0x19, 0x0, 0x0 ), at 0xffffffff7c7c9e44
    [6] sigacthandler ( 0x0, 0xffffffff7fffcf80, 0xffffffff7fffcca0, 0xffffffff7d300200, 0x0, 0xffffffff7c93c000 ), at 0xffffffff7c7ca03
    c
    [7] __1cNab_pxasavedir6F_i_ ( 0x102e94400, 0x2f63c00, 0x102e94800, 0x10200b800, 0x1, 0x0 ), at 0x10076c0f4
    [8] ab_shutdown ( 0x0, 0x1, 0x102f3b400, 0x1, 0x102e94400, 0x2e94400 ), at 0x100aca150
    [9] ThIErrHandle ( 0x10251b400, 0x2e94800, 0x102e7a324, 0x2, 0x2e94400, 0x102e94800 ), at 0x100293870
    [10] __1cIrabax_do6FpkHpHi_v_ ( 0x102002ad8, 0x0, 0x41, 0x102e94800, 0x1, 0x1 ), at 0x100adc154
    [11] ab_rabax ( 0x2, 0x2e94800, 0x1, 0x100000000, 0x2e94400, 0x2e94400 ), at 0x100ad3bc4
    M  -
    M Fri Jan 29 15:11:11 2010
    M  ThSigHandler: signal (step 1, th_errno 11, action 4)
    M
    M  Info for wp 1
    M
    M    stat = 4
    M    reqtype = 1
    M    act_reqtype = -1
    M    rq_info = 0
    M    tid = 1
    M    mode = 0
    M    len = -1
    M    rq_id = 65535
    M    rq_source = 255
    M    last_tid = 0
    M    last_mode = 0
    M    int_checked_resource(RFC) = 0
    M    ext_checked_resource(RFC) = 0
    M    int_checked_resource(HTTP) = 0
    M    ext_checked_resource(HTTP) = 0
    M    report = >                                        <
    M    action = 0
    M    tab_name = >                              <
    M  PfStatDisconnect: disconnect statistics
    M  Entering ThSetStatError
    M  ***LOG Q02=> wp_halt, WPStop (Workproc 1 22022) [dpuxtool.c   318]
    Also I tried to change SAPEXE.SAR and SAPEXEDB.SAR files from SAP Kernel CD. After that I started installation again. But I have same error. SAP system didn't work.
    How can I solve this error?Cannot I install SAP 4.7 SR1 on Solaris 10 - ORacle 9.2.0.7?Is the problem about SAP profile parameters or Solaris Kernel parameters
    Best regards,

    Also dev_disp is like below:
    sid        KZP
    systemid   370 (Solaris on SPARCV9 CPU)
    relno      6400
    patchlevel 0
    patchno    221
    intno      20020600
    make:      single threaded, Unicode, 64 bit
    pid        22016
    ***LOG Q00=> DpSapEnvInit, DPStart (00 22016) [dpxxdisp.c   1104]
            shared lib "dw_xml.so" version 221 successfully loaded
            shared lib "dw_xtc.so" version 221 successfully loaded
            shared lib "dw_stl.so" version 221 successfully loaded
            shared lib "dw_gui.so" version 221 successfully loaded
            shared lib "dw_mdm.so" version 221 successfully loaded
    MtxInit: -2 0 0
    DpSysAdmExtInit: ABAP is active
    DpIPCInit2: start server >sapkzpn2_KZP_00                         <
    DpShMCreate: sizeof(wp_adm)             10752   (1344)
    DpShMCreate: sizeof(tm_adm)             3728952 (18552)
    DpShMCreate: sizeof(wp_ca_adm)          31200   (104)
    DpShMCreate: sizeof(appc_ca_adm)        10400   (104)
    DpShMCreate: sizeof(comm_adm)           316000  (632)
    DpShMCreate: sizeof(vmc_adm)            0       (560)
    DpShMCreate: sizeof(wall_adm)           (40056/36728/88/192)
    DpShMCreate: SHM_DP_ADM_KEY             (addr: 0xffffffff70c00000, size: 4181592)
    DpShMCreate: allocated sys_adm at 0xffffffff70c00000
    DpShMCreate: allocated wp_adm at 0xffffffff70c01c88
    DpShMCreate: allocated tm_adm_list at 0xffffffff70c04688
    DpShMCreate: allocated tm_adm at 0xffffffff70c046b0
    DpShMCreate: allocated wp_ca_adm at 0xffffffff70f92ce8
    DpShMCreate: allocated appc_ca_adm at 0xffffffff70f9a6c8
    DpShMCreate: allocated comm_adm_list at 0xffffffff70f9cf68
    DpShMCreate: allocated comm_adm at 0xffffffff70f9cf80
    DpShMCreate: allocated vmc_adm_list at 0xffffffff70fea1e0
    DpShMCreate: system runs without vmc_adm
    DpShMCreate: allocated ca_info at 0xffffffff70fea208
    DpShMCreate: allocated wall_adm at 0xffffffff70fea210
    MBUF state OFF
    ThTaskStatus: rdisp/reset_online_during_debug 0
    EmInit: MmSetImplementation( 2 ).
    <ES> client 0 initializing ....
    <ES> InitFreeList
    <ES> block size is 4096 kByte.
    Using implementation std
    EsIUnamFileMapInit: ES base = 0x0xfffffffe60000000
    EsStdInit: Extended Memory 4092 MB allocated
    <ES> 1022 blocks reserved for free list.
    ES initialized.
    Fri Jan 29 15:11:07 2010
    rdisp/http_min_wait_dia_wp : 1 -> 1
    ***LOG CPS=> DpLoopInit, ICU ( 2.6.1 2.6 4.0) [dpxxdisp.c   1490]
    ***LOG Q0K=> DpMsAttach, mscon ( sapkzpn2) [dpxxdisp.c   10127]
    DpStartStopMsg: send start message (myname is >sapkzpn2_KZP_00                         <)
    DpStartStopMsg: start msg sent
    CCMS: AlInitGlobals : alert/use_sema_lock = TRUE.
    Fri Jan 29 15:11:08 2010
    DpMsgAdmin: Set release to 6400, patchlevel 0
    MBUF state PREPARED
    MBUF component UP
    DpMBufHwIdSet: set Hardware-ID
    ***LOG Q1C=> DpMBufHwIdSet [dpxxmbuf.c   1025]
    DpMsgAdmin: Set patchno for this platform to 221
    Release check o.K.
    Fri Jan 29 15:11:29 2010
    ERROR => W0 (pid 22021) died [dpxxdisp.c   12698]
    ERROR => W2 (pid 22023) died [dpxxdisp.c   12698]
    my types changed after wp death/restart 0xbf --> 0xbd
    ERROR => W3 (pid 22024) died [dpxxdisp.c   12698]
    my types changed after wp death/restart 0xbd --> 0xb9
    ERROR => W4 (pid 22025) died [dpxxdisp.c   12698]
    ERROR => W5 (pid 22028) died [dpxxdisp.c   12698]
    my types changed after wp death/restart 0xb9 --> 0xb1
    ERROR => W6 (pid 22030) died [dpxxdisp.c   12698]
    my types changed after wp death/restart 0xb1 --> 0xa1
    ERROR => W7 (pid 22038) died [dpxxdisp.c   12698]
    my types changed after wp death/restart 0xa1 --> 0x81
    Fri Jan 29 15:12:08 2010
    ERROR => W1 (pid 22022) died [dpxxdisp.c   12698]
    my types changed after wp death/restart 0x81 --> 0x80
    DP_FATAL_ERROR => DpWPCheck: no more work processes
    DISPATCHER EMERGENCY SHUTDOWN ***
    increase tracelevel of WPs
    killing W0-22021 (SIGUSR2)
    ERROR => DpWpKill(22021, SIGUSR2) failed [dpxxtool.c   2508]
    killing W1-22022 (SIGUSR2)
    ERROR => DpWpKill(22022, SIGUSR2) failed [dpxxtool.c   2508]
    killing W2-22023 (SIGUSR2)
    ERROR => DpWpKill(22023, SIGUSR2) failed [dpxxtool.c   2508]
    killing W3-22024 (SIGUSR2)
    killing W7-22038 (SIGUSR2)
    ERROR => DpWpKill(22038, SIGUSR2) failed [dpxxtool.c   2508]
    NiWait: sleep (10000 msecs) ...
    NiISelect: timeout 10000 ms
    NiISelect: maximum fd=15
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Fri Jan 29 15:12:18 2010
    NiISelect: TIMEOUT occured (10000 ms)
    dump system status
    Workprocess Table (long)                        Fri Jan 29 09:12:18 2010
    ========================
    No Ty. Pid      Status  Cause Start Err Sem CPU    Time  Program  Cl  User         Action                    Table
    0 DIA    22021 Ended         no      1   0            78             SAPSYS
    1 DIA    22022 Ended         no      1   0            78             SAPSYS
    2 UPD    22023 Ended         no      1   0            78             SAPSYS
    3 ENQ    22024 Ended         no      1   0            78             SAPSYS
    4 BTC    22025 Ended         no      1   0            78             SAPSYS
    5 BTC    22028 Ended         no      1   0            78             SAPSYS
    6 SPO    22030 Ended         no      1   0            71             SAPSYS
    7 UP2    22038 Ended         no      1   0            71             SAPSYS
    Dispatcher Queue Statistics                     Fri Jan 29 09:12:18 2010
    ===========================
    --------++++--
    +
    Typ
    now
    high
    max
    writes
    reads
    --------++++--
    +
    NOWP
    0
    3
    2000
    10
    10
    --------++++--
    +
    DIA
    5
    5
    2000
    5
    0
    --------++++--
    +
    UPD
    0
    0
    2000
    0
    0
    --------++++--
    +
    ENQ
    0
    0
    2000
    0
    0
    --------++++--
    +
    BTC
    0
    0
    2000
    0
    0
    --------++++--
    +
    SPO
    0
    0
    2000
    0
    0
    --------++++--
    +
    UP2
    0
    0
    2000
    0
    0
    --------++++--
    +
    max_rq_id               13
    wake_evt_udp_now        0
    wake events             total     9,  udp     6 ( 66%),  shm     3 ( 33%)
    since last update       total     9,  udp     6 ( 66%),  shm     3 ( 33%)
    Dump of tm_adm structure:                       Fri Jan 29 09:12:18 2010
    =========================
    Term    uid  man user    term   lastop  mod wp  ta   a/i (modes)
    Workprocess Comm. Area Blocks                   Fri Jan 29 09:12:18 2010
    =============================
    Slots: 300, Used: 1, Max: 0
    --------++--
    +
    id
    owner
    pid
    eyecatcher
    --------++--
    +
    0
    DISPATCHER
    -1
    WPCAAD000
    NiWait: sleep (5000 msecs) ...
    NiISelect: timeout 5000 ms
    NiISelect: maximum fd=15
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Fri Jan 29 15:12:23 2010
    NiISelect: TIMEOUT occured (5000 ms)
    DpHalt: shutdown server >sapkzpn2_KZP_00                         < (normal)
    DpJ2eeDisableRestart
    DpModState: buffer in state MBUF_PREPARED
    NiBufSend starting
    NiIWrite: write 110, 1 packs, MESG_IO, hdl 3, data complete
    MsINiWrite: sent 110 bytes
    MsIModState: change state to SHUTDOWN
    DpModState: change server state from STARTING to SHUTDOWN
    Switch off Shared memory profiling
    ShmProtect( 57, 3 )
    ShmKeySharedMMU( 57 ) = 0 (octal)
    ShmProtect(SHM_PROFILE, SHM_PROT_RW
    ShmProtect( 57, 1 )
    ShmKeySharedMMU( 57 ) = 0 (octal)
    ShmProtect(SHM_PROFILE, SHM_PROT_RD
    DpWakeUpWps: wake up all wp's
    Stop work processes...
    Stop gateway
    killing proc (22019) (SOFT_KILL)
    Stop icman
    killing proc (22020) (SOFT_KILL)
    Terminate gui connections
    kill(22019,0) successful -> process alive
    waiting for termination of gateway
    NiWait: sleep (1000 msecs) ...
    NiISelect: timeout 1000 ms
    NiISelect: maximum fd=15
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Fri Jan 29 15:12:24 2010
    NiISelect: TIMEOUT occured (1000 ms)
    kill(22019,0) -> ESRCH: process died
    kill(22020,0) -> ESRCH: process died
    DpHalt: cancel all lcom connections
    MPI CancelAll 2 -> 0
    MPI DeleteAll 2 -> 0
    DpStartStopMsg: send stop message (myname is >sapkzpn2_KZP_00                         <)
    NiIMyHostName: hostname = 'sapkzpn2'
    AdGetSelfIdentRecord: >                                                                           <
    AdCvtRecToExt: opcode 60 (AD_SELFIDENT), ser 0, ex 0, errno 0
    AdCvtRecToExt: opcode 4 (AD_STARTSTOP), ser 0, ex 0, errno 0
    DpConvertRequest: net size = 163 bytes
    NiBufSend starting
    NiIWrite: write 562, 1 packs, MESG_IO, hdl 3, data complete
    MsINiWrite: sent 562 bytes
    send msg (len 110+452) to name          -, type 4, key -
    DpStartStopMsg: stop msg sent
    NiIRead: read 229, 1 packs, MESG_IO, hdl 3, data complete
    NiBufIn: NIBUF len=229
    NiBufIn: Packet complete for hdl 3
    NiBufReceive starting
    MsINiRead: received 229 bytes
    MSG received, len 110+119, flag 1, from MSG_SERVER, typ 0, key -
    DpHalt: received 119 bytes from message server
    NiIRead: read 229, 1 packs, MESG_IO, hdl 3, data complete
    NiBufIn: NIBUF len=229
    NiBufIn: Packet complete for hdl 3
    NiBufReceive starting
    MsINiRead: received 229 bytes
    MSG received, len 110+119, flag 1, from MSG_SERVER, typ 0, key -
    DpHalt: received 119 bytes from message server
    DpHalt: no more messages from the message server
    DpHalt: send keepalive to synchronize with the message server
    cleanup event management
    cleanup shared memory/semaphores
    ShmCleanup SHM_SYS_ADM_KEY
    ShmCleanup( 1 )
    ShmCreate( 1, 0, 2, 0x0xffffffff7fffeab8 )
    ShmProtect( 1, 3 )
    ShmKeySharedMMU( 1 ) = 0 (octal)
    ShmCreate( 1, 0, 2, -> 0x0xffffffff7b100000 )
    ShmCleanup SHM_DP_ADM_KEY
    ShmCleanup( 2 )
    ShmCreate( 2, 0, 2, 0x0xffffffff7fffeab8 )
    ShmProtect( 2, 3 )
    ShmKeySharedMMU( 2 ) = 0 (octal)
    ShmCreate( 2, 0, 2, -> 0x0xffffffff70c00000 )
    ShmCleanup SHM_DP_CA_KEY
    ShmCleanup( 3 )
    ShmCreate( 3, 0, 2, 0x0xffffffff7fffeab8 )
    ShmProtect( 3, 3 )
    ShmKeySharedMMU( 3 ) = 0 (octal)
    ShmCreate( 3, 0, 2, -> 0x0xffffffff6fc00000 )
    ShmCleanup SHM_PF_KEY
    ShmCleanup( 4 )
    ShmCreate( 4, 0, 2, 0x0xffffffff7fffeab8 )
    ShmKeyPermission( 4 ) = 0740 (octal)
    ShmKeySharedMMU( 4 ) = 0 (octal)
    ShmProtect( 4, 3 )
    ShmKeySharedMMU( 4 ) = 0 (octal)
    ShmCreate( 4, 0, 2, -> 0x0xffffffff71f00000 )
    ShmCleanup SHM_PRES_BUF
    ShmCleanup( 14 )
    ShmCreate( 14, 0, 2, 0x0xffffffff7fffeab8 )
    ShmGet( 10, 14, 0, 2, 0x0xffffffff7fffe970 )
    ShmGet( 10, 14, 0, 2, -> 0x0xffffffff7597a000 )
    ShmProtect( 14, 3 )
    ShmProtect: Key=14 not attached
    ShmProtect( 14, 3 )
    ShmCreate( 14, 0, 2, -> 0x0xffffffff7597a000 )
    ShmCleanup SHM_CALI_BUFFER
    ShmCleanup( 11 )
    ShmCreate( 11, 0, 2, 0x0xffffffff7fffeab8 )
    ShmGet( 10, 11, 0, 2, 0x0xffffffff7fffe970 )
    ShmGet( 10, 11, 0, 2, -> 0x0xffffffff76040000 )
    ShmProtect( 11, 3 )
    ShmProtect: Key=11 not attached
    ShmProtect( 11, 3 )
    ShmCreate( 11, 0, 2, -> 0x0xffffffff76040000 )
    ShmCleanup SHM_DB_TBUFF
    ShmCleanup( 19 )
    ShmCreate( 19, 0, 2, 0x0xffffffff7fffeab8 )
    ShmKeyPermission( 19 ) = 0740 (octal)
    ShmKeySharedMMU( 19 ) = 0 (octal)
    ShmProtect( 19, 3 )
    ShmKeySharedMMU( 19 ) = 0 (octal)
    ShmCreate( 19, 0, 2, -> 0x0xffffffff66000000 )
    ShmCleanup SHM_DB_TBUFF_P
    ShmCleanup( 33 )
    ShmCreate( 33, 0, 2, 0x0xffffffff7fffeab8 )
    ShmKeyPermission( 33 ) = 0740 (octal)
    ShmKeySharedMMU( 33 ) = 0 (octal)
    ShmProtect( 33, 3 )
    ShmKeySharedMMU( 33 ) = 0 (octal)
    ShmCreate( 33, 0, 2, -> 0x0xffffffff70400000 )
    ShmCleanup SHM_DB_STBUFF
    ShmCleanup( 41 )
    ShmCreate( 41, 0, 2, 0x0xffffffff7fffeab8 )
    ShmKeyPermission( 41 ) = 0740 (octal)
    ShmKeySharedMMU( 41 ) = 0 (octal)
    ShmProtect( 41, 3 )
    ShmKeySharedMMU( 41 ) = 0 (octal)
    ShmCreate( 41, 0, 2, -> 0x0xffffffff66800000 )
    ShmCleanup SHM_DB_TTBUFF
    ShmCleanup( 42 )
    ShmCreate( 42, 0, 2, 0x0xffffffff7fffeab8 )
    ShmGet( 40, 42, 0, 2, 0x0xffffffff7fffe970 )
    ShmCreate( 40, 0, 2, 0x0xffffffff7fffe798 )
    ShmKeyPermission( 40 ) = 0740 (octal)
    ShmKeySharedMMU( 40 ) = 0 (octal)
    ShmProtect( 40, 3 )
    ShmCreate( 40, 0, 2, -> 0x0xffffffff60000000 )
    ShmGet( 40, 42, 0, 2, -> 0x0xffffffff62972000 )
    ShmProtect( 42, 3 )
    ShmProtect: Key=42 not attached
    ShmProtect( 42, 3 )
    ShmCreate( 42, 0, 2, -> 0x0xffffffff62972000 )
    ShmDelete( 40 )
    ShmCleanup SHM_DB_FTBUFF
    ShmCleanup( 43 )
    ShmCreate( 43, 0, 2, 0x0xffffffff7fffeab8 )
    ShmGet( 40, 43, 0, 2, 0x0xffffffff7fffe970 )
    ShmCreate( 40, 0, 2, 0x0xffffffff7fffe798 )
    ShmKeyPermission( 40 ) = 0740 (octal)
    ShmCleanup SHM_DB_SNTBUFF
    ShmCleanup( 45 )
    ShmCreate( 45, 0, 2, 0x0xffffffff7fffeab8 )
    ShmGet( 40, 45, 0, 2, 0x0xffffffff7fffe970 )
    ShmCreate( 40, 0, 2, 0x0xffffffff7fffe798 )
    ShmKeyPermission( 40 ) = 0740 (octal)
    ShmCleanup SHM_DB_IRBUFF
    ShmCleanup( 44 )
    ShmCreate( 44, 0, 2, 0x0xffffffff7fffeab8 )
    ShmGet( 40, 44, 0, 2, 0x0xffffffff7fffe970 )
    ShmCreate( 40, 0, 2, 0x0xffffffff7fffe798 )
    ShmKeyPermission( 40 ) = 0740 (octal)
    ShmCleanup SHM_DB_OBJ_BUFFER
    ShmKeySharedMMU( 31 ) = 0 (octal)
    ShmCreate( 31, 0, 2, -> 0x0xffffffff6f400000 )
    closing connect handles (dgm + tcp)
    DpDelSocketInfo: del info for socket 1 (type=2)
    NiICloseHandle: shutdown and close hdl 1 / socket 8
    DpDelSocketInfo: del info for socket 2 (type=1)
    NiBufClose: clear extensions for hdl 2
    NiBufSetStat: bufstat of hdl 2 changed from OK to OFF
    NiICloseHandle: shutdown and close hdl 2 / socket 9
    ***LOG Q05=> DpHalt, DPStop ( 22016) [dpxxdisp.c   9033]
    shutdown completed - server stopped ***
    Good Bye .....
    Could you please help me about this issue?
    Best regards

  • Getting problem while installing Sql Server 2012

    I am using Windows 8 in my system. I am trying to install Sql Server 2012 in my system .
    But i am getting following error in the final.
    The required MSI package 'D:\SQL Server 2012\x86\setup\sql_engine_core_shared_msi' doesn't exist.
    Please, help me quickly.

    Hi,
    You post same question 3 times. Please avoid this practice on Forum, I 
    have merged the same thread  into this thread . Thanks for your understanding.
    In addition, as other post, you can copy the missing .msi file from the complete and unbroken installation media to your MSI package path. Then run as administrator again. And also check if your account has read and write permission for your installation
    media saving path. If the error still exists, you can check the SQL setup logs (Detail.txt and summary.txt) for analysis.
    There is similar issue about installing SQL Server failed due to miss the required MSI package.
    http://social.msdn.microsoft.com/Forums/en-US/2aa6136b-9ccd-4c97-a6d3-cbe408c38228/sql-server-2008-service-pack-1-installation-problem
    Regards,
    Sofiya Li
    Sofiya Li
    TechNet Community Support

  • Problem about space management of archived log files

    Dear friends,
    I have a problem about space management of archived log files.
    my database is Oracle 10g release 1 running in archivelog mode. I use OEM(web based) to config all the backup and recovery settings.
    I config "Flash Recovery Area" to do backup and recovery automatically. my daily backup schedule is every night at 2:00am. and my backup setting is "disk settings"--"compressed backup set". the following is the RMAN script:
    Daily Script:
    run {
    allocate channel oem_disk_backup device type disk;
    recover copy of database with tag 'ORA$OEM_LEVEL_0';
    backup incremental level 1 cumulative copies=1 for recover of copy with tag 'ORA$OEM_LEVEL_0' database;
    the retention policy is the second choice, that is "Retain backups that are necessary for a recovery to any time within the specified number of days (point-in-time recovery)". the recovery window is 1 day.
    I assign enough space for flash recovery area. my database size is about 2G. I assign 20G as flash recovery area.
    now here is the problem, through oracle online manual, it said oracle can manage the flash recovery area automatically, that is, when the space is full, it can delete the obsolete archived log files. but in fact, it never works! whenever the space is full, the database will hang up! besides, the status of archived log files is very strange, for example, it can change "obsolete" stauts from "yes" to "no", and then from "no" to "yes". I really have no idea about this! even though I know oracle usually keep archived files for some longer days than retention policy, but I really don't know why the obsolete status can change automatically. although I can write a schedule job to delete obsolete archived files every day, but I just want to know the reason. my goal is to backup all the files on disk and let oracle automatically manage them.
    also, there is another problem about archive mode. I have two oracle 10g databases(release one), the size of db1 is more than 20G, the size of db2 is about 2G. both of them have the same backup and recovery policy, except I assign more flash recovery area for db1. both of them are on archive mode. both of nearly nobody access except for the schedule backup job and sometime I will admin through oem. the strange thing is that the number of archived log files of smaller database, db2, are much bigger than ones of bigger database. also the same situation for the size of the flashback logs for point-in-time recovery. (I enable flashback logging for fast database point-in-time recovery, the flashback retention time is 24 hours.) I found the memory utility of smaller database is higher than bigger database. nearly all the time the smaller database's memory utility keeps more than 99%. while the bigger one's memory utility keeps about 97%. (I enable "Automatic Shared Memory Management" on both databases.) but both database's cup and queue are very low. I'm nearly sure no one hack the databases. so I really have no idea why the same backup and recovery policy will result so different result, especially the smaller one produces more redo logs than bigger one. does there anyone happen to know the reason or how should I do to check the reason?
    by the way, I found web based OEM can't reflect the correct database status when the database shutdown abnormally. for example, if the database hang up because of out of flash recovery area, after I assign more flash recovery area space and then restart the database, the OEM usually can't reflect the correct database status. I must restart OEM manually to correctly reflect the current database status. does there anyone know in what situation I should restart OEM to reflect the correct database status?
    sorry for the long message, I just want to describe in details to easy diagnosis.
    any hint will be greatly appreciated!
    Sammy

    thank you very much, in fact, my site's oracle never works about managing archive files automatically although I have tried all my best. at last, I made a job running daily to check the archive files and delete them.
    thanks again.

Maybe you are looking for