apoorv7512 Posted March 21, 2010 Share Posted March 21, 2010 I was trying to configure the jdbc configuration for SQL server. am getting an error. shall be thankful for help in this regard. also if jdbc connection is not the right way then what is the right way for connecting with SQL server database? Link to comment Share on other sites More sharing options...
def_admin Posted March 21, 2010 Share Posted March 21, 2010 The full error message will be in the server logs at tomcat/webapps/jasperserver/WEB-INF/logs/jasperserver.log Have a look at http://jasperforge.org/plugins/mwiki/index.php/Jasperserver/DataSources ShermanJaspersoft Link to comment Share on other sites More sharing options...
apoorv7512 Posted March 22, 2010 Author Share Posted March 22, 2010 I followed the steps that you have mentioned in the mail.I was getting the connection as failed. I am sending the error log file below. Please consider the following:1.) We have been able to configure the connection in I-report also. It works fine.2.) I have configured a system dsn and user dsn connection as 'sqlserverconnection'3.) The database that needs to be accessed is 1Redx4.) The server address is 74.127.8.1805.) I have windows authentication. The username is VDS-apoorv\Administrator I sought to change the entries as follows:com.microsoft.sqlserver.jdbc.sqlserverconnection jdbc:sqlserver://74.127.8.180:1433:databasename=1Redx; I am still getting an error. where am I making a mistake? Link to comment Share on other sites More sharing options...
ramnik Posted March 22, 2010 Share Posted March 22, 2010 This error is caused by missing jdbc driver. Please Copy the right jdbc driver for SQL server - sqljdbc-1.6 in the directory :- {TOMCAT_HOME} /lib Link to comment Share on other sites More sharing options...
apoorv7512 Posted March 23, 2010 Author Share Posted March 23, 2010 are you referring to jdbc driver 1.2? that is what I found on the mcrosoft web site. right now the connection is still not working. Link to comment Share on other sites More sharing options...
mdahlman Posted March 23, 2010 Share Posted March 23, 2010 apoorv7512,Your posting says that you are using the class "com.microsoft.sqlserver.jdbc.sqlserverconnection".Your log says that it's looking for the class "com.mysql.jdbc.sqlserverconnection". So it looks like you have not configured things as you thought you did.The correct class is "com.microsoft.sqlserver.jdbc.SQLServerDriver", and it's case sensitive as all Java classes are.I wrote a tutorial to help with connecting to SQL Server. Take a look at the attached doc to see if it helps.Regards,Matt Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now