There were three issues and I include them here in case others come across this thread. The iReport GUI is very confusing in this regard. After I change the DB2 jar to db2jcc For some reason the db2jcc4. Any idea on what I would’ve had to do to get the APP driver working? Connect to DB2 database in eclipse via jdbc Ask Question. Sign up using Facebook.
|Date Added:||18 July 2007|
|File Size:||24.90 Mb|
|Operating Systems:||Windows NT/2000/XP/2003/2003/7/8/10 MacOS 10/X|
|Price:||Free* [*Free Regsitration Required]|
Java and db2 connection issue. I am getting a java.
How to connect to DB2 Database from Java
We invite beginner Java programmers right through to Java professionals to post here and share your knowledge.
Whatever’s trying to find the class isn’t using the classpath that was used to launch your Java Application.
Got it from IBM: I didn’t get it working with com. Can someone help to understand why i cant made the connection to my db and why this to tools use different drivers?
Cannot find DB2 Driver when creating a new DB connection; Services OK
Give this a try. Members have full access to the forums.
It includes it in its hard-coded list of drivers. Having it in the list is com.ibm.db2.jcc.xb2driver . Do you have a more complete stack trace? I was getting the same error. Marketplace updates for closed network.
I’m using JRE 1.
Hopefully the folks at Jasper can help address the 2nd and 3rd points:. This means you must install the DB2 client classes dlls on your client. The JDK version that I am using is 1. Using the driver version 4 named db2jcc4. Page generated in 0. Thank you two for your replies. This is the driver you wanted. ResultSet ; import java. Hi, everyone i have the same problem plus i have to change the jre path to the 1.
Eclipse Community Forums Forum Search: Results 1 to 3 of 3. It’s a little misleading to think that iReport knows something about the APP driver.
What Version of driver do you use? This all despite the fact that I have the jar marked for export if this doesn’t have anything to do with making it available to glassfish, would someone please tell me? Advertisements are removed for registered users. I have a problem in my JSP code I am unable to read radio button actions in JSP I am trying to show database contents in the browser through servlets issue in executing Stored Proc Shared connection or individual connection?
I was running it using java 8, I switched to Java 7 and it worked. Could you provide example code fitting to my case?