This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JDBC and the fly likes [Microsoft][SQLServer 2000 Driver for JDBC]Unsupported VM encoding Cp1256. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "[Microsoft][SQLServer 2000 Driver for JDBC]Unsupported VM encoding Cp1256." Watch "[Microsoft][SQLServer 2000 Driver for JDBC]Unsupported VM encoding Cp1256." New topic
Author

[Microsoft][SQLServer 2000 Driver for JDBC]Unsupported VM encoding Cp1256.

Sherif Shehab
Ranch Hand

Joined: Mar 05, 2007
Posts: 483

Hi Guys ,

My reporting system (developed by servelts , jsp and apache POI ) was working fine , until this exception occurss


i searched on the net about any solution for this exception but all saying that there is someting wrong in the sql jdbc driver !!! without providing any guide lines, actually i;m not convinced with this beacus my application was working fine for more than 3 weeks now plus i didnt make any changes !!!

I;m guessing some thing that some thing was changed in the Db that i;m generating my reports from ...

Ps : didn't changed anything related to the encoding !!

How i can solve this exception


Thanks,
Sherif
Deepak Bala
Bartender

Joined: Feb 24, 2006
Posts: 6661
    
    5

Perhaps your report now has some data that cannot be represented by a particular encoding?

Run a query that generates reports on old data. If that works then you can differentiate if the problem is with the base encoding of the DB, or the encoding of the data or something to do with the driver (which I do not think is likely. Never seen anything like that before.)


SCJP 6 articles - SCJP 5/6 mock exams - More SCJP Mocks
Sherif Shehab
Ranch Hand

Joined: Mar 05, 2007
Posts: 483

by the way i found a wrerid thig when i deploy the WAR (myapplication ) on the testing server and run it it works fine , but when i take the same WAR then try to run it on the production server this error occurs !!!

i dont know what this exception about !! but i think it;s some thing not related to my code , am i right ??
Sherif Shehab
Ranch Hand

Joined: Mar 05, 2007
Posts: 483

Guys i solved this problem , simply install arabic language on the machine that got the production server , it's working fine now
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: [Microsoft][SQLServer 2000 Driver for JDBC]Unsupported VM encoding Cp1256.
 
Similar Threads
Getting Exception as Could not find stored procedure 'sp_getNextMainGroup'
[Microsoft][SQLServer 2000 Driver for JDBC]Error establishing socket
How to convert Blob Type back to File
How to Support a Codepage
Problem in making connection