I am running Tomcat 5.5.9 on a Linux Fedora server, I have web applications which suppose to connect to MSSQL Server database and get information. I downloaded and installed the driver to connect to the database. The driver is installed at: /opt/msSQLjdbc the jar files are in lib directory.
I copied the complete lib directory into my webapps/my_app/WEB-INF
When I run the application on the browser I receive the following error:
The application does not load the driver from the line of code
// load the SQL driver
Class.forName( "com.microsoft.jdbc.sqlserver.SQLServerDriver" );
I can’t figure out why.
On windows it all works fine without modifying the CLASSPATH.
Does any one know the source of the problem?