Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / December 2006

Tip: Looking for answers? Try searching our database.

Exception thrown & Failure in loading T2 native library db2jcct2 while connecting to db2/400 through java

Thread view: 
savita - 30 Dec 2006 13:54 GMT
Hello,
I have written th following code to connect to db2/400 ->

 try
               {
                 //Connect to a database
                 Connection conn = DriverManager.getConnection
                   ("jdbc:db2:192.168.0.10","SAVITA","SAVITA");
                }
                 catch (SQLException e)
                       {
                         System.out.println("SQL Exception: ");
                         System.out.println(e);
                         }
---------------------------------------------------------------------------­--------------------------------

I am getting the following error
SQL Exception
Failure in loading T2 native library db2jcct2
---------------------------------------------------------------------------­---------------------------------

On my pc I am not having  db2jcct2.dll .
Is the location of db2jcct2.dll ->C:\Program Files\IBM\SQLLIB
The SQLLIB directory is missing.
If  I have to install db2jcct2.dll, where would  I install it,where
would I get it.
I have searched  to down load the db2jcct2.dll, but couldn't.

Is this dll related to as400.I have as400 installed on my PC.Can this
be possible ,while installing
as400 ,the SQLLIB didn't get install.

Do let me know how I go about.

Thanks
Regards,
Savita
Lew - 30 Dec 2006 15:37 GMT
> Hello,
> I have written th following code to connect to db2/400 ->
[quoted text clipped - 33 lines]
> Regards,
> Savita

Isn't this the same message you posted in thread "Failure in loading T2 native
library db2jcct2"?

- Lew


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.