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

regression: javaws application cannot start under 7u45 - classloader libraries

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P2 P2
    • 8
    • 7u45
    • deploy
    • team
    • windows_7

      FULL PRODUCT VERSION :
      java version "1.7.0_45"
      Java(TM) SE Runtime Environment (build 1.7.0_45-b18)
      Java HotSpot(TM) 64-Bit Server VM (build 24.45-b08, mixed mode)

      ADDITIONAL OS VERSION INFORMATION :
      Windows 7, probably any OS.

      A DESCRIPTION OF THE PROBLEM :
      I understand that there was a lot of changes somewhere in Classloader.getResources() under 7u45. This just broke 2 of my Java webstart applications since it appears that the third libraries referenced in the JNLP file do not load anymore.

      The application and all its librairies are all signed with a valid Java Certificate. I do not see why the modifications for your security issues have to break existing working applications that are signed.

      I currently have a lot of customers that updated to 7u45, and they are not happy (this include me...)

      I'll respond immediately on request if needed.



      REGRESSION. Last worked in version 7u40

      ADDITIONAL REGRESSION INFORMATION:
      java version "1.7.0_45"
      Java(TM) SE Runtime Environment (build 1.7.0_45-b18)
      Java HotSpot(TM) 64-Bit Server VM (build 24.45-b08, mixed mode)

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Under java 7u40, the link will work :

      http://tedi.macogep.com:81/jte4ext.jnlp

      Under 7u45, the librairies seems to NOT load at all; in fact something broke and its not the good drivers that have been selected, it should have been ids (jdk??drv.jar) but all hell broke loose under 7u45.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      An signed application that can load its referenced (also signed) libraries, like in the previous java 7 releases, including java 6, 5 and even 1.4....


      ACTUAL -
      Java Web Start 10.45.2.18
      Using JRE version 1.7.0_45-b18 Java HotSpot(TM) 64-Bit Server VM
      User home directory = C:\Users\user
      ----------------------------------------------------
      c: clear console window
      f: finalize objects on finalization queue
      g: garbage collect
      h: display this help message
      m: print memory usage
      o: trigger logging
      p: reload proxy configuration
      q: hide console
      r: reload policy configuration
      s: dump system and deployment properties
      t: dump thread list
      v: dump thread stack
      0-5: set trace level to <n>
      ----------------------------------------------------
      Missing Application-Name: manifest attribute for: http://tedi.macogep.com:81/jte4.jar
      Missing Codebase manifest attribute for: http://tedi.macogep.com:81/jte4.jar
      Missing Application-Name: manifest attribute for: http://tedi.macogep.com:81/jte4.jar
      Missing Codebase manifest attribute for: http://tedi.macogep.com:81/jte4.jar
      Missing Application-Name: manifest attribute for: http://tedi.macogep.com:81/jte4.jar.pack.gz
      Missing Codebase manifest attribute for: http://tedi.macogep.com:81/jte4.jar.pack.gz
      Missing Application-Name: manifest attribute for: http://tedi.macogep.com:81/jte4.jar.pack.gz
      Missing Codebase manifest attribute for: http://tedi.macogep.com:81/jte4.jar.pack.gz
      Missing Application-Name: manifest attribute for: http://tedi.macogep.com:81/jdbc/jdk12drv.jar.pack.gz
      Missing Permissions manifest attribute for: http://tedi.macogep.com:81/jdbc/jdk12drv.jar.pack.gz
      Missing Codebase manifest attribute for: http://tedi.macogep.com:81/jdbc/jdk12drv.jar.pack.gz
      Missing Application-Name: manifest attribute for: http://tedi.macogep.com:81/libs/swing-worker.jar.pack.gz
      Missing Permissions manifest attribute for: http://tedi.macogep.com:81/libs/swing-worker.jar.pack.gz
      Missing Codebase manifest attribute for: http://tedi.macogep.com:81/libs/swing-worker.jar.pack.gz
      Missing Application-Name: manifest attribute for: http://tedi.macogep.com:81/libs/miglayout-swing.jar.pack.gz
      Missing Permissions manifest attribute for: http://tedi.macogep.com:81/libs/miglayout-swing.jar.pack.gz
      Missing Codebase manifest attribute for: http://tedi.macogep.com:81/libs/miglayout-swing.jar.pack.gz
      Missing Application-Name: manifest attribute for: http://tedi.macogep.com:81/libs/swingx.jar.pack.gz
      Missing Permissions manifest attribute for: http://tedi.macogep.com:81/libs/swingx.jar.pack.gz
      Missing Codebase manifest attribute for: http://tedi.macogep.com:81/libs/swingx.jar.pack.gz
      Missing Application-Name: manifest attribute for: http://tedi.macogep.com:81/libs/joda-time.jar.pack.gz
      Missing Permissions manifest attribute for: http://tedi.macogep.com:81/libs/joda-time.jar.pack.gz
      Missing Codebase manifest attribute for: http://tedi.macogep.com:81/libs/joda-time.jar.pack.gz
      Missing Application-Name: manifest attribute for: http://tedi.macogep.com:81/libs/TediCrm.jar.pack.gz
      Missing Permissions manifest attribute for: http://tedi.macogep.com:81/libs/TediCrm.jar.pack.gz
      Missing Codebase manifest attribute for: http://tedi.macogep.com:81/libs/TediCrm.jar.pack.gz
      Missing Application-Name: manifest attribute for: http://tedi.macogep.com:81/libs/swing-bits.jar.pack.gz
      Missing Permissions manifest attribute for: http://tedi.macogep.com:81/libs/swing-bits.jar.pack.gz
      Missing Codebase manifest attribute for: http://tedi.macogep.com:81/libs/swing-bits.jar.pack.gz
      Missing Application-Name: manifest attribute for: http://tedi.macogep.com:81/libs/xpp3_min.jar.pack.gz
      Missing Permissions manifest attribute for: http://tedi.macogep.com:81/libs/xpp3_min.jar.pack.gz
      Missing Codebase manifest attribute for: http://tedi.macogep.com:81/libs/xpp3_min.jar.pack.gz
      Missing Application-Name: manifest attribute for: http://tedi.macogep.com:81/libs/xmlpull.jar.pack.gz
      Missing Permissions manifest attribute for: http://tedi.macogep.com:81/libs/xmlpull.jar.pack.gz
      Missing Codebase manifest attribute for: http://tedi.macogep.com:81/libs/xmlpull.jar.pack.gz
      Missing Application-Name: manifest attribute for: http://tedi.macogep.com:81/libs/xstream.jar.pack.gz
      Missing Permissions manifest attribute for: http://tedi.macogep.com:81/libs/xstream.jar.pack.gz
      Missing Codebase manifest attribute for: http://tedi.macogep.com:81/libs/xstream.jar.pack.gz
      Missing Application-Name: manifest attribute for: http://tedi.macogep.com:81/libs/TaskDialog.jar.pack.gz
      Missing Permissions manifest attribute for: http://tedi.macogep.com:81/libs/TaskDialog.jar.pack.gz
      Missing Codebase manifest attribute for: http://tedi.macogep.com:81/libs/TaskDialog.jar.pack.gz
      Missing Application-Name: manifest attribute for: http://tedi.macogep.com:81/libs/guava.jar.pack.gz
      Missing Permissions manifest attribute for: http://tedi.macogep.com:81/libs/guava.jar.pack.gz
      Missing Codebase manifest attribute for: http://tedi.macogep.com:81/libs/guava.jar.pack.gz
      Missing Application-Name: manifest attribute for: http://tedi.macogep.com:81/libs/guava.jar.pack.gz
      Missing Permissions manifest attribute for: http://tedi.macogep.com:81/libs/guava.jar.pack.gz
      Missing Codebase manifest attribute for: http://tedi.macogep.com:81/libs/guava.jar.pack.gz

      JTE 4.2 Build 20130619
      Missing Application-Name: manifest attribute for: http://tedi.macogep.com:81/libs/swingx.jar.pack.gz
      Missing Permissions manifest attribute for: http://tedi.macogep.com:81/libs/swingx.jar.pack.gz
      Missing Codebase manifest attribute for: http://tedi.macogep.com:81/libs/swingx.jar.pack.gz
      Missing Application-Name: manifest attribute for: http://tedi.macogep.com:81/libs/miglayout-swing.jar.pack.gz
      Missing Permissions manifest attribute for: http://tedi.macogep.com:81/libs/miglayout-swing.jar.pack.gz
      Missing Codebase manifest attribute for: http://tedi.macogep.com:81/libs/miglayout-swing.jar.pack.gz
      Missing Application-Name: manifest attribute for: http://tedi.macogep.com:81/libs/swing-worker.jar.pack.gz
      Missing Permissions manifest attribute for: http://tedi.macogep.com:81/libs/swing-worker.jar.pack.gz
      Missing Codebase manifest attribute for: http://tedi.macogep.com:81/libs/swing-worker.jar.pack.gz
      Loading JDBC Driver : net.sourceforge.jtds.jdbc.Driver
      Oct 16, 2013 6:36:55 PM com.jovaco.error.ErrorDialog setError
      SEVERE: null
      java.lang.ClassNotFoundException: net.sourceforge.jtds.jdbc.Driver
      at java.net.URLClassLoader$1.run(Unknown Source)
      at java.net.URLClassLoader$1.run(Unknown Source)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.net.URLClassLoader.findClass(Unknown Source)
      at com.sun.jnlp.JNLPClassLoader.findClass(Unknown Source)
      at java.lang.ClassLoader.loadClass(Unknown Source)
      at java.lang.ClassLoader.loadClass(Unknown Source)
      at java.lang.Class.forName0(Native Method)
      at java.lang.Class.forName(Unknown Source)
      at com.jovaco.sql.Database.<init>(Database.java:88)
      at com.jovaco.sql.Database.getInstance(Database.java:114)
      at com.jovaco.jte.login.LoginDialog$KE.doInBackground(LoginDialog.java:451)
      at com.jovaco.jte.login.LoginDialog$KE.doInBackground(LoginDialog.java:420)
      at org.jdesktop.swingworker.SwingWorker$1.call(Unknown Source)
      at java.util.concurrent.FutureTask.run(Unknown Source)
      at org.jdesktop.swingworker.SwingWorker.run(Unknown Source)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      at java.lang.Thread.run(Unknown Source)

      Oct 16, 2013 6:37:04 PM com.jovaco.error.ErrorDialog setError
      SEVERE: null
      java.sql.SQLException: No suitable driver found for jdbc:jtds:sqlserver://win7-plp.jovaco.ca:1433/DYNAMICS;User=user_fdt_login;Password=T3D1_L0g1N_0nLY;APPNAME=JTE4
      at java.sql.DriverManager.getConnection(Unknown Source)
      at java.sql.DriverManager.getConnection(Unknown Source)
      at com.jovaco.sql.Database.getConnection(Database.java:169)
      at com.jovaco.jte.login.LoginDialog$KE.doInBackground(LoginDialog.java:451)
      at com.jovaco.jte.login.LoginDialog$KE.doInBackground(LoginDialog.java:420)
      at org.jdesktop.swingworker.SwingWorker$1.call(Unknown Source)
      at java.util.concurrent.FutureTask.run(Unknown Source)
      at org.jdesktop.swingworker.SwingWorker.run(Unknown Source)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      at java.lang.Thread.run(Unknown Source)

      Oct 16, 2013 6:37:07 PM com.jovaco.error.ErrorDialog setError
      SEVERE: null
      java.util.concurrent.ExecutionException: java.lang.NullPointerException
      at java.util.concurrent.FutureTask.report(Unknown Source)
      at java.util.concurrent.FutureTask.get(Unknown Source)
      at org.jdesktop.swingworker.SwingWorker.get(Unknown Source)
      at com.jovaco.jte.login.LoginDialog$KE.done(LoginDialog.java:492)
      at org.jdesktop.swingworker.SwingWorker$5.run(Unknown Source)
      at org.jdesktop.swingworker.SwingWorker$DoSubmitAccumulativeRunnable.run(Unknown Source)
      at org.jdesktop.swingworker.AccumulativeRunnable.run(Unknown Source)
      at org.jdesktop.swingworker.SwingWorker$DoSubmitAccumulativeRunnable.actionPerformed(Unknown Source)
      at javax.swing.Timer.fireActionPerformed(Unknown Source)
      at javax.swing.Timer$DoPostEvent.run(Unknown Source)
      at java.awt.event.InvocationEvent.dispatch(Unknown Source)
      at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
      at java.awt.EventQueue.access$200(Unknown Source)
      at java.awt.EventQueue$3.run(Unknown Source)
      at java.awt.EventQueue$3.run(Unknown Source)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
      at java.awt.EventQueue.dispatchEvent(Unknown Source)
      at com.jovaco.swing.WaitCursorEventQueue2.dispatchEvent(WaitCursorEventQueue2.java:58)
      at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
      at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
      at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
      at java.awt.WaitDispatchSupport$2.run(Unknown Source)
      at java.awt.event.InvocationEvent.dispatch(Unknown Source)
      at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
      at java.awt.EventQueue.access$200(Unknown Source)
      at java.awt.EventQueue$3.run(Unknown Source)
      at java.awt.EventQueue$3.run(Unknown Source)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
      at java.awt.EventQueue.dispatchEvent(Unknown Source)
      at com.jovaco.swing.WaitCursorEventQueue2.dispatchEvent(WaitCursorEventQueue2.java:58)
      at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
      at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
      at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
      at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      at java.awt.EventDispatchThread.run(Unknown Source)
      Caused by: java.lang.NullPointerException
      at com.jovaco.jte.login.LoginDialog$

      REPRODUCIBILITY :
      This bug can be reproduced always.

      ---------- BEGIN SOURCE ----------
      No test case for now, I need to continue to debug that issue, if its at all possible on my end.

      A webstart link should be enough for you guys to see how it worked before and how it does not work anymore, and to decide if you think that this is acceptable...

      http://tedi.macogep.com:81/jte4ext.jnlp

      ---------- END SOURCE ----------

      CUSTOMER SUBMITTED WORKAROUND :
      Not updating to Java 7u45.

            ngthomas Thomas Ng (Inactive)
            ndcosta Nelson Dcosta (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: