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....

Similar Messages

  • Can't load DB2 driver!

    I have a Java app I run from the command line that can access my DB2 database. However, when I put my code into Websphere as a Servlet, it won't connect. Same driver, same dbURL, same everything, but it won't connect. I'm wondering if I have to configure my webapp in the Admin Console or something. I see there is a node called JDBC driver, but I can't do anything to it, I can't open it, edit it, or anything. What am I doing wrong? Help!

    sorry i have not ur answer.
    please give me connecting string databse DB2.
    ur DB2 server on which OS. may be there driver problem?
    but plz give me connecting string

  • When loading songs into iTunes, from my external hard drive. It seems to be copying the music onto my MacBook Air.

    When loading songs into iTunes, from my external hard drive. It seems to be copying the music onto my MacBook Air.
    How do i have iTunes only read the songs from my hard drive, rather then copying them?

    You may find these Links of Interest...
    Moving iTunes Media Folder
    http://support.apple.com/kb/HT1449
    http://macmost.com/moving-your-itunes-media-to-an-external-drive.html

  • I was loading some CDs into my iTunes library when the disk drive refused to "suck in" the next CD.  Does anyone have a suggest on how I might proceed?

    I was loading some CDs into my iTunes library when the disk drive refused to "suck in" the next CD.  Does anyone have a suggest on how I might proceed?

    Yes, that is a Catch 22.  If you have another Mac you can connect your Mac to it in the Target Disk Mode,  Transferring files between two computers using FireWire, and use Disk Utility on the second Mac to try to run the Hardware Test from there.  Not sure if it's possible to a connected Mac though.
    You can try this several times in the Terminal app and then see if a disk can be fully inserted:
    Enter the following command followed by the Enter or Return key:
    drutil eject
    Do it several times and then try another disk.  (A long shot).

  • ClassNotFoundException raised when attempting to load Oracle Driver in jsp

    ClassNotFoundException occoured when attempting to load Oracle Driver in jsp
    I am using oracle 9i server.here is the code that i have try
    Connection connection = null;
    try
    // Load the JDBC driver
    String driverName = "oracle.jdbc.driver.OracleDriver";
    Class.forName(driverName);
    // Create a connection to the database
    String serverName = "127.0.0.1";
    String portNumber = "1521";
    String sid = "mydatabase";
    String url = "jdbc:oracle:thin:@" + serverName + ":" + portNumber + ":" + sid;
    String username = "username";
    String password = "password";
    connection = DriverManager.getConnection(url, username, password);
    catch (ClassNotFoundException e)
    // Could not find the database driver
    } catch (SQLException e)
    // Could not connect to the database
    can i have to set classpath for this, pls help me.

    Do not modify the serverclasspath in WebServer 6.1.
    Add the path to the driver to the classpathsuffix attribute.
    change
    classpathsuffix=""
    to
    classpathsuffix="/usroracle/driver/classes12.zip" (Unix)
    or
    classpathsuffix="C:/Oracle/driver/classes12.zip" ( Windows )
    Replace the path in the example with the actual path to the driver file.
    HTH,
    Hari.

  • When is function driver of a statically enumerated device loaded?

    When is function driver of a statically enumerated device loaded?
    The discussion below applies only to KMDF drivers for Windows Phone8.1
    I'm studying a sample driver package with a software-only bus driver(sample_bus.sys, whose start type is SERVICE_SYSTEM_START (0x01)) and one statically enumerated child driver(sample_child.sys, whose start type is SERVICE_DEMAND_START (0x3)).
    In the bus driver, a PDO for the child device is created. But I cannot figure out when the function driver(sample_child.sys) for the child device is loaded(I guess the funcion driver for the child device is loaded by PNP)
    So the question is: which function(s) below "trigger" the loading of function driver of child device(sample_child.sys)?
    Follwing is sample code of the bus driver(sample_bus.sys); error checking code is removed for simplicity
    deviceInit = WdfPdoInitAllocate( device );status = WdfPdoInitAssignDeviceID( deviceInit, &str); //Device IDstatus = WdfPdoInitAddHardwareID( deviceInit, &str ); //Hardware IDWDF_OBJECT_ATTRIBUTES_INIT_CONTEXT_TYPE( &pdoAttributes, SAMPLE_DRIVER_DATA );pdoAttributes.EvtCleanupCallback = SampleDriverFdoCleanupChildDevice;pdoAttributes.SynchronizationScope = WdfSynchronizationScopeDevice;status = WdfDeviceInitRegisterPnpStateChangeCallback( deviceInit, WdfDevStatePnpStarted, SampleBusFdoChildStarted, StateNotificationEnterState );status = WdfDeviceCreate( &deviceInit, &pdoAttributes, &childDevice );status = WdfFdoAddStaticChild( device, childDevice );

    If you think about this the driver for the PDO is loaded in response to the system learning that there is a new PDO in the stack.  Given that it is WdfFdoAddStaticChild that will trigger the load.
    Don Burn Windows Filesystem and Driver Consulting Website: http://www.windrvr.com

  • ClassNotFoundException occoured when attempting to load Oracle Driver in js

    ClassNotFoundException occoured when attempting to load Oracle Driver in jsp
    I am using oracle 9i server.here is the code that i have try
    Connection connection = null;
    try
    // Load the JDBC driver
    String driverName = "oracle.jdbc.driver.OracleDriver";
    Class.forName(driverName);
    // Create a connection to the database
    String serverName = "127.0.0.1";
    String portNumber = "1521";
    String sid = "mydatabase";
    String url = "jdbc:oracle:thin:@" + serverName + ":" + portNumber + ":" + sid;
    String username = "username";
    String password = "password";
    connection = DriverManager.getConnection(url, username, password);
    catch (ClassNotFoundException e)
    // Could not find the database driver
    } catch (SQLException e)
    // Could not connect to the database
    can i have to set classpath for this, pls help me.
    PS: Sorry for my english.

    Yes, the Oracle driver jar/zip file has to be in the classpath of the webapp or the server.
    For webapp, drop the jar file in the webapp's WEB-INF/lib.
    For server, add it to server-classpath or drop it in <instance-dir>/lib

  • Macbook Drive sounds different than Powerbook/ibook/macmini when loading

    I was wondering if anyone that has a macbook and an ibook/powerbook or macmini can do a side by side comparison of the sound the macbook makes when loading and ejecting discs... it sounds very noticeably different... I noticed it right away when loading some software on my macbook and thats why i ask. it sounds a little less fluid and very different.
    Anyone else notice this or is mine faulty?

    I noticed this right away. It also went away quite quickly. The loading noise is/was the longest and loudest slot load I've had, but that changed after a bit of use. I saw a few posts on scratches, so there may be some bezels that are a bit out of alignment. If your machine continues to make a very loud noise while loading that is distinctly different from the mac mini or even the imac (different situation), then you should look at the media to make sure it isn't being scratched.
    As far as operation sounds I noticed that I can hear what I'm guessing is the laser head moving. On a mini it seems insulated. This sounds more like the noise you hear w/ a slim dvd burner in a thin external case or w/o a cover. It may just be a function of the installation position and the way the noise resonates through the case. These drives might be much closer to the top of the case or simply louder. Bare optical drives are far from quiet. There are even utilities and firmware modifications by vendors of set-top, external, and slim external which make the drive quieter.
    If it works, you can use hardware test (D key on startup w/ install disk 1), and you have no problems or scratches then it's probably nothing. If you get the helicopter noise on almost all your disks then the drive may be out of alignment and could need replacing (if it's only a few then they are probably warped).
    Personally, I'm not worried about it. It's just different. I think one cycle of full heat expansion and a few load and unload cycles might have made a difference for me; it's worth a try if it's really irritating.

  • Failure when connecting MS SQL SERVER from ODI ! could not load JDBS driver

    i have some trouble with connecting MS SQL SERVER from ODI.
    I have already downland jdbs driver 3.0 (and 2.0 ) and copy the sqljdbc4.jar to D:\oracle\product\11.1.1\Oracle_ODI_1\oracledi\agent\drivers( where the oracle jdbs driver is already exitst )....but i have this error :
    could not load JDBS driver class..
    thanks

    After more investigation and even more chocolate, we've identified the problem and it's now working. For anyone else who strikes this problem in future, here's something to check/consider/try:
    Even though Squirrel SQL Client was connecting and working ok using the MS JDBC driver (v 3.0), it recorded this in its logs:
    Cannot resolve the collation conflict between "SQL_Latin1_General_CP1_CI_AS" and "Latin1_General_CI_AS" in the INTERSECT operation.
    We've found that the open source jTDS driver does not have the same issue as the Microsoft one.
    We've installed the current jTDS driver, recorded the driver name (net.sourceforge.jtds.jdbc.Driver) and the JDBC URL (jdbc:jtds:sqlserver://<hostname>:1433/<database>) and the connection is now working fine.
    Hope this helps other people...
    Thanks to those of you who offered suggestions and things to check...much appreciated.
    Robyn

  • Hey. Lost all my itunes.except on the cloud when my, when my hard drive crashed. Is there any way to load my ipod back to the computer and not loose what I have in itunes that where not in the cloud?

    Hey Lost my itunes on my laptop when my hard drive crashed. They were able to to save a couple of songs and my cloud music. I purchased new music before on my new disc. Can I upload my ipod and save what little is on my hard drive and will I do any bad things to my ipod downloads.

    See Recover your iTunes library from your iPod or iOS device.
    tt2

  • Pavilion 22xi - error when loading driver

    Am trying to load the driver from the disk supplied and keep being told there is an error loading the driver without being told what the problem is. Any clues?

    most likely the computer is trying to load the wrong thing or it could be that there is something wrong with the driver it's self.

  • 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

  • Torrentflux 2.4 (ADONewConnection: Unable to load database driver)

    I'm trying to setup Torrentflux 2.4 on my server.
    I used the torrentflux PKGBUILD vom AUR: http://aur.archlinux.org/packages.php?ID=1664
    I set up Apache/MySQL/PHP following the guide. PHP test script is working fine:
    <?php phpinfo(); ?>
    I setup a symbolic link from /srv/http to my /opt/torrentflux
    ls /srv/http/
    insgesamt 4
    -r--r--r-- 1 root root 20 6. Mär 21:23 test.php
    lrwxrwxrwx 1 root root 17 6. Mär 21:07 torrentflux -> /opt/torrentflux/
    When I try to open /torrentflux/login.php in my webbrowser it says
    ADONewConnection: Unable to load database driver ''
    I left the default in torrentflux' config.php:
    $cfg["db_type"] = "mysql"; // mysql, postgres7, postgres8 view adodb/drivers/
    ls /opt/torrentflux/adodb/drivers/
    insgesamt 532
    -r--r--r-- 1 root daemon 20476 6. Mär 20:44 adodb-mysql.inc.php
    -r--r--r-- 1 root daemon 25340 6. Mär 20:44 adodb-mysqli.inc.php
    -r--r--r-- 1 root daemon 3220 6. Mär 20:44 adodb-mysqlt.inc.php
    I'm pretty new to the whole LAMP stuff, so can please any1 tell me what's going wrong?

    Ok, some questions:
    1. Did you enable mysql in php.ini?
    http://wiki.archlinux.org/index.php/LAMP#MySQL
    2. Did you read / follow the torrentflux installation guide included with the installation?
    (if not, check here: http://www.torrentflux.com/)
    3. I have not worked with the package from AUR, the package form the official site (again, http://www.torrentflux.com/) works well for me. Did you try this?

  • Unable to load mySql Driver in Java class invoked using bpelx:exec

    Hi ,
    I am trying to connect to mysql database in my java class.when i run this class in Jdeveloper it loads the driver without any problem.I can chk the log in the Jdev messages area.Now I am invoking this class from the BPEL process through <bpelx activity.But when i run my BPEL process it throws runtime exception "classNotFoundException:unable to load com.mysql.jdbc.Driver".I have set the project properties ->libraries to the class path of the mysql jar file as well.
    Now if i try to connect with the Oracle driver then it is working fine.
    I know this is a classpath issue.Can anyone tell me if there are some other settings to make it work fine.
    the java code :
    System.out.println("in getConnection method");
    Class.forName("com.mysql.jdbc.Driver").newInstance();
    System.out.println("loaded Driver :");
    String url="jdbc:mysql://ntlv014:3306/wx";
    _jdbcConnection = DriverManager.getConnection(url,"development","ber1nger");
    System.out.println("Got Connection :"+_jdbcConnection.isClosed());                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    I think you have 2 options..
    either put the jar for the mysql in the classpath on the server...or try something like this :
    http://forum.java.sun.com/thread.jspa?forumID=17&threadID=633158
    try to put the jar of the mysql into the suitecase of the bpel.
    never seen this coming around...so..it's just a wild guess.
    ORABPEL-11622 Could not create/access the TopLink Session
    spendem got the same situation...the puts the libraries in the applib-dir
    Message was edited by:
    Eric Elzinga (IT-Eye)

  • Error loading JDBC driver

    Hi,
    I have an rpt file developed in crystal report 2008. it connects to SQL Server using ODBC(RDO) connection. I have a jsp file that needs to change the datasource to use JDBC (JNDI). The scriptlet for changing datasource is given below. I have my sqljdbc.jar in the web-inf\lib folder of my application as well as in \server\{server_name}\lib folder. when I try to run the jsp it gives me error as follows :
    ERROR [com.businessobjects.reports.sdk.JRCCommunicationAdapter]  detected an exception: Error loading JDBC driver.  The class 'com.microsoft.jdbc.sqlserver.SQLServerDriver' could not be found.
         at com.crystaldecisions.reports.queryengine.Connection.t1(Unknown Source)
         at com.crystaldecisions.reports.dataengine.dfadapter.DFAdapter.a(Unknown Source)
         at com.crystaldecisions.reports.dataengine.dfadapter.DFAdapter.for(Unknown Source)
         at com.crystaldecisions.reports.reportdefinition.ReportHelper.a(Unknown Source)
         at com.businessobjects.reports.sdk.requesthandler.ReportViewingRequestHandler.long(Unknown Source)
         at com.businessobjects.reports.sdk.requesthandler.ReportViewingRequestHandler.a(Unknown Source)
         at com.businessobjects.reports.sdk.requesthandler.ReportViewingRequestHandler.byte(Unknown Source)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.do(Unknown Source)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(Unknown Source)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(Unknown Source)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.a(Unknown Source)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.call(Unknown Source)
         at com.crystaldecisions.reports.common.ThreadGuard.syncExecute(Unknown Source)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.for(Unknown Source)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.int(Unknown Source)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)
         at com.businessobjects.sdk.erom.jrc.a.a(Unknown Source)
         at com.businessobjects.sdk.erom.jrc.a.execute(Unknown Source)
         at com.crystaldecisions.proxy.remoteagent.RemoteAgent$a.execute(Unknown Source)
         at com.crystaldecisions.proxy.remoteagent.CommunicationChannel.a(Unknown Source)
         at com.crystaldecisions.proxy.remoteagent.RemoteAgent.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ds.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)
         at ....
    <br>
    <br>
    Scriptlet :
    <%
    //Report can be opened from the relative location specified in the CRConfig.xml, or the report location
    //tag can be removed to open the reports as Java resources or using an absolute path (absolute path not recommended
    //for Web applications).
    final String DBUSERNAME = "sa";
    final String DBPASSWORD = "password";
    final String CONNECTION_STRING = "!com.microsoft.jdbc.sqlserver.SQLServerDriver!jdbc:microsoft:sqlserver://localhost:1433;DatabaseName=;user=;password=";
    final String TRUSTEDCON = "false";
    final String PREQESERVERNAME = "jdbc:microsoft:sqlserver://localhost:1433";
    final String SERVERTYPE = "JDBC (JNDI)";
    final String DATABASE_DLL = "crdb_jdbc.dll";
    final String DATABASE = "bssc";
    final String DBCLASSNAME = "com.microsoft.jdbc.sqlserver.SQLServerDriver";
    final String USEJDBC = "true";
    final String DATABASE_NAME = "bssc";
    final String SERVERNAME = "jdbc:microsoft:sqlserver://localhost:1433";
    final String CONNECTIONURL = "jdbc:microsoft:sqlserver://localhost:1433";
    final String SERVER = "localhost";
    %>
    <%          
              final Logger logger = Logger.getLogger(ReportAction.class.getName());
              final String REPORT_NAME = "../reports/Krt.rpt";
    try {
              ReportClientDocument oReportClientDocument = new ReportClientDocument();
              oReportClientDocument.open(REPORT_NAME, 0);
         // Create the two connectioninfo objects to use
         IConnectionInfo oldConnectionInfo =  new ConnectionInfo();
         IConnectionInfo newConnectionInfo = new ConnectionInfo();
         // Assign the old Connection info to the reports current info
         DatabaseController dbController = oReportClientDocument.getDatabaseController();
         oldConnectionInfo = dbController.getConnectionInfos(null).getConnectionInfo(0);                                       
         // If this connection needed parameters, we would use this field.      
         Fields pFields = null;
         // Create a new propertybag for the new location
         PropertyBag boPropertyBag1 = new PropertyBag();
         // Set new table logon properties
         boPropertyBag1.put("JDBC Connection String", CONNECTION_STRING);
         boPropertyBag1.put("Trusted_Connection", TRUSTEDCON);
         boPropertyBag1.put("PreQEServerName", PREQESERVERNAME);
         boPropertyBag1.put("Server Type", SERVERTYPE);
         boPropertyBag1.put("Database DLL", DATABASE_DLL);
         boPropertyBag1.put("Database", DATABASE);
         boPropertyBag1.put("Database Class Name", DBCLASSNAME);
         boPropertyBag1.put("Use JDBC", USEJDBC);
         boPropertyBag1.put("Database Name", DATABASE_NAME);
         boPropertyBag1.put("Server Name", SERVERNAME);
         boPropertyBag1.put("Connection URL", CONNECTIONURL);
         boPropertyBag1.put("Server", SERVER);
         // Assign the properties to the connection info
         newConnectionInfo.setAttributes(boPropertyBag1);
         // Set the DB Username and Pwd
         newConnectionInfo.setUserName(DBUSERNAME);
         newConnectionInfo.setPassword(DBPASSWORD);
         // The Kind of connectionInfos is SQL
         newConnectionInfo.setKind(ConnectionInfoKind.SQL);
         // set the parameters to replace.
         // The 4 options are:
         // _doNotVerifyDB
         // _ignoreCurrentTableQualifiers
         // _mapFieldByRowsetPosition
         // _useDefault 
         int replaceParams = DBOptions._ignoreCurrentTableQualifiers + DBOptions._doNotVerifyDB;
         // Now replace the connections      
         dbController.replaceConnection(oldConnectionInfo, newConnectionInfo, pFields, replaceParams);
    %>
    <%
    //Report can be opened from the relative location specified in the CRConfig.xml, or the report location
    //tag can be removed to open the reports as Java resources or using an absolute path (absolute path not recommended
    //for Web applications).
    final String DBUSERNAME = "sa";
    final String DBPASSWORD = "password";
    final String CONNECTION_STRING = "!com.microsoft.jdbc.sqlserver.SQLServerDriver!jdbc:microsoft:sqlserver://localhost:1433;DatabaseName=;user=;password=";
    final String TRUSTEDCON = "false";
    final String PREQESERVERNAME = "jdbc:microsoft:sqlserver://localhost:1433";
    final String SERVERTYPE = "JDBC (JNDI)";
    final String DATABASE_DLL = "crdb_jdbc.dll";
    final String DATABASE = "bssc";
    final String DBCLASSNAME = "com.microsoft.jdbc.sqlserver.SQLServerDriver";
    final String USEJDBC = "true";
    final String DATABASE_NAME = "bssc";
    final String SERVERNAME = "jdbc:microsoft:sqlserver://localhost:1433";
    final String CONNECTIONURL = "jdbc:microsoft:sqlserver://localhost:1433";
    final String SERVER = "localhost";
    %>
    <%          
              final Logger logger = Logger.getLogger(ReportAction.class.getName());
              final String REPORT_NAME = "../reports/Krt.rpt";
    try {
              ReportClientDocument oReportClientDocument = new ReportClientDocument();
              oReportClientDocument.open(REPORT_NAME, 0);
         // Create the two connectioninfo objects to use
         IConnectionInfo oldConnectionInfo =  new ConnectionInfo();
         IConnectionInfo newConnectionInfo = new ConnectionInfo();
         // Assign the old Connection info to the reports current info
         DatabaseController dbController = oReportClientDocument.getDatabaseController();
         oldConnectionInfo = dbController.getConnectionInfos(null).getConnectionInfo(0);                                       
         // If this connection needed parameters, we would use this field.      
         Fields pFields = null;
         // Create a new propertybag for the new location
         PropertyBag boPropertyBag1 = new PropertyBag();
         // Set new table logon properties
         boPropertyBag1.put("JDBC Connection String", CONNECTION_STRING);
         boPropertyBag1.put("Trusted_Connection", TRUSTEDCON);
         boPropertyBag1.put("PreQEServerName", PREQESERVERNAME);
         boPropertyBag1.put("Server Type", SERVERTYPE);
         boPropertyBag1.put("Database DLL", DATABASE_DLL);
         boPropertyBag1.put("Database", DATABASE);
         boPropertyBag1.put("Database Class Name", DBCLASSNAME);
         boPropertyBag1.put("Use JDBC", USEJDBC);
         boPropertyBag1.put("Database Name", DATABASE_NAME);
         boPropertyBag1.put("Server Name", SERVERNAME);
         boPropertyBag1.put("Connection URL", CONNECTIONURL);
         boPropertyBag1.put("Server", SERVER);
         // Assign the properties to the connection info
         newConnectionInfo.setAttributes(boPropertyBag1);
         // Set the DB Username and Pwd
         newConnectionInfo.setUserName(DBUSERNAME);
         newConnectionInfo.setPassword(DBPASSWORD);
         // The Kind of connectionInfos is SQL
         newConnectionInfo.setKind(ConnectionInfoKind.SQL);
         // set the parameters to replace.
         // The 4 options are:
         // _doNotVerifyDB
         // _ignoreCurrentTableQualifiers
         // _mapFieldByRowsetPosition
         // _useDefault 
         int replaceParams = DBOptions._ignoreCurrentTableQualifiers + DBOptions._doNotVerifyDB;
         // Now replace the connections      
         dbController.replaceConnection(oldConnectionInfo, newConnectionInfo, pFields, replaceParams);
    %>
    I am not sure why it is not able to get the Driver since the required jar is there in lib folder? Am I missing something ?
    Edited by: sb-onward on Jul 30, 2009 6:01 PM

    Hi,
    Make sure you have set the Classpath in CRConfig.xml for the jdbc jar.
    Place the CrConfig.xml  in the classes directory of your application.
    Please let me know the results.
    Regards,
    Neeraj

Maybe you are looking for

  • Unable to get Data Connection on Treo Pro after Flying (Sprint)

    I got my Treo Pro a few weeks ago and have really had no issues. It has been a great phone, but I just ran into an issue I cannot explain. I had to fly from Mpls to Miami and put my phone in "airplane mode" when the flight started. When I landed I to

  • [SOLVED]Something wrong with Locale, "ÅÖÄ" doesn't work in terminal.

    If you have this kind of problem stated above in the title, or similar, here is what I did... Make sure you have correct locale, you'll need a UTF-8 one. As stated in the install guide(or beginner's guide iirc) do the following: Uncomment  one of the

  • Question about nested generics

    The question is similar to jschmied70's post. But that thread is marked closed. So I start a new thread -- Example: List<List<? extends Number>> a = null; List<List<Number>> b = null; a = b; // error List<List<Integer>> c = null; a = c; // error Now,

  • Whats the difference between the apple watch and the apple watch sport.

    whats the difference between the apple watch and the apple watch sport? i want to know the difference between the apple watch and the apple watch sport. thanks

  • Messed up Lion

    I've had Lion DP4 installed, then I wiped my HDD, installed Snow Leopard, bought Lion from Mac App Store and installed it. Today, though, I realised I can't update to 10.7.2 in order to get iCould working. When I looked in About This Mac, I noticed I