aspose file tools
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
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Reply 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: 472

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: 6590
    
    1

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 - SCJP Mocks - SCJP 5 Mock exam (Word document ) - SCJP 5 Mock exam in Java.Inquisition format
Sherif Shehab
Ranch Hand

Joined: Mar 05, 2007
Posts: 472

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: 472

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://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: [Microsoft][SQLServer 2000 Driver for JDBC]Unsupported VM encoding Cp1256.
 
Similar Threads
Problem in making connection
[Microsoft][SQLServer 2000 Driver for JDBC]Error establishing socket
How to Support a Codepage
Getting Exception as Could not find stored procedure 'sp_getNextMainGroup'
How to convert Blob Type back to File