Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7521445
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T02:14:10+00:00 2026-05-30T02:14:10+00:00

I am new to Tomcat and Java SE 6 and need to know what

  • 0

I am new to Tomcat and Java SE 6 and need to know what I need to do to install, configure and use the Microsoft JDBC driver.

I have download the JDBC driver and extracted it to a directory on a windows 2008 system. I am going to install a couple of Java applications into tomcat 6 that need to talk to a SQL database.

Do I need to copy files from the JDBC directory to the tomcat directories or the java application directories installed in tomcat?

Do I need to configure any anything anything else?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T02:14:11+00:00Added an answer on May 30, 2026 at 2:14 am

    As the links that Gagandeep provided will say, in order for your JVM to make a database connection, the JDBC driver jar(s) have to be on the classpath, and you’ll need to provide your Java program with an appropriate connection string and credentials.

    As far as what you need to do specifically with Tomcat, that depends quite a bit on your applications and how they retrieve a connection to the datab

    Now there are a few options as far creating and providing this connection. With Tomcat and Java EE applications, your Java application could define a in its web.xml. Tomcat would be responsible for creating/maintaining the connection (pool) and providing it to the application as needed. In this case the driver would have to be on Tomcat’s classpath, you’d need some configuration in your application’s corresponding context.xml and possibly even the server.xml. Here’s some Tomcat docs on this method topic

    Alternatively, your application could be responsible itself for setting up and tearing down the database connections, in which case the driver jars probably belong in the WAR / part of the WAR’s classpath. Then all that is needed is a method for getting the required connection information into the application (environment entries, property files, any number of other methods)…

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

url = new java.net.URL(s) doesn't work for me. I have a string C:\apache-tomcat-6.0.29\webapps\XEPServlet\files\m1.fo and
I have a java web application wired using Spring on Tomcat. I need a
I am a brand new Java developer (I have been working in asp.net) and
I have a use case , where I need to display some log files
I have installed java and tomcat appache server on linux. When i am going
I'm new on the java universe, also new in the tomcat world. So, the
I have several files comprising a tomcat web application that I need to import
I use: netbeans 6.9.1, tomcat 5.5.33, 7.0 and 6.x.x(inbuild-netbeans), java 1.6.23(both jdk and jre).
I have developed simple website using Tomcat and Java. Now I'm trying to add
I am new in java programming. I have write a small web program using

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.