• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

Strange SQLException

 
Ranch Hand
Posts: 97
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Looks like gurus have never had this issue....


Thanks
Martin
 
author & internet detective
Posts: 41967
911
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Posts: 41967
911
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Martin,
Hmm. "Unknown token" - Are you dealing with binary or encoded data by any chance?
 
Ranch Hand
Posts: 110
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
We find this kind of rampant individuality very disturbing. But not this tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic