Win a copy of Svelte and Sapper in Action this week in the JavaScript forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

Exception - No Clue As To The Problem

 
Ranch Hand
Posts: 167
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
SQLException: JZ006: Caught IOException: java.io.IOException: JZ0I6: An error oc
cured converting UNICODE to the charset used by the server. Error message: java
.io.CharConversionException: java.io.UnsupportedEncodingException: Cp850
I get the above exception when running a Java app on a Win2000 server with Sybase. It runs perfectly fine when running on my own NT box, but connecting to the same Sybase server.
Anyone have any experience with this error.
Thanks!
Rob
 
Rob Levo
Ranch Hand
Posts: 167
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Found the answer!
If anyone has this problem, you need to manually put the i18n.jar in the runtime. For some reason, it is in the JDK, but not the runtime.
I guess it was done to save space, but my app definately needed it.
 
"The Hood"
Posts: 8521
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yeah - if you notice, it was in the classpath in that .bat file that I shared with you.
 
Rob Levo
Ranch Hand
Posts: 167
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Of course I noticed, after 4 hours of trying to figure out what was going on, lol.
 
Does this tiny ad smell okay to you?
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
    Bookmark Topic Watch Topic
  • New Topic