ORA-00601 Error using JDBC, Oracle 8i on Linux

Hello,
Spatial is considering using Oracle as its database platform. I was assigned
the task of benchmarking the two platforms. So, I downloaded the latest copy
of Oracle for Linux, version 8.1.6.1.0 ( 8i Enterprise Edition Release 2 ).
I'm using RedHat 6.2, with a 2.2.14-5.0smp kernel. I ran the installer, set
up the databases, and everything seemed to be running quite nicely. I copied
a table and its data from mysql to Oracle, and wrote a java program to
benchmark the two. This java program takes command line arguments, the first
one being the connection URL, the second being the number of threads to
start, the third being the number of operations to complete for each thread.
So, if you pass it connection 35 35, it will open 35 threads, and each
thread will then execute 35 selects, inserts, and updates. These are
hard-coded queries, but they mimic the functionality currently in
production.
Oracle bombs on the update. I turned tracing on, and tried it again, with
the same result. Here's an excerpt from one of the trace files:
*** SESSION ID:(4.1) 2000-06-21 16:36:48.937
kvotenlg: epc_collect failed. EPC error: -1073751468.
CDF: /u01/app/oracle/product/8.1.6/otrace/admin/cdf/styorap0
FDF: /u01/app/oracle/product/8.1.6/otrace/admin/fdf/oracled.fdf
kvotenlg: epc_collect failed. ctx:368.
I was not able to find any information regarding this error. However, this
message ( or one very similar ) appeared in every trace file. I get the
following at the end of the pmon_xxxx.trc file:
Load Indicator not supported by OS !
*** 2000-06-21 17:42:19.122
error 601 detected in background process
And, the following in the alert_sid.log file:
Wed Jun 21 17:42:19 2000
PMON: terminating instance due to error 601
Instance terminated by PMON, pid = 3797
I made the assumption that this error was actually ORA-00601, and took a
peek on the internet for relavent information. The canned error message is
"PMON process runs into lock conflict trying to recovery processes". I found
someone who had a similar problem, who suggested setting mts_max_dispatchers
in the initsid.ora file to 1. However, this did not work.
Basically, when Oracle crashes, the java program is trying to update one
column in 1225 rows, 35 times, for 35 threads. The java exception is below.
java.sql.SQLException: No more data to read from socket
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java)
at oracle.jdbc.dbaccess.DBError.check_error(DBError.java)
at oracle.jdbc.ttc7.MAREngine.unmarshalUB1(MAREngine.java)
at oracle.jdbc.ttc7.MAREngine.unmarshalSB1(MAREngine.java)
at oracle.jdbc.ttc7.Oall7.receive(Oall7.java)
at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java)
at
oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java)
at
oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.java)
at
oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.java)
at
oracle.jdbc.driver.OracleStatement.doExecuteWithBatch(OracleStatement.java)
at
oracle.jdbc.driver.OracleStatement.doExecute(OracleStatement.java)
at
oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java
at
oracle.jdbc.driver.OracleStatement.executeUpdate(OracleStatement.java)
at ned.util.database.DBHammerThread.run(DBHammerThread.java:78)
Has anyone seen this kind of behavior before? Is this merely a
misconfiguration on my part? Help! :)
-ned

Sorry for the long delay in reply. I was using the thin client driver. However, when I switched to the oci8 driver, not only did I observe a 300% increase in speed, but this bizarre occurrence disappeared. I did find one issue with the oci8 driver, as follows.
In this thread program, if I created a connection in the main program before any of the threads were instantiated, and when the first thread attempted to create a connection, it would produce a segmentation fault. This behavior was very easy to replicate, and it did not matter whether or not I close the original connection. This problem was circumvented by moving the code in the "main" program to create its connection after the child threads had created theirs.

Similar Messages

  • ORA-01461 error using jdbc 10.2.0.1.0

    I am using the oracle jdbc 10.2.0.1.0 ( the latest version) and oracle 10g (10.1.0.4.0) database. Sometimes, the error "ORA-01461: can bind a LONG value only for insert into a LONG column' if I use a java program to insert record to a table containing a 'long raw' field. Previously, the same java program work well with oracle 9i.
    Interestingly, the 'ORA-01461' only SOMETIMES happen. If the problem appears, I need to rename the table and create a new one and then the data can be inserted.

    After 3 days of deep analysis on my project, now I have a clear idea of the problem.
    As you can find on web, newer versions of Oracle drivers for Java have the possibility to set property :
    oracle.jdbc.RetainV9LongBindBehavior=true
    it's considered the fix for this bug, and effectively it seems to work.
    But also with this setting, drivers have one more bug!+
    The problem appears in these conditions:
    - Application tries to save a string into a LONG column database
    - String length is more than 4000 bytes
    - String has less than 4000 characters (it's possible in case of international characters, which takes more than 1 byte)
    With these conditions, we have again error ORA-01461: can bind a LONG value only for insert into a LONG column.
    It seems that drivers evaluate string length before saving it, and consider it as LONG only for 4000+ characters. The bug is just on this check, that must consider length in bytes, according to database character encoding, and not simply for character length.
    As workaround, on my application we added a logic that appends spaces (" ") until total characters are at least 4001. In this way, string is considered correctly as LONG and storage works correctly.
    The check is something similar to this:
    if(value.getBytes("UTF-8").length > 4000 && value.length() < 4000)
    for(int x = value.length(); x<=4000; x++)
    value += " "; // always use StringBuffer for appending
    This workaround works, but it's clear that it can be not acceptable in many cases, for application funcionalities. In my specific bug, it has been very useful.
    My customer opened a ticket to Oracle, asking for solution of this bug. I will wait for Oracle answer.
    Finally, we have to say that Oracle warned to not use anymore LONG datatype: it's deprecated since v8.0.
    Bye guys ;-)
    Edited by: user12274810 on 25-nov-2009 12.04

  • ORA-00054 error when loading Oracle table using Data Services

    Hello,
    we are facing ORA-00054 error when loading Oracle table using BO Data services
    (Oracle 10g database, BODS Xi 3.2 SP3)
    Test Job performs
    1- truncate table
    2- load table (tested in standard and bulk load modes)
    Scenario when issue happens is:
    1- Run loading Job
    2- Job end in error for any Oracle data base error
    3- When re-running the same Job, Job fails with following error
         ORA-00054: resource busy and acquire with NOWAIT specified
    It seems after first failure, Oracle session for loading the table stays active and locks the table.
    To be able to rerun the Job, we are forced need to kill Oracle session manually to be able to run the Job again.
    Expected behaviour would be : on error rollback modifications made on table and BODS stops Oracle session in a clean way.
    Can somebody tell me / or point me to any BODS best practice about Oracle error handling to prevent such case?
    Thanks in advance
    Paul-Marie

    the ora-0054 can occure depending how the job failed before. If this occures you will need the DBA to release the lock on the table in question
    Or
           AL_Engine.exe on The server it creates the Lock. Need to Kill Them. Or stop it..
    This Problem Occurs when we select The Bulkloading Option in orclae  We also faced the same issue,Our admin has Killed the session. Then everything alright.

  • ORA-03115 Error using CLOB with JDBC

    When I try to access CLOB field data with JDBC driver, I gets following error:
    ORA-03115: unsupported network datatype or representation.
    I am using JDBC 8.1.6(Thin), Oracle 8.0.5
    on Linux OS.
    what's the problem ?
    Thank you for any help.
    Taesoo.
    null

    if it is a bug, then its better to upgrade the database to 10.2.0.4. it is the stable verion in 10g.

  • Error when using jdbc:oracle:kprb:

    Hi folks!
    I'm having a hard time trying to solve this one, here's the situation:
    I've developed a java stored procedure and ulpoaded to the database using loadjava, which gave me no problems.
    Then i've set permissions for the procedure:
    BEGIN
    dbms_java.grant_permission(
              grantee => 'XMLADMIN',
              permission_type => 'SYS:java.io.FilePermission',
              permission_name => '/home/xmlgate/inbound/*',
              permission_action => 'read');
    dbms_java.grant_permission(
              grantee => 'XMLADMIN',
              permission_type => 'SYS:java.io.FilePermission',
              permission_name => '/home/xmlgate/outbound',
              permission_action => 'write');
    dbms_java.grant_permission(
              grantee => 'XMLADMIN',
              permission_type => 'SYS:java.lang.RuntimePermission',
              permission_name => 'setFactory',
              permission_action => '');
    dbms_java.grant_permission(
              grantee => 'XMLADMIN',
              permission_type => 'SYS:oracle.aurora.security.JServerPermission',
              permission_name => 'Debug',
              permission_action => '');
    dbms_java.grant_permission(
              grantee => 'XMLADMIN',
              permission_type => 'SYS:oracle.aurora.security.JServerPermission',
              permission_name => 'LoadClassInPackage.oracle.sql.*',
              permission_action => '');
    dbms_java.grant_permission(
              grantee => 'XMLADMIN',
              permission_type => 'SYS:oracle.aurora.security.JServerPermission',
              permission_name => 'LoadClassInPackage.oracle.jdbc.*',
              permission_action => '');
    COMMIT;
    END;
    But when i run the code inside the databse it always gives java.lang.NullPointerException.
    Here's the main class:
    package packupload;
    import java.sql.*;
    import java.util.*;
    import oracle.jdbc.driver.*;
    public class connection {
    // Return a JDBC Connection appropriately either outside or inside Oracle8i
    public static Connection getConnection() throws SQLException {
    String username = "xmladmin";
    String password = "xxxxxxxx";
    String thinConn = "jdbc:oracle:thin:@192.168.xxx.xxx:1521:www";
    String default8iConn = "jdbc:oracle:kprb:";
    Connection cn = null;
    try {
    // Register the JDBC Driver
    Driver d = new oracle.jdbc.driver.OracleDriver();
    //Connect with Native (kprb) Driver if inside Oracle8i
    if (insideOracle8i())
    cn = DriverManager.getConnection(default8iConn);
    else
    cn = DriverManager.getConnection(thinConn,username,password);
    cn.setAutoCommit(false);
    return cn;
    } catch (Exception e) { throw new SQLException("Error Loading JDBC Driver" + insideOracle8i());
    public static boolean insideOracle8i() {
    // If oracle.server.version is non-null, we're running in the database
    String ver = System.getProperty("oracle.server.version");
    return (ver != null && !ver.equals(""));
    Any help would be greatly aprecciated.
    Pedro Silva

    Hi..
    I did it but here i am wondering becoz my RFC connection SAPSLDAPI works fine
    But at transaction SLDCHECK..it throws an error like
    Calling function LCR_LIST_BUSINESS_SYSTEMS
    Retrieving data from the SLD server...
    Function call returned exception code     4
    => Check whether the SLD is running!
    Summary: Connection to SLD does not work
    => Check SLD function and configurations
    But the SLD URL pops up and opens wih put any error.in a same fashion,it happens in SXMB_ADM--> integration engine config.it says connections to SLD doesnot work
    any idea to verify
    Thanks
    Gopal

  • ORA-21700 error using sys.xmlType in Oracle 9.2

    I'm working on an application which uses the XMLType column in some of its database tables. When we started, we were using Oracle 9.0.1, and this test code works (which emulates how we have to, in some occasions, populate the XMLType column).
    However, we installed Oracle 9.2.0.3 on the same machine and created database instances using this version of Oracle. We didn't upgrade the original 9.0.1 installation (which still exists side-by-side). When we run this code, we get the following exception...
    java.sql.SQLException: ORA-21700: object does not exist or is marked for delete
    ORA-06512: at "SYS.XMLTYPE", line 0
    ORA-06512: at line 1
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:180)
    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:1451)
    at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:862)
    at oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.java:1846)
    at oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.java:1771)
    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2361)
    at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:422)
    at com.edh.oracle.TransactionTester.testClob(TransactionTester.java:134)
    at com.edh.oracle.TransactionTester.main(TransactionTester.java:251)
    This exception occurs after we've written the data to a Clob and are attempting to call createXML to update the column.
    Is there anything additional I need to do to get this working in Oracle 9.2 again? Thanks.
    Code is:
    * TransactionTester.java
    * Created on 11 October 2002, 14:08
    package com.edh.oracle;
    import java.sql.Connection;
    import java.sql.DriverManager;
    import java.sql.SQLException;
    import java.sql.Statement;
    import java.sql.PreparedStatement;
    import java.sql.ResultSet;
    * @author ehillman
    public class TransactionTester {
    private static String ORACLE_URL = "jdbc:oracle:thin:@wallaby:7012:CT2";
    /** Creates a new instance of TransactionTester */
    public TransactionTester() throws SQLException {
    DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
    private void createTables(Connection conn) throws SQLException {
    String createText = "create table SillyData (XML_VALUE XMLTYPE, XML_STORAGE CLOB)";
    Statement stmt = conn.createStatement();
    stmt.execute(createText);
    System.out.println("Tables created");
    private void dropTables(Connection conn) throws SQLException {
    String dropText = "drop table SillyData ";
    Statement stmt = conn.createStatement();
    stmt.execute(dropText);
    System.out.println("Tables dropped");
    private void testClob() throws SQLException, java.io.FileNotFoundException,
    java.io.IOException {
    System.out.println("testClob - START");
    Connection conn = DriverManager.getConnection(ORACLE_URL,
    "ehillman", "ehillman");
    System.out.println("connection received");
    createTables(conn);
    try {
    System.out.println("Loading MyFn.xml");
    java.io.FileReader inputReader = new java.io.FileReader(
    "C:\\Documents and Settings\\ehillman\\.netbeans\\edh test\\oracle jdbc\\com\\edh\\oracle\\MyFn.xml");
    conn.setAutoCommit(false);
    Statement stmt2 = conn.createStatement();
    stmt2.execute("insert into SillyData (XML_STORAGE) values (EMPTY_CLOB())");
    System.out.println("empty row inserted");
    stmt2 = conn.createStatement();
    ResultSet rs = stmt2.executeQuery("select XML_STORAGE from SillyData for update");
    System.out.println("Empty CLOB retireved");
    rs.next();
    java.sql.Clob clobValue = rs.getClob(1);
    oracle.sql.CLOB oraClob = (oracle.sql.CLOB) clobValue;
    System.out.println("casted");
    java.io.Writer writer = oraClob.getCharacterOutputStream();
    char[] buffer = new char[ oraClob.getChunkSize() ];
    for (int charsRead = inputReader.read(buffer); charsRead > -1; charsRead = inputReader.read(buffer)) {
    writer.write(buffer, 0, charsRead);
    writer.close();
    System.out.println("data written to Clob");
    PreparedStatement pState = conn.prepareStatement(
    "update SillyData set XML_VALUE = sys.XMLType.createXML(?)");
    pState.setClob(1, clobValue);
    int result = pState.executeUpdate();
    System.out.println("executeQuery returned " + result);
    } finally {
    dropTables(conn);
    conn.close();
    System.out.println("connection closed");
    System.out.println("testClob - END");
    * @param args the command line arguments
    public static void main(String[] args) {
    try {
    TransactionTester tst = new TransactionTester();
    tst.testClob();
    } catch (Exception ex) {
    ex.printStackTrace();

    I've found this....
    http://download-west.oracle.com/docs/cd/B10501_01/appdev.920/a96620/xdb05obj.htm#1032058
    Does this mean that, for a table to use an XMLType column, it has to have a single schema definition for every row in the table?
    This won't fit for what we're doing.... that is, our table stores XML data for each row, but they are all different types of XML... they don't have the same structure,they don't use the same schema.
    Please let me know if I'm missing something

  • Connection reset using JDBC Oracle thin Driver (towards 10g DB)

    Hi we have a home-grown application and a Oracle 10g (10.2.0.1) database.
    We created a scheduled servlet that gets a JDBC connection from a persistent connected cache (an OracleDataSource object registered using OracleConnectionCacheManager). The servlet runs every 15 minutes and runs the query "SELECT SYSTIME FROM DUAL" on 10g Database as XYZ user. The datapool was created yday on web-app and all queries ran successfully for about 5 hours after which it reported a connection reset error.
    I can then conclude that we cannot keep the server session alive for the JDBC client by running frequent SQL queries.
    We didnt get any messages on the DB server side that indicate the release of the session
    Ultimately, we are struggling with reset connections from our applications that are
    using the JDBC thin oracle driver; after a couple of hours of idle
    connections, we receive the below error from the JDBC driver:
    Jul 5, 2007 10:59:53 AM oracle.jdbc.driver.DatabaseError throwSqlException
    WARNING: DatabaseError.throwSqlException(e): Unable to find ORA number from
    exception Jul 5, 2007 10:59:53 AM oracle.jdbc.driver.DatabaseError
    findMessage
    WARNING: DatabaseError.findMessage(errNum, obj): returned Io exception:
    Connection reset Jul 5, 2007 10:59:53 AM
    oracle.jdbc.driver.PhysicalConnection getWarnings
    INFO: PhysicalConnection.getWarnings()
    Any suggestions please ?
    Vk

    The code itself is fine; the problem is with one of:
    1) the connection URL
    2) intermediate networking
    3) the database itself
    1) your connection URL is "jdbc:oracle:thin:@127.0.0.1:1521:orcl"
    - is Oracle really running on the default port, 1521
    - is the installation SID really "orcl"
    2) lots of possibilities, but only a couple are likely
    - is TCP/IP configured and running on your host
    - is there a persoanl firewall rpduct running? perhaps it's blocking the connection
    3) Is Oracle running?
    Is the listener running?

  • Error using jdbc XA

    I need to use jdbc XA between WebSphere App Server 5.1 on Windows 2000 and Oracle 9.2.0.1 on UNIX AIX
    I run the script : initxa.sql on my database
    but I have this error message :
    java.sql.SQLException: ORA-29540: classe oracle/jdbc/xa/server/OracleWrapXAResource inexistante
    On the client side, I have the class
    oracle/jdbc/xa/client/OracleWrapXAResource in the classes12.zip (accessible in the WAS Classpath)
    Where is the server side classe , and how do I set classpath in the database.
    thanx

    Hi,
    Can you post the details of your application - like when is this exception thrown during a transaction?
    This is a generic error which appears usually during xa resource enlistment or delistment - and of course Oracle neglects to give any proper message. And also, which appserver are you using?
    Regards
    Hrishikesh

  • Error using an Oracle DB

    Hello:
    When I tried to run through the Getting_started_with_controls, I tried using an oracle Database.
    When I clicked on the option to create a table, I got teh following exception:
    Exception in createTable
    java.sql.SQLException: [BEA][Oracle JDBC Driver][Oracle]ORA-02089: COMMIT is not allowed in a subordinate session
    Can somebody suggest how I can resolve this issue? Thanks.
    Venki

    Hi Mr Loh.
    I know that this thread has over a year ago but i was looking for something similar for over 2 weeks ago and i ialways found this thread...I want to share my experience even that maybe you already found the same solution or something similar (i saw that you check your own post as answered):
    I made a similar connection from BI 7 SP 18, but in my case was to a Microsoft SQL database 2005. When i "check the datasource" i receive like almost 150 warnings and 1 error and all the warnings and errors are the same ones as you describe above. What i did is create a custom view in the MSSQL database and convert all the column names to uppercase and the column names i limited to 16 characters at most. after doing that all the warnings and the error described disappear and i can view the database content when you made click in the "view content table" button.
    I hope that this will help somebody and best regards
    Martin Olmos

  • ORA-02068 errors using a DB Link between source and remote db servers

    I get the following error when I query a table or view on a remote database using a db link:
    13:58:13 SQL> /
    COUNT(*)
    92862
    13:58:16 SQL> /
    select count(*) from rp_adm.users
    ERROR at line 1:
    ORA-02068: following severe error from DURS.CONDEVD1.WORLD
    ORA-03113: end-of-file on communication channel
    14:03:53 SQL>
    As you can see, the query works sometimes and then if I wait about 5 minutes, I get the error. If I run the query immediately after the error, it works fine.
    rp_adm.users is a view which within the DDL it queries a remote database using a db link.
    Any one have any idea how to get rid of this ORA-02068 and ORA-03113 error????

    By the way, this is running on Solaris 10 OS running Oracle Database 10g Enterprise Edition Release 10.1.0.5.0 - 64bit databases.
    Edited by: user10340463 on Nov 3, 2008 11:21 AM - Sorry for the dup. Browser screwing up.

  • IDOC to JDBC :Error using JDBC

    Hi Frnds,
    My scenario is Idoc to JDBC scenario, I am getting the follwoing error while trying to process an idoc. Please help me in hadling this error.
    Error Message:
    JDBC message processing failed; reason Error when attempting to get processing resources: com.sap.aii.af.service.util.concurrent.ResourcePoolException: Unable to create new pooled resource: DriverManagerException: Cannot establish connection to URL 'jdbc:microsoft:sqlserver://180.1.32.194:1433;DatabaseName=CZZ03;': SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Error establishing socket.
    Regards,
    Shiv

    Hello Shiva,
    Are you installed  JDBC Drivers?
    Go through this links,
    /people/varadharajan.krishnasamy/blog/2007/02/27/configuring-jdbc-connector-service-to-perform-database-lookups
    http://searchsap.techtarget.com/tip/0,289483,sid21_gci1246926,00.html
    To install JDBC driver follow the how to guide.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/xi/xi-how-to-guides/how%20to%20install%20and%20configure%20external%20drivers%20for%20jdbc%20and%20jms%20adapters.pdf
    Configuration of JDBC Adapter for SQL Server
    JDBC Driver = com.microsoft.jdbc.sqlserver.SQLServerDriver
    Connection = jdbc:microsoft:sqlserver://hostname:<port>;DatabaseName=<DBName>
    UserID and Password.
    If the connection is not working find the correct port number.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/40b92770-db81-2a10-8e91-f747188d8033
    JDBC- X I -  R/3 Scenario
    /people/bhavesh.kantilal/blog/2006/07/03/jdbc-receiver-adapter--synchronous-select-150-step-by-step
    /people/sap.user72/blog/2005/06/01/file-to-jdbc-adapter-using-sap-xi-30
    Please check the driver path as mentioned below.
    JDBC Driver : sun.jdbc.odbc.JdbcOdbcDriver
    Connection:jdbc:odbc:Driver={Microsoft Access Driver (*.mdb)};DBQ=//location of DB table.mdb;
    No JDBC driver required.
    Receiver JDBC scenario MS access - /people/sameer.shadab/blog/2005/10/24/connecting-to-ms-access-using-receiver-jdbc-adapter-without-dsn
    follow this thread
    Re: Problem when connecting to MS Access through JDBC Adapter.
    SAP Note 850116 has details
    Thanks,
    Satya Kumar
    Reward if it is usefulll

  • Got an error when install oracle 9i in linux 9 in windows virtual server

    Hi Guys,
    I am installing an oracle 9i in my laptop that is linux 9 server which is hosted in windows virtual server. when I ran runInstaller, I got an eror that is can't connect x11 windows server using........ When I ran xterm, I got can't open dispaly. xhost + also dosn't work. Is that ok that I can install oracle in a linux that is installed in windows virtual server? What value can I set to DISPLAY value?
    Thank in advance.

    Linux 9? You mean the one that was end-of-lifed in 2004? (Just checking ...)
    If yes, you gotta decide whether it's the 'Linux 9 Boxed Version' or the 'Linux 9 Download Version'. The two have completely different compiler and glibc packages that are incompatible. Fix that incompatibility - relative to Oracle's needs - and you will be able to make Oracle9i limp along.

  • Message error ORA-00936 when using JDBC adapter

    Hi all,
    I'm using the folow scenario:
    RFC --> XI --> JDBC
    RFC <-- XI <-- JDBC (response)
    It's a SYNCHRONOUS interface.
    RFC call without COMMIT WORK:
    CALL FUNCTION 'Y_TESTE_NEI'
        DESTINATION 'RFC_XI'
    EXPORTING
       DATE_FROM       =  v_data_from
       DATE_TO         =  v_data_to
      TABLES
        t_return        = t_dados.
    I'm not using KEY in JDBC message, because for test I want to get entiry table, and I set the communication channel JDBC to KEY not mandatory.
    I'm not having mapping error, in SXMB_MONI I can see the two messages of interface, but both with SYSTEM ERROR.
    In JDBC adapter in Runtime Workbench apears the follow message error:
    com.sap.aii.af.ra.ms.api.DeliveryException: Error processing request in sax parser: Error when executing statement for table/stored proc. 't7_productionorder' (structure 't7_productionorder'): java.sql.SQLException: ORA-00936: missing expression
    And DUMP in function call in R/3: CALL_FUNCTION_REMOTE_ERROR
    Could anyone help me about this problem ?
    Thanks in advance.
    Regis Ferrato

    Hi Regis,
    I did the same scenario just now. The error you get is, you need to check whether the fields you are entering into the database have correct datatypes.
    Check out your database structure with your structure in XI, and also test in Message Mapping, to make sure you are sending correct values.
    In my case I was sending date like this '10-12-06', but my DB accepts only '101206'. So I removed the '-'. It was fine .
    The Dumping error is not due to your ABAP, due to the DB operation.
    Let me know Whether I am correct.
    Raj.

  • How to handle ORA-28001 error with JDBC thin driver ?

    Dear reader,
    As you all know, ORACLE returns error ORA-28001 upon a connection attempt when the user's password has expired.
    Handling the error in OCI is quite simple, thanks to the function OCIPasswordChange(). However, I have not been able to find a JAVA equivalent in the Oracle JDBC library.
    I have found a field called oracle.jdbc.driver.OracleDriver.set_new_password_string, and a field oracle.jdbc.OracleConnection.CONNECTION_PROPERTY_SET_NEW_PASSWORD, but I have really no idea on how to use them (if appropriate) so as to allow the user to change his/her password on the fly.
    I greatly appreciate having any advice from anyone who happened to be faced with that problem.
    Best regards.
    Georges BREFORT

    Hi,
    according to Note [124970.1 Example: How to Change an Expired Password in JDBC?|https://metalink2.oracle.com/metalink/plsql/f?p=130:14:2181952130729466734::::p14_database_id,p14_docid,p14_show_header,p14_show_help,p14_black_frame,p14_font:NOT,124970.1,1,1,1,helvetica] it's possible with JDBC Thick (OCI) driver only.

  • ORA-12545 error while installing Oracle 8i on RHEL 3.0

    Hi,
    I am trying to install oracle 8.1.7 on redhat EL 3.0. Earlier i installed the same oracle i.e 8.1.7 on redhat 8.0/9.0 and it installed sucesfully. The proceudre
    i follow for installtion was :
    ####### some settings
    groupadd dba
    groupadd oinstall
    groupadd oracle
    useradd -g dba -G oinstall,oracle -m oracle
    passwd oracle
    mkdir /ora8
    cd /ora8
    mkdir -p m01 m02 m03/oradata/ora8
    chown -R oracle.dba /ora8
    ###### login as oracle. changes in .bash_profile(setting up of parameters)
    export ORACLE_BASE=/ora8/m01/app/oracle
    export ORACLE_HOME=$ORACLE_BASE/product/8.1.7
    export PATH=$PATH:$ORACLE_HOME/bin
    export LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib
    export ORACLE_SID=perfdb
    export ORACLE_TERM=vt100
    export ORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/data
    umask 022
    LD_ASSUME_KERNEL=2.2.5
    ##### thereafter i run installer
    ./runInstaller
    It goes smoothly and later it gives linking error. I ignore them at this stage.
    #### thereafter I apply the patch
    tar xzf /tmp/glibc2.1.3_stub.tgz
    ./setup_stubs
    #### Therafter i run dbassist and I create the db and all went well.
    When i followed the same procedure in RHEL 3.0 it goes smooth till applying patch glibc2.1.3_stub.tgz but thereafter when i try to create db using dbassist it gives me error like :
    ORA-12545 Connect failed because target host or object does not exist.
    Even if i tried to run svrmgrl it gives me error
    :ORA-12545 Connect failed because target host or object does not exist
    Could anyone help me in resolving that ? the same installation procedure works well for Redhat 8.0/9.0
    Thanks
    Harsh Bhatia

    What version of gcc are you using?
    Check out this link: http://www.redhat.com/archives/taroon-list/2004-June/msg00030.html
    All 8i and 9i releases are built with 2.9x versions of gcc, so you might have to downgrade gcc in order to get 8i running.
    -Antti

Maybe you are looking for