Win a copy of The Business Blockchain this week in the Cloud forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

CachedRowSet problem

 
jayram
Ranch Hand
Posts: 94
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello
I am getting following exception while using CachedRowSet
sun.jdbc.rowset.CachedRowSet is an abstract class. It can't be instantiated.
ccls_CachedRowSet = new CachedRowSet();
The program works fine most of the time and suddenly gives this error. Same problem when using it with Resin. But in this case the problem occurs more often. Any solutions???
Cheers
Jayram
 
Adam Hardy
Ranch Hand
Posts: 567
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I had this problem six months ago - it mostly solved itself somehow while I was desperately trying to fix it and I wasn't able to tell exactly why.
I set up a new Java development workstation and the error started. On my old machine it was still OK.
Somebody said it might be an old version of CachedRowSet in one of my JARs somewhere. Are you running J2EE as well? Try de-installing that.
Also, try putting rowset.jar in the first directory quoted in your classpath.
I'd be interested to know if that helps.
Adam
 
jayram
Ranch Hand
Posts: 94
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
well,
I havent done any changes to my config. It hasnt given me any problems for last 3/4 days.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic