Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
Java
Tomcat and jTDS - not that stable...
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="Rico, post: 594013"] Hello ppl. I've been trying to use jTDS instead of Sun's JDBC-ODBC bridge in our web application. I'm running into a couple of issues: (i) seconds truncated when I getString( ) a column of type datetime, whereas this doesn't happen with Sun's bridge. (ii) I get NullPointerException on some data access but the former error stops when I merely revert the driver and URL back to Sun's bridge I am wondering, does Tomcat require any particular settings for '3rd-party' drivers such as jTDS, whereas things are simpler for Sun's bridge because it is part of the J2SE ? If so, which settings would those be? All database accesses are made from plain Java code in WEB-INF\classes not from JSP. For another standalone application I've written all I needed was - driver class - connection url - username and password for SQL authentication And it all works fine so far. But under Tomcat, after placing jTDS.jar in common\lib, sometimes I run into 'connection timeout' and subsequently trying to retrieve the data read into my collections barfs ArrayIndexOutOfBoundsException. Rico. [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
Java
Tomcat and jTDS - not that stable...
Top