Comment 6 for bug 1171506

Revision history for this message
Jamie Strandboge (jdstrand) wrote : Re: Unable to run java test applet in chromium, some applets not working in firefox

On firefox i386, if I go to the bank url, it takes a few seconds to load, and then I get a 'Security Approval Required' dialog. If I click 'Run' (and uncheck 'Always trust content from this publisher'), then it starts to load and after a few seconds a second 'Security Approval Required' dialog is presented. If I click 'Run' again (and uncheck 'Always trust content from this publisher'), I see what appears to be a login screen. Note, I had to use https://www2.bancobrasil.com.br/aapf/login.jsp because the one specified seemed to be associated with your account (it told me it could not recognize the computer). This is with the icedtea6-plugin (6b21.2.3-0ubuntu0.12.04.1).

If I install the icedtea-7-plugin, it says: 'Start:applet not initialized' if I go to the original bank URL. If I launch this from a terminal, I see:
$ cat /tmp/foo
java version "1.7.0_15"
OpenJDK Runtime Environment (IcedTea7 2.3.7) (7u15-2.3.7-0ubuntu1~12.04.1)
OpenJDK Client VM (build 23.7-b01, mixed mode, sharing)
Unable to find class net.sourceforge.jnlp.security.VariableX509TrustManagerJDK7
JAR https://www2.bancobrasil.com.br/aapf/idh/GbAs.jar not found. Continuing.
net.sourceforge.jnlp.LaunchException: Fatal: Initialization Error: Could not initialize applet.
 at net.sourceforge.jnlp.Launcher.createApplet(Launcher.java:735)
 at net.sourceforge.jnlp.Launcher.getApplet(Launcher.java:676)
 at net.sourceforge.jnlp.Launcher$TgThread.run(Launcher.java:886)
Caused by: java.lang.ClassNotFoundException: br.com.gas.mid.GbAs
 at net.sourceforge.jnlp.runtime.JNLPClassLoader.loadClass(JNLPClassLoader.java:1404)
 at net.sourceforge.jnlp.Launcher.createApplet(Launcher.java:725)
 ... 2 more
Caused by:
java.lang.ClassNotFoundException: br.com.gas.mid.GbAs
 at net.sourceforge.jnlp.runtime.JNLPClassLoader.loadClass(JNLPClassLoader.java:1404)
 at net.sourceforge.jnlp.Launcher.createApplet(Launcher.java:725)
 at net.sourceforge.jnlp.Launcher.getApplet(Launcher.java:676)
 at net.sourceforge.jnlp.Launcher$TgThread.run(Launcher.java:886)
java.lang.NullPointerException
 at net.sourceforge.jnlp.NetxPanel.runLoader(NetxPanel.java:149)
 at sun.applet.AppletPanel.run(AppletPanel.java:380)
 at java.lang.Thread.run(Thread.java:722)
java.lang.NullPointerException
 at sun.applet.AppletPanel.run(AppletPanel.java:430)
 at java.lang.Thread.run(Thread.java:722)

This seems to be the problem:
Unable to find class net.sourceforge.jnlp.security.VariableX509TrustManagerJDK7

The debian/changelog has:
 * Common:
    - PR1161: X509VariableTrustManager does not work correctly with OpenJDK7

This is http://icedtea.classpath.org/hg/release/icedtea-web-1.2/raw-rev/c74251bbaffd. I'll try reverting it and report back. The workaround appears to be to use icedtea6-plugin on 12.04 for now.