Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

retrieve data from SQL Server 2005 using Microsoft's JDBC driver

 
Sherif Shehab
Ranch Hand
Posts: 485
Android Eclipse IDE Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi dears ,

My j2ee application was running fine but suddenlly this error occurs

i tried the solution mentioned Here but still getting the same error , I'm using GlassFish Server Open Source Edition 3.0.1 (build 22) , i just upgraded from glassfish v3 ,

by the way there is another j2ee application running on the same server and fetching data from the same DB and it;s working fine

DB is Microsoft SQL server 2005

Any suggestions ?
 
Tom Reilly
Rancher
Posts: 618
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You say that the error suddenly occurred but then say you recently upgraded. Could there be a correlation?
Googling the error suggests that you are using the SQLServer 2000 Driver when you should be using
the SQLServer >>2005<< Driver.
 
Sherif Shehab
Ranch Hand
Posts: 485
Android Eclipse IDE Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ya i mean i didnt change anything in the application itself , only upgrading the server..
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'd second what Tom says. The log shows you are using the MS 2000 driver, which is an awful, bug ridden thing. Upgrade your driver to the 2005 or 2008 versions, or swap to jTDS and things may improve.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic