Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 322026

Summary: Multiple Database connection to different DB2 servers not allowing on Galileo.
Product: [Tools] Data Tools Reporter: Teethu Thomas <teethu>
Component: JDBC Conn ProfileAssignee: dtp.connectivity-inbox <dtp.connectivity-inbox>
Status: RESOLVED WONTFIX QA Contact:
Severity: enhancement    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
shows the error in the second screen none

Description Teethu Thomas CLA 2010-08-06 15:27:15 EDT
Galileo eclipse does not allow to make connection to two different servers of DB2 at the same time it says "A driver already exists with that name". Because of which i am unable to define a connection to another DB2 server. Both of the DB2 needs db2jcc.jar for connection. This works in Helios Eclipse.


-- Configuration Details --
Product: Eclipse 1.2.2.20100122-1337 (org.eclipse.epp.package.jee.product)
Installed Features:
 org.eclipse.jdt 3.5.2.r352_v20100108-7r88FEwFI0WTuoBl0iaG0tyhfZH6
Comment 1 Brian Fitzpatrick CLA 2010-08-06 16:30:24 EDT
I'm betting this has as much to do with the JDK version you're using as it does with the Eclipse DTP version. The issue is with classloaders and the fact that with some drivers we ran into the problem where a particular jar could only be loaded once. 

As the Galileo stream is dead as far as development goes and it works in Helios, I'm afraid there isn't much we can do here.
Comment 2 Teethu Thomas CLA 2010-08-06 18:34:11 EDT
Created attachment 176072 [details]
shows the error in the second screen
Comment 3 Teethu Thomas CLA 2010-08-06 18:53:23 EDT
I have figured out the way to do that, choose option "Other Driver" and filled in all the data and add the jar and this time it worked, it fails only when I choose the option "IBM DataServer Driver for DB2 and SQLJ". 

I will also try using some older jdk's and see whether it works.

Thanks