PL/SQL Error - ORA-00600

Hi Experts,
While we are trying to Connect 10g database from Forms6i, we are facing an
error like :
Compilation Error on WHEN-NEW-FORM-INSTANCE trigger on form:
PL/SQL ERROR 0 at line 0, column 0
ORA-00600: internal error code, arguments: [17069], [58884584],[],[],[],[],
Compilation errors have occured
but connect 9i database froms6i it's no problem.
Thanks in advance
Budi Gunawan

Hi,
Contact Oracle Support. Metalink describes the solution as
"It is possible to get this error on a long running process if the dependent object has been dropped or recompiled.
If the error occurs on a procedure, attempt to recompile the procedure."

Similar Messages

  • XMLQuery SQL Error: ORA-00600: internal error code,

    Hi guys,
    I am trying to use XML feature of Oracle DB. What I am trying to implement is having XMLTYpe field in table and have some values in it and then query that table using XMLQuery(...). I started with example here : http://www.psoug.org/reference/xmlquery.html .
    I am able to create table, Insert data into table, but when I tried to run SELECT query it does not work
    "SELECT person_id, XMLQuery(
    'for $i in /PDRecord
    where $i /PDName = "Daniel Morgan"
    order by $i/PDName
    return $i/PDName'
    passing by value person_data
    RETURNING CONTENT) XMLData
    FROM person_data; "
    It throws error like
    "Error report:
    SQL Error: ORA-00600: internal error code, arguments: [qmxqrwRewExpr:1], [], [], [], [], [], [], []
    00600. 00000 - "internal error code, arguments: [%s], [%s], [%s], [%s], [%s], [%s], [%s], [%s]"
    Am I missing any thing? or is my Oracle 10g DB is not compatible with XMLType ?
    Please help.

    Hi Marco,
    Thanks for replying.
    Oracle Database 10g Release 10.2.0.1.0 - Production. so as per you said it should work. I am sorry for being dumb, but I am not DBA guy. can you tell me how to check if XMLDB is installed properly? how can I look at DBA_REGISTRY and what kind of information I will find under DBA_REGISTRY?
    BTW I found another way of querying XMLType columns from here http://download.oracle.com/docs/cd/B10501_01/appdev.920/a96620/xdb04cre.htm which uses extract(), existsNode(), etc.. function to accomplish some of the task. As of now I am still digging in it, so not sure which one will be better to use. I mean the link that I showed on my first thread or the above link.
    I am still curious why wouldnt my first thread query work.
    Thanks again.

  • Sql Error: ORA-00600: internal error code, arguments: [ttcgcshnd-1], [0], [], [], [], [], [], []

    I am getting the above error when I try to execute a simple select against a Oracle 9i database. My connection pool is defined below:
    Name: OracleDevPool
    URL: jdbc:oracle:thin:@162.81.130.140:1521:RHDD02
    Driver ClassName: oracle.jdbc.driver.OracleDriver
    Defined in my classpath is a reference to the current classes12.zip file for Oracle 9i drivers.
    The Server has either Oracle 8 or Oracle 9 client. Is perhaps this an issue?
    Thanks,
    RB

    Hi,
    The error you are getting is an Oracle DB error and not TopLink error.
    Log into the DB using scott / tiger -> Add / Update existing tables from database -> Select the EMP table.
    Do you still have problems?
    Using the same login you provided TopLink, can you log into SQLPLUS (on the same machine you installed TopLink) and get your table?
    Which JDBC driver are you using?
    Raanan.

  • Sql Error: ORA-00600: internal error code, arguments: [ttcgcshnd-1],

    I am getting the error above when I try to do an sqlexec statement against Oracle. I have weblogic 6.1 service pack 1 and i have Oracle 9.i. I have a connection pool defined as:
    Name: oracleOne
    URL: jdbc:oracle:thin:@WLo1.vtmednet.org:1521:wlo1
    Driver Classname: oracle.jdbc.driver.OracleDriver
    I have the latest classes12.zip in my classpath. I am on AIX 4.3.3 and my LIBPATH points to $WL_HOME/lib/aix/oci816_8. Could somebody points me out in the right direction?
    Thanks a lot.

    Danila Dinan wrote:
    >
    I am getting the error above when I try to do an sqlexec statement against Oracle. I have weblogic 6.1 service pack 1 and i have Oracle 9.i. I have a connection pool defined as:
    Name: oracleOne
    URL: jdbc:oracle:thin:@WLo1.vtmednet.org:1521:wlo1
    Driver Classname: oracle.jdbc.driver.OracleDriver
    I have the latest classes12.zip in my classpath. I am on AIX 4.3.3 and my LIBPATH points to $WL_HOME/lib/aix/oci816_8. Could somebody points me out in the right direction?
    Thanks a lot.Hi. Show the JDBC. What's a 'sqlexec'? This problem can probably be isolated to a small standalone
    program using the oracle driver directly... If you are using the thin driver, then the LIBPATH
    isn't used. You should also download the latest thin driver from oracle and put it in front
    of all weblogic stuff in the server's classpath. The new driver is better than the one we ship.
    Joe

  • SQL-Query with JDBC returns error ORA-00600

    Hi,
    I try to execute a SQL-Query using JDeveloper 3.2.3 and the Oracle JDBC-Library 8.1.7
    The following statement
    'ResultSet rset=stmt.executeQuery(SQL-String);'
    where stmt is Statement returns a Database-Error
    ORA-00600 with the Arguments [ttcgcshnd-1], [0] [], [], [], [], [], []
    when the SQL-String queries Varchar2 or CHAR-Columns.
    The Query returns correct values for numeric fields.
    The Database-Server is running on Oracle 9i
    Does anybody know, what could be the reason?
    Thanks, Harold

    I found many forums about it also, but I still haven't got solution yet.
    They talk about the cause, and report to oracle group and so on,
    but I still don't know how to solve my problem and how to enable my oracle 9i jdbc driver working.
    Need help please

  • Error : ORA-00600 while executin query in WLS 6.1

    Hi,
    This is in regard to a error coming at the time of execution of a query, thru the application installed on Web Logic Server 6.1
    java.sql.SQLException: ORA-00600: internal error code, arguments: [ttcgcshnd-1],
    [0], [], [], [], [], [], []
    The same application configured on Web Logic server 8.1, is running perfectly.
    Please suggest a resolution to this problem
    Regards
    Atul Verma

    The SQL statement generated by TopLink is as follows -
    UPDATE PR_SUPP SET CNTC_PRSN_NAME = ''
    , REMK = 'Remark 123 !', LAST_CHNG_DTTM = {ts '2002-11-29 10:59:56.0'} WHERE ((S
    UPP_CODE = 'A0001') AND (LAST_CHNG_DTTM = {ts '2002-11-29 10:46:01.0'}))
    The coloumn name in the generated statement conform to the coloumn names in the table. The exception is being thrown for all 'update' queries for all objects in the application.

  • JDeveloper tutorial fails with java.sql.SQLException: ORA-00600

    In following the steps to the JDeveloper tutorial, after I successfully created and tested my connections, I proceeded on to run ImageLoader.java (Under DatabaseSetup.jws), and it returns an exception. The debug output log is as follows:
    Diagnostics: Routing diagnostics to standard output (use -Djbo.debugoutput=silent to remove)
    Successfully loaded properties file using: getResourceAsStream("/oracle/jbo/common/Diagnostic.properties");
    [00] Diagnostic Properties: Timing:false Functions:false Linecount:true Threshold:6
    [01] CommonMessageBundle (language base) being initialized
    [02] Stringmanager using default locale: 'null'
    [03] BC4JDeployPlatform: LOCAL
    [04] Propertymanager: searching for file and system based properties
    [05] {{ begin Loading BC4J properties
    [06] -----------------------------------------------------------
    [07] BC4J Property jbo.default.language='en' -->(MetaObjectManager) from System Default
    [08] BC4J Property jbo.default.country='US' -->(MetaObjectManager) from System Default
    [09] BC4J Property DeployPlatform='LOCAL' -->(SessionImpl) from Client Environment
    [10] Skipping empty Property ConnectionMode from System Default
    [11] Skipping empty Property HostName from System Default
    [12] Skipping empty Property ConnectionPort from System Default
    [13] Skipping empty Property ApplicationPath from System Default
    [14] Skipping empty Property java.naming.security.principal from System Default
    [15] Skipping empty Property java.naming.security.credentials from System Default
    [16] BC4J Property jbo.use.pers.coll='false' -->(SessionImpl) from System Default
    [17] BC4J Property jbo.pers.max.rows.per.node='70' -->(SessionImpl) from System Default
    [18] BC4J Property jbo.pers.max.active.nodes='10' -->(SessionImpl) from System Default
    [19] BC4J Property jbo.pcoll.mgr='oracle.jbo.pcoll.OraclePersistManager' -->(SessionImpl) from System Default
    [20] BC4J Property jbo.fetch.mode='AS.NEEDED' -->(MetaObjectManager) from System Default
    [21] Skipping empty Property JBODynamicObjectsPackage from System Default
    [22] BC4J Property MetaObjectContextFactory='oracle.jbo.server.xml.DefaultMomContextFactory' -->(MetaObjectManager) from /oracle/jbo/server/jboserver.properties resource
    [23] BC4J Property MetaObjectContext='oracle.jbo.server.xml.XMLContextImpl' -->(MetaObjectManager) from /oracle/jbo/server/jboserver.properties resource
    [24] BC4J Property java.naming.factory.initial='oracle.jbo.common.JboInitialContextFactory' -->(SessionImpl) from Client Environment
    [25] BC4J Property IsLazyLoadingTrue='true' -->(MetaObjectManager) from /oracle/jbo/server/jboserver.properties resource
    [26] BC4J Property ActivateSharedDataHandle='false' -->(MetaObjectManager) from System Default
    [27] Skipping empty Property HandleName from System Default
    [28] Skipping empty Property Factory-Substitution-List from System Default
    [29] Skipping empty Property jbo.project from System Default
    [30] BC4J Property jbo.max.cursors='50' -->(MetaObjectManager) from System Default
    [31] BC4J Property jbo.dofailover='true' -->(MetaObjectManager) from System Default
    [32] BC4J Property jbo.doconnectionpooling='false' -->(MetaObjectManager) from System Default
    [33] BC4J Property jbo.recyclethreshold='10' -->(MetaObjectManager) from System Default
    [34] BC4J Property jbo.passivationstore='null' -->(MetaObjectManager) from System Default
    [35] BC4J Property RELEASE_MODE='Reserved' -->(MetaObjectManager) from System Default
    [36] BC4J Property jbo.maxpoolcookieage='-1' -->(MetaObjectManager) from System Default
    [37] Skipping empty Property PoolClassName from System Default
    [38] BC4J Property jbo.maxpoolsize='2147483647' -->(MetaObjectManager) from System Default
    [39] BC4J Property jbo.initpoolsize='0' -->(MetaObjectManager) from System Default
    [40] BC4J Property jbo.poolrequesttimeout='30000' -->(MetaObjectManager) from System Default
    [41] BC4J Property jbo.assoc.consistent='true' -->(MetaObjectManager) from System Default
    [42] BC4J Property jbo.SQLBuilder='Oracle' -->(MetaObjectManager) from /oracle/jbo/server/jboserver.properties resource
    [43] BC4J Property jbo.ConnectionPoolManager='oracle.jbo.server.ConnectionPoolManagerImpl' -->(MetaObjectManager) from System Default
    [44] BC4J Property jbo.TypeMapEntries='Oracle' -->(MetaObjectManager) from /oracle/jbo/server/jboserver.properties resource
    [45] BC4J Property jbo.jdbc.trace='false' -->(MetaObjectManager) from System Default
    [46] BC4J Property oracle.jbo.defineColumnLength='true' -->(MetaObjectManager) from System Default
    [47] Skipping empty Property jbo.tmpdir from System Default
    [48] Skipping empty Property jbo.server.internal_connection from System Default
    [49] Skipping empty Property SessionClass from System Default
    [50] Skipping empty Property TransactionFactory from System Default
    [51] BC4J Property jbo.debugoutput='console' -->(Diagnostic) from System Property
    [52] BC4J Property jbo.debug.prefix='DBG' -->(Diagnostic) from /oracle/jbo/common/Diagnostic.properties resource
    [53] BC4J Property jbo.logging.show.timing='false' -->(Diagnostic) from /oracle/jbo/common/Diagnostic.properties resource
    [54] BC4J Property jbo.logging.show.function='false' -->(Diagnostic) from /oracle/jbo/common/Diagnostic.properties resource
    [55] BC4J Property jbo.logging.show.level='false' -->(Diagnostic) from /oracle/jbo/common/Diagnostic.properties resource
    [56] BC4J Property jbo.logging.show.linecount='true' -->(Diagnostic) from /oracle/jbo/common/Diagnostic.properties resource
    [57] BC4J Property jbo.logging.trace.threshold='6' -->(Diagnostic) from /oracle/jbo/common/Diagnostic.properties resource
    [58] BC4J Property jbo.jdbc.driver.verbose='false' -->(Diagnostic) from System Default
    [59] BC4J Property jbo.ejb.txntimeout='60' -->(SessionImpl) from System Default
    [60] BC4J Property jbo.ejb.txntype='global' -->(MetaObjectManager) from System Default
    [61] Skipping empty Property oracle.jbo.schema from System Default
    [62] WARNING: Unused property: LC='Calling Function' found in /oracle/jbo/common/Diagnostic.properties resource
    [63] }} finished loading BC4J properties
    [64] -----------------------------------------------------------
    Diagnostics: Routing diagnostics to standard output (use -Djbo.debugoutput=silent to remove)
    [65] Diagnostic Properties: Timing:false Functions:false Linecount:true Threshold:6
    [66] JavaVMVersion: 1.2.351 odv
    [67] JavaVMVendor: Oracle Corp.
    [68] JavaVMName: OJVM VM
    [69] OperatingSystemName: Windows NT
    [70] OperatingSystemVersion: 5.0
    [71] OperatingSystemUsername: Administrator
    [72] Connected to Oracle JBO Server - Version: 3.2.9.76.3
    [73] {{+++ id=10000 type: 'BC4J_CREATE_ROOTAM' Create Root Application Module 'ImageLoader.ImageLoaderModule'
    [74] {{+++ id=10001 type: 'METAOBJECT_LOAD' Loading meta-object: ImageLoader.ImageLoaderModule
    [75] {{+++ id=10002 type: 'METAOBJECT_LOAD' Loading meta-object: ImageLoader.ImageLoader
    [76] Loading from /ImageLoader/ImageLoader.xml file
    [77] Loading from indvidual XML files
    [78] Loading the Containees for the Package 'ImageLoader.ImageLoader'.
    [79] }}+++ End Event10003 null
    [80] Loading from /ImageLoader/ImageLoaderModule.xml file
    [81] }}+++ End Event10002 null
    [82] {{+++ id=10003 type: 'METAOBJECT_LOAD' Loading meta-object: ImageLoader.InventoryItem1View
    [83] Loading from /ImageLoader/InventoryItem1View.xml file
    [84] ViewObjectImpl's default fetch mode = 0
    [85] {{+++ id=10004 type: 'METAOBJECT_LOAD' Loading meta-object: ImageLoader.InventoryItem
    [86] Loading from /ImageLoader/InventoryItem.xml file
    [87] Loading Typemap entries from oracle.jbo.server.OracleTypeMapEntries
    [88] CSMessageBundle (language base) being initialized
    [89] }}+++ End Event10005 null
    [90] OracleSQLBuilder reached getInterface
    [91] Oracle SQL Builder Version 3.2.0.0.0
    [92] }}+++ End Event10004 null
    [93] {{+++ id=10005 type: 'BC4J_CREATE_VIEWOBJECT' Create ViewObject 'InventoryItem1View'
    [94] }}+++ End Event10006 null
    [95] Created root application module: 'ImageLoader.ImageLoaderModule'
    [96] Locale is: 'en_US'
    [97] }}+++ End Event10001 null
    [98] Using DatabaseTransactionFactory implementation oracle.jbo.server.DatabaseTransactionFactory
    [99] DBTransactionImpl Max Cursors is 50
    [100] Oracle SQLBuilder: Registered driver: oracle.jdbc.driver.OracleDriver
    [101] {{+++ id=10006 type: 'JDBC_CONNECT' null
    [102] Trying connection/1: url='jdbc:oracle:thin:bc4j/bc4j@localhost:1521:oracle9i'...
    [103] }}+++ End Event10007 null
    [104] Successfully logged in
    [105] JDBCDriverVersion: 8.1.7.0.0
    [106] DatabaseProductName: Oracle
    [107] DatabaseProductVersion: Oracle9i Enterprise Edition Release 9.0.1.1.1 - Production With the Partitioning option JServer Release 9.0.1.1.1 - Production
    [108] Column count: 8
    [109] {{+++ id=10007 type: 'EXECUTE_QUERY' ViewObject executeQueryForCollection InventoryItem1View
    [110] {{+++ id=10008 type: 'VIEWOBJECT_GETSTATEMENT' Viewobject: InventoryItem1View getting prepared statement
    [111] ViewObject : Created new QUERY statement
    [112] SELECT InventoryItem.ID, InventoryItem.NAME, InventoryItem.DESCRIPTION, InventoryItem.IMAGE, InventoryItem.PRICE, InventoryItem.ONHAND, InventoryItem.SUPPLIER_ID, InventoryItem.CATEGORY_ID FROM INVENTORY_ITEM InventoryItem
    [113] {{+++ id=10009 type: 'JDBC_CREATE_STATEMENT' createPreparedStatement - prefetch size: 1
    [114] }}+++ End Event10010 null
    [115] }}+++ End Event10009 ViewObject : Creating new QUERY statementSELECT InventoryItem.ID, InventoryItem.NAME, InventoryItem.DESCRIPTION, InventoryItem.IMAGE, InventoryItem.PRICE, InventoryItem.ONHAND, InventoryItem.SUPPLIER_ID, InventoryItem.CATEGORY_ID FROM INVENTORY_ITEM InventoryItem
    [116] QueryCollection.executeQuery failed...
    [117] java.sql.SQLException: ORA-00600: internal error code, arguments: [ttcgcshnd-1], [0], [], [], [], [], [], []
         java.lang.Class java.net.URLClassLoader.findClass(java.lang.String)
         java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String, boolean)
         java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String, boolean)
         java.lang.Class sun.misc.Launcher$AppClassLoader.loadClass(java.lang.String, boolean)
         java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String)
         java.util.Enumeration oracle.jbo.common.WeakHashtableImpl.elements()
         java.util.Enumeration oracle.jbo.common.WeakHashtable.elements()
         void oracle.jbo.server.ViewObjectImpl.freeStatement(java.sql.PreparedStatement, boolean)
         void oracle.jbo.server.QueryCollection.executeQuery(java.lang.Object[], int)
         void oracle.jbo.server.ViewObjectImpl.executeQueryForCollection(java.lang.Object, java.lang.Object[], int)
         void oracle.jbo.server.ViewRowSetImpl.execute(boolean, boolean)
         void oracle.jbo.server.ViewRowSetIteratorImpl.ensureRefreshed()
         boolean oracle.jbo.server.ViewRowSetIteratorImpl.hasNext()
         boolean oracle.jbo.server.ViewRowSetImpl.hasNext()
         boolean oracle.jbo.server.ViewObjectImpl.hasNext()
         void ImageLoader.ImageLoader.main(java.lang.String[])
    [118] SELECT InventoryItem.ID, InventoryItem.NAME, InventoryItem.DESCRIPTION, InventoryItem.IMAGE, InventoryItem.PRICE, InventoryItem.ONHAND, InventoryItem.SUPPLIER_ID, InventoryItem.CATEGORY_ID FROM INVENTORY_ITEM InventoryItem
    oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation. Statement: SELECT InventoryItem.ID, InventoryItem.NAME, InventoryItem.DESCRIPTION, InventoryItem.IMAGE, InventoryItem.PRICE, InventoryItem.ONHAND, InventoryItem.SUPPLIER_ID, InventoryItem.CATEGORY_ID FROM INVENTORY_ITEM InventoryItem
         void oracle.jbo.server.ViewRowSetImpl.execute(boolean, boolean)
         void oracle.jbo.server.ViewRowSetIteratorImpl.ensureRefreshed()
         boolean oracle.jbo.server.ViewRowSetIteratorImpl.hasNext()
         boolean oracle.jbo.server.ViewRowSetImpl.hasNext()
         boolean oracle.jbo.server.ViewObjectImpl.hasNext()
         void ImageLoader.ImageLoader.main(java.lang.String[])
    ## Detail 0 ##
    java.sql.SQLException: ORA-00600: internal error code, arguments: [ttcgcshnd-1], [0], [], [], [], [], [], []
         void oracle.jbo.server.ViewRowSetImpl.execute(boolean, boolean)
         void oracle.jbo.server.ViewRowSetIteratorImpl.ensureRefreshed()
         boolean oracle.jbo.server.ViewRowSetIteratorImpl.hasNext()
         boolean oracle.jbo.server.ViewRowSetImpl.hasNext()
         boolean oracle.jbo.server.ViewObjectImpl.hasNext()
         void ImageLoader.ImageLoader.main(java.lang.String[])
    Exception in thread main
    At first I thought maybe this is a configuration specific problem -- but I was able to replicate this on two separate machine with clean Win2K and Oracle9i installs.
    It seems like it is not finding a particular class, which leads me to believe that some particular jar is probably missing -- can anyone help me figure out which one? Or is there something else that may be going wrong?
    TIA

    You need to make sure you're using the Oracle9i JDBC driver, or using the Oracle 8.1.7.2 JDBC driver as I mentioned above.
    If you are using JDeveloper9i release 9.0.2 or 9.0.3, the driver you need is in <jdevhome>\jdbc\lib
    Otherwise, you can also download the drivers from OTN.

  • Mysterious java.sql.SQLException: ORA-00600:

    Hi All,
    I'm running oracle 9.0.2 on windows xp, 512meg mem.
    No problem accessing the db via isql, no problem with jdbc
    doing inserts but can't query?!
    DriverManager.registerDriver((Driver)drvClass.newInstance());
    m_con = DriverManager.getConnection(jdbc:oracle:thin:@127.0.0.1:1521:oracle, "SCOTT","TIGER");
    stmt = m_con.createStatement();
    rs = stmt.executeQuery("SELECT EMPNO,ENAME FROM EMP WHERE EMPNO=7900");
    while(rs.next()) System.out.println(rs.getString("ENAME"));
    Running the above gets this result:
    java.sql.SQLException: ORA-00600: internal error code, arguments: [ttcgcshnd-1], [0], [], [], [], [], [], []
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:168)
         at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:208)
         at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:543)
         at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1405)
         at oracle.jdbc.ttc7.TTC7Protocol.fetch(TTC7Protocol.java:889)
         at oracle.jdbc.driver.OracleStatement.doExecuteQuery(OracleStatement.java:1681)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1870)
         at oracle.jdbc.driver.OracleStatement.executeQuery(OracleStatement.java:538)
         at testprg.DbTest2.main(DbTest2.java:17)
    Exception in thre[i]Long postings are being truncated to ~1 kB at this time.

    Take a look at the version of the JDBC driver. There a thread in a metalink forum regarding the same 600 error.
    Ken

  • DUAL causes internal error ORA-00600

    Hi All,
    I am using oracle 10g database agains Forms6i, but in forms pl/sql when ever and where ever I use the DUAL in select statement
    i.e. SELECT sysdate INTO <variable> FROM DUAL;
    it always causes oracle internal error ORA-00600 ?
    However it the dual statement works fine in SQL Plus console.
    Any knows anything about this problem.
    Any help will be highly appriciated. Thanking you and Best Regards.

    Please go to the first reply above:
    Only the newest patch 17 runs against 10g databases without problems.
    Either upgrade to Forms 6.0.8 and apply patch 17, or else connect to an Oracle 8 or 9i database.

  • Why I always get the error(ORA-00600)?

    Why I always get the error(ORA-00600)?
    My database Oracle 9.2.0.1.0 I installed Oracle Jdeveloper 9i on my computer.
    OS:windows2000
    My program:
    Class.forName("oracle.jdbc.driver.OracleDriver");
    con =java.sql.DriverManager.getConnection("jdbc:oracle:thin:@server:1521:db","developer","12345");
    java.sql.Statement stmt=con.createStatement();
    java.sql.ResultSet rs=stmt.executeQuery("select task_title from task");
    while (rs.next()){              
         //getInformation
         String fjbh=rs.getString("task_title");
    If I use this in a common java program(like MyParser.java). It will work well:
    D:\JavaApp> java MyParser
    but If I put the code into a JSP file . It will not work.I tried several times.
    I find that the statment:
         java.sql.ResultSet rs=stmt.executeQuery("select task_title from task");
    will throw the exception.It seemd that I can connect to the database ,
    but can not execute some sql statment.
    If I execute this sql statment:
         select sysdate from dual ;
         or
         select task_ID from task ; --task_id is a column with the type NUMBER(10)
    it will work.
    but if I execute :
         select Task_Title from task where task_id=1; --Task_Title is a column with the type VARCHAR(50)
         or
         select t.task_text.getCLOBVal() task_Text from task t where task_ID=1;
                   --task_text is a column with the type XMLTYPE, I use this column save XMLFile.
    it will not work.
    the detail error information as follow:
    java.sql.SQLException: ORA-00600: internal error code, arguments: [ttcgcshnd-1], [0], [], []

    It is a database bug (an ORA-0600 almost always is). In this case it is bug# 1725012. You can see the details from MetaLink. There are some patches (by platform) available you should see which may apply to you.

  • Help pls Error ora 00600

    Dear all,
    I got the error in log file as the following :
    ORA-00600: internal error code, arguments: [kcbgtcr_4], [259591], [259299], [1152], [1], [], [], []
    Errors in file /ora8163/home/admin/seven/udump/ora_19985_seven.trc:
    ORA-00600: internal error code, arguments: [kcbgtcr_4], [259591], [259299], [1152], [1], [], [], []
    and here is the example trc file
    Dump file /ora8163/home/admin/seven/udump/ora_19985_seven.trc
    Oracle8i Enterprise Edition Release 8.1.6.3.0, 64 bit - Production
    With the Partitioning option
    JServer Release 8.1.6.3.0 - Production
    ORACLE_HOME = /ora8163/home
    System name:     HP-UX
    Node name:     slurpee
    Release:     B.11.00
    Version:     U
    Machine:     9000/800
    Instance name: seven
    Redo thread mounted by this instance: 1
    Oracle process number: 10
    Unix process pid: 19985, image: oracle@slurpee (TNS V1-V3)
    *** SESSION ID:(20.43829) 2006-02-24 23:00:05.909
    BH #25019 (0xc000000029bd08c0) file#: 21 rdba: 0x0541a811 (21/108561) class 4 ba: 0xc00000004acf4000
    set: 1, dbwrid: 0
    hash: [c00000002a7bfd40,c00000002a7bfd40], lru: [c000000029849ea0,c000000029ada500]
    LRU flags:
    ckptq: [NULL] fileq: [NULL]
    st: XCURRENT, md: NULL, rsop: 0x0, tch: 1
    flags: gotten_in_current_mode
    L:[0x0.0.0] H:[0x0.0.0] R:[0x0.0.0]
    buffer tsn: 10 rdba: 0x0541a811 (21/108561)
    scn: 0x0000.7dc4d705 seq: 0x02 flg: 0x00 tail: 0xd7051002
    frmt: 0x02 chkval: 0x0000 type: 0x10=DATA SEGMENT HEADER - UNLIMITED
    Extent Control Header
    Extent Header:: spare1: 0 space2: 0 #extents: 1 #blocks: 255
    last map 0x00000000 #maps: 0 offset: 2080
    Highwater:: 0x0541a812 ext#: 0 blk#: 0 ext size: 255
    #blocks in seg. hdr's freelists: 0
    #blocks below: 0
    mapblk 0x00000000 offset: 0
    Disk Lock:: Locked by scn: 0x0003.00c.00038409
    Map Header:: next 0x00000000 #extents: 1 obj#: 259591 flag: 0x40000000
    Extent Map
    0x0541a812 length: 255
    nfl = 1, nfb = 1 typ = 1 nxf = 1
    SEG LST:: flg: UNUSED lhd: 0x00000000 ltl: 0x00000000
    XCT LST:: flg: UNUSED lhd: 0x00000000 ltl: 0x00000000 xid: 0x0000.000.00000000
    *** 2006-02-24 23:00:05.936
    ksedmp: internal or fatal error
    ORA-00600: internal error code, arguments: [kcbgtcr_4], [259591], [259299], [1152], [1], [], [], []
    Current SQL statement for this session:
    SELECT a.tablespace_name as Tablespaces_Name,
         to_char(round(NVL(a.bytes / 1048576 , 0),2) ,'999,999' ) as "Total(MB)",
         to_char(round(NVL(u.bytes, 0)/ 1048576 ,2) ,'999,999' ) as "Used(MB)" ,
         to_char(round((NVL(a.bytes,0) - nvl(u.bytes,0))/ 1048576 ,2) ,'999,999' ) as "Free(MB)",
    to_char(round(NVL(NVL(u.bytes, 0) / a.bytes * 100, 0), 2 ),'99.99') || ' %' as "Used %"
    FROM (select tablespace_name, sum(decode(AUTOEXTENSIBLE,'NO',bytes,maxbytes)) bytes
    from dba_data_files
    group by tablespace_name
    union
    select tablespace_name, sum(decode(AUTOEXTENSIBLE,'NO',bytes,maxbytes)) bytes
    from dba_temp_files
    group by tablespace_name
    ) a,
    (select tablespace_name,sum(bytes) bytes
    from dba_extents
    group by tablespace_name
    union
    select tablespace_name, sum(bytes_cached) bytes
    from v$temp_extent_pool group by tablespace_name
    ) u
    WHERE a.tablespace_name = u.tablespace_name(+)
    ----- Call Stack Trace -----
    calling call entry argument values in hex
    location type point (? means dubious value)
    ksedst + 399 ???? skdstinit C0000000003DACD7 ?
    800003FFEFFF9A20 ?
    8000000100070758 ?
    000000027 ?
    ksedmp + 247 ???? ksedst 000000000 ?
    8000000100060D80 ?
    000000000 ? 000000000 ?
    ksfdmp + 35 ???? ksedmp 800003FFEFFF8780 ?
    800003FFEFFF8CF0 ?
    000000000 ? 000400058 ?
    kgerinv + 163 ???? ksfdmp 000000000 ? 000400058 ?
    800000010005E058 ?
    4000000000200168 ?
    kgeasnmierr + 91 ???? kgerinv 800003FFEFFF8920 ?
    8000000100060D80 ?
    000000000 ?
    800000010005DE30 ?
    Thks for advance
    Chara

    There is ORA-600 utility / tool in metalink, paste your stuff there and see what comes out of it.
    It is definitely critical but mostly the answer is to apply oracle patches.

  • RMAN backup restore leads to the error "ORA-00600: internal error code, arguments: [kccsbck_first], [2], [2349545192]" on DB startup

    Hi All,
    DB:11.2.0.3.0
    OS: Sun Solaris SPARC 64 bits
    I am facing an issue -  RMAN backup restore leads to the error "ORA-00600: internal error code, arguments: , , " on DB startup. Restored from RMAN backup DB test2 to DB test1.
    <p mcekeep="true">  $ sqlplus / as sysdba
    <p mcekeep="true">   SQL*Plus: Release 11.2.0.3.0   Production on Sun Oct 6 09:31:28 2013
    <p mcekeep="true">   Copyright (c) 1982, 2011,   Oracle.  All rights reserved.
    <p mcekeep="true">   Connected to an idle instance.
    <p mcekeep="true">  
    SQL> startup
    ORACLE instance started.
    Total System Global Area 4277059584 bytes
    Fixed Size                  2166160 bytes
    Variable Size            1493176944 bytes
    Database Buffers         2768240640 bytes
    Redo Buffers               13475840 bytes
    ORA-00600: internal error code, arguments: , , ,
    SQL> exit
    DB test2 database validated:
    RMAN> validate Database;
    No issues reported.
    Could anyone please let me the what's the cause of this error
    Thanks for your time
    Regards,
    user10088255

    HI,
    CASE : I
    C:\>set ORACLE_SID=xxxx
    C:\>sqlplus sys/XXXXX@rosen as sysdba
    SQL*Plus: Release 11.2.0.1.0 Production on Sat Jan 29 12:28:00 2011
    Copyright (c) 1982, 2010, Oracle.  All rights reserved.
    Connected to an idle instance.
    SQL> startup
    ORACLE instance started.
    Total System Global Area   3423965184 bytes
    Fixed Size                      2180544 bytes
    Variable Size                2080377408 bytes
    Database Buffers           1325400064 bytes
    Redo Buffers                   16007168 bytes
    ORA-00600: internal error code, arguments: [kccsbck_first], [1], [3978145973],
    Solution:   AFTER GETTING  ORA-00600, SHUT THE DATABASE AND STARTUP IT INTO MOUNT STAGE  AND  THEN ALTER  DATABASE   TO OPEN STAGE .
    SQL> shut immediate
    ORA-01507: database not mounted
    ORACLE instance shut down.
    SQL> startup mount
    ORACLE instance started.
    Total System Global Area 3423965184 bytes
    Fixed Size                      2180544 bytes
    Variable Size                 2080377408 bytes
    Database Buffers           1325400064 bytes
    Redo Buffers                    16007168 bytes
    Database mounted.
    SQL> alter database open;
    Database altered.
    SQL> select name,open_mode from v$database;
    NAME      OPEN_MODE
    ROSEN     READ WRITE
    CASE :: II
    C:\>sqlplus sys/XXXX@royalton as sysdba
    SQL*Plus: Release 11.2.0.1.0 Production on Sat Jan 29 12:37:37 2011
    Copyright (c) 1982, 2010, Oracle.  All rights reserved.
    Connected to an idle instance.
    SQL> startup
    ORACLE instance started.
    Total System Global Area  3423965184 bytes
    Fixed Size                      2180544 bytes
    Variable Size                  1979714112 bytes
    Database Buffers            1426063360 bytes
    Redo Buffers                  16007168 bytes
    ORA-00600: internal error code, arguments: [kccsbck_first], [1], [73515151],[], [], [], [], [], [], [], [], []
    Solution :  As in above case, I have started the database in mount and then alter it to the open mode but it doesnot work out. After some analysis ,troubleshooting and googling, we have decided to flush the shared pool  component of the SGA . So, we have started the database in mount stage and then flush the shared pool and further alter it to open stage . Below are the steps performed to solve this issue .
    SQL> shut immediate
    ORA-01507: database not mounted
    ORACLE instance shut down.
    C:\>set ORACLE_SID= royalton
    C:\>sqlplus sys/xxxxxxxx@royalton  as sysdba
    SQL*Plus: Release 11.2.0.1.0 Production on Sat Jan 29 12:28:00 2011
    Copyright (c) 1982, 2010, Oracle.  All rights reserved.
    Connected to an idle instance.
    SQL> startup mount
    ORACLE instance started.
    Total System Global Area 3423965184 bytes
    Fixed Size                     2180544 bytes
    Variable Size                 2080377408 bytes
    Database Buffers            1325400064 bytes
    Redo Buffers                  16007168 bytes
    Database mounted.
    SQL> alter system flush shared_pool;
    SQL> alter database open
    Database altered.
    SQL> select name,open_mode from v$database;
    NAME            OPEN_MODE
    ROYALTON        READ WRITE
    Conclusion : Though this is not the solution but a workaround to solve ORA-00600  which is having same argument as above, then you may follow the above steps.
    Please chek this link : One Can Succeed at Almost Anything For Which He Has Enthusiasm...: ORA-00600: internal error code, arguments: [kccsbck_f…

  • Trace Error - ORA-00600: internal error code

    Hi All:
    I'm using VB6, ADO 2.5, and the Oracle Provider for OLE DB. When I run the following SQL statment I get an Oracle trace error:
    SELECT a.VPATypeID AS ID,
    CASE WHEN NVL(c.Total,0) > 0 OR NVL(b.Total,0) > 0
    THEN a.Description
    ELSE CAST(a.Description || ' (N/A)' AS NVARCHAR2(255))
    END AS Description
    FROM VPAType a
    LEFT JOIN (SELECT DISTINCT VPATypeID AS Total,VPATypeID FROM VPADefault b WHERE b.VPSystemID = 3) b ON (a.VPATypeID=b.VPATypeID)
    LEFT JOIN (SELECT DISTINCT VPATypeID AS Total,VPATypeID FROM VPALinearDetail b WHERE b.VPSystemID = 3 AND b.Active > 0) c ON (a.VPATypeID=c.VPATypeID)
    WHERE a.VPATypeID NOT IN(1,2,3)
    UNION
    SELECT a.VPATypeID AS ID, a.Description FROM VPAType a WHERE VPATypeID IN(1,2,3)
    Here is a snippet of the trace file:
    *** SESSION ID:(25.38093) 2004-08-24 08:42:59.144
    *** 2004-08-24 08:42:59.144
    ksedmp: internal or fatal error
    ORA-00600: internal error code, arguments: [qcplgnt : no null terminator], [], [], [], [], [], [], []
    Current SQL statement for this session:
    SELECT a.VPATypeID AS ID, CASE WHEN NVL(c.Total,:"SYS_B_00") > :"SYS_B_01" OR NVL(b.Total,:"SYS_B_02") > :"SYS_B_03" THEN a.Description ELSE CAST(a.Description || :"SYS_B_04" AS NVARCHAR2(:"SYS_B_05")) END AS Description FROM VPAType a LEFT JOIN (SELECT DISTINCT VPATypeID AS Total,VPATypeID FROM VPADefault b WHERE b.VPSystemID = :"SYS_B_06") b ON (a.VPATypeID=b.VPATypeID) LEFT JOIN (SELECT DISTINCT VPATypeID AS Total,VPATypeID FROM VPALinearDetail b WHERE b.VPSystemID = :"SYS_B_07" AND b.Active > :"SYS_B_08") c ON (a.VPATypeID=c.VPATypeID) WHERE a.VPATypeID NOT IN(:"SYS_B_09",:"SYS_B_10",:"SYS_B_11") UNION SELECT a.VPATypeID AS ID, a.Description FROM VPAType a WHERE VPATypeID IN(:"SYS_B_12",:"SYS_B_13",:"SYS_B_14")
    Can anyone help me out here and tell what might be causing the error?
    Note: No error is generated on the client machine and the requested recordset is returned will all the proper results.
    TIA,
    Doug.

    For further analysis see this description on metalink:
    ORA-600 [17281] "Error closing all cursors for an instantiation"
    Doc ID: Note:39361.1
    Werner

  • Internal error ORA-00600: internal error code, arguments: [25025], [24]

    Hi ,
    OS :HP-UX 64bit 11.23
    Oracle Version 10.2.0.1
    I'm trying to open the database but it's not working as I expect . Then I created the controlfile and restart the database but I've got the same error
    SQL>Alter database open;
    ORA-00600: internal error code, arguments: [25025], [24], [], [], [], [], [], []
    Sun Mar 20 22:48:28 2011
    Error 600 happened during db open, shutting down database
    USER: terminating instance due to error 600
    Instance terminated by USER, pid = 12666
    ORA-1092 signalled during: alter database open...
    Please help
    Best regard
    Tien

    Hi
    All what you see is the content of alert.log file
    SQL>STARTUP mount
    --->success
    SQL> ALTER DATABASE OPEN ;
    -----> Internal error ORA-00600: internal error code, arguments: [25025], [24]
    then
    Shutdown immediate
    SQL>startup nomount
    SQL>@create_control.sql ( from command ALTER DATABASE BACKUP controlfile to trace'
    ----->success
    SQL>alter database mount
    ----->success
    SQL>alter database open;
    ---> got the same error
    Best regard
    Tien

  • SQL Error: ORA-12899: value too large for column

    Hi,
    I'm trying to understand the above error. It occurs when we are migrating data from one oracle database to another:
    Error report:
    SQL Error: ORA-12899: value too large for column "USER_XYZ"."TAB_XYZ"."COL_XYZ" (actual: 10, maximum: 8)
    12899. 00000 - "value too large for column %s (actual: %s, maximum: %s)"
    *Cause:    An attempt was made to insert or update a column with a value
    which is too wide for the width of the destination column.
    The name of the column is given, along with the actual width
    of the value, and the maximum allowed width of the column.
    Note that widths are reported in characters if character length
    semantics are in effect for the column, otherwise widths are
    reported in bytes.
    *Action:   Examine the SQL statement for correctness.  Check source
    and destination column data types.
    Either make the destination column wider, or use a subset
    of the source column (i.e. use substring).
    The source database runs - Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
    The target database runs - Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
    The source and target table are identical and the column definitions are exactly the same. The column we get the error on is of CHAR(8). To migrate the data we use either a dblink or oracle datapump, both result in the same error. The data in the column is a fixed length string of 8 characters.
    To resolve the error the column "COL_XYZ" gets widened by:
    alter table TAB_XYZ modify (COL_XYZ varchar2(10));
    -alter table TAB_XYZ succeeded.
    We now move the data from the source into the target table without problem and then run:
    select max(length(COL_XYZ)) from TAB_XYZ;
    -8
    So the maximal string length for this column is 8 characters. To reduce the column width back to its original 8, we then run:
    alter table TAB_XYZ modify (COL_XYZ varchar2(8));
    -Error report:
    SQL Error: ORA-01441: cannot decrease column length because some value is too big
    01441. 00000 - "cannot decrease column length because some value is too big"
    *Cause:   
    *Action:
    So we leave the column width at 10, but the curious thing is - once we have the data in the target table, we can then truncate the same table at source (ie. get rid of all the data) and move the data back in the original table (with COL_XYZ set at CHAR(8)) - without any issue.
    My guess the error has something to do with the storage on the target database, but I would like to understand why. If anybody has an idea or suggestion what to look for - much appreciated.
    Cheers.

    843217 wrote:
    Note that widths are reported in characters if character length
    semantics are in effect for the column, otherwise widths are
    reported in bytes.You are looking at character lengths vs byte lengths.
    The data in the column is a fixed length string of 8 characters.
    select max(length(COL_XYZ)) from TAB_XYZ;
    -8
    So the maximal string length for this column is 8 characters. To reduce the column width back to its original 8, we then run:
    alter table TAB_XYZ modify (COL_XYZ varchar2(8));varchar2(8 byte) or varchar2(8 char)?
    Use SQL Reference for datatype specification, length function, etc.
    For more info, reference {forum:id=50} forum on the topic. And of course, the Globalization support guide.

Maybe you are looking for