File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JDBC and the fly likes JDBC Driver for JDK 1.4 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "JDBC Driver for JDK 1.4" Watch "JDBC Driver for JDK 1.4" New topic
Author

JDBC Driver for JDK 1.4

vishal pradhan
Greenhorn

Joined: Aug 01, 2011
Posts: 5
Hi All,

Currently, I am using JDK 1.4 and Data Direct's sqlserver.jar as a JDBC driver and SQL server 2008 R2 Version
for my web application, but currently we are facing some exception which might be related to jdbc version,
Exception stack trace is like :


Also, sometimes SQL server maschine 16 CPU's spikes to 100% and stop responding in that case we need to just restart the maschine.

Can anybody tell me about this exception and the best JDBC driver which i can use for jdk 1.4 and from where i can download that?
Ranjeet Deshmukh
Greenhorn

Joined: Jan 18, 2013
Posts: 24

Hi Vishal,
Yes, you have to upgrade JDK 1.4 to JDK 1.5. The reason is explained here :-

http://msdn.microsoft.com/en-us/library/ms378422.aspx

~R@njeet.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 39547
    
  27
You shouldn't be using either Java 1.4 or Java 5 at this time. Run, don't walk, to upgrade to something a lot more recent.


Ping & DNS - updated with new look and Ping home screen widget
vishal pradhan
Greenhorn

Joined: Aug 01, 2011
Posts: 5
Thank you guys for your immediate response.
Can any body confirm me about java.sql.SQLException: [DataDirect][SQLServer JDBC Driver]Unhandled token type: Unknown token: 0x50 exception, that it is due to old JDBC driver only?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JDBC Driver for JDK 1.4
 
Similar Threads
Strange SQLException
MicroSoft 2000 SQL Server - recv failed problem
"Could not find stored procedure" Error
[Microsoft][ODBC Driver Manager] Invalid string or buffer length exception for 64 bit SQL Server