Menu

Does not work w/M1.7RC1 10.3.3(unfortunately)

Help
noirdesir
2004-04-27
2013-04-16
  • noirdesir

    noirdesir - 2004-04-27

    Installed the two pieces in /Library/Internet Plug-Ins, deleted the pluginreg.dat, restarted Mozilla. The official test page (http://www.java.com/en/download/help/testvm.jsp ) gives me an error: 'Applet testvm notloaded' and then when I mouse over the area of the applet: 'Error while loaded Applet' (or rather the equivalent in German).

    The last lines of my pluginreg.dat are:
    10:application/x-java-applet;version=1.3.1:Embedded Java Applet:xja131:$
    11:application/x-java-applet;version=1.4:Embedded Java Applet:xja14:$
    12:application/x-java-applet;version=1.4.1:Embedded Java Applet:xja141:$
    13:application/x-java-applet;version=1.4.2:Embedded Java Applet:xja142:$
    Default Plugin.plugin:$
    /Applications/Mozilla.app/Contents/MacOS/plugins/Default Plugin.plugin:$
    1082570591000:0:1:$
    Netscape Navigator Default Plug-in:$
    Default Plug-in:$
    1
    0:*:All types:*:$

     
    • Steven Michaud

      Steven Michaud - 2004-04-28

      Your plugins.dat file looks exactly right (i.e. it
      looks like the last item, which represents the
      first plugin, is for the Default Plug-in, and the
      item just before it is for the MRJ Plugin JEP).

      > The official test page
      > (http://www.java.com/en/download/help/testvm.jsp
      > ) gives me an error: 'Applet testvm notloaded'
      > and then when I mouse over the area of the
      > applet: 'Error while loaded Applet' (or rather
      > the equivalent in German).

      Try running the Java 1.4.2 Plugin Settings utility
      and choosing "Show console", then doing your test
      over again.  That way you'll be able to tell me
      what error (or errors) happen while the applet is
      loading.

       
      • noirdesir

        noirdesir - 2004-04-28

        I get the following (www.java.com is allowed to set cookies, as long as they come from the originating webpage, but a whole lot a bunch of other sites are blocked):

        java.lang.UnsatisfiedLinkError: nativeSetCookieInfo
            at sun.plugin.net.cookie.MacOSXCookieHandler.nativeSetCookieInfo(Native Method)
            at sun.plugin.net.cookie.MacOSXCookieHandler.setCookieInfo(MacOSXCookieHandler.java:44)
            at sun.plugin.net.cookie.PluginCookieManager.setCookieInfo(PluginCookieManager.java:46)
            at sun.plugin.net.protocol.http.HttpURLConnection.checkCookieHeader(HttpURLConnection.java:379)
            at sun.plugin.net.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:417)
            at sun.plugin.net.protocol.http.HttpUtils.followRedirects(HttpUtils.java:39)
            at sun.plugin.cache.CachedFileLoader.download(CachedFileLoader.java:263)
            at sun.plugin.cache.CachedFileLoader.load(CachedFileLoader.java:104)
            at sun.plugin.cache.FileCache.get(FileCache.java:135)
            at sun.plugin.net.protocol.http.HttpURLConnection.connectWithCache(HttpURLConnection.java:209)
            at sun.plugin.net.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:140)
            at sun.plugin.net.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:393)
            at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:272)
            at sun.applet.AppletClassLoader.getBytes(AppletClassLoader.java:263)
            at sun.applet.AppletClassLoader.access$100(AppletClassLoader.java:43)
            at sun.applet.AppletClassLoader$1.run(AppletClassLoader.java:152)
            at java.security.AccessController.doPrivileged(Native Method)
            at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:149)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
            at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:123)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
            at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:561)
            at sun.applet.AppletPanel.createApplet(AppletPanel.java:622)
            at sun.plugin.AppletViewer.createApplet(AppletViewer.java:1899)
            at sun.applet.AppletPanel.runLoader(AppletPanel.java:551)
            at sun.applet.AppletPanel.run(AppletPanel.java:298)
            at java.lang.Thread.run(Thread.java:552)

         
        • noirdesir

          noirdesir - 2004-04-28

          Java(TM) Plug-in: Version 1.4.2_03
          Verwendung der JRE-Version 1.4.2_03 Java HotSpot(TM) Client VM
          Home-Verzeichnis des Benutzers = /Users/hamarkus
          Proxy-Konfiguration:Kein Proxy

          ----------------------------------------------------
          c:   Konsolenfenster lschen
          f:   Objekte in Finalisierungswarteschlange finalisieren
          g:   Speicherbereinigung
          h:   Diese Hilfemeldung anzeigen
          l:   ClassLoader-Liste ausgeben
          m:   Speicherbelegung drucken
          o:   Protokollieren auslsen
          p:   Proxy-Konfiguration neu laden
          q:   Konsole ausblenden
          r:   Richtlinien-Konfiguration neu laden
          s:   Systemeigenschaften ausgeben
          t:   Threadliste ausgeben
          v:   Thread-Stack ausgeben
          x:   ClassLoader-Cache lschen
          0-5: Trace-Stufe auf <n> setzen
          ----------------------------------------------------
          java.lang.UnsatisfiedLinkError: nativeGetCookieInfo
              at sun.plugin.net.cookie.MacOSXCookieHandler.nativeGetCookieInfo(Native Method)
              at sun.plugin.net.cookie.MacOSXCookieHandler.getCookieInfo(MacOSXCookieHandler.java:61)
              at sun.plugin.net.cookie.PluginCookieManager.getCookieInfo(PluginCookieManager.java:82)
              at sun.plugin.net.protocol.http.HttpURLConnection.connectSetup(HttpURLConnection.java:338)
              at sun.plugin.net.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:157)
              at sun.plugin.net.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:393)
              at sun.plugin.net.protocol.http.HttpUtils.followRedirects(HttpUtils.java:39)
              at sun.plugin.cache.CachedFileLoader.download(CachedFileLoader.java:263)
              at sun.plugin.cache.CachedFileLoader.load(CachedFileLoader.java:104)
              at sun.plugin.cache.FileCache.get(FileCache.java:135)
              at sun.plugin.net.protocol.http.HttpURLConnection.connectWithCache(HttpURLConnection.java:209)
              at sun.plugin.net.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:140)
              at sun.plugin.net.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:393)
              at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:272)
              at sun.applet.AppletClassLoader.getBytes(AppletClassLoader.java:263)
              at sun.applet.AppletClassLoader.access$100(AppletClassLoader.java:43)
              at sun.applet.AppletClassLoader$1.run(AppletClassLoader.java:152)
              at java.security.AccessController.doPrivileged(Native Method)
              at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:149)
              at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
              at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:123)
              at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
              at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:561)
              at sun.applet.AppletPanel.createApplet(AppletPanel.java:622)
              at sun.plugin.AppletViewer.createApplet(AppletViewer.java:1899)
              at sun.applet.AppletPanel.runLoader(AppletPanel.java:551)
              at sun.applet.AppletPanel.run(AppletPanel.java:298)
              at java.lang.Thread.run(Thread.java:552)
          java.lang.UnsatisfiedLinkError: nativeSetCookieInfo
              at sun.plugin.net.cookie.MacOSXCookieHandler.nativeSetCookieInfo(Native Method)
              at sun.plugin.net.cookie.MacOSXCookieHandler.setCookieInfo(MacOSXCookieHandler.java:44)
              at sun.plugin.net.cookie.PluginCookieManager.setCookieInfo(PluginCookieManager.java:46)
              at sun.plugin.net.protocol.http.HttpURLConnection.checkCookieHeader(HttpURLConnection.java:379)
              at sun.plugin.net.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:417)
              at sun.plugin.net.protocol.http.HttpUtils.followRedirects(HttpUtils.java:39)
              at sun.plugin.cache.CachedFileLoader.download(CachedFileLoader.java:263)
              at sun.plugin.cache.CachedFileLoader.load(CachedFileLoader.java:104)
              at sun.plugin.cache.FileCache.get(FileCache.java:135)
              at sun.plugin.net.protocol.http.HttpURLConnection.connectWithCache(HttpURLConnection.java:209)
              at sun.plugin.net.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:140)
              at sun.plugin.net.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:393)
              at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:272)
              at sun.applet.AppletClassLoader.getBytes(AppletClassLoader.java:263)
              at sun.applet.AppletClassLoader.access$100(AppletClassLoader.java:43)
              at sun.applet.AppletClassLoader$1.run(AppletClassLoader.java:152)
              at java.security.AccessController.doPrivileged(Native Method)
              at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:149)
              at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
              at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:123)
              at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
              at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:561)
              at sun.applet.AppletPanel.createApplet(AppletPanel.java:622)
              at sun.plugin.AppletViewer.createApplet(AppletViewer.java:1899)
              at sun.applet.AppletPanel.runLoader(AppletPanel.java:551)
              at sun.applet.AppletPanel.run(AppletPanel.java:298)
              at java.lang.Thread.run(Thread.java:552)

          ---------------------------------
          ---------------------------------
          And that is what is showing the OS X console upon start-up of Mozilla:
          File nlcheck.cpp; Line 199. # false

          File nlcheck.cpp; Line 147. # false

          /Applications/Mozilla.app/Contents/MacOS/mozilla-bin: can't map file: /Library/Internet Plug-Ins/MRJPlugin.plugin ((os/kern) invalid argument)

          ### MRJPlugin:  getPluginBundle() here. ###

          ### MRJPlugin:  CFBundleGetBundleWithIdentifier() succeeded. ###

          ### MRJPlugin:  CFURLGetFSRef() succeeded. ###

          2004-04-28 19:36:42.347 mozilla-bin[3854] Apple Applet Plugin: Can't set up JNI (JNI_OnLoad: 146).

          /Applications/Mozilla.app/Contents/MacOS/mozilla-bin: can't map file: /Library/Internet Plug-Ins/MRJPlugin.plugin ((os/kern) invalid argument)

          ### MRJPlugin:  getPluginBundle() here. ###

          ### MRJPlugin:  CFBundleGetBundleWithIdentifier() succeeded. ###

          ### MRJPlugin:  CFURLGetFSRef() succeeded. ###

          ----------------------------
          And that line after I visited the test webpage:

          2004-04-28 19:49:32.860 mozilla-bin[3861] Apple Applet Plugin: Can't set up JNI (JNI_OnLoad: 146).

           
          • Jean-Marc Desperrier

            Are you sure you still have JavaPluginCocoa.bundle in your plug-in directory ?
            The problem you have seems a bit similar to the problems with a missing JavaPluginCocoa.bundle someone else reported.

             
            • Steven Michaud

              Steven Michaud - 2004-09-29

              Oops!  This is an old problem that was solved (I
              assume) by JEP 0.8.3 -- Earlier versions weren't
              compatible with Java 1.4.2 Update 1 (or Update 2).

              At the time I wrote my original responses, I wasn't yet
              aware that incompatibility with Update 1 was the source
              of the trouble.

               
    • Steven Michaud

      Steven Michaud - 2004-04-28

      Thanks for this information!

      The key to the problem seems to be the
      "UnsatisfiedLinkError", which isn't a permissions
      problem.  By now I've also had a couple of other
      reports of this same error.

      It's probably due to a bug in the Java Embedding
      Plugin, which I'll now work to find and fix.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.