Connecting IBM WAS 6.1 to SQL Server 2005

  • I am trying to connect newly installed IBM Websphere Application Server 6.1 (WAS 6.1)to SQL Server 2005 and I am trying to use Microsoft SQL Server 2005 JDBC Driver V1.2.

    While configuring the JDBC provider within WAS 6.1 the SQL Server 2005 JDBC driver 1.2 that I installed is not visible as one of the deprecated drivers. I still have the old Microsoft SQL Server 2000 JDBC driver installed on that machine and that continues to be available for configuration.

    Basically the steps I followed are:

    Uninstalled the WAS 5.1

    Installed WAS 6.1

    Installed Microsoft SQL Server 2005 JDBC Driver V1.2

    Am I missing any step?Please let me know.

    Venkat Thiagarajan

  • Very good question, here's how I did it on WAS 6.0.

    Login to admin console

    Click on Resources

    Click on JDBC Providers

    Step 1: select user defined

    step 2 and 3 should all be user defined

    In name field type in something like: Microsoft SQL 2005 JDBC v1.2 Driver

    Descrption whatever you want

    Class path should be something like: ${WAS_LIBS_DIR}/ext/sqljdbc.jar

    Native Library classpath (empty)

    Implementation class name: com.microsoft.sqlserver.jdbc.SQLServerConnectionPoolDataSource

    I believe there's more than one implementation class, so you might want to look and see what else is available. We use this one to connect to SQL 2000.

    Make sure to copy the sqljdbc.jar to your WAS LIBs dir.

    for each JDBC connection you need to create the JNDIs with Custom Properties (under additional properties) of serverName and databaseName. It is case sensitive!

    Restart servers.

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply