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 / Databases / April 2005

Tip: Looking for answers? Try searching our database.

Problems with the jdbc

Thread view: 
Erika España - 31 Mar 2005 16:13 GMT
I have serious problems with the jdbc driver. I'm using ms sql server 2000
and j builder 9 personal edition. The error that java sends me is:
java.lang.ClassNotFoundException:
com.microsoft.jdbc.sqlserver.SQLServerDriver
       at java.net.URLClassLoader$1.run(URLClassLoader.java:198)
       at java.security.AccessController.doPrivileged(Native Method)
       at java.net.URLClassLoader.findClass(URLClassLoader.java:186)
       at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
       at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:265)
       at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
       at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
       at java.lang.Class.forName0(Native Method)
       at java.lang.Class.forName(Class.java:140)
       at prueba.getConnection(prueba.java:51)
       at prueba.displayDbProperties(prueba.java:69)
       at prueba.main(prueba.java:107)
Error Trace in getConnection() :
com.microsoft.jdbc.sqlserver.SQLServerDriver
Error: No active Connection
I already have installed the driver that I have downloaded from microsoft,
this is the service jdbc pack 3.
If someone could help me!!!
Tks
Arnaud Berger - 31 Mar 2005 16:16 GMT
Hi,

Please ensure that the jar files that come with the pack are in the
classpath.

The files should be msutil.jar, msbase.jar and mssqlserver.jar .

If you can't find them (but you probably will), they can be downloaded for
free at microsoft (JDBC driver type 4).

Regards,

Arnaud

"Erika Espa?a via JavaKB.com" <forum@JavaKB.com> a ?crit dans le message
news: fd21621b0ad14b24b869fb9ba7133404@JavaKB.com...
> I have serious problems with the jdbc driver. I'm using ms sql server 2000
> and j builder 9 personal edition. The error that java sends me is:
[quoted text clipped - 22 lines]
> --
> Message posted via http://www.javakb.com
Erika España - 01 Apr 2005 22:00 GMT
hi!
Tks for your help, you are completely right...
there was a problem with the classpath...
tks
Erika


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



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