Netscape applets issue

So I loaded up J2SE SDK on my XP machine.
I did the �First Cup of Java� Hello World applet. It ran OK Netscape 7.01, but only offline. When I am online Netscape seems to not want to run any Java applet. The Tool\Web Development\Java Console selection goes to gray and cannot be accessed. When I go to one of the tutorials,
http://java.sun.com/docs/books/tutorial/getStarted/index.html the example applet below the third paragraph will not work. When I look at the list of plug-ins installed with netscape, everything seems to be there and enabled.
What have I done wrong?

yes. I'm using dial up service. ugg!
Windows was pre installed by Dell.
I downloaded netscape and installed it my self.
I open Nescape without being connected to the internet and then open the Hello World applet from the browser. It runs. If I'm online the HTML portion of it shows up but the java protion does not. Other problems as staed above.
After posting, I was thinking that maybe it is a security setting I missed someplace, maybe in the browser itself?

Similar Messages

  • Safari 5.0.3 and Applet Issue

    Hi,
    We are trying to load java applet inside an iframe but all I can see is blank screen. I have Mac OS 10.6.6 and Safari 5.0.3 with Java Plugin 1.6.0_23. When I look at the Java Console I can see the error saying ..
    No LiveConnect service available
    netscape.javascript.JSException
    at netscape.javascript.JSObject.getWindow(JSObject.java:177)
    Strangely, If I change my Java Preferences and set to Run Applets in their own process, applet loads properly in iframe. But that is also not working consistently across different macs with similar configuration.
    I understand that LiveConnect is to support Applet to Java Script communication but I don't se why it would not be available in Java Plugin 1.6.0_23.
    Is there any known issue or I am missing something?

    Hi,
    But that is also not working consistently across different macs with similar configuration.
    Move the com.apple.java.JavaPrefereneces.plist file from ~/Library/Preferences to the Desktop. See if that makes a difference.
    Carolyn

  • OAS 4.0.8 Netscape Applet Error

    Installation:
    Oracle 8i
    OAS 4.0.8
    Netscape 4.73
    Suse Linux 6.4
    Patches for Netscape (plugger, nsfix, ....)
    I try to start the oasmgr using Netscape. When i start the oas manager or the oas utilities, i got the next page on the left side grey and an error message "Applet TreeApplet can't start: ERROR"
    What's wrong ??

    I forgot to mention that the database is Oracle 8.0.5.2.1, and it is running on the same computer as the OAS.

  • JVM 1.4 and applet issue

    Hi,
    I'm new to Java so hopefully you'll be able to clear something up for me. I have had a look round, but am struggling due to my lack of Java knowledge.
    I have an application which passes an applet to IE. The connection is over https. With anything else other than 1.4 JVM installed, its fine, but with 1.4 I see "applet notinited" followed by "load failed".
    Both the server and client use certificates and I've been told this won't work with client certs - not sure why, so the first question...is there a bug in 1.4 related to the use of client certs?
    Here is a cut of the console log....
    lots of...loaded certificates messages (no errors/warnings)
    then....
    a connecting to the site message (no errors/warnings)
    then...
    sun.plugin.cache.DownloadException
         at sun.plugin.cache.CachedFileLoader.load(Unknown Source)
         at sun.plugin.cache.FileCache.get(Unknown Source)
         at sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.connectWithCache(Unknown Source)
         at sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.connect(Unknown Source)
         at sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.getInputStream(Unknown Source)
         at java.net.HttpURLConnection.getResponseCode(Unknown Source)
         at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(Unknown Source)
         at sun.applet.AppletClassLoader.getBytes(Unknown Source)
         at sun.applet.AppletClassLoader.access$100(Unknown Source)
         at sun.applet.AppletClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.applet.AppletClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadCode(Unknown Source)
         at sun.applet.AppletPanel.createApplet(Unknown Source)
         at sun.plugin.AppletViewer.createApplet(Unknown Source)
         at sun.applet.AppletPanel.runLoader(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    lots of...loaded certificates messages (no errors/warnings)
    then....
    a connecting to the site message (no errors/warnings)
    then...
    load: class com.fred.fred.fred not found.
    java.lang.ClassNotFoundException: com.fred.fred.fred
         at sun.applet.AppletClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadCode(Unknown Source)
         at sun.applet.AppletPanel.createApplet(Unknown Source)
         at sun.plugin.AppletViewer.createApplet(Unknown Source)
         at sun.applet.AppletPanel.runLoader(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Caused by: java.io.IOException: open HTTP connection failed.
         at sun.applet.AppletClassLoader.getBytes(Unknown Source)
         at sun.applet.AppletClassLoader.access$100(Unknown Source)
         at sun.applet.AppletClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         ... 10 more
    Exception: java.lang.ClassNotFoundException: com.fred.fred.fred
    Now, without client certificates I also have issues....so, the second question - is there something here which is not client certificate related, and although I would never speculate....https related for example?
    Thank you very much for any help

    Hi,
    Listen, Sun doesn't know exactly what they are doing.
    I installed the JDK 1.4.x on my machine b/c I need to
    run this program for my Advanced Databases course. I
    didn't install the JDK by choice. Now when I goto a
    website that has a Java applet on it, IT DOESN'T
    WORK!!!! It worked FINE with the JVM that Microsoft
    provided in Windows XP! Further, Sun DOESN'T FOLLOW
    the "Set Program Access and Defaults" in Windows XP
    SP1!!! I change the default JVM to the Microsoft JVM,
    reload IE, and then on the webpage it persists to use
    the Sun JVM!
    THANK YOU SUN FOR SCREWING WITH MY MACHINE! Have you got JRE1.4.x installed for the IE you are using.Download the java plug in for the browser and install it...
    Regards
    Vicky

  • IE8 Applet Issue on ADF

    I am having issue with Applet on a .jspx page when using IE8 browser.
    I am running on:
    JDEVADF_11.1.1.7.0_GENERIC_121026.1729.6438
    This blocking our progress at the moment, so any help please.
    I created a simple ADF Web Application with a single page that loads an Applet:
    +<?xml version='1.0' encoding='UTF-8'?>+
    +<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"+
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
    +<jsp:directive.page contentType="text/html;charset=UTF-8"/>+
    +<f:view>+
    +<af:document id="d1">+
    +<af:form id="f1">+
    +<af:commandButton text="commandButton 1" id="cb1"/>+
    +<af:switcher id="s1" defaultFacet="true">+
    +<f:facet name="true">+
    +<f:verbatim>+
    +<applet id="MyApplet" name="MyApplet" width="1" height="1" hidden="true"+
    scriptable="true" pluginspage="http://java.sun.com/javase/downloads/ea.jsp"
    code="com.oracle.HelloWorld"
    archive="/Application23-ViewController-context-root/MyApplet.jar"
    cache_archive="MyApplet.jar" cache_version="11.1.7.0"/>
    +</f:verbatim>+
    +</f:facet>+
    +</af:switcher>+
    +<af:commandButton text="commandButton 2" id="cb2"/>+
    +</af:form>+
    +</af:document>+
    +</f:view>+
    +</jsp:root>+
    I found that the behavior is different on IE8 and IE9:
    on IE9:_
    The page was rendered and Applet was loaded.
    Clicked on the button and I could see the page refresh.
    Clicked refresh on the browser and the page refreshed correctly.
    on IE8:_
    the page was rendered and Applet was loaded.
    Clicked on the button and nothing happened.
    Clicked refresh on the browser and it took me to a different URL.
    I have tested on Firefox and Chrome and they were fine.
    I also tested loading applet using HTML file (not ADF app) and it was fine in IE8.
    Hence, this seems to be an ADF specific issue.
    any suggestions or idea?
    Is there any ADF specific way to load an Applet?

    Hi,
    you are sitting on an Oracle internal build of JDeveloper. So can you verify the behavior with a public release (JDeveloper 11.1.1.6) to ensure its not an issue with a non-production build? Note that the OTN forum is a public forum and not meant to address Oracle internal builds.
    Something to check:
    - Is IE8 running in native mode or in compatibility mode (please check the same for IE9)?
    - If Applet caching is disabled, does it make a difference?
    - If you removed the af:swicther tag surrounding it, does it make a difference?
    Frank

  • Netscape Applet Security showDocument

    I posted this on the programming forum, but I thought I'd try in here also.
    I am writing a file to the client's filesystem and trying to open that local file in an applet using:
    url = new URL("file", "", filename);
    // Open a new browser window targeting the file url
    this.getAppletContext().showDocument(url, "_blank");
    The.java.policy has been modified to grant all permissions This eventually will be a signed applet. The current configuration works okay on IE (6.0). Unfortunately when I run the applet from Netscape 7.1 Nothing happens. There is no error message. The odd thing about this is that I am able to actually write the file to the client filesystem, but the document does not launch in a new window.
    I tried it also using Netscape 4.8 and got the following error:
    netscape.javascript.JSException: call does not support self.open
    at sun.plugin.javascript.navig.Window.call(Unknown Source)
    at sun.plugin.viewer.context.DefaultPluginAppletContext$1.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    Again I was permitted to write the files to the local filesystem so I can't understand why I cannot show the document.
    What might be the problem? (OS is Windows 2000)

    I don't know if I can help you with this.
    I am able to run the following applet successfully in my Netscape 7.1 browser on Windows 2000 professional. I am including it for you to try. Although I have a feeling it is probably similar enough to what you have already tried, my interest in this topic has to do with the fact that I am having the same error as you when I run an applet in Camino v0.7 on Mac OS X 10.2 and also an older version of Mozilla 1.0.2 also on the Mac. Like you, I don't see any error messages. The browser simply does not redirect to the new page. The thought here is that if you are not able to redirect a user using an applet that will redirect a user on my own Netscape/Windows environment, maybe then the problem will turn out to be one of configuration (? or not) and hopefully I can solve it somehow on Camino. In any case, I'll be watching this thread hoping for a solution for you.
    public class RedirectApplet extends java.applet.Applet
         public void init()
         public void start()
              redirect();
         }// end start
         private void redirect()
              try{
              java.net.URL url
              = new java.net.URL(getCodeBase() + "/WebPage.html");
              this.getAppletContext().showDocument(url, "_self");
              catch(Exception e)
                   System.out.println("Error with redirection - " + e.getMessage());
         }// end method
    }// end applet class

  • Java7 Update21 Applet Issue

    Hi Friends,
    Any one is facing the same Issue whatever I mentioned below,If yes please provide the solution
    Exception in thread "Thread-15" java.lang.NullPointerException
        at sun.plugin2.applet.Plugin2Manager.checkUntrustedAccess(Unknown Source)
        at sun.plugin2.main.client.LiveConnectSupport$PerAppletInfo.isLiveconnectCallAllowed(Unknown Source)
        at sun.plugin2.main.client.LiveConnectSupport$PerAppletInfo.doObjectOp(Unknown Source)
        at sun.plugin2.main.client.LiveConnectSupport.doObjectOp(Unknown Source)
        at sun.plugin2.main.client.MessagePassingJSObject.waitForReply(Unknown Source)
        at sun.plugin2.main.client.MessagePassingJSObject.call(Unknown Source)

    Okay, I signed the jar file, but I have no idea how to get the Jar file to run on the web. I've tried googling for the answer but I cant seem to find anything. Thank you for your help by the way.
    EDIT: Nevermind, I've got the signed jar running on the web, but it still has the same problem
    Edited by: AnthonyJK on Nov 18, 2008 9:43 AM

  • Netscape Browser issue . ..

    HI,
    Am on 11.5.10.2
    RDBMS 9i
    OS RHEL 4.6
    Client :
    OS: Windows 7
    I installed Netscape 9.0,Oracle Jinitiator.
    First time it workes fine.Second time when i logged.. am able to login,but problem is Form is not visible.If we press alt+tab then only i can see forms.
    If i want to sesrch /enter something in the form again i have to do alt+tab.
    I uninstalled all & reboot the PC,installed again still same issue.
    Then i uninstalled Jinitiator.then reinstalled, No use.
    Plz help me
    Thanks

    Hi,
    Please see (Note: 285218.1 - Recommended Browsers for Oracle E-Business Suite 11i) and make sure you meet all the requirements as per the doc.
    Thanks,
    Hussein

  • [SOLVED]HDMI audio and gnome volume applet issues

    Hi all,
    After setting up Arch without too many problems came the real pain in the ass: HDMI audio over a Asus NVIDIA GeForce EN210....
    Eventually I got everything to work with the help of the ASLA en Pulse wiki pages, but I found the last piece of the puzzle here:
    http://wiki.xbmc.org/index.php?title=HO … ,_or_GT240
    Maybe this is useful for others too.
    The only problem I have now is that the ALSA deamon fails to load. I found this in the boot log file (/var/log/boot):
    Thu Apr 12 13:54:19 2012: :: Restoring ALSA Levels    [BUSY] Found hardware: "HDA-Intel" "Nvidia GPU 0b HDMI/DP" "HDA:10de000b,10de0101,00100200" "0x1043" "0x8343"
    Thu Apr 12 13:54:20 2012: Hardware is initialized using a generic method
    Does this mean I don't need the alsa deamon anymore? Sound still works normally after boot but a strange thing is that I can turn up and down the volume with the gnome shell volume applet but the volume of media applications like vlc do not react. Same problem with flash video's like youtube. I do hear the "blip" sound from the applet.
    Does anyone have ideas how to fix this?
    Last edited by Jurry (2012-04-26 23:46:31)

    yeah have the samre problem, adjusting sound in Amarok doesn't change anything.... happened after the last udev update, here is my bootup log :
    Sat Apr 14 17:28:55 2012: :: Adjusting system time and setting kernel timezone    [BUSY]    [DONE]
    Sat Apr 14 17:28:55 2012: :: Starting UDev Daemon    [BUSY]    [DONE]
    Sat Apr 14 17:28:55 2012: :: Triggering UDev uevents    [BUSY]    [DONE]
    Sat Apr 14 17:28:55 2012: :: Loading User-specified Modules    [BUSY]    [DONE]
    Sat Apr 14 17:28:55 2012: :: Waiting for UDev uevents to be processed    [BUSY]    [DONE]
    Sat Apr 14 17:28:55 2012: :: Bringing up loopback interface    [BUSY]    [DONE]
    Sat Apr 14 17:28:55 2012: :: Unlocking encrypted volumes:    [BUSY]    [DONE]
    Sat Apr 14 17:28:55 2012: :: Checking Filesystems    [BUSY] /dev/sda1: clean, 29/40160 files, 24631/160616 blocks
    Sat Apr 14 17:28:55 2012: /dev/sda4: clean, 76872/18530304 files, 16371381/74101820 blocks
    Sat Apr 14 17:28:55 2012:    [DONE]
    Sat Apr 14 17:28:55 2012: :: Remounting Root    [BUSY]    [DONE]
    Sat Apr 14 17:28:55 2012: :: Mounting Local Filesystems    [BUSY]    [DONE]
    Sat Apr 14 17:28:55 2012: :: Activating Swap    [BUSY]    [DONE]
    Sat Apr 14 17:28:55 2012: :: Configuring Time Zone    [BUSY]    [DONE]
    Sat Apr 14 17:28:55 2012: :: Initializing Random Seed    [BUSY]    [DONE]
    Sat Apr 14 17:28:55 2012: :: Removing Leftover Files    [BUSY]    [DONE]
    Sat Apr 14 17:28:55 2012: :: Setting Hostname: Nashed    [BUSY]    [DONE]
    Sat Apr 14 17:28:55 2012: :: Setting Consoles to UTF-8 mode    [BUSY]    [DONE]
    Sat Apr 14 17:28:55 2012: :: Loading Keyboard Map: us    [BUSY]    [DONE]
    Sat Apr 14 17:28:55 2012: :: Saving dmesg Log    [BUSY]    [DONE]
    Sat Apr 14 17:28:55 2012: INIT: Entering runlevel: 5
    Sat Apr 14 17:28:55 2012: :: Starting Syslog-NG    [BUSY]    [DONE]
    Sat Apr 14 17:28:55 2012: :: Starting Network    [BUSY]    [DONE]
    Sat Apr 14 17:29:26 2012: :: Starting net-profiles    [BKGD]
    Sat Apr 14 17:29:26 2012: :: Mounting Network Filesystems    [BUSY]    [DONE]
    Sat Apr 14 17:29:26 2012: :: Starting crond daemon    [BUSY]    [DONE]
    Sat Apr 14 17:29:26 2012: :: Restoring ALSA Levels    [BUSY] Found hardware: "HDA-Intel" "Realtek ALC888" "HDA:10ec0888,80860024,00100202" "0x8086" "0x0024"
    Sat Apr 14 17:29:26 2012: Hardware is initialized using a generic method
    Sat Apr 14 17:29:26 2012:    [FAIL]
    Sat Apr 14 17:29:26 2012: :: Starting D-BUS system messagebus    [BUSY]    [DONE]
    I hope it helps identify the problem

  • Java programming applet issue newbie help

    hello
    i am a student taking an intro to OOP course using java. i have textMate and blue J as java editing environments. i have successfully managed a few lessons but now i am having trouble with applets. my applet source code will run in blue j but not in textmate and i think the reason has to do with the applet extension. first when i run the program successfully in blue jay it utilizes the sun.applet.main environment to display the applets output. but in textmate the identical code generates an error which i finally have a some information about why?
    the error in textmate reads
    :exception in thread "main" java.lang.NoSuchMethodError: main
    i am not sure whether this has to do with the import java.awt.*: or just the public void paint(Graphics g) method (code Below)
    the eventual intended output of the applet is to a web browser via an html document which calls the java applet but when i run this html document both firefox and safari display blank pages.
    i am on macpro with the latest java version - just downloaded last week
    is there some unique import statement to utilize import java.awt.*;
    import java.applet.*; in mac os or ???
    BTW the smile.gif is in the project folder with the java document
    thanks for any help
    Chapter 2: Welcome to My Day
    Programmer: rafe McDonald
    Date: November 5, 2009
    Filename: WelcomeApplet
    Purpose: This project displays a smile graphic, welcome message, the user's
    name, and the system date in an applet.
    import java.util.Date;
    import java.awt.*;
    import java.applet.*;
    public class WelcomeApplet extends Applet
    public void paint(Graphics g)
    Date currentDate = new Date(); //Date constructor
    g.drawString("Welcome to my day!",200,70);
    g.drawString("Daily planner for Rafe McDonald",200,100);
    g.drawString(currentDate.toString(),200,130);
    Image smile; //declare an Image object
    smile = getImage(getDocumentBase(), "smile.gif");
    g.drawImage(smile,10,10,this);
    setBackground(Color.cyan);
    }

    http://discussions.apple.com/thread.jspa?threadID=2226853&tstart=0
    i realized the other section of this forum is geared toward java inquiries so if anyone has some ideas please post there
    thanks

  • Applet issue in jsf page

    dear All
    it is the first time i create an applet to include it in my jsf page ,i created the applet and it is working fine, i exported the applet as a jar file myNewApplet.jar
    like Frank Example http://www.oracle.com/technetwork/developer-tools/adf/learnmore/71-adf-to-applet-communication-307672.pdf
    when i included it in my jsf page as per below script.
    <APPLET height="130" width="400" code="project1.Applet1.class"
    archive="/Application6-ViewController-context-root/myNewApplet.jar"
    align="bottom">
    This browser does not support Applets.
    </APPLET>
    i am getting X flag in the applet area , and i see below exception when i open java console
    java.lang.ClassFormatError: Incompatible magic value 1013478509 in class file project1/applet1     
    at java.lang.ClassLoader.defineClass1(Native Method)
         at java.lang.ClassLoader.defineClass(Unknown Source)
         at java.security.SecureClassLoader.defineClass(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.ClassFormatError: Incompatible magic value 1013478509 in class file project1/applet1
    please advise
    Edited by: Oracle ITself on May 1, 2011 1:46 PM

    solved by correcting the name of Applet1 instead of applet1
    thanks

  • Admin applet issue (unable to enable java plugins)

    i installed orlc UCM on linux 64 and the (unable to enable java plugins) so i cant access admin applet..
    i did this
    http://www.java.com/en/download/help/linux_x64_install.xml
    http://www.oracle.com/technetwork/java/javase/manual-plugin-install-linux-136395.html
    but still nothing,,
    Edited by: mahmoud abukhaled on Sep 17, 2012 2:06 AM
    Edited by: mahmoud abukhaled on Sep 17, 2012 2:08 AM
    Edited by: mahmoud abukhaled on Sep 17, 2012 2:16 AM
    Edited by: mahmoud abukhaled on Sep 17, 2012 2:16 AM

    You need to add security policy file
    Check this out
    http://stackoverflow.com/questions/2612895/where-to-place-java-applet-policy-file
    http://geosim.cs.vt.edu/Java/MigModel/help/Policies.html
    Regards,
    Vikrant Korde

  • Applet Issue

    Hello everyone,
    I'm trying to make a very basic applet, or at least that was my intention. Basically what i'm trying to do is make an applet that just has a socket in it to maintain connection to a server, so then i can use javascript and CSS to display the incoming and out going information. First i will post the error that i'm getting when i try to use it in a .jar that i signed. If anyone can assist me in figuring out what is going on with this it would be greatly appreciated.
    java.lang.SecurityException: SHA1 digest error for TestApplet.class
         at sun.security.util.ManifestEntryVerifier.verify(ManifestEntryVerifier.java:192)
         at java.util.jar.JarVerifier.processEntry(JarVerifier.java:212)
         at java.util.jar.JarVerifier.update(JarVerifier.java:199)
         at java.util.jar.JarVerifier$VerifierStream.read(JarVerifier.java:449)
         at java.util.jar.JarVerifier.getCodeSigners(JarVerifier.java:346)
         at java.util.jar.JarVerifier.getCodeSource(JarVerifier.java:840)
         at java.util.jar.JarFile.getCodeSource(JarFile.java:680)
         at java.util.jar.JavaUtilJarAccessImpl.getCodeSource(JavaUtilJarAccessImpl.java:29)
         at com.sun.deploy.cache.DeployCacheJarAccessImpl.getCodeSource(DeployCacheJarAccessImpl.java:69)
         at com.sun.deploy.security.CPCallbackHandler$ChildElement.checkResource(CPCallbackHandler.java:450)
         at com.sun.deploy.security.DeployURLClassPath$JarLoader.checkResource(DeployURLClassPath.java:790)
         at com.sun.deploy.security.DeployURLClassPath$JarLoader.getResource(DeployURLClassPath.java:890)
         at com.sun.deploy.security.DeployURLClassPath.getResource(DeployURLClassPath.java:231)
         at sun.plugin2.applet.Plugin2ClassLoader$2.run(Plugin2ClassLoader.java:796)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.plugin2.applet.Plugin2ClassLoader.findClassHelper(Plugin2ClassLoader.java:785)
         at sun.plugin2.applet.Applet2ClassLoader.findClass(Applet2ClassLoader.java:147)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
         at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Plugin2ClassLoader.java:520)
         at sun.plugin2.applet.Plugin2Manager.createApplet(Plugin2Manager.java:2940)
         at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Plugin2Manager.java:1444)
         at java.lang.Thread.run(Thread.java:619)
    Exception: java.lang.SecurityException: SHA1 digest error for TestApplet.class
    java.lang.SecurityException: SHA1 digest error for TestApplet.class
         at sun.security.util.ManifestEntryVerifier.verify(ManifestEntryVerifier.java:192)
         at java.util.jar.JarVerifier.processEntry(JarVerifier.java:212)
         at java.util.jar.JarVerifier.update(JarVerifier.java:199)
         at java.util.jar.JarVerifier$VerifierStream.read(JarVerifier.java:449)
         at java.util.jar.JarVerifier.getCodeSigners(JarVerifier.java:346)
         at java.util.jar.JarVerifier.getCodeSource(JarVerifier.java:840)
         at java.util.jar.JarFile.getCodeSource(JarFile.java:680)
         at java.util.jar.JavaUtilJarAccessImpl.getCodeSource(JavaUtilJarAccessImpl.java:29)
         at com.sun.deploy.cache.DeployCacheJarAccessImpl.getCodeSource(DeployCacheJarAccessImpl.java:69)
         at com.sun.deploy.security.CPCallbackHandler$ChildElement.checkResource(CPCallbackHandler.java:450)
         at com.sun.deploy.security.DeployURLClassPath$JarLoader.checkResource(DeployURLClassPath.java:790)
         at com.sun.deploy.security.DeployURLClassPath$JarLoader.getResource(DeployURLClassPath.java:890)
         at com.sun.deploy.security.DeployURLClassPath.getResource(DeployURLClassPath.java:231)
         at sun.plugin2.applet.Plugin2ClassLoader$2.run(Plugin2ClassLoader.java:796)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.plugin2.applet.Plugin2ClassLoader.findClassHelper(Plugin2ClassLoader.java:785)
         at sun.plugin2.applet.Applet2ClassLoader.findClass(Applet2ClassLoader.java:147)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
         at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Plugin2ClassLoader.java:520)
         at sun.plugin2.applet.Plugin2Manager.createApplet(Plugin2Manager.java:2940)
         at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Plugin2Manager.java:1444)
         at java.lang.Thread.run(Thread.java:619)
    Exception: java.lang.SecurityException: SHA1 digest error for TestApplet.class
    And here is the code:
    import java.io.*;
    import java.net.*;
    import java.applet.*;
    import java.awt.BorderLayout;
    import javax.swing.JApplet;
    import javax.swing.JPanel;
    import javax.swing.JLabel;
    public class TestApplet extends JApplet {
         public void init() {
              JPanel contentPane = new JPanel(new BorderLayout());
              setContentPane(contentPane);
              JLabel statusLabel = new JLabel("Establishing connection...");
              contentPane.add(statusLabel, BorderLayout.CENTER);
              Socket tcpSck = null;
              PrintWriter out = null;
              BufferedReader in = null;
              try {
                   tcpSck = new Socket("127.0.0.1", 1253);
                   out = new PrintWriter(tcpSck.getOutputStream(), true);
                   in = new BufferedReader(new InputStreamReader(tcpSck.getInputStream()));
              } catch (UnknownHostException e) {
                   statusLabel.setText("Unknown host localhost");
              } catch (IOException e) {
                   statusLabel.setText("Unable to establish connection");
              String incoming;
              try {
                   while ((incoming = in.readLine()) != null) {
                        statusLabel.setText(incoming);
              } catch (IOException e) {
                   statusLabel.setText("Unable to establish connection");
              } catch (NullPointerException e) {
                   statusLabel.setText("Null Pointer Exception");
    }

    briansykes wrote:
    ..I'm trying to make a very basic applet,.. No such beast. At least, not once it comes to shoe-horning that 'simple' applet into a browser so people can surf to it off the world wild web.
    ..or at least that was my intention. Basically what i'm trying to do is make an applet that just has a socket in it to maintain connection to a server, so then i can use javascript..Huhh? How/where does the JS come into it?
    .. and CSS to display the incoming and out going information. First i will post the error that i'm getting when i try to use it in a .jar that i signed. ..Why did you sign it? If an applet is 'pphoning home' to the server that launched it, it should not need trust.
    ..If anyone can assist me in figuring out what is going on with this it would be greatly appreciated.
    java.lang.SecurityException: SHA1 digest error for TestApplet.class
    ..But that actually looks more like a code signing problem.

  • Gnome3 + nm-applet issue

    I used to be able to auto-connect to a hidden wireless network at gnome2, I reinstalled Arch from scratch with gnome3 and now I have to go to:
    "Network Settings" -> "Wireless" -> "More" -> Select the hidden wireless connection settings -> It asks for Administrator password -> Connect.
    And I have some errors with nm-applet at .xsession-errors
    (gnome-settings-daemon:1540): common-plugin-WARNING **: Key 0xffc0 (keycodes: 69) with state 0x0 (resolved to 0x0) has no usable modifiers (usable modifiers are 0x140000ed)
    ** Message: applet now removed from the notification area
    TCP server running at tcp://localhost:9092 (others can connect)
    JS LOG: GNOME Shell started at Thu May 12 2011 18:05:16 GMT-0500 (CDT)
    Window manager warning: CurrentTime used to choose focus window; focus window may not be correct.
    Window manager warning: Got a request to focus the no_focus_window with a timestamp of 0. This shouldn't happen!
    ** Message: applet now embedded in the notification area
    [1716:1795:9525028697:ERROR:all_status.cc(117)] Unrecognized Syncer Event: 7
    Window manager warning: CurrentTime used to choose focus window; focus window may not be correct.
    Window manager warning: Got a request to focus 0x1400004 (Desktop) with a timestamp of 0. This shouldn't happen!
    ** (nm-applet:1584): CRITICAL **: nm_connection_need_secrets: assertion `connection != NULL' failed
    ** (nm-applet:1584): WARNING **: get_secrets_cb: error getting connection secrets: (32) Insufficient privileges.
    That I think it's related.
    Has anyone got this working?

    I did some upgrades and I have the same behavior, but I'm getting more session errors:
    (gnome-settings-daemon:1505): common-plugin-WARNING **: Key 0xffc0 (keycodes: 69) with state 0x0 (resolved to 0x0) has no usable modifiers (usable modifiers are 0x140000ed)
    ** Message: applet now removed from the notification area
    JS LOG: GNOME Shell started at Fri May 13 2011 17:26:23 GMT-0500 (CDT)
    ** Message: applet now embedded in the notification area
    Window manager warning: CurrentTime used to choose focus window; focus window may not be correct.
    Window manager warning: Got a request to focus the no_focus_window with a timestamp of 0. This shouldn't happen!
    JS ERROR: !!! Exception was: Error: Argument 'str2' (type utf8) may not be null
    JS ERROR: !!! lineNumber = '0'
    JS ERROR: !!! fileName = 'gjs_throw'
    JS ERROR: !!! stack = '("Argument 'str2' (type utf8) may not be null")@gjs_throw:0
    ([object Object],[object Object])@/usr/share/gnome-shell/js/ui/status/network.js:1200
    ([object _private_NMClient_DeviceWifi],[object _private_NMClient_AccessPoint])@/usr/share/gnome-shell/js/ui/status/network.js:1280
    ([object _private_NMClient_DeviceWifi],[object _private_NMClient_AccessPoint])@/usr/share/gjs-1.0/lang.js:110
    JS ERROR: !!! message = 'Argument 'str2' (type utf8) may not be null'
    (gnome-settings-daemon:1505): Gdk-WARNING **: The program 'gnome-settings-daemon' received an X Window System error.
    This probably reflects a bug in the program.
    The error was 'BadMatch (invalid parameter attributes)'.
    (Details: serial 1575 error_code 8 request_code 15 minor_code 0)
    (Note to programmers: normally, X errors are reported asynchronously;
    that is, you will receive the error a while after causing it.
    To debug your program, run it with the --sync command line
    option to change this behavior. You can then get a meaningful
    backtrace from your debugger if you break on the gdk_x_error() function.)
    [1305325582,000,xklavier.c:xkl_engine_start_listen/] The backend does not require manual layout management - but it is provided by the application
    (gnome-settings-daemon:1600): common-plugin-WARNING **: Key 0xffc0 (keycodes: 69) with state 0x0 (resolved to 0x0) has no usable modifiers (usable modifiers are 0x140000ed)
    Window manager warning: CurrentTime used to choose focus window; focus window may not be correct.
    Window manager warning: Got a request to focus the no_focus_window with a timestamp of 0. This shouldn't happen!
    [1622:1698:111096888:ERROR:download_updates_command.cc(92)] PostClientToServerMessage() failed during GetUpdates
    ** (nm-applet:1549): CRITICAL **: nm_connection_need_secrets: assertion `connection != NULL' failed
    ** (nm-applet:1549): WARNING **: get_secrets_cb: error getting connection secrets: (32) Insufficient privileges.
    Window manager warning: Log level 16: (nm-access-point.c:436):nm_access_point_connection_valid: runtime check failed: (ap_freq > 0)
    JS ERROR: !!! Exception was: Error: Argument 'str2' (type utf8) may not be null
    JS ERROR: !!! lineNumber = '0'
    JS ERROR: !!! fileName = 'gjs_throw'
    JS ERROR: !!! stack = '("Argument 'str2' (type utf8) may not be null")@gjs_throw:0
    ([object Object],[object Object])@/usr/share/gnome-shell/js/ui/status/network.js:1200
    ([object _private_NMClient_DeviceWifi],[object _private_NMClient_AccessPoint])@/usr/share/gnome-shell/js/ui/status/network.js:1280
    ([object _private_NMClient_DeviceWifi],[object _private_NMClient_AccessPoint])@/usr/share/gjs-1.0/lang.js:110
    JS ERROR: !!! message = 'Argument 'str2' (type utf8) may not be null'
    ** (nm-applet:1549): WARNING **: _nm_object_get_property: Error getting 'Strength' for /org/freedesktop/NetworkManager/AccessPoint/17: (19) Method "Get" with signature "ss" on interface "org.freedesktop.DBus.Properties" doesn't exist
    Window manager warning: Log level 16: _nm_object_get_property: Error getting 'Strength' for /org/freedesktop/NetworkManager/AccessPoint/17: (19) Method "Get" with signature "ss" on interface "org.freedesktop.DBus.Properties" doesn't exist
    Window manager warning: Received a _NET_WM_MOVERESIZE message for 0x1800042 (https://bb); these messages lack timestamps and therefore suck.

  • Jre6 Update 10 signed applet issue.

    I have just upgraded to the Update 10 beta, and attempted to load one of my larger applets with the new -Xmx parameter feature. I have signed this applet with a .JCE file and verified that it is in fact signed. When the applet loads, there is an error stating that the main class was not found, which can be caused by unsigned classes. I hadn't recieved a notification because I already selected to always trust me. I cleared my certificates and my browser cache then restarted my PC. I reopened my applet but again I was not asked if I should trust the publisher. The error still occured. How should I fix this problem?

    Your applets may not run in older versions of Internet Explorer. I tried loading my applet with Mozilla Firefox and it worked just fine, but in my old version of Internet Explorer it would not run. I am not sure if this is a "bug" but if you feel confident that it is please report it.

Maybe you are looking for