Weblogioc.jdbc.db2.DB2Driver

I have weblogic 8.1 on my local machine and When trying to create a connection pool to db2 on z\os. I get the following message :
"The selected database driver is not installed in the classpath. You must install the driver to create a working connection pool".
So I need help on the following:
1. Where can I go find the driver class weblogioc.jdbc.db2.DB2Driver.
2. How to I install it in the classpath.
Looking forward to your replies.
Milenko

for 81sp4 the driver can be found in location http://commerce.bea.com/d2d/wlplat81sp4_db2_patch.jsp
You can download and extract wls81sp4_db2_patch.jar. Set the same in your CLASSPATH. This should help you

Similar Messages

  • Jar for classname:weblogic.jdbc.db2.DB2Driver

    Hi All:
    Does anybody knows what is the jar files that comes with weblogic 8.1 sp5 for the jdbc class name:
    weblogic.jdbc.db2.DB2Driver
    Yours,
    ThankFull

    albert Lam wrote:
    Hi:
    I used the following java classname:weblogic.jdbc.db2.DB2Driver
    url:
    jdbc:bea:db2://development.ammis.db.test.com:446
    in my weblogic connection pool and it works.
    But I am now trying to connect to the db2 database server not from weblogic but from dbVisualer client.
    When using DBVisualar client, I needed to know what is the jar file in C:\bea\weblogic81\server\lib\ THAT CONTAINS THE CLASSNAME:weblogic.jdbc.db2.DB2Driver
    YOURS,
    THANKFULLThat's not supported. We do not provide our drivers for use outside WebLogic.
    Joe

  • Problems with Class.forName("com.sun.sql.jdbc.db2.DB2Driver")

    In sun java studio enterprise 8
    I'm able to connect to my local DB2 sample database by creating a database schema.
    But when I try to execute a java class (main) using
    Class.forName("com.sun.sql.jdbc.db2.DB2Driver"). It returns a not found condition.
    what am I doing wrong? do I have to point the classpath to some directory?

    try to add jar containing driver to
    Your project -> Properties -> Libraries -> Run list.

  • Class not found error for COM.ibm.db2.jdbc.app.DB2Driver

    i have written this code:
    import java.io.*;
    import java.sql.*;
    public class tryjdbc
    {  public static void main (String args[])
    {  try
    {  Class.forName("COM.ibm.db2.jdbc.app.DB2Driver");  }
    catch (java.lang.ClassNotFoundException e)
    {  System.out.print(e.getMessage());  }
    and once i try to run it, it gives out a class not found exception error.
    I haven't changed anything with the classpath since I don't think the problem is with the classpath. I have read in the IBM Developer Kit for Java documentaton that the AS/400 Developer Kit for Java automatically adds the db2_class.jar file to the classpath. So why do I get a class not found exception error?

    I was using Web Spehere 4.0.3 and trying to connect to a database on DB2 7.2. I was just following a tutorial and trying to get a handle on Web Sphere. I am running all of these on a Windows 2000 Operating System. Here are some of my observations :
    a. db2java.zip packaged under %DB2ROOT%\SQLLIB\JAVA, does not work.
    b. CLASSPATH needs to be set to %DB2ROOT%\sqllib\java12\db2java.zip
    c. Include this as one of the packages in the package defined in
    WebSphere, using the Java Perspective.
    d. Ensure that case sensitivity is respected. All though the package
    shows up as COM.ibm.db2.jdbc.app.DB2Driver, for some reason, it
    will only accept com.ibm.db2.jdbc.app.DB2Driver.
    With these settings, I was able to connect to a db2 database.
    I am a little puzzled on the following. I did not include java.io package, but still it could print the messages. Did anybody have a similar experience
    Thanks for this posting.

  • No Suitable Driver Exception and COM.ibm.db2.jdbc.app.DB2Driver

    Greetings,
    I am attempting to connect to a DB2 UDB (6.1) on an AIX (4.x) box from a win95 box and have cobbled some code together to do this. Despite loading and verifying that the driver loads, I get nothing but the SQLException: "No Suitable Driver". My Java code follows for comment. Thanks in advance...
    import java.lang.reflect.*;
    import java.sql.*;
    import java.io.*;
    class db2JDBCtest
    static Driver driver = null;
    static final String url = "jdbc:db2//1xx.x.x4x.xx/";
    public static void main(String args[]) {
    Connection con = null;
    // GET CONNECTION
    try
    driver = (Driver)Class.forName("COM.ibm.db2.jdbc.app.DB2Driver").newInstance();
    System.out.println(driver);
    if (args.length == 3) {
    con = DriverManager.getConnection(url + args[0], args[1], args[2]);
    else{
    System.out.println("\nUsage: java db2JDBCtest [databasealias username password]\n");
    System.exit( - 1 );}
    // GET CONNECTION WARNINGS
    SQLWarning warning = null; {   
    warning = con.getWarnings();
    if (warning == null){
    System.out.println("No Warnings");
    return; }
    while (warning != null) {
    System.out.println("Warning: "+warning);
    warning = warning.getNextWarning();
    // CREATE PREPARED STATEMENT
    PreparedStatement prepstmt;
    prepstmt = con.prepareStatement("select * from MDM.DEALER where 1=0");
    // GET RESULTS !
    ResultSet resultset = prepstmt.executeQuery();
    System.out.println(resultset);
    prepstmt.close();
    catch
    (Exception e){
    System.out.println(e);
    }

    1)IBM document says that you use COM.ibm.jdbc.net.DB2Driver when you use Applets
    2)For applications use COM.ibm.jdbc.app.DB2Driver
    3)Both these files are in db2java.zip file
    4)db2java.zip is the DB2 driver just like classes111.zip is the driver for Oracle
    6)You need to put db2java.zip in your classpath.
    5)If you are using COM.ibm.jdbc.net.DB2Driver and you are getting "COM.ibm.db2.jdbc.DB2Exception: [IBM][JDBC Driver] CLI0616E Error opening socket
    . SQLSTATE=08S01 "
    you need to run "db2jstrt" on the target host(machine running DB2) with the specified port as the parameter
    6)If you are using COM.ibm.jdbc.app.DB2Driver and getting " java.sql.SQLException: No suitable driver ", most probably db2java.zip is not in classpath.
    7)Note : you need to install DB2 client software on the application machine, just putting the zip file does not work.
    8)There is a Java file at IBM that walks you thru the connection.
    ftp://ftp.software.ibm.com/software/websphere/info/tools/jdbctest
    Just download in into the client machine, compile and run it.

  • Cannot load driver COM.ibm.db2.jdbc.app.DB2Driver

    Hi ,
    I need help on this matter and will really appreciate.
    I have installed Jdeveloper 11g and Weblogic 11gR1 on windows. I am trying to configure my weblogic server for JDBC-Datasourse to connect to DB2 and get this error.
    cannot load driver COM.ibm.db2.jdbc.app.DB2Driver
    This is how my classpath and path looks
    classpath :.;C:\Program Files\JDEdwards\BPMBroker\JRE\1.3\lib\ext\QTJava.zip;C:\Program Files\Java\jdk1.6.0_20\lib\tools.jar;C:\Program Files\Java\jdk1.6.0_20\lib\dt.jar;C:\Program Files\Java\jre6\lib\rt.jar;C:\Sun\db2java.zip;C:\Sun\COM\ibm\db2\jdbc\app\DB2Driver.class;C:\Program Files\IBM\WebSphere\AppServer\derby\lib\deprecated\db2jcc.jar;C:\Program Files\IBM\WebSphere\AppServer\derby\lib\deprecated\db2jcc_license_cu.jar;
    path : C:\Program Files\Java\jdk1.6.0_20\bin;C:\Sun\db2java.zip;
    I don't know what to do and everytime i try to test my connection i get this error .
    Please help.
    Thank you

    I added Driver Classname =com.ibm.db2.jcc.DB2Driver
    and now it no longer gives me cannot load driver COM.ibm.db2.jdbc.app.DB2Driver.
    But now i am getting
    Execution failed due to a distribution protocol error that caused deallocation of the conversation. A DRDA Data Stream Syntax Error was detected. Reason: 0x1 DB2ConnectionCorrelator: null
    com.ibm.db2.jcc.b.cb.l(cb.java:1207)
    com.ibm.db2.jcc.b.cb.c(cb.java:357)
    com.ibm.db2.jcc.b.cb.v(cb.java:1440)
    com.ibm.db2.jcc.b.db.a(db.java:42)
    com.ibm.db2.jcc.b.b.e(b.java:1165)
    com.ibm.db2.jcc.b.b.b(b.java:1090)
    com.ibm.db2.jcc.b.b.q(b.java:925)
    com.ibm.db2.jcc.b.b.a(b.java:665)
    com.ibm.db2.jcc.b.b.a(b.java:654)
    com.ibm.db2.jcc.b.b.<init>(b.java:293)
    com.ibm.db2.jcc.DB2Driver.connect(DB2Driver.java:165)
    com.bea.console.utils.jdbc.JDBCUtils.testConnection(JDBCUtils.java:505)
    com.bea.console.actions.jdbc.datasources.createjdbcdatasource.CreateJDBCDataSource.testConnectionConfiguration(CreateJDBCDataSource.java:450)
    sun.reflect.GeneratedMethodAccessor196.invoke(Unknown Source)
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    java.lang.reflect.Method.invoke(Method.java:597)
    org.apache.beehive.netui.pageflow.FlowController.invokeActionMethod(FlowController.java:870)
    org.apache.beehive.netui.pageflow.FlowController.getActionMethodForward(FlowController.java:809)
    org.apache.beehive.netui.pageflow.FlowController.internalExecute(FlowController.java:478)
    org.apache.beehive.netui.pageflow.PageFlowController.internalExecute(PageFlowController.java:306)
    Please help.
    Thanks

  • Applet using COM.ibm.db2.jdbc.app.DB2Driver

    Hi,
    I have an applet that is downloaded from a webserver which then needs to access the local db2java.zip file. It was my understanding if you use the COM.ibm.db2.jdbc.app.DB2Driver it would allow you to access the local copy of that file in your classpath. I also understand that if you use COM.ibm.db2.jdbc.net.DB2Driver you can access the db2java.zip on the server. I unfortunately need to access the local db2java.zip file. I am upgrading from Java 1.2.2 to Java 1.3.1 and it is not allowing this connection. I also changed my java.policy file and have created my own certificate as well, I understand all that.
    Here is the section of my code that fails...
    java.sql.Driver d = (java.sql.Driver) Class.forName(getDriver()).newInstance();
    WHSConnection.con = DriverManager.getConnection(getURL(), getUser(), getPassword());
    WHSConnection.con.setAutoCommit(true);
    System.out.println("Database Connection Successful");
    } catch (java.lang.Throwable except) {
    except.printStackTrace();
    System.out.println("Database Connection Failed");
    Any suggestions would be appreciated. Thanks ~A

    Yes, I forgot to mention that I stopped all DB2 Services and ran the file "runjdbc2.bat"... When I run Java 1.2.2 everything works great. When I run 1.3.1 it attempts to locate the db2java.zip classes on the server and not locally... Here is the error message I receive...
    java.lang.ClassNotFoundException: java.io.FileNotFoundException: http://www.example.com/Java131/COM/ibm/db2/jdbc/app/DB2Driver.class
         at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
         at sun.plugin.protocol.jdk12.http.HttpURLConnection.getInputStream(Unknown Source)
         at sun.net.www.protocol.http.HttpURLConnection.getHeaderField(Unknown Source)
         at sun.plugin.protocol.jdk12.http.HttpURLConnection.checkCookieHeader(Unknown Source)
         at sun.plugin.protocol.jdk12.http.HttpURLConnection.getInputStream(Unknown Source)
         at java.net.HttpURLConnection.getResponseCode(Unknown Source)
         at sun.applet.AppletClassLoader.getBytes(Unknown Source)
         at sun.applet.AppletClassLoader.access$100(Unknown Source)
         at sun.applet.AppletClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.applet.AppletClassLoader.findClass(Unknown Source)
         at sun.plugin.security.PluginClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClassInternal(Unknown Source)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Unknown Source)
         at Serverlet.WHSConnection.getConnection(WHSConnection.java:159)
         at Serverlet.MainApplet.onOk(MainApplet.java:522)
         at Serverlet.MainApplet.connEtoM1(MainApplet.java:60)
         at Serverlet.MainApplet.actionPerformed(MainApplet.java:29)
         at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
         at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
         at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
         at java.awt.Component.processMouseEvent(Unknown Source)
         at java.awt.Component.processEvent(Unknown Source)
         at java.awt.Container.processEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)
    Database Connection Failed

  • DB2 Connection Problem - Can't find - COM.ibm.db2.jdbc.app.DB2Driver

    Hi All,
    when executing an application and attempting to connect to DB2 I get;
    error java.lang.ClassNotFoundException: COM.ibm.db2.jdbc.app.DB2Driver
    I've added the 'db2java.zip' library to the java.conf file (and the native db2 libs) and can make db2 connections using the database connect via the IDE. But not when executing my application - what am I missing.
    TIA
    Bill

    Hi Deepak,
    I added the db2java.zip to the
    project properties/libraries/classpath
    and it works fine. (well my code fails - but that's another problem <g>.)
    Thanks for all your help.
    Bill

  • Jdbc DB2 multiple Connection in CRON

    I need to run a Java app via CRON (SunOS) that copies data from tables in one database and inserts them into identical tables in a second database. The databases are in different instances. For the CRONS I've written that work with one database - I usually set environment vars (DB2INSTANCE, INSTHOME) in the shell script and it finds the database but that doesnt work with two databases in different instances. I thought maybe I could change the connection code to be more specific about where to find the database - but I can't figure out how. Here is the current connection code (it is the same except for dbname, username, password for both databases).
    java.sql.Connection con = null;
    Class.forName("COM.ibm.db2.jdbc.app.DB2Driver");
    con=DriverManager.getConnection("jdbc:db2:dbname","username","passwd");
    con.setAutoCommit(false);
    con.setTransactionIsolation(Connection.TRANSACTION_SERIALIZABLE);
    Is there some way I can specify host and/or port? Please help.
    Thank you in advance
    ...annie

    You might not be able to do that with you jdbc driver.
    If it is possible then you probably need to look into the specifics of how the connection works. Right now you are defining something in the OS (the env vars) that specifies some connection information. You need to figure out how to do that entirely in the connection strings.
    You might search this sight using the key works "connetion-less" and "DB2". That might help. If not then search just for "connection-less" and start looking through IBM docs to see if it is possible.

  • Jdbc.app.DB2Driver ? class not found

    in my code i have a string
    private static String COM_IBM_DB2_JDBC_APP_DB2DRIVER = COM.ibm.db2.jdbc.app.DB2Driver;and my connection code
                                       Connection conn;
                                       Class.forName(COM_IBM_DB2_JDBC_APP_DB2DRIVER).newInstance();
                                       conn = DriverManager.getConnection(JDBC_DB2 + SERVER, USERID, PWD);when i run my code i get this error
    java.lang.ClassNotFoundException: COM.ibm.db2.jdbc.app.DB2DriverClassNotFoundException: COM.ibm.db2.jdbc.app.DB2Driver
         at java.net.URLClassLoader.findClass(URLClassLoader.java:241)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:516)
         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:460)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:448)
         at java.lang.Class.forName0(Native Method)
         at main(testCon.java(Compiled Code))
    i am not sure why i get the error. im my CLASSPATH i have
    C:\SQLLIB\java\db2java.zip;
    where the driver is.
    any suggestions on what else i am missing?? thanks in advance
    annie

    I had the same problem. But I was compiling and running code at command line on Windows XP.
    My db2java.zip was located here C:\Program Files\some_folder\SQLLIB\java\ and jxl.jar was located somewhare else.
    In order to keep all these files in one place, I created a folder "D:/classes" and added db2java.zip and jxl.jar to it.
    Then set the classpath like this set CLASSPATH=D:\classes\jxl.jar;D:\classes\db2java.zip;.
    Now everything works fine. No more class not found errors.

  • JDBC DB2  UPDATE_INSERT Delay

    Hello everybody,
    I have the following asynchronous scenario
    SAP ECC IDOC -> SAP PI 7.11 - > JDBC DB2 Database
    now, I receive ARTMAS Idoc's from ECC and do mapping to create XML Query statements, now mapping is working correclty and UPDATE_INSERT statements also, the problem is that the Adapter Engine sends the statements, the database recieves them and process them in milliseconds each, and when the database finished ,PI keeps waiting for something for 2 minutes and 6 seconds each message, I already did the following:
    1.- Tried Idoc packaging in development in Mapping to send as much statements as I can considering bandwith, but the problem remains.
    2.- I tried sending only one stamente and takes the same time.
    3.- I already disabled in SAP PI the acknowledge for the Idocs and times are the same.
    4.- I already tried the option "Disconnect from database after each message" with this checkbox activated and deactivated, and the times still the same.
    5.- Already tried the Isolation level with all different options and times still the same.
    6.- Pool waiting advanced parameter not defined so it should take the default that is 5 seconds, but I'm not sure that parameter can control that, do you think?
    The readl problem after monitoring both PI and the database is that the database finishes really fast but PI still waits for something I don't know what for more than two minutes for each message, this creates queueing of messages in the Adapter Engine for this interface, cause each message takes this time.
    I thank in advance your attention and recomendations.
    Regards,
    Julio

    PI should be waiting back the response with the count of recordsinserted or updated. and this delay corresponde with the time that DB take to insert or update the fields i think
    see this. i took it from help sap.
    did you configured the response mapping?
    action=UPDATE_INSERT
    The statement has the same format as for the UPDATE action. Initially, the same action is executed as for UPDATE. If no update to the database table can be made for this action (the condition does not apply to any table entry), values of the table described in the <access> element are inserted in accordance with the description of the action INSERT. <key> elements are ignored in this case.
    The response document has the following format; one of the two values is always 0 because either an UPDATE or an INSERT action is always executed:
    <update_count>count</update_count>
    <insert_count>count</insert_count>

  • What's wrong with COM.ibm.db2.jdbc.app.DB2Driver?

    Hello everybody,
    first of all I posted this on
    http://www-105.ibm.com/developerworks/java_df.nsf/AllViewTemplate?OpenForm&RestrictToCategory=33
    so you can check the IBM forum as well, may be some IBM gurus can comment this...
    I'm using the COM.ibm.db2.jdbc.app.Driver shipped with DB2Connect v6.1, v7.1 (tested both on NT and SunOS 5.6, 5.8), the database is DB2 v6, v7 running on an OS390. I am pretty confused:DatabaseMetaData.getProcedureColumns(catalog, schemaPattern, namePattern)cannot handle the namePattern parameter correct. It works only with "", null and "%". Passing any other value results in :COM.ibm.db2.jdbc.DB2Exception: [IBM][CLI Driver][DB2] SQL0206N  "PROCEDURE " ist in dem verwendeten Kontext ung�ltig.  SQLSTATE=42703
         at COM.ibm.db2.jdbc.app.SQLExceptionGenerator.throw_SQLException(SQLExceptionGenerator.java:241)
         at COM.ibm.db2.jdbc.app.SQLExceptionGenerator.throw_SQLException(SQLExceptionGenerator.java:186)
         at COM.ibm.db2.jdbc.app.SQLExceptionGenerator.check_return_code(SQLExceptionGenerator.java:419)
         at COM.ibm.db2.jdbc.app.DB2DatabaseMetaData.getProcedures(DB2DatabaseMetaData.java:1446)I think that even if the pattern doesn't match any procedure the function should return an empty ResultSet. The only "solution" is to scroll all the procedures in the ResultSet until you find the passing ones. Does IBM think this is serious?
    I have dug a bit and found another incompatibitly with the JDBC specification: the names of the result set columns returned by DatabaseMetaData.getProcedureColumns() as returned by the DB2Driver:
    PROCEDURE_CAT
    PROCEDURE_SCHEM
    PROCEDURE_NAME
    COLUMN_NAME
    COLUMN_TYPE
    DATA_TYPE
    TYPE_NAME
    COLUMN_SIZE
    BUFFER_LENGTH
    DECIMAL_DIGITS
    NUM_PREC_RADIX
    NULLABLE
    REMARKS
    Here comes the JDBC specification:
    <quote>
    Each procedure description has the the following columns:
    PROCEDURE_CAT String => procedure catalog (may be null)
    PROCEDURE_SCHEM String => procedure schema (may be null)
    PROCEDURE_NAME String => procedure name
    COLUMN_NAME String => column/parameter name
    COLUMN_TYPE Short => kind of column/parameter:
    procedureColumnUnknown - nobody knows
    procedureColumnIn - IN parameter
    procedureColumnInOut - INOUT parameter
    procedureColumnOut - OUT parameter
    procedureColumnReturn - procedure return value
    procedureColumnResult - result column in ResultSet
    DATA_TYPE short => SQL type from java.sql.Types
    TYPE_NAME String => SQL type name, for a UDT type the type name is fully qualified
    PRECISION int => precision
    LENGTH int => length in bytes of data
    SCALE short => scale
    RADIX short => radix
    NULLABLE short => can it contain NULL.
    procedureNoNulls - does not allow NULL values
    procedureNullable - allows NULL values
    procedureNullableUnknown - nullability unknown
    REMARKS String => comment describing parameter/column </quote>
    I would appreciate your comments.
    Regards,
    Anton Maleev
    IT Consultant, Software Engineer
    Frankfurt, Germany
    mailto: [email protected]

    Futhermore, when you call DatabaseMetaData.getProcedures(catalog, schemaPattern, "%") when you specified schemaPattern it returns all the procedures no mather if the schema matches the pattern...

  • XI adapter polling issue & JDBC  / DB2 driver connection timeout properties

    Hello Group,
    We have a long running issue with our XI 7.0 system running on iseries. (V5R3) The issue occuring is that our XI adapters stop polling and the only resolution is to restart the J2EE engine or to resart the adapter framework services.
    We have had several OSS messages open on this subject for over a year and are going round in circles with the a number of different SAP consultants.
    The one topic that we keep coming back to is that we are being asked to set DB2 driver connection timeout properties. We are using the toolbox driver and have upated to the latest JTopen driver, but have not managed to find any inofrmation on how to set the timeout parameter. Does anyone know where the timeout parameter set?
    Has anyone experienced polling issue like this before and how did you resolve?
    SAP referred to the SAP note 1078420 - XI/PI JDBC Adapter: Setting JDBC driver properties for DB which is for Oracle, but this will give an idea of what timeout parameters SAP are asking about.
    Extract of the note is below:-
    Symptom
    This note gives an option to set JDBC driver properties while acquiring a DB connection. When connecting to DB using JDBC adapter there are instances
    where DB connection take a long time to establish connection. Some times call made to Driver will hang permanently. Setting driver properties would resolve this problem.
    More Terms
    Connection timeout, time out, query timeout
    Cause and Prerequisites
    Solution
    In the advanced mode table section of sender channel and receiver channel configurations, we can set driver properties for each DB connection. Any
    such property would have to contain prefix 'driver:'(with out quotes) For example, for Oracle Database JDBC thin driver 10.2.0.3 version, the
    property oracle.jdbc.ReadTimeout helps to set read timeout while reading from the socket. Also for setting login time out in Oracle, we use
    oracle.net.CONNECT_TIMEOUT. To set these two properties use as follows:
    driver:oracle.jdbc.ReadTimeout 1000
    driver:oracle.net.CONNECT_TIMEOUT 1000
    (The TimeOut Driver properties like ReadTimeout and CONNECT_TIMEOUT are in milliseconds)
    Refer to your DB documentation/ JDBC driver documentation on this. Please note that properties can vary from each driver version. For instance, some
    of properties of Oracle JDBC thin Driver 10.2.0.3 properties may not be present in older version drivers. Please contact DB vendor for the complete
    list of driver properties. In addition to above, we also provide another parameter for query time out.
    sqlquerytimeout (prefix 'driver:' is not required) is the parameter that is to be used for SQL query time out. This is case-sensitive and should be
    configured as positive integer value in seconds(greater than 0).
    Any help on this would be much appreciated.
    With regards,
    Steven

    Hello,
    I am not talking about the XI timeouts. But the timeouts which can be used to get the connection timeouts for DB2/AS400 databases.
    So please provide that information.
    THanks,
    soorya

  • JDBC, DB2 advantage

    we have an application that uses some standalone tables. For one transaction, we access around 9 tables. Right now we use stand alone flat files. we update the tables very occasionally. I was just wondering whether it is good to use Database ( DB2) ..performance wise when compared to flat files since we only retrieve the table.
    for flat files we load all the tables on to the memory and each table is small ( 6 columns and 250 rows)
    if we use database, does it consume more memory since we have to use connection and it does take some time and memory to connect and retrieve the table.
    which one you think will be more effiecient
    please advise....Thanks

    we have an application that uses some standalone
    tables. For one transaction, we access around 9
    tables. Right now we use stand alone flat files. we
    update the tables very occasionally. I was just
    wondering whether it is good to use Database ( DB2)
    ..performance wise when compared to flat files since
    we only retrieve the table.
    for flat files we load all the tables on to the memory
    and each table is small ( 6 columns and 250 rows)
    if we use database, does it consume more memory since
    we have to use connection and it does take some time
    and memory to connect and retrieve the table.
    which one you think will be more effiecient
    please advise....ThanksWell database is always better than flat files whether the size is small or big. For flat file u cant have relations between tables which plays an important role in db mangement, aprt from that the various constraints cannot be done using flat file.
    Using jdbc odbc connection time and memory will not be affected since it doenst load all the database to the memory as a flat file does.
    This is just a small overwiew of how db is efficient fast and reliable over flat files.

  • R3(Idoc) - XI -JDBC,DB2 / File

    My Scenario is to get Idoc from R3 and based on a value in the payload I need to query DB2 Database on AS400/DB2 system before sending all these details to File System. Can someone please explain me steps involved to complete this scenario.
    Thanks a lot.

    Hi Ram,
    After calling DB2, do you need to get any data from the DB2 and then send it to File ? Is this is the Requirement?
    Then you can go with BPM and like this
    <i>Recieve the Idoc Message
    Send the Query to the DB2 sycnrnously
    After receiving the Response send the message into File system.</i>
    the bpm flow will be something/similar like this-
    /people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit
    Regards,
    Moorthy

Maybe you are looking for

  • FTP Adapter errors out while writing a file

    Hi , I am facing this problem while using FTP adapter tries to write a file on a specific remote machine.The Adapter throws this following error: Missing class: oracle.tip.adapter.api.TranslationAware      Dependent class: oracle.tip.adapter.file.out

  • Display part of an image in a box

    I have a script that places several images in boxes using script labels.  I use the command, "fit myrect3 given content to frame" and that works great for all images but one.  One image is larger than the box and I only want to show a portion of the

  • A session saver for Preview.app

    Hi, I was wondering if there was a plugin for Preview/ program that would save the session of open pdf files when Preview was last closed. I use such a feature for Safari and Firefox, a session saver that reloads tabs that were present the last time.

  • Appropriate use of JProgressBar

    /* Is this the correct way of using a JProgressBar, this is my first time using this class. Please give your comments and correct me. By the way, can you tell me when to use this method, addChangeListener(ChangeListener l). Is it possible for me to u

  • Learn Xi

    Hi folks, I am new to SAP, my back ground is mainly integration, I was wondering how I can in to learning XI and get certified.  It appears there are a lot of eClasses and eBooks on SDN, any pointers are welcome. Thanks - Sairam