How to install jTDS jdbc driver

I've heard so much about this jTDS driver, and had it with the current jdbc driver i'm using. I'm using slserver 7. i would like to install the jtds driver. I just downloaded the .jar file. how do i install the driver. which directory do i put it in? pls help asap. thanks a million.

"Install" it?
The directory you put it in depends greatly on the application that's using it.
If it's a desktop app, put in in the CLASSPATH for the app.
If it's a Web app, put it in the WEB-INF/lib directory for your app.
It's not a cut & dried answer. I don't think one JAR file will necessarily serve all apps. Expect to have duplicates as needed. I do.
%

Similar Messages

  • SQLDeveloper 3.1 EA3 -- error installing JTDS JDBC Driver for Microsoft SQL

    After installing sqldeveloper64-3.1.06.82-no-jre.zip I get an error when trying to add the "JTDS JDBC Driver for Microsoft SQL Server" extension.
    The error returned is an invalid URL.
    The URL is http://download-llnw.oracle.com/otn-pub/sqldeveloper/oracle.sqldeveloper.thirdparty.drivers.sqlserver.58.17.zip

    Hi Chris,
    A bug was logged for this a few days ago:
    Bug 13547400 - CHECK UPDATES FAILS DUE TO SERVER RETURNED HTTP RESPONSE CODE: 400
    This is similar to another bug which has already been fixed (not a product bug, just a bad URL in an OTN web page):
    Bug 13530787 - 3.1 EA2: FORUM: CHECK FOR UPDATE HAS BAD URL FOR CVS
    3.1EA2 Sqldeveloper Updates Fail to install
    So I imagine yours will get fixed soon.
    Regards,
    Gary
    SQL Developer Team

  • How to install a JDBC driver?

    Hello, everybody!
    I'm new to Java and I'm trying to install a JDBC driver. So, I downloaded the JayBird,
    a JDBC driver for Firebird, and now I don't know how to install the driver. I keep
    getting this message from the compiler when I try to compile the example that comes
    with the driver:
    DriverExample.java:182: package org.firebirdsql.jdbc does not exist
    d = new org.firebirdsql.jdbc.FBDriver ();
    ^
    1 error
    So, in the directory that has the example file (DriverExample.java) I created the
    following directory structure:
    C:\Example\org\firebirdsql\jdbc
    and inside the jdbc directory I copied the driver files:
    firebirdsql.jar
    mini-concurrent.jar
    jaas.jar
    mini-j2ee.jar
    log4j-core.jar
    and I still keep getting the error from the compiler. I just would like to
    know what I have to do to install this driver correctly for the compiler to
    find its packages.
    Below are the instructions the comes with the help to install JayBird, but I
    think that I did everything and it still didn't work:
    ======================================================================
    The classes from firebirdsql.jar must be in the classpath of the Java
    application being compiled, or otherwise made available to your application.
    The classes from the following packages must also be available:
    mini-concurrent.jar
    jaas.jar (included in jdk 1.4)
    mini-j2ee.jar (now including JDBC classes)
    log4j-core.jar (if you want logging available)
    The firebirdsql-full.jar file has all of the needed files in one
    archive for ease of use.
    These archives are included in the binary package.
    ======================================================================
    Please can someone help me?
    Thank you...
    Marcos

    My file (DriverExample.java) is in the directory 'Example' and the driver files are in the directory 'Example\org\firebirdsql\jdbc'
    That's what I did inside the directory 'Example'
    javac -classpath org/firebirdsql/jdbc/firebirdsql.jar DriverExample.java
    And that compiled ok.
    Now how can I specify where the driver files are for the java.exe? Of course I tried:
    java DriverExample
    and it didn't work.

  • Installing Postgresql JDBC Driver WLS 8.1

    Hi,
    Can somebody explain how I install the JDBC Driver for postgresql? I have WLS
    8.1.2 on Win XP. I think the solution would be to set the CLASSPATH to the appropriate
    location. But how do I do this permanently?
    Thanks,
    Oliver

    Oliver wrote:
    Hi,
    Can somebody explain how I install the JDBC Driver for postgresql? I have WLS
    8.1.2 on Win XP. I think the solution would be to set the CLASSPATH to the appropriate
    location. But how do I do this permanently?
    Thanks,
    OliverHi. Read the startWeblogic script to see how it constructs the -classpath argument for
    the weblogic JVM. You can either add the postgres classes to an environment variable
    PRE_CLASSPATH, or edit the startup script etc.
    Joe

  • 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

  • Java.lang.ClassNotFoundException:   net.sourceforge.jtds.jdbc.Driver

    Help!
      I've created a simple program that should connect to a client of mine using jdbc.  I was given the driver class which I have imported and added to my build path.  I deploy the application and it errors saying it cannot find the class.  Here is the code:
    public void wdDoInit()
        //@@begin wdDoInit()
        IWDMessageManager mm = wdThis.wdGetAPI().getComponent().getMessageManager();
        String host = "host";
        int port = 1433;
        String SID = "hostsid";
        String user = "username";
        String pass = "pwd";
        String driver_class = "net.sourceforge.jtds.jdbc.Driver"; 
        String access = "jdbc:jtds:sqlserver://" + host + ":1433" + "/" + SID;
        Connection con;
         try
          try
            Driver driver = (Driver)Class.forName(driver_class).newInstance();
           } catch (Exception e)
            mm.reportWarning("msg = " + e.toString());
          con = DriverManager.getConnection(access, user, pass);
        } catch (SQLException e)
          mm.reportWarning("Error: " + e.getMessage());

    Hi Steve,
    Put jar file with JDBC driver to lib folder under your WD project and it will be included to wda and ear files.
    BTW, may be it is beeter to register driver and datasource instead of using direct connect to DB? See how to register data source http://help.sap.com/saphelp_nw04/helpdata/en/b0/6e62f30cbe9e44977c78dbdc7a6b27/frameset.htm
    Best regards, Maksim Rashchynski.

  • How to use a jdbc driver in caf

    Hi, all.
         I tried to make a ws to access DB with CAF, but I had no idea how to use a jdbc driver(.jar).
        Can anyone do me a favor? Thx 
        PS: my server is ce7.1
    Edited by: Louis HUANG on Jul 27, 2009 1:09 PM

    hi
    If you want to interact with db tables in caf,try like this.
    it may work..
    Using EJB call database tables using jdbc driver.
    Expose EJB as webservice.
    and using External service option of caf utilise this webservice in caf,do the necessary mappings..
    you can search in sdn,how to call DB tables in EJB..
    Regards
    sowmya.

  • How to install in diffrent drive

    Hi,
    How to install at diffent drive?

    Heir72 which Adobe software or service is your inquiry in relation too?

  • How to install a flash drive?

    How to install a flash drive?

    If you simply mean a USB flash drive, or a USB hard drive. There should be no installation requirements. If the drive doesn't show up in Finder, you should check whether Disk Utility sees it, and whether the drive has a Mac readable filesystem. Disk Utility can be found with spotight if you do not know where it is.

  • How to install HP printer driver *****

    Hi,
    How to install HP printer driver , so that i can see new device type in SPAD.
    Thanks
    Lisa

    Hi Lisa,
    proceed as below.
    1)Log in to HP-UX as root (or an other username that controls the printers, and has all the rights to the directories).
    2)Type sam  on the command line and press enter.
    3)Scroll to Printer and Plotters with the vertical scrollbar.
    4)Click twice on Printers and Plotters.
    5)Double click on LP Spooler.
    6)Click twice on Printers and Plotters.
    7)Select Actions on the menu bar and click on Add Remote Printer/Plotter.
    8)For “Printer Name” type any name, “Remote System Name” use the DNS/Host name, or alternatively use the dotted-IP (200.200.200.11). ”Remote Printer Name” should be one of the destination ports on the Printnet (d1prn, d2prn, etc….). Also select Remote Printer is on a BSD System. Press OK and the server will install the printer.
    9)Click on OK.
    10)For a test print type lp –d Printername /etc/protocols.
    And finally  don’t forget to make this printer as the default printer if u have only this.
    Right click on the printer and and say make default.
    Regards,
    Bapu

  • -net.sourceforge.jtds.jdbc.Driver ERROR WHILE CONNECTING TO SQL SERVER

    Hi,
    While making a new connection to Sql Server Express Edition Database, through Oracle Sql Developer i am getting a problem when retrieving the database.The error is "-net.sourceforge.jtds.jdbc.Driver" .I have downloaded the "jTDS - SQL Server and Sybase JDBC driver " from sourceforge website, but i am confused about where to paste it.
    thanks.

    I'm not sure why you are having the error but I am sure of the following:
    1. This forum is not appropriate for SQL*Developer questions.
    2. Or questions about code from SourceForge
    3. Or Microsoft products.
    It seems unlikely this has anything to do with Oracle so I would recommend you find a forum related to the driver if one exists. Otherwise you can try the SQL*Developer forum but I would be there aren't more than a dozen other people on the product trying to do this.

  • Websphere 5.1 Jtds jdbc driver issue

    Can some one suggest the possible solution to this issue.
    I am trying to use Jtds 1.2 jdbc driver to connect to Sqlserver 2000 from the websphere 5.1 app server ( actually test server environment from WSAD 5.1.2) and I am getting the SQLException as follows "The requested size is greater than the maximum number of rows" . We have the same Jtds driver running fine on JBoss app server for the same application. So I am guessing it must be some configuration that I am missing in websphere that I could nt able to figure out. Appreciate if some one can direct me.
    The run time error....
    [7/3/06 11:34:47:297 CDT] 7c2fe6bb WebGroup I SRVE0181I: [Form Action Servlet] [ARJ] [Servlet.LOG]: java.sql.SQLException: java.sql.SQLException: The requested fetch size is greater than the maximum number of rows.
         at net.sourceforge.jtds.jdbc.JtdsStatement.setFetchSize(JtdsStatement.java:956)
         at net.sourceforge.jtds.jdbcx.proxy.StatementProxy.setFetchSize(StatementProxy.java:393)
         at com.ibm.ws.rsadapter.jdbc.WSJdbcStatement.enforceStatementProperties(WSJdbcStatement.java:290)
         at com.ibm.ws.rsadapter.jdbc.WSJdbcStatement.executeQuery(WSJdbcStatement.java:443)
         at com.actek.j2ee.common.sessionbean.QuerySessionBean.processQueryParm(QuerySessionBean.java:140)
    and the concised SQL query, app error are as follows...
    SELECT TOP 101 P.CreditTrnNo, P.CreditType, P.CustomerNo, P.Reviewed, P.NextReviewDate, P.DateComp .......... FROM CreditTrn P LEFT OUTER JOIN Customer Customer_CreditTrn ON P.CustomerNo = Customer_CreditTrn.CustomerNo LEFT OUTER JOIN Dealer Dealer_CreditTrn ON P.DealerNo = Dealer_CreditTrn.DealerNo LEFT OUTER JOIN UsrSet UsrSet_CreditTrn ON P.ChkUserNo = UsrSet_CreditTrn.UserNo WHERE Customer_CreditTrn.CustomerId = '013108' ORDER BY P.SalePend DESC, P.CompReq DESC, P.TrnType, P.FstDate, P.FstTime
    java.sql.SQLException: The requested fetch size is greater than the maximum number of rows.
         at net.sourceforge.jtds.jdbc.JtdsStatement.setFetchSize(JtdsStatement.java:956)
         at net.sourceforge.jtds.jdbcx.proxy.StatementProxy.setFetchSize(StatementProxy.java:393)
         at com.ibm.ws.rsadapter.jdbc.WSJdbcStatement.enforceStatementProperties(WSJdbcStatement.java:290)
         at com.ibm.ws.rsadapter.jdbc.WSJdbcStatement.executeQuery(WSJdbcStatement.java:443)

    It passes the J2EE 1.3 certification ...So it is JDBC 2.0 compliant.
    How does it rate with JDBC 3.0? Like mostly
    complete? Or all complete but just not certified
    (presuming such a certification exists.)It's both JDBC 2.0 and 3.0 compliant. The problem with the J2EE 1.4 compliance test suite is that it's not publicly available (1.3 is) so we simply can't test against it. We are trying to get jTDS certified, but it costs $2000 and we don't have that kind of money (not unless we pay from our pockets). We intend to do it, from donations and commercial support, but we're currently quite far from the $2k target. Even without an official certification jTDS is the driver of choice for a number of applications that need JDBC 3.0 features (e.g. Hibernate).
    The only missing JDBC 3.0 features are connection pooling and row sets. The reason we did not implement these features is that there are good, free third party implementations out there, which are probably better implemented and tested than anything we could come up with (namely DBCP and c3p0 for connection pooling and the Sun reference implementation for row sets). Regarding connection pooling, jTDS does implement the PooledConnection interface, it just doesn't implement the pooling DataSource.
    And it does windows auth as well as database auth
    right (not a new feature but I want to make sure I
    remember?)Yes, it does both SQL Server and Windows authentication. Windows authentication can be done using the credentials of the currently logged user (i.e. without the need to specify a user name and password) or by providing a Windows user name and password (this is useful when logging in from a non-Windows machine or a machine outside of the domain to an SQL Server that is only configured to accept Windows authentication). As far as I know the second Windows authentication mode is only supported by jTDS.
    Alin.

  • How to register MySQL JDBC Driver in OC4J

    Does anyone know how to register the MySQL JDBC driver in OC4J ?

    When your application must connect to heterogeneous databases, use DataDirect JDBC drivers. DataDirect JDBC drivers are not meant to be used with an Oracle database but for connecting to non-Oracle databases, such as Microsoft, SQLServer, Sybase and DB2. If you want to use DataDirect drivers with OC4J, add corresponding entries for each database in the data-sources.xml file.
    Please see the DataDirect documentation for information on installing the DataDirect JDBC drivers.
    The following is an example of a data source entry for SQLServer. For more detailed information, see the DataDirect Connect JDBC User's Guide and Reference.
    <data-source
    class="com.evermind.sql.DriverManagerDataSource"
    name="MerantDS"
    location="jdbc/MerantCoreSSDS"
    xa-location="jdbc/xa/MerantSSXADS"
    ejb-location="jdbc/MerantSSDS"
    connection-driver="com.merant.datadirect.jdbc.sqlserver.SQLServerDriver"
    username="test"
    password="secret"
    url="jdbc:sqlserver//hostname:port;User=test;Password=secret"
    inactivity-timeout="30"
    />
    For a DB2 database, here is a data source configuration sample:
    <data-source
    class="com.evermind.sql.DriverManagerDataSource"
    name="MerantDS"
    location="jdbc/MerantDB2DS"
    xa-location="jdbc/xa/MerantDB2XADS"
    ejb-location="jdbc/MerantDB2DS"
    connection-driver="com.merant.datadirect.jdbc.db2.DB2Driver"
    username="test"
    password="secret"
    url="jdbc:sqlserver//hostname:port;LocationName=jdbc;CollectionId=default;
    inactivity-timeout="30"
    />
    For a Sybase database, here is a data source configuration sample:
    <data-source
    class="com.evermind.sql.DriverManagerDataSource"
    name="MerantDS"
    location="jdbc/MerantCoreSybaseDS"
    xa-location="jdbc/xa/MerantSybaseXADS"
    ejb-location="jdbc/MerantSybaseDS"
    connection-driver="com.merant.datadirect.jdbc.sybase.SybaseDriver"
    username="test"
    password="secret"
    url="jdbc:sqlserver//hostname:port;User=test;Password=secret"
    inactivity-timeout="30"
    />
    please link: http://otn.oracle.com/docs/products/ias/doc_library/903doc_otn/generic.903/a97690/ds3.htm#100612

  • Help installing new JDBC driver on LINUX

    Hello,
    Today, I downloaded the new SQL Server 2005 JDBC Driver onto
    my Linux Server. The path to the driver's .jar file is
    /root/sqljdbc_1.0/enu/sqljdbc.jar. I placed that path in my CF
    Adminstrator "Java and JVM" page's Class Path field. I restarted
    the app server but each time I try to establish a dsn connection I
    keep getting this error. (note: I have dsn's set up already to this
    instance of SQL Server 2005 so the communicatio is there but I
    would prefer to use this new driver)
    Connection verification failed for data source: dsnTestDB
    java.sql.SQLException: No suitable driver available for
    dsnTestDB, please check the driver setting in resources file,
    error: null
    The root cause was that: java.sql.SQLException: No suitable
    driver available for dsnTestDB please check the driver setting in
    resources file, error: null
    Any help would be greatly appreciated.
    Thanks,
    mdg1
    Houston, TX

    Try placing the jar file in the
    {cfmx-root}/runtime/servers/lib (create if not already there)
    directory if you have the server install or the
    {jrun-root}/servers/lib directory if you have the multiserver or
    j2ee install on JRun. Restart the Coldfusion applicatioin server.
    Ted Zimmerman

  • How to install Oracle ODBC driver...?

    TOM,
    Presently, I have oracle client version. But there no Oracle ODBC driver in my PC. But, I want to install only Oracle ODBC driver in my PC for ODBC Connectivity purpose.
    How to install & where can get the source?

    I found out the real answer!!!
    On another thread there was a link to the client 10g installation. I download that 480Meg monster. Unzipped the package and launced the setup.exe.
    You can then install just the ODBC using the custom option. But, it will not install the tnsnames.ora file. If you have ever done this from a VB app, copy the tsnnames.ora over to the \network\admin folder. It's usually under the oracle\product\client\10.0.2\ folder. Once installed you can launch the ODBC administer either from the link Oracle installs or from the control panel.
    Next, you need to make sure the folders where the .dll file is readable to the iis. Change the folder to add whatever permission group you use for iis (I happen to have setup a local users group {machinename\users}. Add them to the entire folder structure (check the embedded folders to ensure they are readable).
    While setting up the ODBC, the TSN names will now be listed from the tsnnames.ora file (if properly located). To make the connection work, the userid should be 'userid;pwd=password'. Otherwise the connection failed for me.
    Now, if your connection works okay from the odbc test connection, it will probably fail if accessing through iis (like from a .asp page). There are environment path variables that need to be set. Reboot the server for them to get set. Otherwise you will get a ODBC driver can not be loaded do to system error 1114 message.

Maybe you are looking for

  • Can connect to skype but not subscription

    I can connect to my account but I cannot connect to used my suscription I can not make any calls Post transferred from outdated, irrelevant thread to create new topic. Subject/title edited accordingly.

  • Videos, no matter type of player, Flash or otherwise, do not display in Version 12

    No matter what the source, or the type of player a video plays in, since I installed FireFox v12.0, no videos show. The screen goes black, that's it. RealPlayer doesn't work, etc. Help please!

  • Any opinions on GP70 LEOPARD-010?

    I was thinking of purchasing this notebook but I can not find any reviews on it.  Anyone here familiar with it and can tell me pro's and cons for it?  Is it a good notebook to purchase or should I look elsewhere?  I am looking for the specs below. Ga

  • Postscript Driver for Windows 7 64 bit

    Hi, I'm running Adobe Pagemaker 7 in Windows 7 64 Bit which i think in itself is somewhat remarkable! The problem i'm having is with installing the Postscript driver so that i can export the Pagemaker files as .PDFs. The driver on the disc will not i

  • Lion Mail icons (pictograms) missing suddenly - HELP

    After a recent reboot, I am now missing all icons on the vailable buttons for the toolbar within the Mail app of Lion. I have not removed the toolbar or anything, the buttons themselves are there, but they show now pictograms/pictures on them. I have