When I upgrade my servicemix from version 3.1 to 3.1.1 the connection just
worked.
So it is clear that I didn't have any problem in my stuff or settings, it
was servicemix bug


sameh wrote:
> 
> When I use just standard JDBC for the connection it works
> but if I use spring it fails with the error mentioned earlier (No suitable
> driver)
> 
> I do have a version of spring.jar (2.0.1) in my SU.
> 
> 
> sameh wrote:
>> 
>> I have all 3 files.
>> I'm running servicemix on a linux machine and DB2 is V6.1 running on z/OS
>> (mainframe)
>> I can connect using the same code when I run the junit test and don't
>> need except
>> - db2jcc.jar
>> - db2jcc_license_cu.jar
>> 
>> any more ideas are appreciated
>> 
>> 
>> Gregor Kovač wrote:
>>> 
>>> Hi!
>>> 
>>> You don't tell on which system you are running, but on Windows and Linux
>>> you'll need these files:
>>> - db2jcc.jar
>>> - db2jcc_javax.jar
>>> - db2jcc_license_cu.jar
>>> 
>>> Best regards,
>>>     Kovi
>>> 
>>> Dne 06.07.2007 (pet) ob 10:48 -0700 je sameh zapisal(a):
>>>> I'm trying to connect to DB2 and I'm using the db2jcc.jar and
>>>> license.jar
>>>> I have them in my SU but I still get
>>>>  Could not get JDBC Connection; nested exception is
>>>> java.sql.SQLException:
>>>> No suitable driver
>>>> java.sql.SQLException: Could not get JDBC Connection; nested exception
>>>> is
>>>> java.sql.SQLException: No suitable driver
>>>> 
>>>> I tried putting these 2 jar file in servicemix/lib/ but I got the same
>>>> exact
>>>> error
>>>> 
>>>> Does servicemix have code that will cause a conflict with db2jcc.jar?
>>>> my Oracle.jar is working fine in my SU
>>> -- 
>>> -~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-
>>>    In A World Without Fences Who Needs Gates?
>>>                Experience Linux.
>>> -~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-
>>> 
>>> 
>>> 
>> 
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/DB2-drivers-tf4037194s12049.html#a11523293
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to