JDBC Driver for SQL Server 7

Is there a free JDBC Driver for SQL Server 7 available? If so, where? I created a server program that listens to a port and inserts records based on information it receives. It uses sun's JDBC:ODBC Bridge but it crashes randomly (sometimes weeks, sometimes days, sometimes hours after starting program). Each time it crashes it generates a error log file like this:
An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at PC=0x77f821e1
Function name=RtlEnterCriticalSection
Library=C:\WINNT\System32\ntdll.dll
Current Java thread:
     at sun.jdbc.odbc.JdbcOdbc.driverConnect(Native Method)
     at sun.jdbc.odbc.JdbcOdbc.SQLDriverConnect(Unknown Source)
     at sun.jdbc.odbc.JdbcOdbcConnection.initialize(Unknown Source)
     at sun.jdbc.odbc.JdbcOdbcDriver.connect(Unknown Source)
     at java.sql.DriverManager.getConnection(Unknown Source)
     at java.sql.DriverManager.getConnection(Unknown Source)
     at com.xxxxx.data.DataAccess.connect(DataAccess.java:20)
     at com.xxxxx.xxx.server.Broadcaster.insertOrder(POSServer.java:71)
     at com.xxxxx.xxx.server.ClientListener.run(POSServer.java:298)
Dynamic libraries:
0x00400000 - 0x00405000      C:\WINNT\system32\java.exe
0x77F80000 - 0x77FFB000      C:\WINNT\System32\ntdll.dll
0x77DB0000 - 0x77E0C000      C:\WINNT\system32\ADVAPI32.dll
0x77E80000 - 0x77F35000      C:\WINNT\system32\KERNEL32.DLL
0x77D40000 - 0x77DB0000      C:\WINNT\system32\RPCRT4.DLL
0x78000000 - 0x78046000      C:\WINNT\system32\MSVCRT.dll
0x6D420000 - 0x6D4F0000      C:\Program Files\JavaSoft\JRE\1.3.1_02\bin\hotspot\jvm.dll
Local Time = Mon May 06 10:36:33 2002
Elapsed Time = 124
# The exception above was detected in native code outside the VM
# Java VM: Java HotSpot(TM) Client VM (1.3.1_02-b02 mixed mode)
Or this:
An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at PC=0x77f821e1
Function name=RtlEnterCriticalSection
Library=C:\WINNT\System32\ntdll.dll
Current Java thread:
     at sun.jdbc.odbc.JdbcOdbc.freeConnect(Native Method)
     at sun.jdbc.odbc.JdbcOdbc.SQLFreeConnect(Unknown Source)
     at sun.jdbc.odbc.JdbcOdbcDriver.closeConnection(Unknown Source)
     at sun.jdbc.odbc.JdbcOdbcConnection.close(Unknown Source)
     at sun.jdbc.odbc.JdbcOdbcConnection.finalize(Unknown Source)
     at java.lang.ref.Finalizer.invokeFinalizeMethod(Native Method)
     at java.lang.ref.Finalizer.runFinalizer(Unknown Source)
     at java.lang.ref.Finalizer.access$100(Unknown Source)
     at java.lang.ref.Finalizer$FinalizerThread.run(Unknown Source)
Dynamic libraries:
0x00400000 - 0x00405000      C:\Program Files\JavaSoft\JRE\1.3.1_02\bin\javaw.exe
0x77F80000 - 0x77FFB000      C:\WINNT\System32\ntdll.dll
0x77DB0000 - 0x77E0C000      C:\WINNT\system32\ADVAPI32.dll
0x77E80000 - 0x77F35000      C:\WINNT\system32\KERNEL32.DLL
0x77D40000 - 0x77DB0000      C:\WINNT\system32\RPCRT4.DLL
Local Time = Mon May 06 10:13:59 2002
Elapsed Time = 137
# The exception above was detected in native code outside the VM
# Java VM: Java HotSpot(TM) Client VM (1.3.1_02-b02 mixed mode)
I think this error occurs because I'm using sun's JDBC:ODBC Bridge. I'm hoping that using a different driver will solve the problem.
Thanks,
Dan

I used Sun's jdbc odbc driver for a while, with no problems, with Sql Server 7. But anyways, if you want a free type 4 driver, you can get the freetds driver at
https://sourceforge.net/projects/jtds/

Similar Messages

  • Deploy JDBC driver for SQL server 2005 on PI 7.1

    How to deploy JDBC driver for SQL server 2005 on PI 7.1
    We are in SAP NetWeaver 7.1 Oracle 10G
    Third party system is  SQL server 2005
    There are different JDBC versions are available to download for SQL server 2005.
    I am not sure about the applicable version for the PI 7.1 SP level. Again JMS Adapter needs to be deploy along with this.
    Please help

    Hi,
    Hope this How to Guide help you.
    How To Install and Configure External Drivers for the JDBC & JMS Adapters from
    www.sdn.sap.com/irj/sdn/howtoguides
    Regards,
    Karthick.
    Edited by: Karthick Srinivasan on Apr 13, 2009 4:07 PM

  • Deploying JDBC driver for SQL Server 2005 on PI 7.1

    How to Deploy JDBC driver for SQL Server 2005 on PI 7.1 on Windows 2003 server
    We are in NW PI 7.1 and third party db is sql server 05.
    Found How-to Guide SAP NetWeaver u201804 but unable to find for NW PI 7.1
    Can any one help me on this? (looking for guide step by step procedure)
    Regards
    Mahesh

    Hi,
    Check these:
    Re: Installing JDBC Drivers for PI 7.1
    how to deploy MS Sql Server 2005 and 2008 jdbc driver
    Mention of a SAP Note in the first link or refer this note [831162|https://service.sap.com/sap/support/notes/831162]
    Regards,
    Abhishek.

  • Microsoft Jdbc driver for SQL Server memory leak

    I'm using Microsoft Jdbc driver and see there's some leak after running application for a while. I'm sure that it's from Jdbc driver because I sitch to Jtds and the issue went away. My question is is there anybody knows which web sites talk about memory leak issue in Microsoft Jdbc driver for SQL Server?
    Appreciate your help

    I'm using Microsoft Jdbc driver and see there's some leak after running application for a while. I'm sure that it's from Jdbc driver because I sitch to Jtds and the issue went away. My question is is there anybody knows which web sites talk about memory leak issue in Microsoft Jdbc driver for SQL Server?
    Appreciate your help

  • JDBC driver for SQL Server Compact Edition

    Hi,
    I'm trying to run pc java application on Pocket Pc (Mobile 5.0) with SQL Server Compact edition.
    The error message is:
    java.lang.UnsatisfiedLinkError: java/sql/DriverManager.getCallerClassLoader()Ljava/lang/ClassLoader;
    at java.sql.DriverManager.getConnection(Unknown Source)...
    Should I use a special jdbc driver for SQL Server Compact Edition? Is there one?
    Mixxo

    Hi,
    I got an answer from msdn forum:
    http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=2307542&SiteID=1.
    There is no jdbc driver for SQL Server Compact Edition. OleDB and ADO.net are available. Now I need to know how to use them (in Java)...
    Thanks, Mixxo

  • JDBC driver for SQL Server

    Does anyone know of a JDBC driver for SQL Server 2000 that supports Windows Authentication?
    Meaning a username and password does not need to be supplied when connecting to the database.
    Thanks,
    James.

    Yes.
    JDBC-ODBC.

  • Using JSP & JDBC driver for SQL Server 2000 on Red Hat

    I successfully have a .jsp app running on windows server 2000 using JDBC
    driver for SQL Server 2000. Which I installed in order to the following
    Red Hat:
    http://msdn.microsoft.com/MSDN-FILES/027/001/779/install.htm
    I moved the .jsp app over to the Red Hat 9 server running Tomcat, while
    keeping the MS SQL 2000 on windows. The issue I have is setting up the
    JDBC driver for SQL Server 2000 on the Red Hat server.
    I created a folder called /usr/java/MSSQLdriver and unzipped the tar file with
    the driver for SQL Server 2000. And ran the install.ksh script.
    The /usr/java/MSSQLdriver/lib has the following files within it:
    msbase.jar, msutil.jar, & mssqlserver.jar
    I chmod 0777 each of the *.jar files.
    I then went into /etc/profile.d/tomcat.sh and adding the following:
    CLASSPATH=.;/opt/msSQLjdbc/lib/msbase.jar;/opt/msSQLjdbc/lib/msutil.jar;/opt/msSQLjdbc/lib/mssqlserver.jar
    Each time I login and pull up the termial I get the following error:
    bash: /opt/msSQLjdbc/lib/msbase.jar: cannot execute binary file
    bash: /opt/msSQLjdbc/lib/msutil.jar: cannot execute binary file
    bash: /opt/msSQLjdbc/lib/mssqlserver.jar: cannot execute binary file
    And can't connnect to the database within the .jsp app.
    Is there anyone out there using DBC driver for SQL Server 2000 on the Red Hat server?
    Michael

    Sorry, I needed to correct some information of where the drivers were installed.
    I created a folder called /usr/java/MSSQLdriver/new and untar the Microsoft file with the driver for SQL Server 2000. I ran the install.ksh script "sh install.ksh"
    installed the driver into the default directory "/opt/msSQLjdbc".
    The /opt/msSQLjdbc/lib has the following files within it:
    msbase.jar, msutil.jar, & mssqlserver.jar
    Michael

  • JDBC driver for SQL Server 2000 with windows authentication

    Does anyone know of a JDBC driver for SQL Server 2000 that supports Windows Authentication, that is that a username and password does not need to be supplied when connecting to the database.

    You can use the JDBC-ODBC-Bridge.
    ODBC provides windows-authentication.
    Hope it helps.
    Freddy

  • Error deploying JDBC driver for SQL Server 2005

    Hi all
    I'm trying to deploy a JDBC driver for MS SQL Server 2005 (downloaded [here|http://www.microsoft.com/downloads/details.aspx?familyid=C47053EB-3B64-4794-950D-81E1EC91C1BA&displaylang=en]). When I try to deploy it according to the instructions found [here|http://help.sap.com/saphelp_nwce10/helpdata/en/51/735d4217139041e10000000a1550b0/frameset.htm] it fails.
    The error in the logs doesn't give any useful information though. It only says Error occurred while deploying component ".\temp\dbpool\MSSQL2005.sda".
    Has anyone else deployed a driver for SQL Server 2005, or perhaps have any suggestions of what else I could try?
    Thanks
    Stuart

    Hi Vladimir
    That's excellent news! Thanks for the effort you've put into this. I'm very impressed with how seriously these issues are dealt with, specifically within the Java EE aspects of SAP.
    May I make two suggestions on this topic:
    1. Given that NWA has such granular security permissions, please could the security error be shown when it is raised? This would help immediately identify that the problem isn't actually a product error, but rather a missing security permission (and thus save us time and reduce your support calls).
    2. Please could the role permissions be clearly documented (perhaps they already are, and I just couldn't find the docs?) so we know what is and isn't included in the role. The name is very misleading, as a "superadmin" is generally understood to have no limitation on their rights - so clear documentation on what is in-/excluded would be most helpful.
    On a related topic, I came across another issue like this that may warrant your attention (while you're already looking into NWA security issues). I logged a support query about it (ref: 0120025231 0000753421 2008) in case you can retrieve details there (screenshots, logs, etc.). It's basically a similar security constraint when trying to create a Destination. I'm not sure if this is something you would like to include as standard permissions within the NWA_SUPERADMIN role or not, but I think it's worth consideration.
    Thanks again for your help!
    Cheers
    Stuart

  • How do I install the jdbc driver for sql server 2005, in sql developer 4.0 ?

    Hallo together
    I need access to tables in a MS SQL Server 2005 database.
    One possibility is the JDBC driver.
    How do i install this driver ?
    Thank you very much for your postings.

    Hi,
      This is from the documentation -
    Database: Third Party JDBC Drivers
    The Third Party JDBC Drivers pane specifies drivers to be used for connections to third-party (non-Oracle) databases, such as IBM DB2, MySQL, Microsoft SQL Server, or Sybase Adaptive Server. (You do not need to add a driver for connections to Microsoft Access databases.) To add a driver, click Add Entry and select the path for the driver:
    For Microsoft SQL Server or Sybase Adaptive Server: jtds-1.2.jar, which is included in the jtds-1.2-dist.zip download
    To find a specific third-party JDBC driver, see the appropriate website (for example, http://www.mysql.com for the MySQL Connector/J JDBC driver for MySQL, http://jtds.sourceforge.net/ for the jTDS driver for Microsoft SQL Server and Sybase Adaptive Server, or search at http://www.teradata.com/ for the JDBC driver for Teradata). For MySQL, use the MySQL 5.0 driver, not 5.1 or later, with SQL Developer release 1.5.
    You must specify a third-party JDBC driver or install a driver using the Check for Updates feature before you can create a database connection to a third-party database of that associated type. (See the tabs for creating connections to third-party databases in the Create/Edit/Select Database Connection dialog box.)
    Alternative:
    As an alternative to using this preference, you can click Help, then Check for Updates to install the JTDS JDBC Driver for Microsoft SQL Server and the MySQL JDBE Driver as extensions.
    Regards,
    Mike

  • Test JDBC Driver For SQL Server 2000 Failed

    Hi:
    I have trouble setting up the database connection using jdbc driver in the studio, could anyone help me please? I have MS SQL 2000 MSDE installed on my local machine. I downloaded and installed the JDBC Driver for MSSQL 2000 from Microsoft.
    I put the following jar files into the/lib/ext/ directory
    msbase.jar
    mssqlserver.jar
    msutil.jar
    In Studio 4.1 EE, I went to Runtime>Databases>Drivers, Add a new Driver with these information:
    Name: MSSQL Driver
    Driver: com.microsoft.jdbcx.sqlserver.SQLServerDataSource
    URL Prefix: jdbc:microsoft:sqlserver://localhost:<PORT>[;DatabaseName=<DB>]
    Next I run the Test Driver...
    Database URL: jdbc:microsoft:sqlserver://<machineName>\\<instanceName>;DatabaseName=<xxx>
    User: <username>
    Password: <password>
    I receieved the a popup box and message in the output window:
    Internal test driver incomplete. the driver may not support the required DatabaseMetadata methods. take a look at the Output Window for details.
    Warning: No tables were found. Check your database.
    Warning: No views were found. Check your database
    Warning: No procedures were found. Check your database.
    Your replies are greatly appreciated.
    Perry

    com.microsoft.jdbcx.sqlserver.SQLServerDataSource is a very old direct driver. I'd recommend using the DataDirect 3.2 driver. It can be found at:
    http://www.datadirect-technologies.com/products/jdbc/jdbcindex.asp

  • Is this a bug in JDBC driver for SQL Server 2000?

    Hi, all:
    I encountered a strange problem today.
    My struts/jsp application throws an error while executing the following SQL:
    SELECT id,moduleName,pageLevel,ent_name,style_name,type,hits,startDate,expireDate,expireAction,active,dealtime FROM v_ad WHERE style_id=1 ORDER BY id DESC
    The error message is:
    [Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]Invalid column name 'style_id'.
    However, the column "style_id" does exist in view "v_ad", and if I execute this query in SQL Server Query Analyzer, it runs rightly with my expected result.
    I wonder if this is a bug of JDBC, and if this is really a bug, how should I deal with this problem?
    Any help would be thankful!

    Sounds like you may not have connected to the right database on the server.
    Check the default database for the username/passwd combo you are logging in with.

  • Any body can recommend a free JDBC driver for sql server 7.0

    The microsoft jdbc driver only use on sql server 2000, but my database system is sql server 7.0
    Is there anybody can help me? Thanks a lot!

    The only free one I know about is ODBC. I don't recommend using it for production apps, but it works OK for development. Most of the driver's allow you to download an evaluation copy.
    Look here:
    http://industry.java.sun.com/products/jdbc/drivers

  • Jdbc driver for SQL Server CE (Mobile SQL)

    Hi All,
    I am in a process of devloping a mobile application in WindowsCE 5.0 with javaME (Java crEme). I am using MobileSQL as DB on the device. So just wanted to know is there any jdbc driver available in javaME to connect MObileSQL?
    Early response will help.
    Thanks.
    Ramakanta

    I used Sun's jdbc odbc driver for a while, with no problems, with Sql Server 7. But anyways, if you want a free type 4 driver, you can get the freetds driver at
    https://sourceforge.net/projects/jtds/

  • Question about load Microsoft JDBC driver for Sql server 2000

    Hello,
    I have some problem while trying load the sqlserver2000 jdbc driver
    My program is a third party application and it works with the other type 4 JDBC driver well. So I tried to use Microsoft SQL server 2000 JDBC driver instead.
    I installed JDBC driver and set up the classpath.
    My error message is:
    "Driver class 'com.microsoft.jdbc.sqlserver.SQLServerDriver' could not be loaded"
    Is above message means that my classpath setup correctly but the application could not load the class or the application could not find the jar file which containes the driver class?
    By the way, the third party application I was using to load this JDBC driver does not certified to use microsoft JDBC driver. But I don't think it matter?
    Thanks for your help
    Hui Lu

    Hello,
    I have some problem while trying load the
    sqlserver2000 jdbc driver
    My program is a third party application and it works
    with the other type 4 JDBC driver well. So I tried to
    use Microsoft SQL server 2000 JDBC driver instead.
    I installed JDBC driver and set up the classpath.
    My error message is:
    "Driver class
    'com.microsoft.jdbc.sqlserver.SQLServerDriver' could
    not be loaded"
    That is an unusual message. Presumably you did not see "NoClassDefFoundError". If you see that it means the class could not be found.
    Is above message means that my classpath setup
    correctly but the application could not load the class
    or the application could not find the jar file which
    containes the driver class?
    By the way, the third party application I was using to
    load this JDBC driver does not certified to use
    microsoft JDBC driver. But I don't think it matter?
    It could. Perhaps the app expects a certain functional level and the driver doesn't support that. And so it bails with the message that you see.
    Or it could mean that you have do something special because it has its own class path, and the driver is not in that.

Maybe you are looking for

  • Mac Pro will not sleep properly after installing new SATA BD-CD-DVD drive.

    Hello and thank you in advance for time reading this. I have been using a Mac Pro for 4 years and it never happened to me before. This started almost immediately after installing a new SATA BD-CD-DVD Drive. When the Mac is ordered to sleep, It shuts

  • Low Battery Warning and Screen Shut Off

    A couple of months ago I stopped receiving the Low Battery/Reserve Power/Connect to AC warning. The computer would just shut down then. This is probably explained by my battery being on a 350 cycle count. However, a new problem has arisen which I am

  • Error while trying to use the DNS/DHCP record sync with IPAM script

    Could somebody help me to resolve the below error. I get this error message , when i try to do a Invode-ipamdhcplease =========================================== Invoke-IpamDhcpLease : [] Connecting to remote server failed with the following error me

  • Mark ask Watched not working

    Since the Airplay update yesterday my Apple TV Gen 2 no longer marks shows as watched. In fact, if I manually mark as watched within a few minutes they are all shown as unwatched again. Yes, I've rebooted the Apple TV and my Mac. This is highly annoy

  • Customer maintain in Vendor "Control" table

    Dear Experts, Can anyone please advice what is the purpose of maintaining a Customer for a Vendor? Thank you very much, Regards, Chee Wee