superfly18
asked on
SQL Server JDBC Issue
I am trying to get an application, JIRA to work with my SQL Server 2005 database. I am getting a lot of errors regarding database access even when I am using the sa account. I think the problem is related to the JTDS driver I am using. I am using the following connetion string:
driverClassName="net.sourc eforge.net .jtds.jdbc .driver"
url="jdbc:jtds:sqlserver:/ /localhost :1433/jira db"
I have also placed the JTDS jar file in the c:\program files\apache software foundation\tomcat 5.5\commom\lib folder
Any Thoughts? Is there another driver I should try? Any other configuration considerations?
Please let me know!
driverClassName="net.sourc
url="jdbc:jtds:sqlserver:/
I have also placed the JTDS jar file in the c:\program files\apache software foundation\tomcat 5.5\commom\lib folder
Any Thoughts? Is there another driver I should try? Any other configuration considerations?
Please let me know!
ASKER
Here is what I have as my configuration. Any thoughts?
Please help!
<Resource name="jdbc/JiraDS" auth="Container" type="javax.sql.DataSource "
username="sa"
password="sa"
driverClassName="com.micro soft.sqlse rver.jdbc. SQLServerD river"
url="jdbc:sqlserver://loca lhost:1433 ;databaseN ame=JiraDB ;integrate dSecurity= true"/>
Please help!
<Resource name="jdbc/JiraDS" auth="Container" type="javax.sql.DataSource
username="sa"
password="sa"
driverClassName="com.micro
url="jdbc:sqlserver://loca
Whats the actual error that comes up?
Can you actually connect?
Can you actually connect?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Also ensure in the surface area configuration that the appropriate library is enabled.
From a JDBC perspective I have no idea!
What you could do is
-post some of the errors
-test a different driver in parallel if possible to work out whether the issue is with this driver in particular.