Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Strange SQLException

 
Martin Lira
Ranch Hand
Posts: 97
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Guys,
I am using a connection pool (DataSource built in Websphere studio)to connect to SQLServer.
My JDBC provider is WebSphere embedded ConnectJDBC driver for MS SQL Server
On one select method that returns around 20000 rows it has started giving me this exception.
[IBM][SQLServer JDBC Driver]Unhandled token type: Unknown token: 0x2f

I never used to get this exception before with the same amount of rows being returned (20K should not be a large no i guess)

If I try to use the same DataSource after this error in some other method I get this exception
[IBM][SQLServer JDBC Driver]Request cannot be submitted due to wire contention.

Thanks,
ML
 
Martin Lira
Ranch Hand
Posts: 97
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Looks like gurus have never had this issue....


Thanks
Martin
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34422
347
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Martin Lira:
Looks like gurus have never had this issue....

We're not ignoring you I've never seen anything like this before either!
 
Martin Lira
Ranch Hand
Posts: 97
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I found that this error has also occured while using a MS SQL server JDBC driver and not just the IBM embedded driver.

[Microsoft][SQLServer 2000 Driver for JDBC]Unhandled token type: Unknown
token: 0x00
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34422
347
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Martin,
Hmm. "Unknown token" - Are you dealing with binary or encoded data by any chance?
 
Mahesh Mamani
Ranch Hand
Posts: 110
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The link below may give some solution. Pls try it.

http://forums.datadirect.com/forums/thread.jspa?threadID=432&tstart=60
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic