Something special about charsets.jar

Hi Folks,
My application communicates with DB's which typically are either cp850 or cp437 and the JDBC driver relies on the conversion stuff in the sun.io package that is in the charsets.jar file. Now as long as charsets.jar is in the jre/lib directory, life is good.
But, many of my clients don't have charsets.jar even though they're running recent JRE versions (1.4 and above)--basically, they got the JRE through another 3rd party custom install and it didn't include charsets.jar.
So, I thought, no biggy, I'll just set up my application's JNLP file to send along a properly signed copy of charsets.jar. Well, the JRE (or at least the JDBC driver) can't find the classes in the JAR file when they're delivered by JWS. The JDBC driver complains that it can't convert the DB codepage data to Unicode. If I then copy the charsets.jar file to the jre/lib directory, it immediately works.
Is there something special about charsets.jar (or is the class loading in the JDBC driver probably just screwed up)?
Thanks for any insights,
John

If code loaded by the system class loader, trys to access charsets.jar, it won't find it.. (it will be using the System Class Loader instead of the COntext Class Loader to look for it).
You could just add an extension installer that copied the jar into the jre/lib directory, but most of the time, if you are missing charsets.jar, you are allso missing localedata.jar from the lib/ext directory.
This is the case if you have an "english only" version of the jre (up to 1.4.1) or a "western languages" version of the jre (in 1.4.2 or later).
In most cases the user can go to the add/remove programs dialog and modify the jre to include the components to make it fully localizable to non-western locales.
/Dietz

Similar Messages

  • How can I quickly and easily delete persistent cookies? Is there something special about them?

    Yes, I realize you delete cookies by going to Preferences/Privacy/Details if you don't want to mass-delete all of them (which you usually don't want to do). But it seems cookies from some sites take 3, 4, sometimes 5 select/deletes to finally get rid of them.
    Is there something unusual about some cookies that makes them so difficult to get rid of? Is there anything you can do about it, other than multiple deletions?

    Yes, some cookies appear to be more persistent than others.  Then again, there are different types of cookies, basic, flash, databases.  Some require a different approach.
    Take a look at this app.  I have used it for some time.
    https://itunes.apple.com/us/app/cookie/id415585910?mt=12
    PS.   Is you profile up to date?

  • Configuration of FP-Modules. In the catalog is something written about sending data on data change. There is a checkbox in the FP-Explorer but I can�t find a configuration menu in FP-Explorer to set the threshold value at which the data will be send.

    Configuration of FP-Modules. In the catalog is something written about sending data on data change. There is a checkbox in the FP-Explorer but I can�t find a configuration menu in FP-Explorer to set the threshold value at which the data will be send.

    : Configuration of FP-Modules. In the catalog is something written about sending data on data change. There is a checkbox in the FP-Explorer but I can�t find a configuration menu in FP-Explorer to set the threshold value at which the data will be send.The FP-1600 modules automatically send data on-change only. The change threshold is by default 0%. Any change, even a single least significant bit change, is sent back to the computer. If the FP-1600 firmware revision supports deadbanding (firmware revision 3.0.x and later, can be downloaded from ftp://ftp.ni.com/support/fieldpoint/Update/FPEthernet0320.zip ). Then on each analog channel or count channel you can specify a percentage change for deadbanding in FieldPoint Explorer. This is done on a channel by channel basis, by right-clicking on the particular IO module and choosing Edit this Device, then choosing Channel Configuration. Each channel (if it supports deadbanding) will have a deadband entry box on the middle right side of the screen).
    The FP-1000/1001 seri
    al network modules do not support deadbanding. The checkbox in FieldPoint Explorer is simply for how FieldPoint Explorer displays the data to the user and does not effect client programs nor the behavior of the network module itself.
    Regards,
    Aaron

  • Extensions Log complais about missing jars

    Hello!
    Extensions Log complains about missing jars
    Where can I find these jars?
    How to solve these problems?
    oracle.bpm.bpa
    Warning: Classpath entry C:\Oracle\Middleware\JDev\pcbpel\fabric\lib\orawsdl.jar not found.
    oracle.bpm.bpm-services.client
    Warning: Classpath entry C:\Oracle\Middleware\JDev\pcbpel\lib\j2ee\orasaaj.jar not found.
    Warning: Classpath entry C:\Oracle\Middleware\JDev\pcbpel\generated\jrf\orasaaj-rt.jar not found.
    Warning: Classpath entry C:\Oracle\Middleware\JDev\pcbpel\generated\jrf\wsclient.jar not found.
    Warning: Classpath entry C:\Oracle\Middleware\JDev\pcbpel\generated\jrf\wsclient-rt.jar not found.
    oracle.bpm.casemanagement.implementation
    Warning: Classpath entry C:\Oracle\Middleware\JDev\pcbpel\lib\j2ee\javax.persistence_1.0.0.0_1-0-2.jar not found.
    Warning: Classpath entry C:\Oracle\Middleware\JDev\pcbpel\fabric\lib\orawsdl.jar not found.
    oracle.bpm.compiler
    Warning: Classpath entry C:\Oracle\Middleware\JDev\jdeveloper\jdev\extensions\oracle.bpm.compiler.jar!\ade_autofs\nfsdo_base\JDK6\MAIN\LINUX\110210.1.6.0.24.B50\jdk6\lib\tools.jar not found.
    oracle.bpm.fusion.jdeveloper
    Warning: Classpath entry C:\Oracle\Middleware\JDev\jdeveloper\soa\modules\oracle.bpm.activityguide-ui_11.1.1.jar not found.
    oracle.bpm.pml.service
    Warning: Classpath entry C:\Oracle\Middleware\JDev\pcbpel\fabric\lib\soa-infra-mgmt.jar not found.
    oracle.bpm.project.catalog
    Warning: Classpath entry C:\Oracle\Middleware\JDev\jdeveloper\jdev\lib\adfm.jar not found.
    Warning: Classpath entry C:\Oracle\Middleware\JDev\jdeveloper\jdev\lib\ojdbc6dms.jar not found.
    Warning: Classpath entry C:\Oracle\Middleware\JDev\pcbpel\generated\jrf\dms.jar not found.
    Warning: Classpath entry C:\Oracle\Middleware\JDev\jdeveloper\lib\ojdl.jar not found.

    maybe I failed in my explanation..
    Versions:
    ADF Business Components     11.1.1.60.13
    BPMN Editor     11.1.1.5.0.0174
    Java(TM) Platform     1.6.0_24
    Oracle IDE     11.1.1.5.37.60.13
    SOA Composite Editor     11.1.1.5.0.01.74
    Versioning Support     11.1.1.5.37.60.13
    I have Oracle BPM Studio 11g and Oracle SOA Composite Editor
    I've looked for new updates that might resolve this but nothing ..

  • Why is charsets.jar not included in jre5?

    hi,
    i recently decided to using jre1.5.0_9-b01 and wondered why my application that has originally been developed with 1.4.2_12 doesn't support the cp850 encoding anymore.
    so i browsed the docs at:
    http://java.sun.com/j2se/1.5.0/docs/guide/intl/encoding.doc.html
    and found out that beside others the cp850 belongs to an extended encoding set included in lib/charsets.jar.
    straight to the point, there is no such charsets.jar in the lib directory of the jre5 installation.
    as a temporary fix, i copied the charsets.jar from the 1.4.2 installation and my application works fine again.
    so, why is charsets.jar not included in jre5?
    best wishes,
    r.

    It is included...Just not installed by default (in a typical install).
    You can go to "start/settings/control panel/add and remove programs" and select the JRE. If you get the option to modify or change and you have "supervisor" rights to your machine, then you can select the "modify or change" option (twice) and add support for additional languages. If there is a little yellow "1" in front of the drive icon, it is not installed. You must select the option and choose the first option on the drop down list...follow through to finish. Make sure you do not have any browser windows open (or anything else which may be using the JRE such as Tomcat). The install builds the charsets.jar. Good Luck

  • How can I use charsets.jar without installing it in the client JRE?

    Hi! I've an applet that needs to do some CP850. Since many of the clients are from english speaking countries, they do not have the appropriate JAR that supports the CP850 encoding. Now, I have the charsets.jar which has this encoding. If I install it in the client jre/lib/ext folder, my applet works perfectly, but I don't want to do that. Instead, I want the applet to read it from its own jar or, including the charsets.jar in the archive parameter. I have tried both, adding the whole of charsets.jar to my applet jar using jar -xc dependences\charsets.jar, and also, by putting it in the archive parameter of the applet. None of them works, and I don't know why. If someone can tell me why it didn't work, and how can I make it to work, I'll be very thankfull.
    I've been trying also to use a URLClassLoader, but here I got access exceptions:
    URL urlCharsets = new URL("http://url.com/jars/charsets.jar");
    URL[] urls = {urlCharsets };
    URLClassLoader classloader = new URLClassLoader(urls);
                        classloader.loadClass("sun.io.ByteToCharCp850");Security Access exception here... and the charsets.jar that I'm loading IS signed. No idea what to do here.
    Best regards and happy new year!
    Message was edited by:
    obirenokenobi

    Hi,
    Assuming your applet jar and the charset jar are ine the same location on your
    server, I'll suggest to use this:
    <applet code="myapplet/myapplet.class" archive="myapplet.jar,charset.jar" height="400" width="550"></applet>Hope that help,
    Jack

  • Is there something new about the U3D. Could we export 3D for PDF efficiently?

    Is there something new about the U3D. Could we export 3D for PDF efficiently?
    Thx

    What are you asking?
    Adobe's software range doesn't create U3D files anymore. You have to use third-party applications.

  • I would like to uninstall my old CS5 Design Premium from my computer to reinstall it on another computer. What are the steps? Is there something special with the activation codes, etc?

    I would like to uninstall my old CS5 Design Premium from my computer to reinstall it on another computer. What are the steps? Is there something special with the activation codes, etc?

    You are allowed to have two activated installations, so if you prefer to you can keep ut on the current machine and just install it on the new one like you did originally.  If you wish to eliminate it on the other machine, the first thing to do is to deactivate it by opening a program in the suite and selecting Help -> Deactivate in the top toolbar.  That is all you need to do to disable the software.  At this point if you prefer to you can uninstall it if you like.
    As far as getting it on the new nmachine, as I just indicated, just install it like you did the first time.

  • Something new about for new update for ipod nano 6th generation

    Hello,something new about for new update for ipod nano 6th generation , clock faces and others..

    What on Earth are you talking about???

  • JCO with miniSAP ? Need something special ?

    I installed MiniSap WAS 6.2 and try to connected java application with JCO.
    But I didn't obtain sucessfull.
    Need to do something in Minisap ? sm59 ? My user need special authorization ?
    The error on the screen is "User or password is wrong ".
    Thank you,
    Rogerio

    Gregor,
    I'm just accessing it on my local pc. No plans of opening up the port in my router for the apache server.  Anyway here is the code for my servlet.
    //Add a connection pool to the specified system
    JCO.addClientPool(SID, 100, "000", "bcuser","minisap","EN","ALPHA","00");
    //Alias for this pool, Max. number of connections, SAP client, userid, password, language, host name
    repository = JCO.createRepository("MYRepository",SID);
    I have even tried the "SAP*", "pass" user and it still did not work.
    I have another question for the host name. I assume that I could use a IP address for there one?  If not I also tried to define a name in the hosts file on windows xp.
    I assume that my parameters are correct since the error is about the user not authorized??

  • I've received a gmail email from Microsoft account team saying We detected something unusual about a recent sign-in to the Microsoft account ******* To help keep you safe, we required an extra security challenge. I then asks to follow link and sign in

    Please help because since I've received an email from Microsoft warning they have detected suspicious activity on our Microsoft email account (wasn't even aware my gmail account had anything to do with Microsoft) I have been receiving other odd emails which consist of one or two huge lines of text in bright blue, usually to do with debt or one the Grand National and betting. These emails do no appear to be addressed to me but I'm still receiving them. I have put them all into the Junk Folder (by the way is that the same as reporting them as spam on and iPhone or iPad?)
    I'm still concerned about this Microsoft email though. It advises that we need to give some extra security information for them to be able to protect us in future (which initially looked to me as if it may be a phishing email). If I follow the link it takes me to a page that looks fairly official and could well be Microsoft, I then asks me to sign in using username and password.
    To be honest Im not sure I even have a Microsoft username or password and I'm concerned even if I did know it, whether I should be filling in that information or not? Also what's likely to happen once I've signed in? I'm concerned that once I had entered their site they would just be phishing for more information?
    Just in case there is any relevance around about the time of receiving this email I and performed two fairly unusual actions.
    1.  I contacted an American company to ask if they would sell something to the UK.
    2.  I started using Keychain on my iPhone and iPad and signed in to all the shops and sites I use with my usual password and changed them all the keychain suggested passwords.
    Typical trying to make myself safer and yet I'm now concerned I could be in danger. 
    Please can someone advise me on what I should do about this email, i,e, is it a phishing mail and should I Junk it or should I answer it and try and sign in and if I should answer it how do I know what my Microsoft sign in and password is? 
    Also can someone tell me how I report spam on my iPhone and iPad in a gmail account?
    Sorry I've rattled on so much and I'm asking so many questions but they are all connected.

    Shelady wrote:
    ... (wasn't even aware my gmail account had anything to do with Microsoft) ...
    It doesn't.  Gmail is owned by Google.
    Shelady wrote:
    Also can someone tell me how I report spam on my iPhone and iPad in a gmail account?
    Report it to Google:

  • A few questions about signing JARs for Web start

    I'm still a bit new to all this, so just want to clear a few things up.
    I'm currently trying to publish an application using Web start, so i know I have to sign all the JARs, as it needs to do some writing to the hard drive.
    1. I have my main JAR file, and then two "third party" JAR files in the /lib subfolder, I take it I need to sign those two as well, does it matter that I don't have the .class file for those two, as I didn't write them?
    2. I'm running the JARSIGNER program with exactly the same command line apart from the filename of the .jar file, is that correct? or do I need a different certificate for each .jar file?
    Just can't seem to get all three signed, Web start says one different one isn't signed each time I try it out.
    3. When signing, does it add something to the end of the JAR file itself? as I can't see any extra files created.

    Signing adds entries in the mainifest, not in the main file list in the jar file.
    You can sign third party jar files, but it is not advisable. An alternative is to put third party jars in a seperate extension jnlp file, if they need all-permissions, you can get the third party jars already signed by whoever supplied them. If not, you do not need to request all-permissions in the extension jnlp file, and that part of the code will be run in the secure sandbox.
    /Andy

  • Something Interesting about Ref Cursor

    Hi All,
    An extract from Standard package
    type "<REF_CURSOR_1>" is ref cursor;
    function '=' (LEFT "<REF_CURSOR_1>", RIGHT "<REF_CURSOR_1>")
    return BOOLEAN;
    pragma BUILTIN('=', 1, 1, 1);
    pragma FIPSFLAG('=', 1450);
    function '!=' (LEFT "<REF_CURSOR_1>", RIGHT "<REF_CURSOR_1>")
    return BOOLEAN;
    pragma BUILTIN('!=', 1, 1, 1);
    pragma FIPSFLAG('!=', 1450);
    function '=ANY' (LEFT "<REF_CURSOR_1>", RIGHT "<REF_CURSOR_1>")
    return BOOLEAN;
    function '!=ANY' (LEFT "<REF_CURSOR_1>", RIGHT "<REF_CURSOR_1>")
    return BOOLEAN;
    function '=ALL' (LEFT "<REF_CURSOR_1>", RIGHT "<REF_CURSOR_1>")
    return BOOLEAN;
    function '!=ALL' (LEFT "<REF_CURSOR_1>", RIGHT "<REF_CURSOR_1>")
    return BOOLEAN;
    function '=SOME' (LEFT "<REF_CURSOR_1>", RIGHT "<REF_CURSOR_1>")
    return BOOLEAN;
    function '!=SOME' (LEFT "<REF_CURSOR_1>", RIGHT "<REF_CURSOR_1>")
    return BOOLEAN;
    function DECODE (expr "<REF_CURSOR_1>", pat "<REF_CURSOR_1>",
    res "<REF_CURSOR_1>")
    return "<REF_CURSOR_1>";
    pragma BUILTIN('DECODE', 1, 1, 1);
    function 'IS NULL' (B "<REF_CURSOR_1>") return BOOLEAN;
    pragma BUILTIN('IS NULL', 0, 3, 0);
    pragma FIPSFLAG('IS NULL', 1450);
    function 'IS NOT NULL' (B "<REF_CURSOR_1>") return BOOLEAN;
    pragma FIPSFLAG('IS NOT NULL', 1450);
    function NVL (B1 "<REF_CURSOR_1>", B2 "<REF_CURSOR_1>")
    return "<REF_CURSOR_1>";
    pragma FIPSFLAG('NVL', 1450);
    By Observing above piece of code, <REF_CURSOR_1> is defined as ref cursor,
    And many function prototypes specified to support this type of parameter,
    But if we try to call these functions with ref cursor variable as parameter oracle internal error is displayed….
    Pls add your observations…...
    Thanks
    Raj Ganga

    You missed out what is (in my opinion) the interesting part of the STANDARD package, the comment above that declaration:
    -- The following data types are generics, used specially within package
    -- STANDARD and some other Oracle packages.  They are protected against
    -- other use; sorry.  True generic types are not yet part of the language.
      type "<ADT_1>" as object (dummy char(1));
      type "<RECORD_1>" is record (dummy char(1));
      type "<TUPLE_1>" as object (dummy char(1));
      type "<VARRAY_1>" is varray (1) of char(1);
      type "<V2_TABLE_1>" is table of char(1) index by binary_integer;
      type "<TABLE_1>" is table of char(1);
      type "<COLLECTION_1>" is table of char(1);
      type "<REF_CURSOR_1>" is ref cursor;The fact that these pseudo-generics are only for internal use is not surprising; STANDARD is an odd package (can you write a packaged function that you can call without prefixing it with the package name? no, but STANDARD can). What intrigues me is the hint that at some point in the future PL/SQL will support generics. Java's about to get 'em (JDK 1.5 aka Tiger). If PL/SQL has them as well I really will have to teach myself Aspect Orientated Program.
    Cheers, APC

  • HT1338 I have the mac os x 10.7.3 and am trying to install a dell v515w printer and am having no luck.  Anyone out there got any ideas.  Have tried to download the drivers but they don't' work.  I read something somewhere about trying the Lexmark.  Please

    I have a mac os x 10.7.3 and am trying to install a dell v515w printer.  Have tried numerous times to find driver, but mac says not compatible.  I read something about using a Lexmark driver.  Any suggestions???
    Thanks so much,

    If there is no driver compatible with OX X 10.7 you might want to consider getting a different printer. It may save hair pulling and aggravation.

  • Help ,about classes12.jar

    hello, i have a question about our system.
    describe : the database version:9.0
    when the develop director includes the file of classes12.jar, i can't insert file into database to transform blob type. if i delete classes12.jar file in the WEB/WEB-INF/lib, it can't insert chinese languge into database.
    my classes12.jar file is 9.0.2 version, is my classes12.jar file is too old ,? if it's true ,please give a link of the file to download ;if it's not ,please give me a method to deal with . thank you .

    Also, Oracle claims that you can use newer drivers, such as the 10g drivers, with older databases. See the Interoperability Matrix:
    http://www.oracle.com/technology/software/tech/java/sqlj_jdbc/index.html

Maybe you are looking for