JRE upgrade to 1.4.1_04

Hi,
We have a client application thats written in JAVA Swing which currently uses JRE 1.3.1. Recently the JRE version in client machines has been upgraded to 1.4.1_04.
We would like to recompile our existing application in Java 1.4.1_04. But currenly this version is not supported by Sun. Only version 1.4.2 is supported.
Could you let me know if I can complie the application in 1.4.2 and will it be backward compatible with 1.4.1_04. Or should I download the 1.4.1_04 SDK and compile my application using that.
Any suggestion would be of great help.
Thanks in advance.
Arun

Sun always strive to make the JVM upwards compatible, which is to say you can run old software on newer JVMs but the reverse may not be true.
The exception to this rule tends to lie in the libraries where bug fixes and API enhancements may make the new API functionally different from the old one. There is no solution to this problem from a recompilation, so there is very little point in recompiling your older application.
For example, between J2SE 1.2 and J2SE 1.3 the implementation of
java.lang.Double.hashcode
Was changed. Code depending on the old functionality will not behave the same way with the new library. A recompile cannot fix this.
Worse, an attempt to "fix" your code by recompiling it may result in a failed compilation. In 1.2 there was only one Timer class javax.swing.Timer yet in 1.3 there is another java.util.Timer.
If you use the unqualified name "Timer" in your code and use the following import statements:
import java.util.*;
import javax.swing.*;
Then your code will compile in 1.2 and not compile in 1.3 - even though the compiled code will behave as expected.
Sorry if that wasn't the answer you were expecting.
Dave.

Similar Messages

  • JRE upgrade problem

    XI production server is having some problem after the JRE upgrade. After the JRE upgrade , process is to delete two files in OS level and restart the server as per oss note 718901.
    After restart, server automatically re-create the both file with the information of new JRE.
    System re-started but it has not created the both files. Result is Java process is not getting started.
    I had not deleted the both files. I moved to different name before the restart. After this problem,I renamed the both files to original file and re-started the server.
    It has started the JAVA process. But this is the temporary solution. Still looking for answer. Got the following log in work directory:
    not sure but may need to upgrade the JRE again:
    [r1n0v3:root:(/usr/sap/XPD/DVEBMGS78/work)]more JdkDetection_12146.java
    public class JdkDetection_12146
      public static void main (String [] args)
        System.out.println("LibPath:" + System.getProperty("java.library.path"));
        if (System.getProperty("java.fullversion") != null)
          System.out.println("Version:" + System.getProperty("java.fullversion"));
        else
          System.out.println("Version:" + System.getProperty("java.vm.version"));
        System.out.println("Vendor :" + System.getProperty("java.vm.name") + " ("
                                        + System.getProperty("java.vm.vendor")+ ")");
        System.out.println("Cpu    :" + System.getProperty("os.arch"));
    [r1n0v3:root:(/usr/sap/XPD/DVEBMGS78/work)]
    any input?????
    Thanks
    Amar

    Hi Amarjit
    Please check if the following links are of some help to you:
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d0667f56-96c7-2b10-0e9a-c40fbd523f4d
    and
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/e0c9c8be-346f-2a10-2081-cd99177c1fb9
    Regards
    Chen

  • JRE upgrade  _05

    After installing the latest jre upgrade I was getting evaporating browsers on some webpages. The browser window would just disappear. This applies to Mozilla and IE (both latest versions). Opera at least produces the microsoft send/don't send dialog.
    I'm running XP pro on an IBM R51.
    This webpage has a java applet which may be causing the problem. I am now able to browse this page after uninstalling _05, but it caused the strange behaviour with _05 installed.
    http://www.stmotors.com/
    I'm not sure if this is the right place to post this problem, as I'm not a working java developer. Maybe someone could pass this on.
    Thanks,
    Chris

    Works ok for me - custom desktop, XP Pro, Java 5.
    Something in your setup, probably.

  • Jre upgrade in EBS database 11.2.0.2

    As per the metalink document 455492.1 we are planning upgrade to Jre1.6.38 on database node. where can I download Jre1.6.38 for RHEL 64 bit.

    user9171819 wrote:
    Thanks for your update. I have one more question
    I have downloaded jdk6 update 38 for application java upgrade . but rt.jar is missing under jdk/jre/lib . how to get rt.jarFor the application server, make sure you download the 32-bit JDK, not the Java Runtime Environment (JRE). Do not choose the 64-bit version, which is not supported.
    https://support.oracle.com/epmos/faces/PatchResultsNDetails?patchId=16091817
    Note: I would suggest you go with the latest update.
    Thanks,
    Hussein

  • JRE upgrade for End Users

    Hello,
    We are on Enterprise Portal 7.0 SP 24 and planning to Upgrade the JRE version of users on the Client Side to 1.6 from 1.4 . Wanted to know if it works with our Portal version or we need to Upgrade it also on the server side?
    Any help would be highly Appreciated.

    Hi,
    On server side, you cannot run EP 7.0 with a newer JDK version than 1.4.
    Applets are only used if you use local editing for KM with applets (and not ActiveX). This works with 1.6 on client side, too. If using this, set Java Runtime Version to 1.4 (see http://help.sap.com/saphelp_nw04/helpdata/en/a6/181b09bcc7fe4389c8c17d2ad849cc/frameset.htm).
    Hope it helps
    Detlev

  • Runtime.getRuntime().exec() does not work after JRE upgradation

    I have upgraded JRE from 1.3.0_02 to 1.3.1_15. After this upgrade, Runtime.getRuntime().exec() has suddenly stopped working. If I downgrade to 1.3.0_02, it starts working again.
    Please help.

    It has definitely forked, and this is the child process. It says so. If it was the parent process it would just show Java code related to launching processes. That does not involve PKCS11. After the fork there are two identical processes with the same stack: the child process of the fork goes on to replace itself with the target command via Unix exec(), which it doesn't look like it is succeeding at. The parent process doesn't do much at all, probably just housekeeping and then a Unix wait() for Process.waitFor() to hook into.

  • Discoverer Plus -- Cannot Load Java Applet after JRE upgrade to 6

    Hi,
    After our users upgrade Java Runtime Environment to version 6 Update 1, Discoverer Plus stops working, the applet is opened but does not load.
    Uninstalling the update solves the problem.
    I disabled the automatic upgrade of Sun JRE on a few machines, but we have over 100 users.
    Did anyone else face the same issue and is there any patch for the Discoverer installation?
    Thanks,
    Vlad

    Hi George
    You can get the 10.1.2.2 patch (4960210) on MetaLink. Be warned though that this not a small patch. It is 1.6 GB in size and is a full upgrade of the 10.1.2.0.2 application server.
    I had some interesting problems when I first starting patching up to 10.1.2.2. First of all, if you are using a Windows server, you need to make sure that there are no lowercase characters used in your computer name. I know this sounds crazy but 10.1.2.2 will fail on Windows if you have this. If you've already got lowercase names in your machine you can't simply change the machine name to upper case because your existing application server will stop working as it embeds the machine name into dozens of configuration and setup locations. None of the Microsoft applications care what you call the machine as they don't embed like this but Oracle does. You'll probably end up having to reinstall the application server. However, the good news is that this only affects Windows and only when you have lowercase characters in your machine name.
    Secondly, also on Windows, make sure there are no spaces anywhere within any of the folder names from where you will be installing the patch. This is another cause of failure. Thus, don't put the patch on your Desktop as there are spaces in Documents and Settings!
    Thirdly, and this can happen on all platforms, if you are using an Infrastructure database and it is at 10.1.0.4 or less you will need to upgrade that database to 10.1.0.5 before you start any of the application server upgrades. If you don't do this your upgrade will fail. The release notes for the patch clearly state this but because they are very large I missed this the first time round and - oops - failed upgrade.
    By the way, it seems Oracle have also released a patch (5758865) , available on MetaLink, with the fix for IE7. This is a one-off patch and requires a password which means you will have to raise a service request and tell Oracle you are having trouble drilling in Viewer when using IE7. This patch is applicable whether you are using relational or OLAP modeling. It can only be installed on top of 10.1.2.2.
    Best wishes
    Michael

  • ColdFusion + JRE Upgrade = Verity Error?

    There's a documented ClassLoader bug in Java 6, which was fixed in update 10. I'm attempting to upgrade the JRE in ColdFusion 8 from 1.6u3 to 1.6u18, and everything seems to be working fine -- with the exception of Verity. Accessing "Verity Collections" through the CF admin or a page containing verity cf tags results in a "Could not initialize class com.verity.security.k2.K2Encrypt" error.
    It seems like there was a similar issue with CF 7 when upgrading the JRE. Is there something in the verity.jar that is very version specific, and has anybody found a workaround for this?
    Thanks,
    Dean

    Bit more information, this happened after installing the developer addition and entering our standard licence. As soon as the administrator confirms the licence and updates the "verity K2 server" links disappears from the vertical menu!
    I have checked the comparison chart from adobe and standard does have verity.
    Any help would be much appreciated.

  • JRE Upgrade

    Hi,
    I have a question.
    I want to install JRE in two machines.
    I installed in one machine and then,copied the newly created JRE folder and placed in second machine's C drive.
    I was able to run my java applications from both the machine.I thought the java application will not work in second machine as I didn't install JRE,but,copied jre folder.
    My questions are
    1. Will copied jre files works as expected?
    2. What does the installation do?Does it updates the registry?
    3. When I do the upgrade in machine 2, what will happen in both cases?
    Thanks in advance,

    Please don't duplicate your posts. See the reply here
    http://forum.java.sun.com/thread.jspa?threadID=722146

  • Java Applet fails to run after JRE upgrade

    I had JRE 1.6 which was updated to 1.8.0_31. After this update my applet has stopped working and I am getting below error
    java.lang.ExceptionInInitializerError
      at com.sun.deploy.net.protocol.https.Handler.openConnection(Unknown Source)
      at java.net.URL.openConnection(Unknown Source)
      at sun.net.www.protocol.jar.JarURLConnection.<init>(Unknown Source)
      at sun.plugin.net.protocol.jar.CachedJarURLConnection.<init>(Unknown Source)
      at sun.plugin.net.protocol.jar.Handler.openConnection(Unknown Source)
      at java.net.URL.openConnection(Unknown Source)
      at sun.misc.URLClassPath$JarLoader.getJarFile(Unknown Source)
      at sun.misc.URLClassPath$JarLoader.access$600(Unknown Source)
      at sun.misc.URLClassPath$JarLoader$1.run(Unknown Source)
      at sun.misc.URLClassPath$JarLoader$1.run(Unknown Source)
      at java.security.AccessController.doPrivileged(Native Method)
      at sun.misc.URLClassPath$JarLoader.ensureOpen(Unknown Source)
      at sun.misc.URLClassPath$JarLoader.<init>(Unknown Source)
      at sun.misc.URLClassPath$3.run(Unknown Source)
      at sun.misc.URLClassPath$3.run(Unknown Source)
      at java.security.AccessController.doPrivileged(Native Method)
      at sun.misc.URLClassPath.getLoader(Unknown Source)
      at sun.misc.URLClassPath.getLoader(Unknown Source)
      at sun.misc.URLClassPath.getResource(Unknown Source)
      at sun.plugin2.applet.Plugin2ClassLoader$2.run(Unknown Source)
      at java.security.AccessController.doPrivileged(Native Method)
      at sun.plugin2.applet.Plugin2ClassLoader.findClassHelper(Unknown Source)
      at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
      at java.lang.ClassLoader.loadClass(Unknown Source)
      at java.lang.ClassLoader.loadClass(Unknown Source)
      at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
      at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
      at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
      at java.lang.Thread.run(Unknown Source)
    Caused by: java.lang.ClassCastException: sun.security.ssl.X509TrustManagerImpl cannot be cast to com.sun.net.ssl.internal.ssl.X509ExtendedTrustManager
      at com.sun.deploy.security.X509ExtendedDeployTrustManager.<init>(Unknown Source)
      at com.sun.deploy.net.protocol.https.Handler$Initializer$1.run(Unknown Source)
      at java.security.AccessController.doPrivileged(Native Method)
      at com.sun.deploy.net.protocol.https.Handler$Initializer.<clinit>(Unknown Source)
      ... 29 more
    Exception: java.lang.ExceptionInInitializerError
    java.lang.NoClassDefFoundError: Could not initialize class com.sun.deploy.net.protocol.https.Handler$Initializer
      at com.sun.deploy.net.protocol.https.Handler.openConnection(Unknown Source)
      at java.net.URL.openConnection(Unknown Source)
      at sun.net.www.protocol.jar.JarURLConnection.<init>(Unknown Source)
      at sun.plugin.net.protocol.jar.CachedJarURLConnection.<init>(Unknown Source)
      at sun.plugin.net.protocol.jar.Handler.openConnection(Unknown Source)
      at java.net.URL.openConnection(Unknown Source)
      at sun.misc.URLClassPath$JarLoader.getJarFile(Unknown Source)
      at sun.misc.URLClassPath$JarLoader.access$600(Unknown Source)
      at sun.misc.URLClassPath$JarLoader$1.run(Unknown Source)
      at sun.misc.URLClassPath$JarLoader$1.run(Unknown Source)
      at java.security.AccessController.doPrivileged(Native Method)
      at sun.misc.URLClassPath$JarLoader.ensureOpen(Unknown Source)
      at sun.misc.URLClassPath$JarLoader.<init>(Unknown Source)
      at sun.misc.URLClassPath$3.run(Unknown Source)
      at sun.misc.URLClassPath$3.run(Unknown Source)
      at java.security.AccessController.doPrivileged(Native Method)
      at sun.misc.URLClassPath.getLoader(Unknown Source)
      at sun.misc.URLClassPath.getLoader(Unknown Source)
      at sun.misc.URLClassPath.getResource(Unknown Source)
      at sun.plugin2.applet.Plugin2ClassLoader$2.run(Unknown Source)
      at java.security.AccessController.doPrivileged(Native Method)
      at sun.plugin2.applet.Plugin2ClassLoader.findClassHelper(Unknown Source)
      at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
      at java.lang.ClassLoader.loadClass(Unknown Source)
      at java.lang.ClassLoader.loadClass(Unknown Source)
      at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
      at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
      at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
      at java.lang.Thread.run(Unknown Source)
    Exception: java.lang.NoClassDefFoundError: Could not initialize class com.sun.deploy.net.protocol.https.Handler$Initializer
    I am using Jboss server and the server.xml file has been updated to use the correct Keystore and certificate using SSL. Below is what I am Using:
    <Connector protocol="HTTP/1.1" SSLEnabled="true"
               port="8443" address="${jboss.bind.address}"
               scheme="https" secure="true" clientAuth="false"
               keystoreFile="${jboss.server.home.dir}/conf/XYZ.keystore"
               keystorePass="XXX" sslProtocol = "TLS" />
    I have added the https site which I am trying to access in the exception list of both the browser and JAVA control Panel. Cleared the cache of both and have also deleted the user certificate to ensure the latest certificate gets downloaded.
    Kindly help to know the resolution steps.

    I had JRE 1.6 which was updated to 1.8.0_31. After this update my applet has stopped working and I am getting below error
    java.lang.ExceptionInInitializerError
      at com.sun.deploy.net.protocol.https.Handler.openConnection(Unknown Source)
      at java.net.URL.openConnection(Unknown Source)
      at sun.net.www.protocol.jar.JarURLConnection.<init>(Unknown Source)
      at sun.plugin.net.protocol.jar.CachedJarURLConnection.<init>(Unknown Source)
      at sun.plugin.net.protocol.jar.Handler.openConnection(Unknown Source)
      at java.net.URL.openConnection(Unknown Source)
      at sun.misc.URLClassPath$JarLoader.getJarFile(Unknown Source)
      at sun.misc.URLClassPath$JarLoader.access$600(Unknown Source)
      at sun.misc.URLClassPath$JarLoader$1.run(Unknown Source)
      at sun.misc.URLClassPath$JarLoader$1.run(Unknown Source)
      at java.security.AccessController.doPrivileged(Native Method)
      at sun.misc.URLClassPath$JarLoader.ensureOpen(Unknown Source)
      at sun.misc.URLClassPath$JarLoader.<init>(Unknown Source)
      at sun.misc.URLClassPath$3.run(Unknown Source)
      at sun.misc.URLClassPath$3.run(Unknown Source)
      at java.security.AccessController.doPrivileged(Native Method)
      at sun.misc.URLClassPath.getLoader(Unknown Source)
      at sun.misc.URLClassPath.getLoader(Unknown Source)
      at sun.misc.URLClassPath.getResource(Unknown Source)
      at sun.plugin2.applet.Plugin2ClassLoader$2.run(Unknown Source)
      at java.security.AccessController.doPrivileged(Native Method)
      at sun.plugin2.applet.Plugin2ClassLoader.findClassHelper(Unknown Source)
      at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
      at java.lang.ClassLoader.loadClass(Unknown Source)
      at java.lang.ClassLoader.loadClass(Unknown Source)
      at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
      at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
      at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
      at java.lang.Thread.run(Unknown Source)
    Caused by: java.lang.ClassCastException: sun.security.ssl.X509TrustManagerImpl cannot be cast to com.sun.net.ssl.internal.ssl.X509ExtendedTrustManager
      at com.sun.deploy.security.X509ExtendedDeployTrustManager.<init>(Unknown Source)
      at com.sun.deploy.net.protocol.https.Handler$Initializer$1.run(Unknown Source)
      at java.security.AccessController.doPrivileged(Native Method)
      at com.sun.deploy.net.protocol.https.Handler$Initializer.<clinit>(Unknown Source)
      ... 29 more
    Exception: java.lang.ExceptionInInitializerError
    java.lang.NoClassDefFoundError: Could not initialize class com.sun.deploy.net.protocol.https.Handler$Initializer
      at com.sun.deploy.net.protocol.https.Handler.openConnection(Unknown Source)
      at java.net.URL.openConnection(Unknown Source)
      at sun.net.www.protocol.jar.JarURLConnection.<init>(Unknown Source)
      at sun.plugin.net.protocol.jar.CachedJarURLConnection.<init>(Unknown Source)
      at sun.plugin.net.protocol.jar.Handler.openConnection(Unknown Source)
      at java.net.URL.openConnection(Unknown Source)
      at sun.misc.URLClassPath$JarLoader.getJarFile(Unknown Source)
      at sun.misc.URLClassPath$JarLoader.access$600(Unknown Source)
      at sun.misc.URLClassPath$JarLoader$1.run(Unknown Source)
      at sun.misc.URLClassPath$JarLoader$1.run(Unknown Source)
      at java.security.AccessController.doPrivileged(Native Method)
      at sun.misc.URLClassPath$JarLoader.ensureOpen(Unknown Source)
      at sun.misc.URLClassPath$JarLoader.<init>(Unknown Source)
      at sun.misc.URLClassPath$3.run(Unknown Source)
      at sun.misc.URLClassPath$3.run(Unknown Source)
      at java.security.AccessController.doPrivileged(Native Method)
      at sun.misc.URLClassPath.getLoader(Unknown Source)
      at sun.misc.URLClassPath.getLoader(Unknown Source)
      at sun.misc.URLClassPath.getResource(Unknown Source)
      at sun.plugin2.applet.Plugin2ClassLoader$2.run(Unknown Source)
      at java.security.AccessController.doPrivileged(Native Method)
      at sun.plugin2.applet.Plugin2ClassLoader.findClassHelper(Unknown Source)
      at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
      at java.lang.ClassLoader.loadClass(Unknown Source)
      at java.lang.ClassLoader.loadClass(Unknown Source)
      at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
      at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
      at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
      at java.lang.Thread.run(Unknown Source)
    Exception: java.lang.NoClassDefFoundError: Could not initialize class com.sun.deploy.net.protocol.https.Handler$Initializer
    I am using Jboss server and the server.xml file has been updated to use the correct Keystore and certificate using SSL. Below is what I am Using:
    <Connector protocol="HTTP/1.1" SSLEnabled="true"
               port="8443" address="${jboss.bind.address}"
               scheme="https" secure="true" clientAuth="false"
               keystoreFile="${jboss.server.home.dir}/conf/XYZ.keystore"
               keystorePass="XXX" sslProtocol = "TLS" />
    I have added the https site which I am trying to access in the exception list of both the browser and JAVA control Panel. Cleared the cache of both and have also deleted the user certificate to ensure the latest certificate gets downloaded.
    Kindly help to know the resolution steps.

  • Applet fails to run after JRE upgrade

    Hi,
    I had JRE 1.6 which was updated to 1.8.0_31. After this update my applet has stopped working and am getting below error
    java.lang.ExceptionInInitializerError
      at com.sun.deploy.net.protocol.https.Handler.openConnection(Unknown Source)
      at java.net.URL.openConnection(Unknown Source)
      at sun.net.www.protocol.jar.JarURLConnection.<init>(Unknown Source)
      at sun.plugin.net.protocol.jar.CachedJarURLConnection.<init>(Unknown Source)
      at sun.plugin.net.protocol.jar.Handler.openConnection(Unknown Source)
      at java.net.URL.openConnection(Unknown Source)
      at sun.misc.URLClassPath$JarLoader.getJarFile(Unknown Source)
      at sun.misc.URLClassPath$JarLoader.access$600(Unknown Source)
      at sun.misc.URLClassPath$JarLoader$1.run(Unknown Source)
      at sun.misc.URLClassPath$JarLoader$1.run(Unknown Source)
      at java.security.AccessController.doPrivileged(Native Method)
      at sun.misc.URLClassPath$JarLoader.ensureOpen(Unknown Source)
      at sun.misc.URLClassPath$JarLoader.<init>(Unknown Source)
      at sun.misc.URLClassPath$3.run(Unknown Source)
      at sun.misc.URLClassPath$3.run(Unknown Source)
      at java.security.AccessController.doPrivileged(Native Method)
      at sun.misc.URLClassPath.getLoader(Unknown Source)
      at sun.misc.URLClassPath.getLoader(Unknown Source)
      at sun.misc.URLClassPath.getResource(Unknown Source)
      at sun.plugin2.applet.Plugin2ClassLoader$2.run(Unknown Source)
      at java.security.AccessController.doPrivileged(Native Method)
      at sun.plugin2.applet.Plugin2ClassLoader.findClassHelper(Unknown Source)
      at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
      at java.lang.ClassLoader.loadClass(Unknown Source)
      at java.lang.ClassLoader.loadClass(Unknown Source)
      at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
      at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
      at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
      at java.lang.Thread.run(Unknown Source)
    Caused by: java.lang.ClassCastException: sun.security.ssl.X509TrustManagerImpl cannot be cast to com.sun.net.ssl.internal.ssl.X509ExtendedTrustManager
      at com.sun.deploy.security.X509ExtendedDeployTrustManager.<init>(Unknown Source)
      at com.sun.deploy.net.protocol.https.Handler$Initializer$1.run(Unknown Source)
      at java.security.AccessController.doPrivileged(Native Method)
      at com.sun.deploy.net.protocol.https.Handler$Initializer.<clinit>(Unknown Source)
      ... 29 more
    Exception: java.lang.ExceptionInInitializerError
    java.lang.NoClassDefFoundError: Could not initialize class com.sun.deploy.net.protocol.https.Handler$Initializer
      at com.sun.deploy.net.protocol.https.Handler.openConnection(Unknown Source)
      at java.net.URL.openConnection(Unknown Source)
      at sun.net.www.protocol.jar.JarURLConnection.<init>(Unknown Source)
      at sun.plugin.net.protocol.jar.CachedJarURLConnection.<init>(Unknown Source)
      at sun.plugin.net.protocol.jar.Handler.openConnection(Unknown Source)
      at java.net.URL.openConnection(Unknown Source)
      at sun.misc.URLClassPath$JarLoader.getJarFile(Unknown Source)
      at sun.misc.URLClassPath$JarLoader.access$600(Unknown Source)
      at sun.misc.URLClassPath$JarLoader$1.run(Unknown Source)
      at sun.misc.URLClassPath$JarLoader$1.run(Unknown Source)
      at java.security.AccessController.doPrivileged(Native Method)
      at sun.misc.URLClassPath$JarLoader.ensureOpen(Unknown Source)
      at sun.misc.URLClassPath$JarLoader.<init>(Unknown Source)
      at sun.misc.URLClassPath$3.run(Unknown Source)
      at sun.misc.URLClassPath$3.run(Unknown Source)
      at java.security.AccessController.doPrivileged(Native Method)
      at sun.misc.URLClassPath.getLoader(Unknown Source)
      at sun.misc.URLClassPath.getLoader(Unknown Source)
      at sun.misc.URLClassPath.getResource(Unknown Source)
      at sun.plugin2.applet.Plugin2ClassLoader$2.run(Unknown Source)
      at java.security.AccessController.doPrivileged(Native Method)
      at sun.plugin2.applet.Plugin2ClassLoader.findClassHelper(Unknown Source)
      at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
      at java.lang.ClassLoader.loadClass(Unknown Source)
      at java.lang.ClassLoader.loadClass(Unknown Source)
      at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
      at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
      at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
      at java.lang.Thread.run(Unknown Source)
    Exception: java.lang.NoClassDefFoundError: Could not initialize class com.sun.deploy.net.protocol.https.Handler$Initializer
    I am using Jboss server and the server.xml file has been updated to use the correct Keystore and certificate using SSL. Below is what I am using
    <Connector protocol="HTTP/1.1" SSLEnabled="true"
               port="8443" address="${jboss.bind.address}"
               scheme="https" secure="true" clientAuth="false"
               keystoreFile="${jboss.server.home.dir}/conf/XYZ.keystore"
               keystorePass="XXX" sslProtocol = "TLS" />
    I have added the https site which I am trying to access in the exception list of both the browser and JAVA control Panel. Cleared the cache of both and have also deleted the user certificate to ensure the latest certificate gets downloaded.
    Kindly help to know the resolution steps.

    I was able to remove the above issue by unchecking and checking back the "Enable java content on browser" check box in the java control panel.
    Still I am facing issues when the application is used by external set of users.
    I observe that there are 2 sets of exceptions
    1. Connection timeout
    2. Class not getting loaded
    All these issues started only after downloading JRE version 1.8.0_31-b13
    Java Plug-in 11.31.2.13
    Using JRE version 1.8.0_31-b13 Java HotSpot(TM) Client VM
    User home directory = C:\Users\XYZ
    c:   clear console window
    f:   finalize objects on finalization queue
    g:   garbage collect
    h:   display this help message
    l:   dump classloader list
    m:   print memory usage
    o:   trigger logging
    q:   hide console
    r:   reload policy configuration
    s:   dump system and deployment properties
    t:   dump thread list
    v:   dump thread stack
    x:   clear classloader cache
    0-5: set trace level to <n>
    basic: Added progress listener: sun.plugin.util.ProgressMonitorAdapter@195fb2b
    security: Expected Main URL: https://www.VVV/GFH/SecurityApplet.jar
    basic: Plugin2ClassLoader.addURL parent called for https://VVV/GFH/SecurityApplet.jar
    network: Cache entry found [url: https://VVV/GFH/SecurityApplet.jar, version: null] prevalidated=false/0
    cache: Adding MemoryCache entry: https://VVV/GFH/SecurityApplet.jar
    cache: Resource https://VVV/GFH/SecurityApplet.jar has expired.
    cache: Resource https://VVV/GFH/SecurityApplet.jar has cache control: no-cache.
    network: Connecting https://VVV/GFH/SecurityApplet.jar with proxy=DIRECT
    network: Cache entry not found [url: file:/D:/Program%20Files/Java/lib/ext/sunec.jar, version: null]
    network: Cache entry not found [url: file:/D:/Program%20Files/Java/lib/ext/sunjce_provider.jar, version: null]
    network: Connecting http://VVV:443/ with proxy=DIRECT
    network: Connecting https://VVV/GFH/SecurityApplet.jar with proxy=DIRECT
    network: Connecting http:/VVV:443/ with proxy=DIRECT
    java.net.ConnectException: Connection timed out: connect
      at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method)
      at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)
      at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
      at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
      at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
      at java.net.PlainSocketImpl.connect(Unknown Source)
      at java.net.SocksSocketImpl.connect(Unknown Source)
      at java.net.Socket.connect(Unknown Source)
      at sun.security.ssl.SSLSocketImpl.connect(Unknown Source)
    Also getting class not found as below
    basic: load: class com/cosl/security/GHB/api/MACApplet.class not found.
    java.lang.ClassNotFoundException: com.cosl.security.GHB.api.MACApplet.class
      at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
      at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)
      at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
      at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
      at java.lang.ClassLoader.loadClass(Unknown Source)
      at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
      at sun.plugin2.applet.Plugin2Manager.initAppletAdapter(Unknown Source)
      at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
      at java.lang.Thread.run(Unknown Source)
    Ignored exception: java.lang.ClassNotFoundException: com.cosl.security.armor4c.api.MACApplet.class
    basic: Dialog type is not candidate for embedding
    security: Reset deny session certificate store
    Any help on these is appreciated. Am stuck on this issue since 3 -4 weeks and there is no solution available anywhere

  • Java 8 JRE Upgrades Are Leaving Old Versions Installed

    I am trying to silently deploy Java 8 update 31 JRE, but the silent installation is leaving old versions of both 7 JRE and 8 JRE installed, so a single workstation may have 3 versions of Java JRE when we only want the last installed version to stay.
    What configuration needs to be done so that silent installation removes older JREs when the new JRE is installed?  Is it a command switch or something that needs to be edited in a config file?
    I'm finding questions about this in searches with no solutions provided.

    Hello,
    Did searches like you, but seems like there is no 'nice' workaround for this .. So i did put in a uninstall using wmic in my install script.
    Here is a sample of my script.
    @echo off
    wmic product where name="Java 7 Update 51" call uninstall /nointeractive
    wmic product where name="Java 7 Update 55" call uninstall /nointeractive
    wmic product where name="Java 7 Update 67" call uninstall /nointeractive
    wmic product where name="Java 7 Update 71" call uninstall /nointeractive
    wmic product where name="Java 8 Update 25" call uninstall /nointeractive
    \\path-to-install-dir\jre-8u31-windows-i586.exe INSTALL_SILENT=Enable AUTO_UPDATE=Disable WEB_JAVA=Enable WEB_JAVA_SECURITY_LEVEL=H EULA=Disable REBOOT=Disable /L C:\temp\JavaDeployLog.txt
    wmic product names have been found using "wmic product get name" and the install parameters from Oracle support: Installing With a Configuration File
    Offcourse, when new versions will be releases, they have to be added manually to the top of this script, and then perhaps remove some of the older entries also, as this script takes around 5 minutes to execute at this moment for me.
    I'm installing this using GPO, so i added my .bat file to a GPO as a logon script.
    I know this isn't a pretty workaround, but it is a workaround....
    //MNimand

  • JRE upgrade question

    Hi,
    I am trying to upgrade from Java 2 Runtime Environment, SE v1.4.2_05 to Java 2 Runtime Environment, SE v1.4.2_13 via SMS.
    Do I have to uninstall Java 2 Runtime Environment, SE v1.4.2_05 before I install the new Java version? Or can I just install the new version on top of the old one.
    What is Java's recommended approach? Please advise.
    Thanks in advance.

    Thank you for the reply. What is the recommended approach from Java? Is it recommended to uninstall or leave the older version alone. Will there be any potential conflicts in the future?
    Thanks in advance.

  • Jre 6 upgrade in R12

    I completed successfully 10g as upgrade, Now i am doing jre upgrade to 6 update 13, As per metalink note :455492.1
    I downloaded successfully from sun, jre 6 update 13,
    1) I extracted using below command in $IAS_ORACLE_HOME/apsputil/jre
    I just moved existing jre to other name and then i created new jre in same dir i copied and installed successfully in jre dir
    ./jdk-6<version>-linux-i586.bin
    would become:
    ./jdk-6u1-linux-i586.bin
    2) when i am trying to do Verifying Installations on all Nodes that JDK 6.0 has been successfully installed
    [applupg@dbtier bin]$ java -version
    java version "1.5.0_06";
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)
    Java HotSpot(TM) Server VM (build 1.5.0_06-b05, mixed mode)
    [applupg@dbtier bin]$
    its not pointing new version of jre...
    [applupg@dbtier bin]$ $ADJVAPRG -version
    java version "1.5.0_08";
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_08-b03)
    Java HotSpot(TM) Server VM (build 1.5.0_08-b03, mixed mode)
    [applupg@dbtier bin]$
    ============================
    [applupg@dbtier bin]$ $AFJVAPRG -version
    java version "1.5.0_08";
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_08-b03)
    Java HotSpot(TM) Server VM (build 1.5.0_08-b03, mixed mode)
    =======================================
    How can i determine jre successfully upgraded to 6 update 13

    but login page is not displaying...to test the JDKtest.jsp on OA_HTML
    Here are the Apache error.log information,
    [Tue May 26 21:59:24 2009] [notice] FastCGI: process manager initialized (pid 18691)
    [Tue May 26 21:59:25 2009] [notice] Oracle-Application-Server-10g/10.1.3.4.0 Oracle-HTTP-Server configured -- resuming normal operations
    [Tue May 26 21:59:25 2009] [notice] Accept mutex: fcntl (Default: fcntl)
    [Tue May 26 22:01:18 2009] [error] [client 192.168.149.1] [ecid: 1243355478:192.168.149.149:18696:0:2,0] File does not exist: /u03/oracle/upg/inst/apps/upg_appstier/portal/OA_HT
    ML/JDKtest.jsp
    [Tue May 26 22:08:35 2009] [error] [client 192.168.149.1] [ecid: 1243355915:192.168.149.149:18701:0:6,0] File does not exist: /u03/oracle/upg/inst/apps/upg_appstier/portal/OA_HT
    ML/JDKtest.jsp
    [Tue May 26 22:59:06 2009] [notice] FastCGI: process manager initialized (pid 19770)
    [Tue May 26 22:59:07 2009] [notice] Oracle-Application-Server-10g/10.1.3.4.0 Oracle-HTTP-Server configured -- resuming normal operations
    [Tue May 26 22:59:07 2009] [notice] Accept mutex: fcntl (Default: fcntl)
    [Tue May 26 23:03:47 2009] [error] [client 192.168.149.1] [ecid: 1243359227:192.168.149.149:19778:0:5,0] File does not exist: /u03/oracle/upg/inst/apps/upg_appstier/portal/OA_HT
    ML/JDKtest.jsp
    [applupg@appstier Apache]$
    i belive you alreay discussed regarding this error in privious thread right...
    Edited by: HumanDBA on May 27, 2009 3:35 PM

  • Not able to view Forms Server version in Help: About Oracle Applications after the forms upgrade 10.1.2.3.0

    Hi all,
    DB:11.2.0.3.0
    EBS:12.1.3
    O/S: Sun Solaris SPARC 64 bits
    I am not able to view Forms Server version in Help: About Oracle Applications after the forms upgrade 10.1.2.3.0 after the forms upgrade 10.1.2.3.0 as per note:Upgrading OracleAS 10g Forms and Reports to 10.1.2.3 (437878.1)
    Java/jre upgraded to 1.7.0.45 and JAR files regenerated(without force option). Able to opne forms without any issues.
    A)
    $ORACLE_HOME/bin/frmcmp help=y
    FRM-91500: Unable to start/complete the build.
    B)
    $ORACLE_HOME/bin/rwrun ?|grep Release
    Report Builder: Release 10.1.2.3.0 - Production on Thu Nov
    28 14:20:45 2013
    Is this an issue? Could anyone please share the fix if faced the similar issue earlier.
    Thank You for your time
    Regards,

    Hi Hussein,
    You mean reboot the solaris server and then start database and applications services. We have two databases running on this solaris server.
    DBWR Trace file shows:
    Read of datafile '+ASMDG002/test1/datafile/system.823.828585081' (fno 1) header failed with ORA-01206
    Rereading datafile 1 header failed with ORA-01206
    V10 STYLE FILE HEADER:
            Compatibility Vsn = 186646528=0xb200000
            Db ID=0=0x0, Db Name='TEST1'
            Activation ID=0=0x0
            Control Seq=31739=0x7bfb, File size=230400=0x38400
            File Number=1, Blksiz=8192, File Type=3 DATA
    Tablespace #0 - SYSTEM  rel_fn:1
    Creation   at   scn: 0x0000.00000004 04/27/2000 23:14:44
    Backup taken at scn: 0x0001.db8e5a1a 04/17/2010 04:16:14 thread:1
    reset logs count:0x316351ab scn: 0x0938.0b32c3b1
    prev reset logs count:0x31279a4c scn: 0x0938.08469022
    recovered at 11/28/2013 19:43:22
    status:0x2004 root dba:0x00c38235 chkpt cnt: 364108 ctl cnt:364107
    begin-hot-backup file size: 230400
    Checkpointed at scn:  0x0938.0cb9fe5a 11/28/2013 15:04:52
    thread:1 rba:(0x132.49a43.10)
    enabled  threads:  01000000 00000000 00000000 00000000 00000000 00000000
    Hot Backup end marker scn: 0x0000.00000000
    aux_file is NOT DEFINED
    Plugged readony: NO
    Plugin scnscn: 0x0000.00000000
    Plugin resetlogs scn/timescn: 0x0000.00000000 01/01/1988
    00:00:00
    Foreign creation scn/timescn: 0x0000.00000000 01/01/1988
    00:00:00
    Foreign checkpoint scn/timescn: 0x0000.00000000 01/01/1988
    00:00:00
    Online move state: 0
    DDE rules only execution for: ORA 1110
    ----- START Event Driven Actions Dump ----
    ---- END Event Driven Actions Dump ----
    ----- START DDE Actions Dump -----
    Executing SYNC actions
    ----- START DDE Action: 'DB_STRUCTURE_INTEGRITY_CHECK' (Async) -----
    Successfully dispatched
    ----- END DDE Action: 'DB_STRUCTURE_INTEGRITY_CHECK'
    (SUCCESS, 0 csec) -----
    Executing ASYNC actions
    ----- END DDE Actions Dump (total 0 csec) -----
    ORA-01186: file 1 failed verification tests
    ORA-01122: database file 1 failed verification check
    ORA-01110: data file 1:
    '+ASMDG002/test1/datafile/system.823.828585081'
    ORA-01206: file is not part of this database - wrong
    database id
    Thanks,

Maybe you are looking for