DB2 driver version clash

Hello,
  I have two db2 db with different versions (7.1 and 8.1), I can only access a db2 db with driver of it's own version. I can't put both versions in XI. How do I solve this.
Regards,
Sanjay

hi Sanjay,
Normally, when you install the drivers for the latest release of any database, it is always compatible with the earlier versions.
Atleast, that is how it is in the case of oracle, where ojdbc14.jar is used to access Oracle 9i and it is compatible with clases12.zip (for earlier versions of Oracle) also.
I would suggest that you deploy the driver for DB2 8.1 and use it to access DB2 7.1. It might/ should work
Regards,
Bhavesh

Similar Messages

  • EXCEPTION_ACCESS_VIOLATION when loading DB2 driver

    Hi,
    I'm currently developing an executable jar application. I've got a problem in connecting to the DB2 server after packaging the application into a jar file. Below is the error that I encountered:
    # An unexpected error has been detected by HotSpot Virtual Machine:
    #  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d6c9a1f, pid=2296, tid=2260
    # Java VM: Java HotSpot(TM) Client VM (1.5.0_05-b05 mixed mode, sharing)
    # Problematic frame:
    # V  [jvm.dll+0x89a1f]
    # An error report file with more information is saved as hs_err_pid2296.log
    # If you would like to submit a bug report, please visit:
    #   http://java.sun.com/webapps/bugreport/crash.jsp
    #And here's the detailed log:
    ---------------  T H R E A D  ---------------
    Current thread (0x02cc7e00):  JavaThread "AWT-EventQueue-0" [_thread_in_vm, id=2260]
    siginfo: ExceptionCode=0xc0000005, reading address 0x00000000
    Registers:
    EAX=0x00000000, EBX=0x00000000, ECX=0x02d12fe8, EDX=0x00ac2d60
    ESP=0x0742f090, EBP=0x0742f0c0, ESI=0x02cc7e00, EDI=0x00ac2d58
    EIP=0x6d6c9a1f, EFLAGS=0x00010206
    Top of Stack: (sp=0x0742f090)
    0x0742f090:   02cc7ebc 02cc7ebc 26b15cf0 02cc7ebc
    0x0742f0a0:   02cc7ebc 6d68086a 6d64aa71 02cc7e00
    0x0742f0b0:   0742f0e0 6d6c62ad 02cc7e00 00ac2d58
    0x0742f0c0:   0742f0e0 1000a647 02cc7ebc 00000000
    0x0742f0d0:   100130c8 00ac2d5c 02cc7e00 26b15cf0
    0x0742f0e0:   0742f100 100039b0 02cc7ebc 00000000
    0x0742f0f0:   00000000 00000000 02cc7e00 26b15cf0
    0x0742f100:   0742f130 00ad826f 02cc7ebc 0742f144
    Instructions: (pc=0x6d6c9a1f)
    0x6d6c9a0f:   a9 00 00 00 39 5d 14 0f 84 a0 00 00 00 8b 45 0c
    0x6d6c9a1f:   ff 30 e8 2a 97 ff ff 59 50 56 8d 4d 08 e8 da c3
    Stack: [0x073f0000,0x07430000),  sp=0x0742f090,  free space=252k
    Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
    V  [jvm.dll+0x89a1f]
    C  [db2jdbc.dll+0xa647]
    C  [db2jdbc.dll+0x39b0]
    j  COM.ibm.db2.jdbc.app.DB2Driver.SQLAllocEnv([I)I+0
    j  COM.ibm.db2.jdbc.app.DB2Driver.<init>()V+628
    j  COM.ibm.db2.jdbc.app.DB2Driver.<clinit>()V+27
    v  ~StubRoutines::call_stub
    V  [jvm.dll+0x8295c]
    V  [jvm.dll+0xd752e]
    V  [jvm.dll+0x8282d]
    V  [jvm.dll+0x75a9c]
    V  [jvm.dll+0x7499d]
    V  [jvm.dll+0x9ff40]
    V  [jvm.dll+0x99269]
    C  [java.dll+0x13d8]
    j  java.lang.Class.forName0(Ljava/lang/String;ZLjava/lang/ClassLoader;)Ljava/lang/Class;+0
    j  java.lang.Class.forName(Ljava/lang/String;)Ljava/lang/Class;+5
    j  ort.cip.client.DB2Connection.connect_query(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;[Z)Lcom/jrefinery/data/XYDataset;+19
    j  ort.cip.client.ORT_Charting_Main.jButton1_ActionEvents()V+369
    j  ort.cip.client.ORT_Charting_Main.connEtoC2()V+1
    j  ort.cip.client.ORT_Charting_Main.access$5(Lort/cip/client/ORT_Charting_Main;)V+1
    j  ort.cip.client.ORT_Charting_Main$IvjEventHandler.actionPerformed(Ljava/awt/event/ActionEvent;)V+62
    j  javax.swing.AbstractButton.fireActionPerformed(Ljava/awt/event/ActionEvent;)V+84
    j  javax.swing.AbstractButton$Handler.actionPerformed(Ljava/awt/event/ActionEvent;)V+5
    j  javax.swing.DefaultButtonModel.fireActionPerformed(Ljava/awt/event/ActionEvent;)V+35
    j  javax.swing.DefaultButtonModel.setPressed(Z)V+117
    j  javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Ljava/awt/event/MouseEvent;)V+35
    j  java.awt.Component.processMouseEvent(Ljava/awt/event/MouseEvent;)V+64
    j  javax.swing.JComponent.processMouseEvent(Ljava/awt/event/MouseEvent;)V+23
    j  java.awt.Component.processEvent(Ljava/awt/AWTEvent;)V+81
    j  java.awt.Container.processEvent(Ljava/awt/AWTEvent;)V+18
    j  java.awt.Component.dispatchEventImpl(Ljava/awt/AWTEvent;)V+477
    j  java.awt.Container.dispatchEventImpl(Ljava/awt/AWTEvent;)V+42
    j  java.awt.Component.dispatchEvent(Ljava/awt/AWTEvent;)V+2
    j  java.awt.LightweightDispatcher.retargetMouseEvent(Ljava/awt/Component;ILjava/awt/event/MouseEvent;)V+304
    j  java.awt.LightweightDispatcher.processMouseEvent(Ljava/awt/event/MouseEvent;)Z+139
    j  java.awt.LightweightDispatcher.dispatchEvent(Ljava/awt/AWTEvent;)Z+50
    j  java.awt.Container.dispatchEventImpl(Ljava/awt/AWTEvent;)V+12
    j  java.awt.Window.dispatchEventImpl(Ljava/awt/AWTEvent;)V+19
    j  java.awt.Component.dispatchEvent(Ljava/awt/AWTEvent;)V+2
    j  java.awt.EventQueue.dispatchEvent(Ljava/awt/AWTEvent;)V+46
    j  java.awt.EventDispatchThread.pumpOneEventForHierarchy(ILjava/awt/Component;)Z+233
    j  java.awt.EventDispatchThread.pumpEventsForHierarchy(ILjava/awt/Conditional;Ljava/awt/Component;)V+26
    j  java.awt.EventDispatchThread.pumpEvents(ILjava/awt/Conditional;)V+4
    j  java.awt.EventDispatchThread.pumpEvents(Ljava/awt/Conditional;)V+3
    j  java.awt.EventDispatchThread.run()V+9
    v  ~StubRoutines::call_stub
    V  [jvm.dll+0x8295c]
    V  [jvm.dll+0xd752e]
    V  [jvm.dll+0x8282d]
    V  [jvm.dll+0x8258a]
    V  [jvm.dll+0x9d476]
    V  [jvm.dll+0x1042ae]
    V  [jvm.dll+0x10427c]
    C  [MSVCRT.dll+0x2a3b0]
    C  [kernel32.dll+0xb50b]
    Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
    j  COM.ibm.db2.jdbc.app.DB2Driver.SQLAllocEnv([I)I+0
    j  COM.ibm.db2.jdbc.app.DB2Driver.<init>()V+628
    j  COM.ibm.db2.jdbc.app.DB2Driver.<clinit>()V+27
    v  ~StubRoutines::call_stub
    j  java.lang.Class.forName0(Ljava/lang/String;ZLjava/lang/ClassLoader;)Ljava/lang/Class;+0
    j  java.lang.Class.forName(Ljava/lang/String;)Ljava/lang/Class;+5
    j  ort.cip.client.DB2Connection.connect_query(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;[Z)Lcom/jrefinery/data/XYDataset;+19
    j  ort.cip.client.ORT_Charting_Main.jButton1_ActionEvents()V+369
    j  ort.cip.client.ORT_Charting_Main.connEtoC2()V+1
    j  ort.cip.client.ORT_Charting_Main.access$5(Lort/cip/client/ORT_Charting_Main;)V+1
    j  ort.cip.client.ORT_Charting_Main$IvjEventHandler.actionPerformed(Ljava/awt/event/ActionEvent;)V+62
    j  javax.swing.AbstractButton.fireActionPerformed(Ljava/awt/event/ActionEvent;)V+84
    j  javax.swing.AbstractButton$Handler.actionPerformed(Ljava/awt/event/ActionEvent;)V+5
    j  javax.swing.DefaultButtonModel.fireActionPerformed(Ljava/awt/event/ActionEvent;)V+35
    j  javax.swing.DefaultButtonModel.setPressed(Z)V+117
    j  javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Ljava/awt/event/MouseEvent;)V+35
    j  java.awt.Component.processMouseEvent(Ljava/awt/event/MouseEvent;)V+64
    j  javax.swing.JComponent.processMouseEvent(Ljava/awt/event/MouseEvent;)V+23
    j  java.awt.Component.processEvent(Ljava/awt/AWTEvent;)V+81
    j  java.awt.Container.processEvent(Ljava/awt/AWTEvent;)V+18
    j  java.awt.Component.dispatchEventImpl(Ljava/awt/AWTEvent;)V+477
    j  java.awt.Container.dispatchEventImpl(Ljava/awt/AWTEvent;)V+42
    j  java.awt.Component.dispatchEvent(Ljava/awt/AWTEvent;)V+2
    j  java.awt.LightweightDispatcher.retargetMouseEvent(Ljava/awt/Component;ILjava/awt/event/MouseEvent;)V+304
    j  java.awt.LightweightDispatcher.processMouseEvent(Ljava/awt/event/MouseEvent;)Z+139
    j  java.awt.LightweightDispatcher.dispatchEvent(Ljava/awt/AWTEvent;)Z+50
    j  java.awt.Container.dispatchEventImpl(Ljava/awt/AWTEvent;)V+12
    j  java.awt.Window.dispatchEventImpl(Ljava/awt/AWTEvent;)V+19
    j  java.awt.Component.dispatchEvent(Ljava/awt/AWTEvent;)V+2
    j  java.awt.EventQueue.dispatchEvent(Ljava/awt/AWTEvent;)V+46
    j  java.awt.EventDispatchThread.pumpOneEventForHierarchy(ILjava/awt/Component;)Z+233
    j  java.awt.EventDispatchThread.pumpEventsForHierarchy(ILjava/awt/Conditional;Ljava/awt/Component;)V+26
    j  java.awt.EventDispatchThread.pumpEvents(ILjava/awt/Conditional;)V+4
    j  java.awt.EventDispatchThread.pumpEvents(Ljava/awt/Conditional;)V+3
    j  java.awt.EventDispatchThread.run()V+9
    v  ~StubRoutines::call_stub
    ---------------  P R O C E S S  ---------------
    Java Threads: ( => current thread )
      0x000352e8 JavaThread "DestroyJavaVM" [_thread_blocked, id=832]
    =>0x02cc7e00 JavaThread "AWT-EventQueue-0" [_thread_in_vm, id=2260]
      0x02cc4618 JavaThread "AWT-Shutdown" [_thread_blocked, id=848]
      0x00aa1a38 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=3720]
      0x02cac008 JavaThread "AWT-Windows" daemon [_thread_in_native, id=3756]
      0x00a699f0 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=4020]
      0x00a685c8 JavaThread "CompilerThread0" daemon [_thread_blocked, id=3556]
      0x00a67860 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=880]
      0x00a62ad0 JavaThread "Finalizer" daemon [_thread_blocked, id=2364]
      0x00a615f0 JavaThread "Reference Handler" daemon [_thread_blocked, id=2796]
    Other Threads:
      0x00a5ed50 VMThread [id=2656]
      0x00a677a0 WatcherThread [id=3492]
    VM state:not at safepoint (normal execution)
    VM Mutex/Monitor currently owned by a thread: None
    Heap
    def new generation   total 576K, used 292K [0x22a80000, 0x22b20000, 0x22f60000)
      eden space 512K,  44% used [0x22a80000, 0x22ab9540, 0x22b00000)
      from space 64K,  99% used [0x22b00000, 0x22b0fd78, 0x22b10000)
      to   space 64K,   0% used [0x22b10000, 0x22b10000, 0x22b20000)
    tenured generation   total 1408K, used 1304K [0x22f60000, 0x230c0000, 0x26a80000)
       the space 1408K,  92% used [0x22f60000, 0x230a6278, 0x230a6400, 0x230c0000)
    compacting perm gen  total 8192K, used 640K [0x26a80000, 0x27280000, 0x2aa80000)
       the space 8192K,   7% used [0x26a80000, 0x26b20080, 0x26b20200, 0x27280000)
        ro space 8192K,  62% used [0x2aa80000, 0x2af8a3a0, 0x2af8a400, 0x2b280000)
        rw space 12288K,  46% used [0x2b280000, 0x2b8103d8, 0x2b810400, 0x2be80000)
    Dynamic libraries:
    0x00400000 - 0x0040c000      C:\WINDOWS\system32\java.exe
    0x7c900000 - 0x7c9b0000      C:\WINDOWS\system32\ntdll.dll
    0x7c800000 - 0x7c8f4000      C:\WINDOWS\system32\kernel32.dll
    0x77dd0000 - 0x77e6b000      C:\WINDOWS\system32\ADVAPI32.dll
    0x77e70000 - 0x77f01000      C:\WINDOWS\system32\RPCRT4.dll
    0x77c10000 - 0x77c68000      C:\WINDOWS\system32\MSVCRT.dll
    0x6d640000 - 0x6d7cc000      C:\Program Files\Java\jre1.5.0_05\bin\client\jvm.dll
    0x77d40000 - 0x77dd0000      C:\WINDOWS\system32\USER32.dll
    0x77f10000 - 0x77f56000      C:\WINDOWS\system32\GDI32.dll
    0x76b40000 - 0x76b6d000      C:\WINDOWS\system32\WINMM.dll
    0x6d280000 - 0x6d288000      C:\Program Files\Java\jre1.5.0_05\bin\hpi.dll
    0x76bf0000 - 0x76bfb000      C:\WINDOWS\system32\PSAPI.DLL
    0x6d610000 - 0x6d61c000      C:\Program Files\Java\jre1.5.0_05\bin\verify.dll
    0x6d300000 - 0x6d31d000      C:\Program Files\Java\jre1.5.0_05\bin\java.dll
    0x6d630000 - 0x6d63f000      C:\Program Files\Java\jre1.5.0_05\bin\zip.dll
    0x6d000000 - 0x6d167000      C:\Program Files\Java\jre1.5.0_05\bin\awt.dll
    0x73000000 - 0x73026000      C:\WINDOWS\system32\WINSPOOL.DRV
    0x76390000 - 0x763ad000      C:\WINDOWS\system32\IMM32.dll
    0x774e0000 - 0x7761d000      C:\WINDOWS\system32\ole32.dll
    0x5ad70000 - 0x5ada8000      C:\WINDOWS\system32\UxTheme.dll
    0x73760000 - 0x737a9000      C:\WINDOWS\system32\ddraw.dll
    0x73bc0000 - 0x73bc6000      C:\WINDOWS\system32\DCIMAN32.dll
    0x73940000 - 0x73a10000      C:\WINDOWS\system32\D3DIM700.DLL
    0x63000000 - 0x63014000      C:\WINDOWS\system32\SynTPFcs.dll
    0x77c00000 - 0x77c08000      C:\WINDOWS\system32\VERSION.dll
    0x7c9c0000 - 0x7d1d5000      C:\WINDOWS\system32\shell32.dll
    0x77f60000 - 0x77fd6000      C:\WINDOWS\system32\SHLWAPI.dll
    0x773d0000 - 0x774d2000      C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2180_x-ww_a84f1ff9\comctl32.dll
    0x5d090000 - 0x5d127000      C:\WINDOWS\system32\comctl32.dll
    0x6d240000 - 0x6d27d000      C:\Program Files\Java\jre1.5.0_05\bin\fontmanager.dll
    0x6d4c0000 - 0x6d4d3000      C:\Program Files\Java\jre1.5.0_05\bin\net.dll
    0x71ab0000 - 0x71ac7000      C:\WINDOWS\system32\WS2_32.dll
    0x71aa0000 - 0x71aa8000      C:\WINDOWS\system32\WS2HELP.dll
    0x6d4e0000 - 0x6d4e9000      C:\Program Files\Java\jre1.5.0_05\bin\nio.dll
    0x10000000 - 0x10016000      C:\Program Files\SQLLIB\bin\db2jdbc.dll
    0x6c000000 - 0x6c236000      C:\PROGRA~1\SQLLIB\BIN\DB2CLI.dll
    0x6c770000 - 0x6ca25000      C:\PROGRA~1\SQLLIB\BIN\DB2SYS.dll
    0x6e260000 - 0x6e26b000      C:\PROGRA~1\SQLLIB\BIN\DB2WINT.dll
    0x07430000 - 0x07445000      C:\PROGRA~1\SQLLIB\BIN\DB2SYSP.dll
    0x6c240000 - 0x6c4e1000      C:\PROGRA~1\SQLLIB\BIN\DB2APP.dll
    0x6c620000 - 0x6c738000      C:\PROGRA~1\SQLLIB\BIN\DB2UTIL.dll
    0x6c4f0000 - 0x6c529000      C:\PROGRA~1\SQLLIB\BIN\DB2ABIND.dll
    0x07450000 - 0x07580000      C:\PROGRA~1\SQLLIB\BIN\db2osse.dll
    0x77120000 - 0x771ac000      C:\WINDOWS\system32\OLEAUT32.dll
    0x5b860000 - 0x5b8b4000      C:\WINDOWS\system32\NETAPI32.dll
    0x07580000 - 0x0758c000      C:\PROGRA~1\SQLLIB\BIN\db2locale.dll
    0x07590000 - 0x075c8000      C:\PROGRA~1\SQLLIB\BIN\db2trcapi.dll
    VM Arguments:
    java_command: Charting.jar
    Environment Variables:
    CLASSPATH=.;C:\PROGRA~1\SQLLIB\java\db2java.zip;C:\PROGRA~1\SQLLIB\java\db2jcc.jar;C:\PROGRA~1\SQLLIB\java\sqlj.zip;C:\PROGRA~1\SQLLIB\bin;C:\PROGRA~1\SQLLIB\java\common.jar
    PATH=C:\PROGRAM FILES\THINKPAD\UTILITIES;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\ATI Technologies\ATI Control Panel;C:\WINDOWS\Downloaded Program Files;C:\IBMTOOLS\Python22;C:\Program Files\PC-Doctor for Windows\services;C:\Program Files\IBM\Trace Facility;C:\Program Files\Personal Communications;C:\IMNnq_NT;C:\PROGRA~1\Tcl\bin;C:\PROGRA~1\SQLLIB\BIN;C:\PROGRA~1\SQLLIB\FUNCTION;C:\j2sdk1.4.2_10\bin;C:\Program Files\MySQL\MySQL Server 5.0\bin;C:\CMVC\exe;C:\CMVC\exe\bin;C:\CMVC\bin
    USERNAME=nugraha
    OS=Windows_NT
    PROCESSOR_IDENTIFIER=x86 Family 6 Model 13 Stepping 6, GenuineIntel
    ---------------  S Y S T E M  ---------------
    OS: Windows XP Build 2600 Service Pack 2
    CPU:total 1 family 6, cmov, cx8, fxsr, mmx, sse, sse2
    Memory: 4k page, physical 261040k(31956k free), swap 639216k(137944k free)
    vm_info: Java HotSpot(TM) Client VM (1.5.0_05-b05) for windows-x86, built on Aug 26 2005 15:36:02 by "java_re" with MS VC++ 6.0I found out that this error came out when the following part of the code was executed (see the one in bold):
    public static com.jrefinery.data.XYDataset connect_query(
        java.lang.String drive_SN,
        java.lang.String start_Date,
        java.lang.String end_Date,
        boolean[] checkBox_group) {
        TimeSeriesCollection collection = new TimeSeriesCollection();
        BasicTimeSeries[] param_value;
        try {
            // load the DB2 Driver
    Class.forName("COM.ibm.db2.jdbc.app.DB2Driver");
            // establish a connection to DB2
               Connection db2Conn = DriverManager.getConnection("jdbc:db2:FOXDBS_S","myID","mypass");    
            // use a statement to gather data from the database
            Statement st = db2Conn.createStatement();
            String myQuery = info_query;
            // execute the query
            ResultSet resultSet = st.executeQuery(myQuery);
            // clean up resources
            resultSet.close();
            st.close();
            db2Conn.close();
        } catch (ClassNotFoundException cnfe) {
            cnfe.printStackTrace();
        } catch (SQLException sqle) {
            sqle.printStackTrace();
        XYDataset data = collection;
        return data;
    }This code actually worked fine when I ran it from VisualAge for Java environment.
    I'm currently using J2SDK version 1.4.2_10 and J2RE version 1.4.2_10.
    Appreciate any help that you all can suggest. I've been looking for this error on the web. Seems like this has been a known and common problem but I couldn't find the working answer so far. Thank you in advance for any help.
    Chris

    Hi Russel,
    Thanks for the reply. I've executed the jar file using the -Xcheck:jni as follows:
    java -jar -Xcheck:jni Charting.jarand when I executed the function here's what appeared on the screen:
    FATAL ERROR in native method: JNI call made with exception pending
            at COM.ibm.db2.jdbc.app.DB2Driver.SQLAllocEnv(Native Method)
            at COM.ibm.db2.jdbc.app.DB2Driver.<init>(Unknown Source)
            at COM.ibm.db2.jdbc.app.DB2Driver.<clinit>(Unknown Source)
            at java.lang.Class.forName0(Native Method)
            at java.lang.Class.forName(Unknown Source)
            at ort.cip.client.DB2Connection.connect_query(DB2Connection.java:45)
            at ort.cip.client.ORT_Charting_Main.jButton1_ActionEvents(ORT_Charting_M
    ain.java:3159)
            at ort.cip.client.ORT_Charting_Main.connEtoC2(ORT_Charting_Main.java:244
            at ort.cip.client.ORT_Charting_Main.access$5(ORT_Charting_Main.java:240)
            at ort.cip.client.ORT_Charting_Main$IvjEventHandler.actionPerformed(ORT_
    Charting_Main.java:187)
            at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
            at javax.swing.AbstractButton$Handler.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 Sour
    ce)
            at java.awt.Component.processMouseEvent(Unknown Source)
            at javax.swing.JComponent.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.Window.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.pumpEvents(Unknown Source)
            at java.awt.EventDispatchThread.run(Unknown Source)I recognized that the error appeared during the execution of function "forName(driver)", which is exactly what I predicted before. Strange that this function worked well when executed from the development software (before packaging it into jar file). Is there a difference in the way the program works as executable jar file and as the file in the development sofware?
    And regarding the JDBC driver, I did try another driver, which was the JDBC type 2 and 4 driver. But when I ran the application, there's an error saying that the DB2 server does not support type 2 or 4 JDBC driver. Seems like I have no other choice but to use this driver.
    Do you have any suggestion on how to make the driver work as an executable Jar file? Meanwhile, I'll try to report the bug for this driver. Thanks....

  • Bea type 4 db2 driver-stored procedure error

    Iam creating a connection pool in weblogic 9.2 MP2
    using bea type 4 db2 driver and excuting a stored procedure.Iam getting following error
    I enabled spy
    spy(2008/02/13 09:41:58.050)>> Driver Name = DB2
    spy(2008/02/13 09:41:58.050)>> Driver Version = 3.60.24 (023731.010811.022315)
    spy(2008/02/13 09:41:58.050)>> Database Name = DB2/MVS
    spy(2008/02/13 09:41:58.050)>> Database Version = 8.1.5
    spy(2008/02/13 09:44:11.063)>> java.sql.SQLException: [BEA][DB2 JDBC Driver][DB2]UNACCEPTABLE SQL STATEMENT ErrorCode=-84 SQL
    State=42612
    The code is using
    CALL SP03 (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
    as follows
    String sql = "CALL SP03 (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)";
    myCallableStmt = con.prepareCall(sql);
    is ther are any issues in calling stored procedure with type 4 bea db2 driver.
    connectrion pool details
    jdbc:bea:db2://server:447
    weblogic.jdbc.db2.DB2Driver
    user=user
    LocationName=server
    portNumber=447
    serverName=host
    batchPerformanceWorkaround=true
    The code is working fine with type 2 ibm driver connection pool
    Also Iam trying with ibm type 4 driver
    Iam getting following error in configuration itself
    <Feb 13, 2008 11:18:44 AM EST> <Error> <JDBC> <BEA-001112> <Test "SELECT COUNT(*) FROM
    abc.xy_def" set up for pool "DataSourceIBM" failed with exception: "com.ibm.db2.jcc.a.SqlException: DB2 SQL error: SQLCODE: -725,
    SQLSTATE: 42721, SQLERRMC: CLIENT APPLNAME;server".>
    details
    jdbc:db2://mvsavt1_vipa.corpny.csfb.com:447/server
    com.ibm.db2.jcc.DB2Driver
    user=user
    locationName=server
    portNumber=450
    drivertype=4
    Any configuration required at db2 server

    Ok, Odd. Please email this post (the code below) and the
    output of each to [email protected] and ask them to investigate
    why one driver finds the procedure and the other doesn't.
    This will get back to me officially, and then I will be able
    to enlist all the resources to debug it. Is the stored
    procedure owned by the same schema as your 'user'?
    Mohamed Rabbani P M wrote:
    Joe,
    It is the same code you gave
    BEA Driver Code
    import java.io.*;
    import java.util.*;
    import java.net.*;
    import java.sql.*;
    import weblogic.common.*;
    public class dddb2
    public static void main(String argv[])
    throws Exception
    Connection c = null;
    try
    java.util.Properties props = new java.util.Properties();
    Driver d = (Driver)Class.forName("weblogic.jdbc.db2.DB2Driver").newInstance();
    props.put("user", "user");
    props.put("password", "password");
    props.put("locationName", "dbserver");
    String URL = "jdbc:bea:db2://dbhost:447";
    c = d.connect(URL, props);
    DatabaseMetaData dm = c.getMetaData();
    System.out.println(dm.getDriverVersion());
    System.out.println("Database version is " + dm.getDatabaseProductVersion() );
    CallableStatement p = c.prepareCall("{ CALL SP03 (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) }");
    p.setInt(1,1234);
    p.setString(2,"XYZ");
    p.setString(3,"XYZ");
    p.setInt(5,1234);
    p.setString(6,"");
    p.setString(7,"XYZ");
    p.setString(9,"XYZ");
    p.setString(12,"XYZ");
    p.registerOutParameter(4,Types.INTEGER);
    p.registerOutParameter(8,Types.INTEGER);
    p.registerOutParameter(10,Types.INTEGER);
    p.registerOutParameter(11,Types.INTEGER);
    p.registerOutParameter(13,Types.INTEGER);
    p.setFetchSize(3);
    p.execute();
    catch (Exception e)
    { e.printStackTrace(); }
    finally
    { try {c.close();}catch (Exception e){} }
    IBM Driver Code
    import java.io.*;
    import java.util.*;
    import java.net.*;
    import java.sql.*;
    import weblogic.common.*;
    public class dddb2ibm
    public static void main(String argv[])
    throws Exception
    Connection c = null;
    try
    java.util.Properties props = new java.util.Properties();
    Driver d = (Driver)Class.forName("com.ibm.db2.jcc.DB2Driver").newInstance();
    props.put("user", "user");
    props.put("password", "password");
    //props.put("databaseName", "dbserver");
    String URL = "jdbc:db2://dbhost:447/dbserver";
    c = d.connect(URL, props);
    DatabaseMetaData dm = c.getMetaData();
    System.out.println(dm.getDriverVersion());
    System.out.println("Database version is " + dm.getDatabaseProductVersion() );
    CallableStatement p = c.prepareCall("{ CALL SP03 (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) }");
    p.setInt(1,1234);
    p.setString(2,"XYZ");
    p.setString(3,"XYZ");
    p.setInt(5,1234);
    p.setString(6,"");
    p.setString(7,"XYZ");
    p.setString(9,"XYZ");
    p.setString(12,"XYZ");
    p.registerOutParameter(4,Types.INTEGER);
    p.registerOutParameter(8,Types.INTEGER);
    p.registerOutParameter(10,Types.INTEGER);
    p.registerOutParameter(11,Types.INTEGER);
    p.registerOutParameter(13,Types.INTEGER);
    p.setFetchSize(3);
    p.execute();
    catch (Exception e)
    { e.printStackTrace(); }
    finally
    { try {c.close();}catch (Exception e){} }

  • 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

  • I am running Photoshop CC 2014 on Windows 8.1 with an AMD quad core processor and AMD E1-2100 APU with AMD Radeon HD 8210 Graphics Card. I have installed the latest driver version 13.152.0.0. When I activate puppet warp, the mesh appears over the image an

    I am running Photoshop CC 2014 on Windows 8.1 with an AMD quad core processor and AMD E1-2100 APU with AMD Radeon HD 8210 Graphics Card. I have installed the latest driver version 13.152.0.0. When I activate puppet warp, the mesh appears over the image and I can place the first pin.  However, when I go to add the second pin, Photoshop crashes. I have tried with on a new, blank file, with just a few lines on it, but, as soon as I place the first pin, the image disappears, and then, as soon as I click anywhere else in the image, Photoshop crashes. I have followed all the online advice about settings under the Preferences/Performance interface, but nothing fixes the problem. Can anyone please help?

    BOILERPLATE TEXT:
    If you give complete and detailed information about your setup and the issue at hand, such as your platform (Mac or Win), exact versions of your OS, of Photoshop and of Bridge, machine specs, such as total installed RAM, scratch file HDs, video card specs, what troubleshooting steps you have taken so far, what error message(s) you receive, if having issues opening raw files also the exact camera make and model that generated them, etc., someone may be able to help you.
    A screen shot could be very helpful too.
    Please read this FAQ for advice on how to ask your questions correctly for quicker and better answers:
    http://forums.adobe.com/thread/419981?tstart=0
    Thanks!

  • Oracle RDB driver – Version 3.01.00.01 Connectivity Issue

    I have a SQL Server 2000 extended stored procedure connecting to an Oracle RDB data server via an ODBC connection (using Oracle RDB driver – Version 3.01.00.01). The SQL Server 2000 runs on a Windows 2000 Server.
    This extended stored procedure opens up multiple database connections and maintains them for processing. Usually, everything runs fine.
    However, every so often, we have connectivity issues. What happens is as follows:
    When we bring a station down and then try to reconnnect, our connection is denied, and we get the error: "recv() unexpected close Ret 0 Err#0 UNKNOWN Unknown WINSOCK Error 0". (This error is logged by the .dll running in the SQL Server processing space.) From the first time we receive a connectivity error like this until the Oracle RDB box is rebooted, we cannot establish another new ODBC connection to that Oracle RDB box --- whether we are trying to establish it programmatically or just via a "test connection" in the ODBC dialogue on the SQL Server box.
    We can, however, establish an ODBC connection to another, identically configured, Oracle RDB box from the SQL Server box (without restarting the SQL Server box).
    Has anyone had experience with instable connections from Windows system using the Oracle RDB driver to connect to the Oracle RDB? If not, can anyone point me in a direction that would help me research this? I am more familiar with SQL Server than Oracle, and the Oracle DBA on the other end isn't very accessible.
    I'd really appreciate any help anyone can give me.
    Thanks!

    I got same error.. Are you already solve that problem? how? please help me. Thanks

  • I need to use a Driver Version 1.4 for my my Sharp printer.  When I add the printer, it is driver version 1.3?

    I need to use Driver Version 1.4 for my Sharp printer.  When I add the printer it says Version 1.3?

    Have you asked Sharp whether they have a driver that is Mavericks compliant?

  • Driver Version Not Found" Error when installing drivers for X-fi Xtreme audio

    I recently bought the game Bioshock off steam and have been unable to play as it crashes as soon as I try to launch it. After doing some digging around I found out it was a sound problem. When I was looking at the drivers for my sound card (Sound Blaster X-Fi Xtreme Audio) I noticed that the driver called:?XFXA_PCDRV_LB__04_0079.exe has a fix for Bioshock. However when I install the driver I get the error "Driver version not found". I am positi've it is the correct driver for my sound card. I am on Windows 7 64bit.

    Hey!
    I have Vista Ultimate x64 and I ran windows update couple days ago. There was a new update for my xtreme audio pci-e. I installed it and now my driver version in creative software update is .3.2. Before i updated i ran creative's own software update. It didn't find any new drivers. I was WTF. I think that new driver fixed my volume problem. I had problem's when there was a deep bass in a song. The sound card lowered volume levels then somehow. Now that happens no more. In vista's device control it shows the driver version as 6.0.0.203. Driver date is 7 october 2008.

  • Mac OSx 10.8.5 and HP laser jet 2100M printer w/ driver version 19.8--Doesn't print!

    I've got a macbook pro with Mac OSx 10.8.5. I've successfully printed with my HP Laser jet 2100M printer until recently. The driver version is 19.8. I don't know what changed but about a month ago the printer says "printing--connected to printer" but it never prints. What do I need to do to get my printer and my macbook to communicate again and start printing? I also have a mac mini desktop running on mac osx 10.7.5 and it doesn't talk to the HP Laser jet 2100M either (also driver 19.8.Please, can you tell me how configure so these macs will be able to print to my printer?

    I have had a similar issue with my HP LaserJet 1320 printer on OS X 10.8. On certain PDF files (only those that I have tested so far), the data will send fine from the computer (and the job goes away) but the printer balks and drops the print job on its end. It's only when I save it as an image in Preview and then print will it work (advice from this forum post). However, when I updated the driver from 19.8 to 19.13 (in the Apple Software Update), it seemed to fix it.  Do you know what changed between 19.8 to 19.13? 

  • Problem Installing ABAP Engine of SAP  WAS 6.20(TEST DRIVE VERSION)

    Hi
    I am trying to install ABAP Engine of SAP  WAS 6.20(TEST DRIVE VERSION) which I got with the official ABAP Reference book of SAP press.
    It is installing upto 91% and giving the following errors:
    RC code form SyCoprocessWait  = -2 .
    Error: DBR3LICENSECREATE ExecuteCheck 2 718
    Exit code from C:\MiniWAS\saplicense: -2.
    Error: DBR3LICENSECREATE InternalInstallationDo 2 718
    Phase failed.
    Error: DBR3LICENSECREATE InstallationDo 2 718
    Phase failed.
    Error: Main {} 2 718
    Installation aborted.
    I am trying to learn ABAP and need to practise it. Could someone please help me in this matter.

    Restart the install and search this forum for "MiniWAS", "Mini Was", "620 install" and you'll find half a dozen people who had the same problem.

  • Memory leak in ODBC Driver version 8.1.7.8?

    We have a web application connected to an 8.1.7 database on a MS Windows 2000 SP 2 server.
    We recently upgraded ODBC driver from 8.1.7.7 to 8.1.7.8 and found that we ran out of virtual memory.
    On further investigations, a simple refresh of our summary web page (going to the database to select a small recordset - even when there are only 2 records with 6 small VARCHAR2 fields) causes the virtual memory usage to increase by approximately 1Mb each refresh.
    The same refresh using driver 8.1.7.7 occasionally increases the VM usage by 4Kb!
    Is there a memory leak in ODBC driver version 8.1.7.8?

    Hello Thomas,
    thanks for your tips, but they did not help. Activating Connection Polling did not change anything. And opening another connection did not help, either. I did it the following way:
    Sub memtest2()
    Dim conODBC As New ADODB.Connection
    conODBC.ConnectionString = "Data Source='xxxx';User ID='xxx';Password='xxx'"
    conODBC.Open
    Dim Rs1 As Recordset, Rs2 As Recordset, DB1 As Database
    Set DB1 = CurrentDb
    Set Rs1 = DB1.OpenRecordset("select id from artikel")
    Do While Not Rs1.EOF
        Set Rs2 = DB1.OpenRecordset("select * from artikel where id=" & Rs1("id"))
        'do something
        Rs2.Close
        Set Rs2 = Nothing
        Rs1.MoveNext
    Loop
    Rs1.Close
    Set Rs1 = Nothing
    DB1.Close
    Set DB1 = Nothing
    conODBC.Close
    End Sub
    Perhaps one of you has another tip how this can be done.
    @Lukasz:
    using a seperate ADODB.Connection works fine, but that does not solve the problem itself. At first I would have to rewrite much code and the second much bigger thing is that the memory leak occurs even when working with bound forms in MS Access. For example: I have one large form with many subforms on it. If i go from record to record on this form the memory usage is increasing dramatically fast and there is no way to influence what kind of connection MS Access is using for bound forms.
    Regards
    Thorstem

  • GPU: currently disabled due to an error (unsuported hardware/driver version)

    I still have problems after the last update (ACR 9).
    There is a note - GPU: currently disabled due to an error (unsupported hardware/driver version).
    I use AMD FirePro V4800 that is in the list of Adobe  - Photoshop CC and CC 2014 GPU FAQ , as followed
    Important: This document is updated as newly released cards are tested. However, Adobe cannot test all cards in a timely manner. If a video card is not listed here, but was released after May 2013, you can assume that the card will work with Photoshop CC and CC 2014.
    Adobe tested laptop and desktop versions of the following cards. Be sure to download the latest driver for your specific model (Laptop and desktop versions have slightly different names.)
    nVidia GeForce: 400, 500, 600, 700 series
    nVidia Quadro: 2000, 4000 (Windows and Mac OS), CX, 5000, 6000, K600, K2000, K4000, K5000 (Windows and Mac OS)
    nVidia GRID K1, K2
    AMD/ATI Radeon: 5000, 6000, 7000, R7, R9 series, 7950 Mac OS
    AMD/ATI FirePro: 3800, 4800, 5800, 7800, 8800, 9800, 3900, 4900, 5900, 7900, W8100, W9100, D300, D500, D700
    AMD/ATI FireGL: W5000, W7000, W8000
    Intel HD Graphics P3000, Intel HD Graphics P4000, Intel(R) HD Graphics P4600/P4700, Intel HD Graphics 5000
    I installed the latest driver from AMD site - Workstation
    So,  my system has the latest driver now
    The release notes of the driver say that now my video-card supports
    DirectX ® - 11
    OpenGL - 4.3
    OpenCL™ - 1.2
    What could be wrong? And what should I do?
    PS Photoshop also works strange: some of plug-ins  (for example, by Nik Software) show a white window in the place where the picture should be.
    Should I buy Nvidia Quadro K4200? But is was not in my plans at the moment when I did the last upgrade of Camera Raw.

    Hello,
    First, please consult the Camera Raw GPU FAQ for specific troubleshooting tips.
    https://helpx.adobe.com/photoshop/kb/acr-gpu-faq.html#Suggested%20System%20Requirements%20 &%20Graphics%20Cards
    You may need to completely uninstall/reinstall the drivers for your AMD card. Please consult the manufacturer's support site for the uninstall/reinstall procedures.
    Hope that helps,
    - Chris

  • DB2 Driver deployment

    Hi Group,
    i want to call a db2 database from an inbound proxy.
    For that i've installed on the XI computer a IBM db2 client. Testing connection from client side succeeds.
    To make the db2 driver also usable for jdbc adapter, i've
    deployed it with "aii_af_jmsproviderlib.sda" file corresponding to the sap documentation "How To Install and Configure External Drivers for JDBC & JMS Adapters".
    To use the db2 connection with my proxy, i used
    the tool "Visual Administrator" and added in the section "Services->JDBC Connectors"  a new driver DB2 and added a db2java.zip from my local computer.
    Additional, i've created a new data source that based on my DB2 service, but i can't start it. A very big stack trace of a RMI Exception appears. (I can post it too if needed)
    When i test my db2 connection with a jdbc Adapter, following error message appears in the adapter monitoring:
    Receiver Adapter v0908 for Party '', Service 'J2E_XI3':
    Configured at 13:21:57 2005-05-30
    Processing Error: Accessing database connection 'jdbc:db2://<IP-Address>:<Port>/<DB_Name>' failed: java.sql.SQLException: No suitable driver
    Addtional information: JDBC driver 'COM.ibm.db2.jdbc.app.DB2Driver' loaded successfully, additional driver information:
    Available JDBC drivers:
    No deployed JDBC Drivers found
    To be sure, that a jdbc call works with the installed db2 client, i've created a simple test class, that does not run on the J2EE engine. The db2 call worked fine.
    For any help or hint, i would be much obliged.
    Greetings,
    Sigi

    Hi Sigi,
    This error is encountered when you have given the wrong connection parameters in your jdbc communication channel.
    Check whether the JDBC Driver and the Connection parameters are correct.Once that is correct, your problem will be solved.
    Regards
    Sunita

  • How can I find the JDBC Driver version

    Hi,
    How can I find the JDBC Driver version installed on my Sun Solaris machine which
    has Weblogic Server 7.0 installed on it. Is there some kind of tool/command to
    do so or does Weblogic console say something about it
    Thanks
    Parikshit Khanna

    Parikshit Khanna wrote:
    Hi,
    How can I find the JDBC Driver version installed on my Sun Solaris machine which
    has Weblogic Server 7.0 installed on it. Is there some kind of tool/command to
    do so or does Weblogic console say something about it
    Thanks
    Parikshit KhannaThere is a jdbc DatabaseMetaData call getDriverVersion().
    The best thing to do is to download Oracle's latest appropriate
    driver from their site, and edit the start-weblogic script to
    make sure the downloaded driver is ahead of any weblogic stuff in
    the server's classpath. We do ship a driver, but Oracle usually
    has a newer better one very soon after that...
    Joe

  • In Trouble with the Oracle JDBC Driver version - 10.1.0.5.0

    Hi !
    Without any problems i'm using the Oracle JDBC Driver version - 10.1.0.3.0 to access to the
    Oracle database (Oracle Database 10g Release 10.2.0.1.0 - 64bit Production).
    But exchanging the JDBC Driver 10.1.0.3.0 to 10.1.0.5.0 brings up the following problem:
    the statement
         con.prepareStatement(sql, resultSetType, resultSetConcurrency, resultSetHoldability)
         (with parameters resultSetType = 1003, resultSetConcurrency = 1007, resultSetHoldability= 1)
    returns null !
    while using the Oracle JDBC Driver version - 10.1.0.3.0 the statement (with same parameters)
    returns a correct PreparedStatement.
    Every hint or idea is welcome.
    Best regards,
    Claus

    Duplicate post:
    In Trouble with the Oracle JDBC Driver version - 10.1.0.5.0
    Claus,
    Pardon me if I am stating the obvious, but why don't you use the 10.2 JDBC driver with your 10.2 database? The driver is part of the database distribution. Otherwise, you can download the driver from the OTN Web site.
    Good Luck,
    Avi.

Maybe you are looking for