• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Subject: RE: Classpath for MSSQLServer JDBC Driver
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Subject: RE: Classpath for MSSQLServer JDBC Driver


  • Subject: Re: Subject: RE: Classpath for MSSQLServer JDBC Driver
  • From: "Jonathan Fleming" <email@hidden>
  • Date: Fri, 23 May 2003 21:23:21 +0100

From: Brian McDerment <email@hidden>
To: <email@hidden>
Subject: Subject: RE: Classpath for MSSQLServer JDBC Driver Date: Fri, 23 May 2003 15:15:04 -0400



Have you tried just throwing the .jar files into the folder C:\Program Files\JavaSoft\JRE\1.3.1_02\lib\ext

Yep, done this and still no joy. So, now I've copied the .jar files into all these areas as well:

C:\jdk1.3.1_01\jre\lib\ext
C:\Apple\Local\Library\WebObjects\Extensions
This is the original location of the files C:\Program Files\Microsoft SQL Server 2000 Driver for JDBC\lib


and still get this error form EOModeller even though the classpath Environment variable on the system has been populated with this:

c:\Microsoft SQL Server 2000 Driver for JDBC\lib\msbase.jar;c:\Microsoft SQL Server 2000 Driver for JDBC\lib\msutil.jar;c:\Microsoft SQL Server 2000 Driver for JDBC\lib\mssqlserver.jar

EOModeller URL:
jdbc:microsoft:sqlserver://10.0.0.1:1433;DatabaseName=JandM;SelectMethod=cursor

EOModeller Error Message:
JDBC connection failed for driver :'com.microsoft.jdbc.sqlserver.SQLServerDriver'. Driver not found in Java Runtime! Please verify your CLASSPATH environment variable. The current CLASSPATH for your application is : C:\Apple\Library\Frameworks\JDBCEOAdaptor.framework\Resources\Java\.;c:\Microsoft SQL Server 2000 Driver for JDBC\lib\msbase.jar;c:\Microsoft SQL Server 2000 Driver for JDBC\lib\msutil.jar;c:\Microsoft SQL Server 2000 Driver for JDBC\lib\mssqlserver.jar;c:\usr\FrontBase\Java\frontbasejdbc.jar;c:\usr\FrontBase\Java\FrontBasePlugIn.jar;/Library/Java;C:/Apple/Local/Library/Java;C:/Apple/Library/Java;C:/Apple/Library/JDK/lib/classes.zip;C:/Apple/Library/Frameworks/JavaVM.framework/Classes/awt.jar;C:/Apple/Library/JDK/lib/swingall.jar


further more I have used the command line tool to run this script that Pete Fournier posted:
Javap com.microsoft.jdbc.sqlserver.SQLServerDriver


I was told it would It should respond with the class definition, if not, I have files in the
wrong place. This was the returned message. What does it mean exactly?:


C:\Documents and Settings\Jonathan>Javap com.microsoft.jdbc.sqlserver.SQLServerD
river
No sourcepublic class com.microsoft.jdbc.sqlserver.SQLServerDriver extends com.microsoft.jdbc.base.BaseDriver {
static {};
public com.microsoft.jdbc.sqlserver.SQLServerDriver();
public static void main(java.lang.String[]);
}


What on earth have I got left to do now.... COMPUTERS ah.

Jonathan :^]



Cheers, Brian

=================================
Brian McDerment
email@hidden
Asst. Circulation Product Manager
Harris & Baseview
http://www.baseview.com
http://www.jazbox.com



_________________________________________________________________ Get Hotmail on your mobile phone http://www.msn.co.uk/msnmobile _______________________________________________ webobjects-dev mailing list | email@hidden Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: No transports initialized error when debugging
  • Next by Date: Re: Subject: RE: Classpath for MSSQLServer JDBC Driver[SOLVED]
  • Previous by thread: URL during development
  • Next by thread: Re: Subject: RE: Classpath for MSSQLServer JDBC Driver[SOLVED]
  • Index(es):
    • Date
    • Thread