aspose file tools
The moose likes JDBC and the fly likes unrecognized CHARSET - UnsupportedEncodingException Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Databases » JDBC
Reply Bookmark "unrecognized CHARSET - UnsupportedEncodingException" Watch "unrecognized CHARSET - UnsupportedEncodingException" New topic
Author

unrecognized CHARSET - UnsupportedEncodingException

James Giroux
Greenhorn

Joined: Mar 11, 2004
Posts: 2
Recently after setting up a new test environment for our application we received the following error when we tried to start the application:

SQLException: SQLState(JZ00L)
SQLWarning: reason(JZ0I5: An unrecognized CHARSET property was specified: cp850.) SQLstate(JZ0I5) vendor code(0)
SQLWarning: reason(JZ006: Caught IOException: java.io.CharConversionException: java.io.UnsupportedEncodingException: Cp850) SQLstate(JZ006) vendor code(0)
getConnection failed: java.sql.SQLException: JZ00L: Login failed. Examine the SQLWarnings chained to this exception for the reason(s).

After a couple hours of going around in circles, we finally resolved the problem by moving to a later version of the sdk and runtime. We went from version 1.4.2 to 1.4.2_09. The problem seems to occur on Windows Server 2003, but not on Win 2000. Hope this helps save someone some time.
Dave Salter
Ranch Hand

Joined: Jul 20, 2005
Posts: 292

What database and driver was this running against?
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: unrecognized CHARSET - UnsupportedEncodingException
 
Similar Threads
Facing problem using Groovy a/autosplit command line switch with custom delimiter
Deploy EJB(CMP) on WebSphere3.5.2
Problem in getting database connection using Jboss
How do I retrieve an SQLWarning?
How to install JBoss with MyEclipse IDE? I am having problems