Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-5035110

Error while launching Sample Corba jnlp application

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 5.0
    • 5.0
    • deploy
    • b50
    • generic
    • generic

      Problems faced during the testing of the sample corba jnlp application in location: j2sdk1.5.0/sample/jnlp/corba


      README file needs the following changes in Building & Deployment of Application:

      1) In point #2,
         ..
         ..
         keytool -genkey -keystore myKeystore -alias myself
         jarsigner -keystore myKeystore war/app/HelloWorld.jar jws
         ..
         ..

      The alias mentioned in the jarsigner command as "jws" is different from "myself" as mentioned in the keytool command

      2) In point #2,
         ..
         ..
         This is a known CORBA implementation issue which is fixed in 1.4 release.
         To workaround this error in earlier releases 1.3.x of SDK, Sign the jar file
         using keytool and jarsigner utility.
         ..
         ..

      BUT the jnlp application does not work without signing the jar file in 1.5.0

      Reports the following error message:

      "An error occurred while launching/running the application.

      Title: RMI-IIOP: Hello World Example
      Vendor: Sun Microsystems, Inc.
      Category: Security Error

      Unsigned application requesting unrestricted access to system
      Unsigned resource: http://ramkumar.india.sun.com:8080/jawstest/rmi-iiop/app/HelloWorld.jar"

      The same application works with signed jar file in 1.5.0

            ngthomas Thomas Ng (Inactive)
            rkumarsunw Ram Kumar (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: