JWS Extensions, and Upgrading JRE/JDK

We're using Java Web Start to deploy a java gui app, which needs third party libraries. One of these libraries is the Bouncy Castle crypto library, and signing issues mean we can't repackage this library into our main one, so we use the extension method, with a separate jnlp file etc. to copy the BC library to jre/lib/ext/
This works, and works well.
Until a client 'upgraded' their installation of the JRE. This client installed the latest 1.4.2 JRE "over the top" of the existing JRE (without uninstalling the old one).
As of that moment, our app refused to load. Because a new JRE had been installed, jre/lib/ext no longer contains the crypto library. And JWS doesnt notice.
I'd like a way of forcing JWS to install the extension, or at least to clear its extension cache so it reperforms the checks. Any ideas?

This is a well known problem. If you use extension installer to install files in jre/lib/ext. It will only be there for one update version.
One way around this is to just use a component extension instead of an installer-extension, that figures out itself where jre/lib/ext is, and checks if the jar is installed, and installs it if it is not there.
another way is to use specific installer extensions for each update release:
something like this:
<resources>
<j2se version="1.4.2_08" href="http://java.sun.com/products/autodl/j2se">
<resources>
<extension href="installer08.jnlp"/>
</resources>
</j2se>
<j2se version="1.4.2_09" href="http://java.sun.com/products/autodl/j2se">
<resources>
<extension href="installer09.jnlp"/>
</resources>
</j2se>
neither is a great solution, we should provide an easier method of addressing this in a future version of javaws
/Andy

Similar Messages

  • Business Connector 4.6 and upgrading JRE version

    Does anyone know the proper installations steps when upgrading from JRE SUN j2re-1_3_1_12 to 1.3.1_19?
    SAP has instructed that the US DST 2007 changes are reflected in the new JDK and we should update our JRE accordingly.
    Many thanks for your help. I have not been able to find any documentation.
    Patrick

    nm

  • BC4J Extension and Upgrade Safe

    Hi All,
    I would like to know when all an extension(done in R12) is safe. Like
    1. If we extend a VO and add a new column - is it upgrade safe.
    2. Extend VO and change the where clause - is it upgrade safe.
    3. Extending AM(not RootAM) - when all is it upgrade safe.
    I believe these might be old questions, but if someone can answer or point me to some documentation on this - would help.
    Thanks,
    Anand
    PS: I have gone through the Dev Guide - but did not understand completely.

    1. If we extend a VO and add a new column - is it upgrade safe.
    Yes it is2. Extend VO and change the where clause - is it upgrade safe.
    Yes it is3. Extending AM(not RootAM) - when all is it upgrade safe.
    Yes it isThanks
    --Anil                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Difference between, jre, jdk, sdk and j2se

    Dear Sir/Madam,
    I want to do some java and j2ee development and run these applications in a java application server environment. Can anyone give me some advices on what should i need to download? Moreover, what is the difference between, jre, jdk, sdk and j2se? Should i need to download all of jre, jdk, sdk and j2se?
    thanks and regards,
    david

    JRE is the 'java runtime environment'. It is responsible for creating a Java Virtual Machine to execute Java class files (e.g., run Java programs)
    JDK is the 'java development kit'. It is the same as the 'SDK' (at least in my mind). It normally comes bundled with a JRE and also allows you to compile Java source files into Java class files. The JDK allows you to both write and run programs.
    J2SE is "Java 2 Standard Edition". It can refer to either a JDK or JRE. This is 'core' Java. There is also J2EE "Java 2 Enterprise Edition" which allows you to write middleware or server code more easily.
    Your final choice will be which version. If you want the current, most common implementation:
    J2SE 1.4.2, J2EE 1.3
    If you want to skip ahead to the next generation, the latest releases would be:
    J2SE 1.5 (also called J2SE 5.0) and J2EE 1.4
    - Saish

  • Error msql command ... "Unable to create JVM. You need jre/jdk 1.3.1 or hig

    Hi All,
    I have successfully installed soa 10.1.3.1. I am using VMware with windows xp as os.
    The problem is occuring when i was trying to apply 1*0.1.3.4 patch* to my 10.1.3.1 installation.
    In the pre-installation instructions we need to upgrade the schema or rum some sql scripts. To do that when I tried to connect using
    msql system/manager@<connection string> i got the following error
    *"Unable to create JVM. You need jre/jdk 1.3.1 or higher"*
    I checked my path and java version also, it looks ok i mean i have 1.5.x java version.
    I am not sure what could be the issue.
    Did anyone of you encounter same or similar issue?
    Any help is highly appreciated.
    Thanks.

    I doubt the dehydration store is installed on mSQL.
    Have you installed basic or advanced. I'm assuming basic, by default this runs on olite.
    To upgrade you need to upgrade the bpel and esb schemas
    The login executables are in the following location
    SOA_HOME\bpel\bin\polsql.cmd (bpel)
    SOA_HOME\integration\esb\olite\bin\sql_olite.bat (ESB)
    cheers
    James

  • Upgrade JRE version of Oracle 11g database

    Hi all.
    I need to upgrade the version of the JRE installed on a Oracle 11g database, migrating from 1.5 to 1.6.
    Any suggestions or practical guides that i can follow ?
    Thanks
    A.

    Pl post exact OS and database versions. Are you wanting to upgrade the Java version in the database ? If so, that is not possible.
    Is It Supported to Update /Upgrade the Default JDK/JRE in Oracle Home? [ID 1449674.1]
    OracleJVM Install and Upgrade FAQ [ID 825306.1]
    Java update of the JDK and JRE Installed In Oracle Database Home [ID 418399.1]
    Master Note for Oracle JVM [ID 1098505.1]
    Re: update jdk from Oracle 11g? (version is > EOL)
    HTH
    Srini

  • Upgrading to JDK 1.2.2 with Ora Apps 11i

    a patch that we need to apply requires us to upgrade to JDK 1.2.2. In the doc describing this process, we find instructions to comment out the line referencing to current JDK (wrapper.bin=[ORAHTTP_TOP]/jre/1.1.8/bin/jre) in jserv.properties... WE DONT HAVE THIS LINE, but what we do have is wrapper.bin=/u01/test/apps/testcomn/util/apache/1.3.9/Apache/jdk/bin/java
    Has anyone run into this?
    we didn't modify this file
    thanks
    null

    3.1.2 contains some minor bug fixes and should not present any major hurdles for you. Just be aware that PC anti-virus and firewalls can interfere with the OS download and upgrade. Best to disable those before you get started.

  • Upgrade from JDK 1.2.2 to JDK 1.4.2. Any code changes required?

    Hi,
    We are in the processes of upgrading the JDK versions on servers to JDK 1.4.2 to support other software upgrades.
    The JDK versions on each of the servers are at different versions. On one of the servers, the version of JDK is currently at JDK 1.2.2_10. Can somebody please advise me if there would be any code changes required to support this upgrade (such as some methods being depreciated)?
    We are also evaluating if we need to upgrade to JDK 1.4.5. In such a case, would there be any code changes required to upgrade from JDK 1.4.1_x to JDK 1.4.5. I assume there wouldn't be any changes for this minor upgrade but just want to confirm.
    I would really appreciate an early reply.
    Thanks in advance.
    Regards,
    Vamshi

    "1.4.5" - you meant "1.5" ? :)
    About deprecations -- you will be warned by the compiler. E.g. "assert", "enum" are keywords and cannot be used as method names.
    The rest depends on your application. The more complex it is, the more differences can be encountered. You certainly need to run a test cycle for it with the new platform.
    From my experience, I can list some issues that I have read about or have experienced myself:
    1) serialization: the algorithm used to calculate the serialVersionUID had some changes between Java versions, due to compiler-added extra methods.
    If you don't have serialized instances, or your serialVersionUID is specified explicitly, you are safe.
    2) class loading order can be different in different platforms
    Once ago I have seen a paper from BEA Systems highlighting some open topics that can arise when migrating between different vendor's JVMs. Probably, it is the one:
    http://edocs.bea.com/jrockit/geninfo/devapps/codeprac.html
    In my friend's case, there was some class-initialization logic, that behaved differently when class loading order changed.
    3) Swing applications can sometimes behave slightly different.
    E.g., I observed some changes in focus handling, although minor ones. Fixed with several lines of code.
    4) Some libraries can depend on particular J2SE version. E.g. J2EE ones.
    E.g. I was not able to run J2EE 1.4 thick client application with JRE 1.5. The j2ee library used by the app either had some dependencies on sun.* classes, or on some protocols (not sure, I don't remember it well).
    5) Regression bugs are sometimes encountered. I.e. something that worked, does not work now.
    Summary: You need testing.

  • How to upgrade JRE version for Oracle BPEL process manager

    Dear Experts,
    Is it possible to upgrade JRE version of Oracle BPEL ??. If so means then how it is possible ?? what are the measures should I take to achieve the same. Please suggest me. Its very urgent.
    Thanks,
    Rajesh A

    Hi Rajesh ,
    First of all be aware that not all versions of 10.1.3 AS are certified with JDK 6, you need to have at least 10.1.3.4 .
    Next, you can either upgrade the JDK for the whole AS, or just for oc4j_soa component.
    There are several docs on Metalink that explain how to do this, and I recommend to take a backup of your OH before changing the JDK .
    Suppose you already have JDK 6 installed , just edit opmn.xml and add the line
    <data id="java-bin" value="/usr/jdk1.6.0/bin/java"/> <--- here put the path to your JDK
    just below
    <category id="start-parameters">
    of the oc4j_soa component.
    If you have problems just restore the old opmn.xml from backup and you;ll have back your original settings.
    Regards,
    Mihai

  • Activity Report download is saved without extension and unreadable

    Hello,
    The Portal Activity Report iView has a button which enables the user to download the report to his PC.
    The problem is that when the user clicks on that button and saves the file it is being saved by this default name: com.sap.portal.activityreport.frontend.DownloadableActivityReport
    The main problem is that it is being saved by default without any extension and after saving the user needs to manually add the .xls suffix.
    Another problem is that once I open the report with Excel The Object Name column is unreadable.
    Is there any way to resolve these issues?
    Roy

    Hi Roy,
    > if it wasn't supported there
    > or you would still consider it as a bug?
    The feature in general of course was supported, but what I cannot say is if it was a known issue that it didn't work correctly. As I dont't use the ActivityReport, I also have no experience if it didn't work at some time and maybe now is working.
    The wrong filename I don't expect to be corrected in the meanwhile, as said, that's a problem in some places. So at least for this you could open an OSS message. And maybe combine this with the problematic column issue.
    But if upgrading to SP18 would be an option for you, maybe you could first test that.
    Hope it helps
    Detlev

  • New problem printing from financial websites - print button sends file to a "cgi" extension and adobe cannot open and print.

    I used to be able to print my bank statements directly from the website to my printer. Now the print program sends the file to a file with a "cgi" extension and saves it on my desktop but as an Adobe file. When i open it to print, Adobe says it is not supported or corrupt. running windows 7 on PC.

    mmsteer,
    I think I may be able to help you with this problem, which I was having with CS4 when I first upgraded to Lion, and others were having with CS3. This fix is courtesy of Aisolve on these discussion boards:
    Remove the Adobe PDF PPDs from the following folders:
    OS/Library/Printers/PPDs/contents/Resources/en.lproj,
    OS/Library/Printers/PPDs/contents/Resources/Zh_CN.lproj,
    OS/Library/Printers/PPDs/contents/Resources/Ja.lproj,
    OS/Library/Printers/PPDs/contents/Resources/ko.lproj,
    OS/Library/Printers/PPDs/contents/Resources/Zh_TW.lproj,
    Be sure to go to your system Library, not your user Library.
    Also, regarding my current problem, I spoke with an Apple tech person and found that the 10.7.2 upgrade apparently is the culprit, and is incompatible with wireless printing to my Lanier printer. I CAN print connected through USB. That's a work-around for now, but I'll need to contact Lanier about upgrading their driver for OS X 10.7.2.
    Aisolve was helping me with this issue, too, and assures me that if I'm able to generate a postscript file (which I was), and able to generate a PDF by distlling it through Adobe Distiller (which I am), then I can safely assume that the problem lies with the hardware, in this case the printer driver. This lines up with what Apple told me.

  • I installed 4.0 and cannot print anything. I uninstalled and installed 3.6 and cannot print anything. Everything has a .tif extension and wants me to save the file and I just want to print a selection from my email!

    I have had nothing but grief since I upgraded to 4. It is hateful. I can't print anything. If I highlight something from a website or my email and tell the printer to just print the selection, it doesn't print. It wants me to save the the file and they all have a .tif extension and nothing will print. I have uninstalled 4 and gone back to 3.6 and the problem is still there. If I highlight the desired selection and copy it to Word 2003, it will print what I want, but I can't print anything from the browser itself. That is the only problem I'm aware of so far. I upgraded about a week ago at most, maybe less than that. I'm so sorry I did. Why can't I print anything? I don't want my selection to be a file, I just want it to print!

    Thank you, but it didn't work. My printer stays on away, independently of the PC. I can print from Chrome and IE7 with no problem but not Firefox. The .tif extension refers to a tagged image something. I went looking around in the control panel and I found that Microsoft Office has it's own Access Snapshot Viewer. My company installed Office 2003 on my PC but I only use Word in my work. This snapshot viewer was listed in the control panel under Printers and Faxes. It was not the default anything but for some reason, Firefox 4 installation must have kicked it into gear. I've had the Office software for several months with not one problem. I have Firefox4 for less than a week and everything becomes difficult. I deleted the Office snapshot viewer (hope I don't get fired for it) so my little HP printer is the only one listed and now things seem to be working okay. I have FF 3.6 back up and running. I didn't lose any data and I hope the support and security updates stay available for a long time because it seems like there are plenty of people who aren't in love with FF4. Thank you so much anyway for your help.

  • BO XI 3.1 installation and Upgrade activity Steps

    Hi Experts,
    Right now we are using BO XI R2 Version, Planning to uninstall XI R2 and do a fresh installation of BO XI 3.1 with SP3.
    Do I need to install the Java latest version for XI 3.1? Right now we have the following setting,
             j2re1.4.2_04
             j2re1.4.2_16
             jre1.5.0_14
    Since the up gradation of Reports, user, groups, universe events etc are from XI R2 version to XI 3.1.So Is it enough to    
    install BO XI 3.1 with SP 3, or do I have to go for FixPack inorder to avoid problem after this upgrade activity.
    Could you please tell me about the BOXI R2 to XI 3.1 installation and Upgrade activity Steps.
    Regards,
    Sridharan

    Hi,
    you dont need a special JRE version on the Server. With the installation of BO a own JRE will be installed for BOE. Only for developing WebI reports the developer need a 1.6.x JRE later on.
    There is already FixPack 3.1 out but installing "only" SP3 should be sufficient.
    I would recommend you check the upgrade guide from Rel.2 to XI 3.1:
    https://websmp208.sap-ag.de/~sapidb/011000358700001646952008E/xi3-1_bip_upgrade_en.pdf
    You need a S-User to Login.
    Regards
    -Seb.

  • File extensions and other formats

    I'm having trouble with file extensions when saving AW files in other formats. I suspect it may have to to do with a recent upgrade to 10.5
    I have (as recommended in the forum) deleted the AW plist files, but it didn't help.
    Here are the symptoms:
    1. When saving, "Hide extensions" is always checked. I remember it as always being unchecked (which I prefer) . Unchecking it every time is getting annoying.
    2. If I uncheck Hide Extensions, I can save as an AW file with its cwk extension, no problem
    3. If I change the File Format to something else, like Text, then the Hide Extension box (which I had previously unchecked) is now checked again. The previous cwk extension disappears, but the period remains.
    4. If I then uncheck Hide Extensions, a second period appears.
    5. If I try to get rid of the extra periods and add txt so that the file is filename.txt, I get an error message that says I can't use the extension ".txt", and that the required extension is "." Using both leaves me with "filename.txt."
    6. The only solution has been to let it save with Hide Extension checked, then go into the finder, use Get Info to unhide the extension, and then save it with the correct extension, which is getting to be a real pain in the patoot.
    Help, anyone? I'm ready to downgrade back to 10.4.
    RJ

    Welcome to Apple Discussions
    Downgrading to 10.4 won't help much. The problem lies in AppleWorks being a Classic application that was carbonized to run in OS X. It just doesn't "understand" extensions. Although adding the period in Leopard is new, the problem with the error messages when you save an AppleWorks document as text or Word & add the appropriate extension is not new. I've given up & just add the correct extension in Finder.

  • Firefox starts fast in safe mode, but slow in normal mode with all extensions and add-ons turned off.

    It's only the first screen/tab I open after firefox is completely shut off... it shows the borders of the screen for 5 seconds, before showing the content (empty page) and then I can start and everything after that is fine.
    In safe mode it opens without delay, so my question is, what in the normal start-up could be causing this delay, I have reinstalled firefox, disabled all extensions and plugins.

    Hello ellina, try disabling graphics hardware acceleration and check it again.
    You might need to restart Firefox in order for this to take effect, so save all work first (e.g., mail you are composing, online documents you're editing, etc.).
    Then perform these steps:
    #Open Firefox ''Options'' window (''Preferences'' on Mac or Linux) as follows:
    #* In Firefox 29.0 and above, click the menu button [[Image:New Fx Menu]] and select ''Options'' for Windows or ''Preferences'' on Mac or Linux.
    #In the Firefox Options (or Preferences) window, click the ''Advanced'' tab, then select ''General''.
    #In the settings list, you should find the ''Use hardware acceleration when available'' checkbox. Uncheck this checkbox.
    #Now, restart Firefox and see if the problems persist.
    Additionally, please check for updates for your graphics driver by following the steps mentioned in the following Knowledge base articles:
    * [[Troubleshoot extensions, themes and hardware acceleration issues to solve common Firefox problems]]
    * [[Upgrade your graphics drivers to use hardware acceleration and WebGL]]
    '''In safe mode, also, hardware acceleration is disable''', see : http://kb.mozillazine.org/Safe_mode
    Thank you.

Maybe you are looking for

  • I recently upgraded to ios 6.1.2 via Wifi.

    When I got to a my office computer (not wifi) to sync my phone, I was told that I had to uninstall iTunes and Apple Support, and reinstall them?  Is there any fix for this?  I don't want to take a chance on losing all of my data.  Is there a bug fix,

  • I set my 3gs up as a new phone and lost all off my contacts is there a way of getting them back?

    Well i was told by an apple guy at the store to restore my phone as a new one to remove al bugs. so i did and lost all of my contacts so i am trying to find out if i can find my contacts somewhere on my computer so i can re-enter them.

  • Itunes unable to open because of audio configuration

    I recently installed windows updates for XP as well as itunes updates. Ever since then I receive the following message: "itunes cannot run because it has detected a problem with your audio configuration." I tried to repair itunes as well as reinstall

  • Itunes not loading correctly - does not display correctly

    since my powerbook came back from repair 3 weeks ago, about every other time i try to start up itunes, it displays totally strangely. Basically, it looks like just the text displays, but not the program interface. it overlays over whatever was alread

  • Updated to iPhoto 6 and lost all photos!!!

    i just updated my iphoto to the newest version and when i tried to open it all of my photos were gone. i still have them saved in my iphoto library but when i try to import them back onto iphoto it will not work. this is very frustrating and i would