Error with XSU: oracle.jdbc2.Clob

When I try to insert data I get the following error.
java.lang.NoClassDefFoundError: oracle.jdbc2.Clob
void samp10.main(java.lang.String[])
Exception in thread main.
I use classes112.zip with Oracle 8.1.7.
I have Included following libraries in JDeveloper: Oracle XML SQL Utility, Oracle XML Parser 2.0, JServer, Connection Manager and Oracle 8.1.6 JDBC.
The sourcecode of my .java file is:
/** Simple example on using Oracle XMLSQL API; this class inserts the data from a XML document into the database*/
import oracle.xml.sql.dml.*;
import java.sql.*;
import oracle.jdbc.driver.*;
import oracle.jdbc.*;
import java.net.*;
public class samp10
//========================================
// main() - public static void
public static void main(String args[]) throws SQLException
String tabName = "XMLTEST_TAB1"; // table into which to insert
String fileName = "sampdoc.xml"; // file name containing the xml doc
DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
//initiate a JDBC connection
Connection conn =
DriverManager.getConnection("jdbc:oracle:thin:@localhost:1521:SJEFEN",
"scott","tiger");
OracleXMLSave sav = new OracleXMLSave(conn, tabName);
URL url = sav.createURL(fileName);
int rowCount = sav.insertXML(url);
System.out.println(" successfully inserted "+rowCount+
" rows into "+ tabName);
conn.close();
The source code for the XML Document is:
<?xml version="1.0"?>
<ROWSET>
<ROW num="1">
<EMPNO>7369</EMPNO>
<ENAME>SMITH</ENAME>
<JOB>CLERK</JOB>
</ROW>
<ROW num="2">
<EMPNO>7499</EMPNO>
<ENAME>ALLEN</ENAME>
<JOB>SALESMAN</JOB>
</ROW>
<ROW num="3">
<EMPNO>7521</EMPNO>
<ENAME>WARD</ENAME>
<JOB>SALESMAN</JOB>
</ROW>
</ROWSET>
I hope someone can help me!
null

This occurs when you mismatch the xsu jar file with the classes1x.zip file (the jdbc driver).
xsu12.jar goes with classes12.zip
xsu111.jar goes with classes111.zip

Similar Messages

  • Error with patching Oracle DB 11.1.0.6 (Patch 10 - 7378392)

    Hi,
    I am getting an error when trying to appy the patch 7378392 on Oracle DB 11g.
    I am using the command
    opatch appy
    It worked great with other patches.
    What am I doing wrong?
    Best regards,
    Dejan
    Invoking OPatch 11.1.0.6.0
    Oracle Interim Patch Installer version 11.1.0.6.0
    Copyright (c) 2007, Oracle Corporation. All rights reserved.
    Oracle Home : E:\oracle\product\11.1.0\db_1
    Central Inventory : C:\Program Files\Oracle\Inventory
    from : n/a
    OPatch version : 11.1.0.6.0
    OUI version : 11.1.0.6.0
    OUI location : E:\oracle\product\11.1.0\db_1\oui
    Log file location : E:\oracle\product\11.1.0\db_1\cfgtoollogs\opatch\opatch2008-10-27_09-40-25AM.log
    Failed to load the patch object. Possible causes are:
    The specified path is not an interim Patch shiphome
    Meta-data files are missing from the patch area
    Patch location = E:\INSTALACIJE\Oracle\patch\patch
    Details = PatchObject constructor: Input file "E:\INŐTALACIJE\Oracle\patch\pat
    ch\etc\config\actions" or "E:\INSTALACIJE\Oracle\patch\patch\etc\config\inventory" does not exist.
    ApplySession failed: PatchObject constructor: Input file "E:\INŐTALACIJE\Oracle\patch\patch\etc\config\actions" or "E:\INSTALACIJE\Oracle\patch\patch\etc\config\inventory" does not exist.
    System intact, OPatch will not attempt to restore the system
    OPatch failed with error code = 73

    Now I get another error
    opatch apply
    Invoking OPatch 11.1.0.6.4
    Oracle Interim Patch Installer version 11.1.0.6.4
    Copyright (c) 2007, Oracle Corporation. All rights reserved.
    Oracle Home : C:\oracle\product\11.1.0\db_1
    Central Inventory : C:\Program Files\Oracle\Inventory
    from : n/a
    OPatch version : 11.1.0.6.4
    OUI version : 11.1.0.6.0
    OUI location : C:\oracle\product\11.1.0\db_1\oui
    Log file location : C:\oracle\product\11.1.0\db_1\cfgtoollogs\opatch\opatch2008-10-27_12-58-04PM.log
    ApplySession applying interim patch '7378392' to OH 'C:\oracle\product\11.1.0\db_1'
    Running prerequisite checks...
    Prerequisite check "CheckActiveFilesAndExecutables" failed.
    The details are:
    Following files are active :
    C:\oracle\product\11.1.0\db_1\bin\oci.dll
    ApplySession failed during prerequisite checks: Prerequisite check "CheckActiveFilesAndExecutables" failed.
    System intact, OPatch will not attempt to restore the system
    OPatch failed with error code = 74

  • Error with installing oracle on linux

    hi all
    i tried to install oracle on oracle enterprise linux REL 5 but error occurred like that :
    [oracle@aedc1 ~]$ /mnt/database/runInstaller
    Starting Oracle Universal Installer...
    Checking installer requirements...
    Checking operating system version: must be redhat-3, SuSE-9, redhat-4, UnitedLinux-1.0, asianux-1 or asianux-2
    Passed
    All installer requirements met.
    Preparing to launch Oracle Universal Installer from /tmp/OraInstall2009-07-14_02-20-04AM. Please wait ...[oracle@aedc1 ~]$ Exception in thread "main" java.lang.UnsatisfiedLinkError: /tmp/OraInstall2009-07-14_02-20-04AM/jre/1.4.2/lib/i386/libawt.so: libXp.so.6: cannot open shared object file: No such file or directory
    at java.lang.ClassLoader$NativeLibrary.load(Native Method)
    at java.lang.ClassLoader.loadLibrary0(Unknown Source)
    at java.lang.ClassLoader.loadLibrary(Unknown Source)
    at java.lang.Runtime.loadLibrary0(Unknown Source)
    at java.lang.System.loadLibrary(Unknown Source)
    at sun.security.action.LoadLibraryAction.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.awt.NativeLibLoader.loadLibraries(Unknown Source)
    at sun.awt.DebugHelper.<clinit>(Unknown Source)
    at java.awt.Component.<clinit>(Unknown Source)
    i want to solve this issue plz

    Hi Ora2009,
    You can refer the following ML doc,
    [Exception java.lang.UnsatisfiedLinkError /jre/1.4.2/lib/i386/libawt.so libXp.so.6 cannot open shared object file No such file or directory occurred on RHEL5/OEL5 for 10.2 x86 or x86_64 install|https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=443617.1]
    Thanks,
    Anchorage :)

  • C++ linker error with 64bit oracle libraries

    /app/devtools/gcc-4.2.3-64/bin/g++ -L/home/john17/sdc/lib/Linux_2.6.5-7.308.PTF.352368.0-smp.gcc-4.2.3-64 -L/home/john17/oracle/lib -L/app/gcc-3.3.4/lib -L/app/gcc-3.2.3/lib -ldl -lpthread -lnsl -lrt -lstdc++
    -lvs -lclntsh -L/home/cdev/pkgs/oas/Linux64/oaslinux64_2_4_05_03/lib -loas
    Linux_2.6.5-7.308.PTF.352368.0-smp.gcc-4.2.3-64-R/db.o Linux_2.6.5-7.308.PTF.352368.0-smp.gcc-4.2.3-64-R/owl.o
    Linux_2.6.5-7.308.PTF.352368.0-smp.gcc-4.2.3-64-R/queue.o Linux_2.6.5-7.308.PTF.352368.0-smp.gcc-4.2.3-64-R/log.o
    Linux_2.6.5-7.308.PTF.352368.0-smp.gcc-4.2.3-64-R/titan.o -o /home/john17/sdc/bin/Linux_2.6.5-7.308.PTF.352368.0-smp.gcc-4.2.3-64/titan
    /usr/bin/ld: warning: libnnz10.so, needed by /home/john17/oracle/lib/libclntsh.so, not found (try using -rpath or -rpath-link)
    /home/john17/oracle/lib/libclntsh.so: undefined reference to `nzos_ServiceWriteQueue'
    /home/john17/oracle/lib/libclntsh.so: undefined reference to `nzosCipherSpecToStr'
    /home/john17/oracle/lib/libclntsh.so: undefined reference to `nzos_setCRLPath'
    /home/john17/oracle/lib/libclntsh.so: undefined reference to `nzteOpenPersona'
    /home/john17/oracle/lib/libclntsh.so: undefined reference to `nzdsi_initialize'
    All these symbols are not defined in libclntsh.so and also does not exist in libnnz10.so.
    I checked 32bit version of libnnz10.so has all above undefined symbols. This looks really weird to me why 64 bit version of libnnz10.so doesn't define these symbols.
    Let me know if you have any idea.

    /app/devtools/gcc-4.2.3-64/bin/g++ -L/home/john17/sdc/lib/Linux_2.6.5-7.308.PTF.352368.0-smp.gcc-4.2.3-64 -L/home/john17/oracle/lib -L/app/gcc-3.3.4/lib -L/app/gcc-3.2.3/lib -ldl -lpthread -lnsl -lrt -lstdc++
    -lvs -lclntsh -L/home/cdev/pkgs/oas/Linux64/oaslinux64_2_4_05_03/lib -loas
    Linux_2.6.5-7.308.PTF.352368.0-smp.gcc-4.2.3-64-R/db.o Linux_2.6.5-7.308.PTF.352368.0-smp.gcc-4.2.3-64-R/owl.o
    Linux_2.6.5-7.308.PTF.352368.0-smp.gcc-4.2.3-64-R/queue.o Linux_2.6.5-7.308.PTF.352368.0-smp.gcc-4.2.3-64-R/log.o
    Linux_2.6.5-7.308.PTF.352368.0-smp.gcc-4.2.3-64-R/titan.o -o /home/john17/sdc/bin/Linux_2.6.5-7.308.PTF.352368.0-smp.gcc-4.2.3-64/titan
    /usr/bin/ld: warning: libnnz10.so, needed by /home/john17/oracle/lib/libclntsh.so, not found (try using -rpath or -rpath-link)
    /home/john17/oracle/lib/libclntsh.so: undefined reference to `nzos_ServiceWriteQueue'
    /home/john17/oracle/lib/libclntsh.so: undefined reference to `nzosCipherSpecToStr'
    /home/john17/oracle/lib/libclntsh.so: undefined reference to `nzos_setCRLPath'
    /home/john17/oracle/lib/libclntsh.so: undefined reference to `nzteOpenPersona'
    /home/john17/oracle/lib/libclntsh.so: undefined reference to `nzdsi_initialize'
    All these symbols are not defined in libclntsh.so and also does not exist in libnnz10.so.
    I checked 32bit version of libnnz10.so has all above undefined symbols. This looks really weird to me why 64 bit version of libnnz10.so doesn't define these symbols.
    Let me know if you have any idea.

  • BLOB insert behavior with thin driver using standard JDBC2.0 and ORACLE-JDBC2.0API

    We have a problem with a BLOB insert to an oracle 8.1.7 DB using Oracle 8.1.7 JDBC thin driver.We get socket read/write error after inserting 32k of data using the standard JDBC2.0 API but using the Oracle JDBC2.0API (using OracleResultSet) it goes fine. We have a requirement to use the standard JDBC2.0 so that our code works with multiple database vendors. Is there another way to get in the blob data with standard JDBC API & using thin driver...?
    thanks,
    Madhu
    Here is my sample test program that does both standard & oracle specific JDBC Blob test insert.
    import java.sql.*;
    import java.io.*;
    import oracle.sql.BLOB;
    import oracle.jdbc.driver.OracleResultSet;
    public class testBLOB {
    //trying to insert a huge file to a BLOB
    static String fileName = "/kernel/genunix";
    public static void main(String[] args) {
    String driverName = "oracle.jdbc.driver.OracleDriver";
    String dbURL = "jdbc:oracle:thin:@localhost:1521:test"; //thin driver
    String user = "BlobTest";
    String passwd = "BlobTest";
    Connection con=null;
    try {
    Class.forName(driverName);
    con=DriverManager.getConnection(dbURL, user,passwd);
    catch (Exception e) {
    e.printStackTrace();
    close(con);
    int i = 0;
    while (i < args.length) {
    if (args.equals("-f"))
    fileName = args[++i];
    i++;
    System.out.println("The file being Stored is: "+fileName);
    createTable(con);
    insertUsingOracleAPI(con);
    insertUsingJDBC20API(con);
    //readDB(con);
    static String getFileName() {
    return fileName;
    public static void close(Connection con) {
    try {
    if (con != null) {
    con.close();
    catch (Exception e) {
    System.exit(-1);
    public static void createTable(Connection con) {
    Statement stmt ;
    try {
    stmt = con.createStatement();
    stmt.execute("DROP TABLE basic_blob_table");
    stmt.close();
    catch (SQLException sqlEx) {
    System.out.println("Dropped the Table");
    try {
    stmt = con.createStatement();
    stmt.execute("CREATE TABLE basic_blob_table ( x varchar2(30), b blob)");
    stmt.close();
    catch (SQLException sqlEx) {
    sqlEx.printStackTrace();
    close(con);
    System.out.println("Created the Table");
    public static void insertUsingOracleAPI(Connection con) {
    OutputStream os = null;
    Statement stmt = null;
    ResultSet rs = null;
    FileInputStream is = null;
    try {
    con.setAutoCommit(false);
    stmt = con.createStatement();
    stmt.execute("INSERT INTO basic_blob_table VALUES( 'OracleAPI', empty_blob())");
    System.out.println("Inserted the dummy Row");
    rs = stmt.executeQuery("Select * from basic_blob_table where x='OracleAPI'");
    if (rs != null && rs.next()) {
    BLOB blob = ((OracleResultSet)rs).getBLOB(2);
    File file = new File(getFileName());
    is = new FileInputStream(file);
    os = blob.getBinaryOutputStream();
    byte[] chunk = new byte[1024];
    int length = -1;
    while((length = is.read(chunk)) != -1)
    os.write(chunk, 0,length);
    System.out.println("Inserted the File " + getFileName() );
    catch (Exception e) {
    e.printStackTrace();
    finally {
    try {
    if (os != null) {
    os.flush();
    os.close();
    if (is != null)
    is.close();
    stmt.close();
    con.commit();
    con.setAutoCommit(true);
    catch (Exception e) {}
    public static void insertUsingJDBC20API(Connection con) {
    PreparedStatement stmt = null;
    FileInputStream is = null;
    try {
    stmt = con.prepareStatement("INSERT INTO basic_blob_table VALUES(?,?)");
    File file = new File(getFileName());
    is = new FileInputStream(file);
    stmt.setString(1,"JDBC20API");
    stmt.setBinaryStream(2,is,(int)file.length());
    stmt.executeUpdate();
    catch (Exception e) {
    e.printStackTrace();
    finally {
    try {
    if (is != null)
    is.close();
    stmt.close();
    catch (Exception e) {}
    null

    Thanks for the response.
    I understand what you are saying...
    that readers don't block writers in Oracle (the same is true in SQL Server 2000).
    However, I don't see how my test case is working correctly with Oracle (the exact same code acting as I'm thinking it should with SQL Server, but I still think it is acting incorrectly with Oracle).
    I have transaction A do this:
    update <table> set <column2>=<value> where <column1>='1'
    then I use Thread.sleep() to make that program hang around for a few minutes.
    Meanwhile I sneak off and start another program which begins transaction B. I have transaction B do this:
    select * from <table> where <column1>='1'
    and the read works immediately (no blocking... just as you have said) however, transaction A is still sleeping, it has not called commit() or rollback() yet.
    So what if transaction A were to call rollback(), the value read by transaction B would be incorrect wouldn't it ?
    Both A and B use setAutoCommit(false) to start their transactions, and then call setTransactionIsolation(Connection.TRANSACTION_READ_COMMITTED).
    Isn't that supposed to guarantee that a reader can only read what is committed ?
    And if a row is in "flux"... in the process of having one or more values changed, then the database cannot say what the value will be ?
    I can almost see what you are saying.
    In letting the reader have what it wants without making it wait, I suppose it could be said that Oracle is holding true to the "only let committed data be read"
    So if that's it, then what if I want the blocking ?
    I want an entire row to be locked until whoever it in the middle of updating, adding, or removing it has finished.
    Do you know if that can be done with Oracle ? And how ?
    Thanks again for helping me.

  • Error while installing Oracle Apps server 10.1.3 with Oracle DB 11.2.0.2

    Error while installing Oracle Apps server 10.1.3 with Oracle DB 11.2.0.2 residing in the same server and being used by Apps server as it's metadata.
    bash-3.00$ export ORACLE_HOME=/data/ora11g/app/ora11g/product/11.2.0
    bash-3.00$ cd /data/OAS/install/soa_schemas/irca/
    bash-3.00$ ./irca.sh
    Integration Repository Creation Assistant (IRCA) 10.1.3.1.0
    (c) Copyright 2006 Oracle Corporation. All rights reserved.
    ERROR: Cannot find library - /data/ora11g/app/ora11g/product/11.2.0/jdbc/lib/ojdbc14.jar
    Please verify that the ORACLE_HOME is set correctly.
    bash-3.00$

    Hi Craig,
    Database 11gR2 could be used for Installing Application Server 10.1.3.x but with some limitation.
    So please review the note:-887365.1 Oracle Database 11g Release 2 (11.2) Certification for Oracle Application Server 10g (10.1.2, 10.1.3, 10.1.4)
    Section :- Oracle Application Server 10g Release 3 (10.1.3)
    Regards,
    Praaksh.

  • Problem with java.sql.Clob and oracle.sql.CLOB

    Hi,
    I am using oracle9i and SAP web application server. I am getClob method and storing that in java.sql.Clob and using the getClass().getName() I am getting the class name as oracle.sql.CLOB. But when I am trying to cast this to oracle.sql.CLOB i am getting ClassCastException. The code is given below
    java.sql.Clob lOracleClob = lResultSet.getClob(lColIndex + 1);
    lPrintWriter = new PrintWriter(new BufferedWriter (((oracle.sql.CLOB) lOracleClob).getCharacterOutputStream()));
    lResourceStatus = true;
    can anybody please tell me the what is the problem with this and solution.
    thanks,
    Ashok.

    Hi Ashok
    You can get a "ClassCastException" when the JVM doesn't have access to the specific class (in your case, "oracle.sql.CLOB").
    Just check your classpath and see if you are referring to the correct jar files.
    cheers
    Sameer
    PS: Please award points if you find the answer useful

  • Deployment Manager Error with Oracle Weblogic Server 10.3.1

    I have installed Identity Manager 9.1.0.2 (patch upgraded from 9.1.0.1) on OEL 5.3 64bit and Weblogic 10.3.1
    Database:Oracle 11gR2 (remote machine).
    **I am aware that IM 9.1.0.2 is not certified on Weblogic 10.3.1 (it is only certified on 10.3),
    The installation was successful and OIManager is up and running. Able to create Users, Resources etc. as well.
    As part of configuring OIM Connectors tried to Import .xml file using Import option from Deployment Management section as below and the following error was displayed.
    "Either your session timed out or you are trying to access a page without logging in".
    Did all workarounds like enabling java, changing browsers, restarting machine etc as per the below discussion but in vain.
    Deployment Manager Error with Oracle Weblogic Server
    Can any one suggest any workaround or solution for this problem.
    Or atleast can any one confirm there is no Identity manager available on this date which is compatible with 10.3.1? and cannot be continued further.
    Thanks in Advance
    Sudheer
    Edited by: SudheerPrabhala on Oct 20, 2009 1:26 AM

    You are facing this issue because you're using a non certified combination.
    Other folks who tried to use OIM in 10.3.1 ended up in the same problem you're facing.

  • JDBC error with Oracle Database

    Hi,
      We are now facing some problems when using Oracle JDBC in XI JDBC Adapter, and this problem happens randomly.
      Our oracle is ver 8.1.5, jdbc ver 9.2.0.1 ojdbc14.jar, J2RE 1.4.2 IBM AIX build ca142-20060824.
      The following exceptions have been found in log viewer:
    Exception caught when executing statement for table/stored proc. 'cgjs_zj_zjb' (structure 'SELECTSTMT'):
    java.sql.SQLException: Io exception: There is no process to read data written to a pipe.
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:179)
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:334)
         at oracle.jdbc.ttc7.TTC7Protocol.handleIOException(TTC7Protocol.java:3668)
         at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1986)
         at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteDescribe(TTC7Protocol.java:850)
         at oracle.jdbc.driver.OracleStatement.doExecuteQuery(OracleStatement.java:2599)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2963)
         at oracle.jdbc.driver.OracleStatement.executeQuery(OracleStatement.java:653)
         at com.sap.aii.adapter.jdbc.SAXHandler.executeQuery(xml2sql.java(Compiled Code))
         at com.sap.aii.adapter.jdbc.SAXHandler.executeQuery(xml2sql.java(Inlined Compiled Code))
         at com.sap.aii.adapter.jdbc.SAXHandler.SQLsel(xml2sql.java(Compiled Code))
         at com.sap.aii.adapter.jdbc.SAXHandler.processList(xml2sql.java(Compiled Code))
         at com.sap.aii.adapter.jdbc.SAXHandler.endElement(xml2sql.java(Compiled Code))
         at com.sap.engine.lib.xml.parser.handlers.SAXDocHandler.endElement(SAXDocHandler.java(Compiled Code))
         at com.sap.engine.lib.xml.parser.XMLParser.scanEndTag(XMLParser.java(Compiled Code))
         at com.sap.engine.lib.xml.parser.XMLParser.scanElement(XMLParser.java(Compiled Code))
         at com.sap.engine.lib.xml.parser.XMLParser.scanContent(XMLParser.java(Compiled Code))
         at com.sap.engine.lib.xml.parser.XMLParser.scanElement(XMLParser.java(Compiled Code))
         at com.sap.engine.lib.xml.parser.XMLParser.scanDocument(XMLParser.java(Compiled Code))
         at com.sap.engine.lib.xml.parser.XMLParser.parse0(XMLParser.java(Compiled Code))
         at com.sap.engine.lib.xml.parser.AbstractXMLParser.parseAndCatchException(AbstractXMLParser.java(Compiled Code))
         at com.sap.engine.lib.xml.parser.AbstractXMLParser.parse(AbstractXMLParser.java(Inlined Compiled Code))
         at com.sap.engine.lib.xml.parser.AbstractXMLParser.parse(AbstractXMLParser.java(Compiled Code))
         at com.sap.engine.lib.xml.parser.Parser.parseWithoutSchemaValidationProcessing(Parser.java(Inlined Compiled Code))
         at com.sap.engine.lib.xml.parser.Parser.parse(Parser.java(Compiled Code))
         at com.sap.engine.lib.xml.parser.SAXParser.parse(SAXParser.java(Compiled Code))
         at javax.xml.parsers.SAXParser.parse(Unknown Source)
         at javax.xml.parsers.SAXParser.parse(Unknown Source)
         at com.sap.aii.adapter.jdbc.xml2sql.service(xml2sql.java:211)
         at com.sap.aii.adapter.jdbc.XI2JDBC.onInternalMessage(XI2JDBC.java:481)
         at com.sap.aii.adapter.jdbc.SapAdapterServiceFrameImpl.callSapAdapter(SapAdapterServiceFrameImpl.java:175)
         at com.sap.aii.af.modules.CallAdapterWithMessageBean.process_receiver(CallAdapterWithMessageBean.java:226)
         at com.sap.aii.af.modules.CallAdapterWithMessageBean.process(CallAdapterWithMessageBean.java:164)
         at com.sap.aii.af.mp.module.ModuleLocalLocalObjectImpl0_1.process(ModuleLocalLocalObjectImpl0_1.java:103)
         at com.sap.aii.af.mp.ejb.ModuleProcessorBean.process(ModuleProcessorBean.java:264)
         at com.sap.aii.af.mp.processor.ModuleProcessorLocalLocalObjectImpl0_0.process(ModuleProcessorLocalLocalObjectImpl0_0.java:103)
         at com.sap.aii.af.listener.AFWListenerBean.onMessage(AFWListenerBean.java:267)
         at com.sap.aii.af.listener.AFWListenerLocalObjectImpl0_0.onMessage(AFWListenerLocalObjectImpl0_0.java:103)
         at com.sap.aii.af.ra.ms.impl.ServicesImpl.deliver(ServicesImpl.java:306)
         at com.sap.aii.adapter.xi.ms.XIEventHandler.onDeliver(XIEventHandler.java:1034)
         at com.sap.aii.af.ra.ms.impl.core.queue.RequestConsumer.onMessage(RequestConsumer.java:118)
         at com.sap.aii.af.ra.ms.impl.core.queue.Queue.run(Queue.java(Compiled Code))
         at com.sap.aii.af.ra.ms.runtime.MSWorkWrapper.run(MSWorkWrapper.java:56)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java(Compiled Code))
         at java.security.AccessController.doPrivileged1(Native Method)
         at java.security.AccessController.doPrivileged(AccessController.java(Compiled Code))
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java(Compiled Code))
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java(Compiled Code))
        Hope you can help me.
        B'Rgds,
                     YiNing

    nice trick:)
    This problem hasn't been solved yet, and now I found something harder to solve with this Oracle database and it's JDBC when I was using a synchronous scenario.
    Check the following adapter log:
    2007-02-28 10:03:53 Success Message successfully received by messaging system. Profile: XI URL: http://sapxidev:50000/MessagingSystem/receive/AFW/XI Credential (User): XIISUSER
    2007-02-28 10:03:53 Success Using connection JDBC_http://sap.com/xi/XI/System. Trying to put the message into the request queue.
    2007-02-28 10:03:53 Success Message successfully put into the queue.
    2007-02-28 10:03:53 Success The message was successfully retrieved from the request queue.
    2007-02-28 10:03:53 Success The message status set to DLNG.
    2007-02-28 10:03:53 Success Delivering to channel: JDBC_RECV_PO_SBC
    2007-02-28 10:03:53 Success MP: entering
    2007-02-28 10:03:53 Success MP: processing local module localejbs/CallSapAdapter
    2007-02-28 10:03:53 Success Receiver JDBC adapter: processing started; QoS required: BestEffort
    2007-02-28 10:10:59 Success JDBC adapter receiver channel JDBC_RECV_PO_SBC: processing started; party  , service PO_SYS
    2007-02-28 10:10:59 Success SELECT BUSID, BUDAT, EDPER, BKTXT, XBLNR, BUZEI, BSCHL, HKONT, LIFNR, NEWUM, DMBTR, GSBER, MATNR, MENGE, ZUONR, SGTXT, XREF1, XREF2, XREF3, IDXSP, MWSKZ, RMVCT, RSTGR, ZTERM, ZFBDT, ZLSCH, XNEGP, KOSTL, AUFNR, LGORT_I, LGORT_O, GRUND, BWART, BSELM, STATS, ERFME, ZZFIELD2 FROM SAP_ZJB WHERE (STATS=O AND EDPER=9105)
    2007-02-28 10:11:01 Success UPDATE SAP_ZJB SET STATS=U WHERE (STATS=O AND EDPER=9105)
    2007-02-28 10:11:01 Success Database request processed successfully
    2007-02-28 10:11:01 Success MP: leaving
    2007-02-28 10:11:01 Error Delivery of the message to the application using connection JDBC_http://sap.com/xi/XI/System failed, due to: com.sap.aii.af.ra.ms.api.MessageExpiredException: Sync application request expired.. Setting message to status failed.
    2007-02-28 10:11:01 Error The message status set to FAIL.
    2007-02-28 10:11:01 Error Returning synchronous error message to calling application: com.sap.aii.af.ra.ms.api.MessageExpiredException: Sync application request expired..
    Between the 2007-02-28 10:03:53 and 2007-02-28 10:10:59, what takes it so long to process? Also it happens randomly.
    Since it is synchronous, the remote database table has been updated but the connection with XI has been disconnected for timeout issue, which lead to unrecoverable data inconsistent problem.
    Anyone who can help me?

  • Output required in MS Excel from Reports Oracle 10g error with built in pac

    Hi All,
    Our requirement is to get matrix report output in MS Excel. For that i found a report online. However, im having issues with Built-in Package OLE2.obj_type.
    Below is the report log file:
    ******* Custom: Version : UNKNOWN
    Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
    XX_MATRIX_REPORT module: XX_MATRIX_REPORT
    Current system time is 10-AUG-2012 17:23:17
    +-----------------------------
    | Starting concurrent program execution...
    +-----------------------------
    APPLLCSP Environment Variable set to :
    Current NLS_LANG and NLS_NUMERIC_CHARACTERS Environment Variables are :
    American_America.UTF8
    Enter Password:
    REP-0736: There exist uncompiled program unit(s).
    REP-0736: There exist uncompiled program unit(s).
    REP-1247: Report contains uncompiled PL/SQL.
    REP-0069: Internal error
    REP-57054: In-process job terminated:Terminated with error:
    REP-1247: There exist uncompiled program unit(s).
    REP-1247: Report contains uncompiled PL/SQL.
    Report Builder: Release 10.1.2.3.0 - Production on Fri Aug 10 17:23:19 2012
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Start of log messages from FND_FILE
    End of log messages from FND_FILE
    Program exited with status 1
    Concurrent Manager encountered an error while running Oracle*Report for your concurrent request 11242010.
    Review your concurrent request log and/or report output file for more detailed information.
    Executing request completion options...
    Output file size:
    0
    Finished executing request completion options.
    Concurrent request completed
    Current system time is 10-AUG-2012 17:23:20
    Please Help!!!

    After Report:
    function AfterReport return boolean is
    begin
    RPT2XLS.release_memory;
    srw.user_exit('FND SRWEXIT');
    srw.message(101,'After Report');
    return (TRUE);
    end;
    RPT2XLS package body:
    PACKAGE BODY RPT2XLS IS
         TYPE ExcelCell IS RECORD(RowNo binary_integer,
                                                                     ColNo binary_integer,
                                                                     Val varchar2(2000),
                                                                     FontName varchar2(20),
                                                                     FontSize binary_integer,
                                                                     FontStyle binary_integer,
                                                                     FontColor binary_integer,
                                                                     BgrColor binary_integer,
                                                                     Format varchar2(60),
                                                                     Align xlHAlign
         TYPE ExcelCells IS TABLE OF ExcelCell;
         Cell ExcelCells := ExcelCells();
         CurrentRow binary_integer := 1;
         PROCEDURE new_line IS
         BEGIN
              CurrentRow := CurrentRow + 1;
         END;
         PROCEDURE put_cell(ColNo binary_integer, CellValue in varchar2,
                                                      FontName in varchar2 DEFAULT null,
                                                      FontSize in binary_integer DEFAULT null,
                                                      FontStyle in binary_integer DEFAULT null,
                                                      FontColor in binary_integer DEFAULT null,
                                                      BgrColor in binary_integer DEFAULT null,
                                                      Format in varchar2 DEFAULT null,
                                                      Align in xlHAlign DEFAULT null
                                                      ) IS
         BEGIN
              Cell.Extend;
              Cell(Cell.Last).RowNo := CurrentRow;
              Cell(Cell.Last).ColNo := ColNo;
              Cell(Cell.Last).Val := CellValue;
              Cell(Cell.Last).FontName := FontName;
              Cell(Cell.Last).FontSize := FontSize;
              Cell(Cell.Last).FontStyle := FontStyle;
              Cell(Cell.Last).FontColor := FontColor;
              Cell(Cell.Last).BgrColor := BgrColor;
              Cell(Cell.Last).Format := Format;
              Cell(Cell.Last).Align := Align;
         END;
    PROCEDURE run IS
              Application OLE2.OBJ_TYPE;
              Workbooks OLE2.OBJ_TYPE;
              Workbook OLE2.OBJ_TYPE;
              Worksheets OLE2.OBJ_TYPE;
              Worksheet OLE2.OBJ_TYPE;
              WorkCell OLE2.OBJ_TYPE;
              WorkColumn OLE2.OBJ_TYPE;
    WorkFont OLE2.OBJ_TYPE;
    WorkInterior OLE2.OBJ_TYPE;
              ArgList OLE2.LIST_TYPE;
         BEGIN
              Application := OLE2.create_obj('Excel.Application');
              OLE2.set_property(Application, 'Visible', 1);
              Workbooks := OLE2.get_obj_property(Application, 'Workbooks');
    Workbook := OLE2.invoke_obj(WorkBooks, 'Add');
              Worksheets := OLE2.get_obj_property(Workbook, 'Worksheets');
              Worksheet := OLE2.get_obj_property(Application, 'ActiveSheet');
              for i in Cell.First .. Cell.Last
              loop
                   if Cell(i).Val is not null then
                        ArgList := OLE2.create_arglist;
                        OLE2.add_arg(ArgList, Cell(i).RowNo);
                        ole2.add_arg(ArgList, Cell(i).ColNo);
                        WorkCell := OLE2.get_obj_property(Worksheet, 'Cells', ArgList);
                        ole2.destroy_arglist(ArgList);
                        ole2.set_property(WorkCell, 'Value', Cell(i).Val);
                        ole2.set_property(WorkCell, 'NumberFormat', Cell(i).Format);
                        if Cell(i).Align is not null then
                             ole2.set_property(WorkCell, 'HorizontalAlignment', Cell(i).Align);
                        end if;
                        WorkFont := OLE2.get_obj_property(WorkCell, 'Font');
                        WorkInterior := ole2.Get_Obj_Property(WorkCell, 'Interior');
                        if Cell(i).FontName is not null then
                             OLE2.set_property(WorkFont, 'Name', Cell(i).FontName);
                        end if;
                        if Cell(i).FontSize is not null then
                             OLE2.set_property(WorkFont, 'Size', Cell(i).FontSize);
                        end if;
                        if mod(Cell(i).FontStyle, 2) = 1 then
                             OLE2.set_property(WorkFont, 'Bold', 1);
                        end if;
                        if mod(Cell(i).FontStyle, 4) > 2 then
                             OLE2.set_property(WorkFont, 'Italic', 1);
                        end if;
                        if mod(Cell(i).FontStyle, 8) > 4 then
                             OLE2.set_property(WorkFont, 'Underline', 2);
                        end if;
                        if Cell(i).FontColor is not null then
                             OLE2.set_property(WorkFont, 'ColorIndex', Cell(i).FontColor);
                        end if;
                        if Cell(i).BgrColor is not null then
                             OLE2.set_property(WorkInterior, 'ColorIndex', Cell(i).BgrColor);
                        end if;
                        OLE2.release_obj(WorkInterior);
                        OLE2.release_obj(WorkFont);
                        OLE2.release_obj(WorkCell);
                   end if;
              end loop;
              ArgList := ole2.create_arglist;
              ole2.add_arg(ArgList, 'A:Z');
              WorkColumn := ole2.Get_Obj_Property(WorkSheet, 'Columns', ArgList);
              ole2.destroy_arglist(ArgList);
              ole2.invoke(WorkColumn, 'AutoFit');
              OLE2.release_obj(WorkColumn);
              OLE2.release_obj(Worksheet);
              OLE2.release_obj(Worksheets);
              OLE2.release_obj(Workbook);
              OLE2.release_obj(Workbooks);
              OLE2.release_obj(Application);
         END;
         PROCEDURE release_memory IS
         BEGIN
              Cell := ExcelCells();
              SYS.DBMS_SESSION.free_unused_user_memory;
         END;
    END;
    We are getting the error in log file Report contains uncompiled PL/SQL.
    due to ole2.obj_type...

  • Sqlj runtime error with oracle 10G in Websphere6 or 5.1

    We are trying to migrate from oracle 9i to 10G and we are compiled all our sqlj code with codegen = -oracle option.(previously we used to use codegen=-jdbc which for some reason doesnot work).it compiles fine with out any erros.. But when we try to run then get this exception.
    java.lang.IllegalArgumentException: SQLJ programs translated with the option -codegen=oracle must be run under Oracle JDBC 9.0.0 or higher. If the Oracle JDBC driver is wrapped, then the wrapper must implement all of the oracle.jdbc.OracleXxxx interfaces. Alternatively, you can translate SQLJ programs either with -codegen=iso. java.lang.IllegalArgumentException: SQLJ programs translated with the option -codegen=oracle must be run under Oracle JDBC 9.0.0 or higher. If the Oracle JDBC driver is wrapped, then the wrapper must implement all of the oracle.jdbc.OracleXxxx interfaces. Alternatively, you can translate SQLJ programs either with -codegen=iso.
    at sqlj.runtime.ref.ConnectionContextImpl.getOracleConnection(ConnectionContextImpl.java:167)
    at sqlj.runtime.ExecutionContext$OracleContext.prepareOracleStatement(ExecutionContext.java:1397)
    We are using ojdbc14.jar that came with oracle 10G.
    Hope any one can give any pointers.

    I'm having same issue - but I'm having it when I try to invoke a method that contains a database Object type from a Tibco Business Works Process called a Java Method.
    How exactly do you do the codegen=iso configuration?
    I've tried:
    1. Project Properties / Compiler SQLJ and then select from Code Generation drop down iso.
    2. From Connections / Database / Navigate to package / right-click / Generate Java / Browse to my custom jpub.properties file where I have tried multiple entries such as (by themselves and in some combination.:
    - jpub.codegen=jdbc
    - jpub.codegen=iso
    - jpub.compatible=9i
    - jpub.compatible=8i
    - compatible=both8i
    - jpub.usertypes=oracle
    - jpub.compatible=customdatum
    - jpub.compatible=sqlj
    I've also played with changing from the default some of the Mapping Options in Connections / Database / Navigate to package / right-click / Generate Java / Mapping Options.
    This doc here, says that code should change (section 6 JPublisher Input Files - based on configuration of Input files)
    Oracle® Database
    JPublisher User's Guide
    10g Release 2 (10.2)
    B14188-01
    No matter what I do, the code that gets generate is the same.
    Also, the documentation talks about running things from the command line but how exactly do you do that? Do I need to be in specific directory? I tried the c:\ C:\jdev\system and c\jdev\ and c:jdev\bin and always get error message: 'jpub' is not recognized as an internal or external command, operable program or batch file.
    I've built a java client in JDeveloper to successfully call the same method and I don't see the error.
    Edited by: disaak on Mar 9, 2010 11:51 AM

  • Terminated with error: REP-300: ORACLE error occurred

    We have OAS 10g on solaris.
    When trying to generate a report we get the error : Terminated with error: REP-300: ORACLE error occurred
    The report has been running fine until yesterday and today we are getting the error. I did not find anything relvant in metalink.
    And no changes have been to the report.
    Can anybody suggest me what to look yet or any possible things that might cause the error. The tracing is not enabled.
    Thanks

    Found out it was a data error.
    thanks

  • Solman installation stuck with error - SLES 10 , Oracle 10.2.0.4

    Hi,
    Solman 7.0 installation with ehp1 installation stuck with error - SLES 10 , Oracle 10.2.0.4
    the error is at the step install DBA tools -> error is 'select status from v$instance did not match /^\s(\S+)\s$S/gNaNOPEN MIGRATE'.)
    Just FYI : we had issue while installing Oracle , we have followed work arround 3 in the SAP Note 980426
    Kindly help to proceed further
    Thanks & regards,
    Prabhakar Reddy.Y.C.

    sapinst.log
    CJS-00084  SQL statement or script failed. DIAGNOSIS: Error message: ORA-01092: ORACLE instance terminated. Disconnection forced
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
    With the Partitioning, Data Mining and Real Application Testing options
    . SOLUTION: For more information, see ora_sql_results.log and the Oracle documentation.
    ERROR 2010-11-21 06:55:22.502
    MUT-03025  Caught ESAPinstException in Modulecall: ORA-01092: ORACLE instance terminated. Disconnection forced
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
    With the Partitioning, Data Mining and Real Application Testing options
    ERROR 2010-11-21 06:55:22.533
    FCO-00011  The step runSapdbaroleSql with step key |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|2|0|NW_CreateDBandLoad|ind|ind|ind|ind|10|0|
    NW_CreateDB|ind|ind|ind|ind|0|0|NW_OraDBCheck|ind|ind|ind|ind|0|0|NW_OraDBMain|ind|ind|ind|ind|0|0|NW_OraDBStd|ind|ind|ind|ind|3|0|NW_OraDbaTools|ind|ind|ind|ind|11|0|
    runSapdbaroleSql was executed with status ERROR ( Last error reported by the step :Caught ESAPinstException in Modulecall: ORA-01092: ORACLE instance terminated. Disconnection forced
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
    With the Partitioning, Data Mining and Real Application Testing options
    Edited by: prabhakaryc on Nov 21, 2010 7:01 AM

  • Info : Oracle Errors with Desc

    Frnds this is the link where u can find all the oracle errors with the cause.
    http://ora-code.com/
    Hope u all find it beneficial.
    ~ VishaL

    Not sure this adds much more to the docs, except Google Ads :P I suppose that once we've got the page up the ability to zip to a message by putting the code in the URL is marginally faster than looking it up in the book...
    Cheers, APC

  • Error with Oracle BI Publisher and Microsoft Excel

    Hi,
    I am using Oracle BI 10.1.3.3.0 in Windows XP. Whenever I am clicking on Login of Oracle BI Publisher Menu of Microsoft Excel, it is throwing me following error
    Error: Could not get server version: Invalid procedure call or argument.
    Everything is fine with MS Word. I have installed Analyzer for Excel Tool provided with th Oracle BI version mentioned above. I am having network installation for MS Office 2003. Can anybody give a solution please.
    Thanks in advance
    Rajith

    Hi,
    I am having the same problem. Any answers?
    Regards.

Maybe you are looking for

  • Connecting a Macbook to a Samsung 5054 Plasma

    Can someone help me out with connecting my Macbook to my Samsung 5054 Plasma. I have the mini dvi to video adapter, but I still don't get a picture? Please help. Thanks so much.

  • Error when moving files between Sharepoint sites using 'content and structure' feature

    Hi, I am using Sharepoint Online 2013 on a mac computer. I am trying to move files between sharepoint sites/libraries but because the "open with explorer" link does not work on mac computers, I need to do so using the 'content and structure' feature.

  • Suppress response in PI 7.0 adapter

    Sigi Hi Forum, we have following situation:             IDOC -> SAP PI <-> WebService The WebService responses back technical status u201Dtrueu201D or u201Cfalseu201D. Because of we have an IDOC initially we resolved that issue with an Async u2013 Sy

  • Standby DB creation internal error - Where do I see the detail ???

    Hi all, I have Win2003 Server runnning Oracle 10.2.0.3. I have been trying to use Grid Control to create a standby database and have been running into some problems during the http transfer of the compressed data files. To get around this I decided t

  • ALV LIST with few checkboxes fields

    Hi everyone, I want to create an ALV with 2 fields that are checkboxes. I am succeeding to create an ALV with one checkbox field. How do we do in order to create an ALV with 2 checkboxes fields using ALV LIST ? I know that we have to specify in the l