Suddenly applet stopped working on IST 13 Sept 2012 12:25 in 50% Linux Machines

I am using Applet for Raw Dot Matrix Printing. I.e. Its like "lpr test.txt " in linux.
Few days back on 14th august you have disabled the applet. As per forum we have enabled it. Now same issue arrived on 13 Sept 2012 at 12:25 ... Please help me why this happned !!! I can not change the applet as it is working from last 4 years. Same is installed is around 600 machines. Its difficult to write another program ... Please suggest what to di?

Which version of Java are you using? How did you enable the applet?

Similar Messages

  • My MacBookPro 10.7.5 had been streaming tv thru the mini port/HDMI cable. Suddenly it stopped working. My tv screen is now black. I have tried restarting the computer with the cord connected. The computer is otherwise working.

    I had been streaming tv with my MacBookPro 10.7.5 for several years using a cord from the mini port to the HDMI plug on the TV. Suddenly it stopped working. My computer otherwise works fine but there is my computer screen image is no longer being transmitted to the tv. The tv is black. I have it on the correct input.
    I tried restarting the computer with the cord attached. Thanks in advance.

    Test the cord on another external display or test with another cord.
    Ciao.

  • Hi I have an iPhone 4 and suddenly it stopped working. Could here notifications and nothing on the diisplay. Wake up  button on top is not working. so unable to restart the phone. Wanted to try restore from iTunes but Find my iPhone (iCloud) is on.

    Hi I have an iPhone 4 and suddenly it stopped working. Could here notifications and nothing on the diisplay. Wake up  button on top is not working. so unable to restart the phone. Wanted to try restore from iTunes but Find my iPhone (iCloud) is on. How to recover or restart my Phone

    Follow these steps to log into your iCloud account on your computer and deactivate "Find my iPhone" on your device:
    Remove an iOS device or Mac on which you can’t turn off Find My iPhone
    If you can’t turn off Find My iPhone on the device, turn off the device so it goes offline, then remove it from Find My iPhone on iCloud.com.
    Note:    You can also remove your iOS device by first erasing it—just follow the instructions below for removing an iOS device you don’t have. You can later restore the device from an iCloud or iTunes backup.
    Turn off the device you want to remove.
    Sign in to icloud.com/#find on another computer with your Apple ID (the one you use with iCloud). If you’re using another iCloud app, click the app’s name at the top of the iCloud.com window, then click Find My iPhone.
    Click All Devices, select the offline device, then click Remove from Account. If you don’t see Remove from Account, click All Devices again, then click the Delete button next to the device. If the device comes online again, it will reappear in Find My iPhone. If your device reappears, turn off Find My iPhone on the device (follow the instructions above for removing a device by turning off Find My iPhone), or if it’s an iOS device and you no longer have it, follow the instructions below for removing an iOS device you no longer have.
    Remove an iOS device you no longer have
    If you no longer have the iOS device because you gave it away or sold it, you need to remotely erase it before you can remove it.
    Sign in to icloud.com/#find with your Apple ID (the one you use with iCloud). If you’re using another iCloud app, click the app’s name at the top of the iCloud.com window, then click Find My iPhone.
    Click All Devices, then select the device.
    Click Erase [device], then enter your Apple ID password. Because the device isn’t lost, don’t enter a phone number or message.
    Note:    If you’re trying to erase a family member’s device, that person will need to enter his or her Apple ID password on this device. If the device is offline, the remote erase begins the next time it’s online. You’ll receive an email when the device is erased.
    When the device is erased, click Remove from Account.All your content is erased, and someone else can now activate the device.
    copied from: iCloud: Remove your device from Find My iPhone

  • I can't use the (sort by )feature, or open the emages to watch this item - I used to be able to do this with firefox and all of the sudden it stopped working

    I tried to log in :
    http://uae.dubizzle.com/motors/used-cars/land-rover/range-rover-sport/?price__gte=&price__lte=&year__gte=2006&year__lte=2009&kilometers__gte=&kilometers__lte=&seller_type=&keywords=&is_basic_search_widget=0&is_search=1&added__gte=&company_item_id=&auto_agent=
    I can't use the
    - (sort by )feature Lowest to highest for example ,
    - or open the emages to watch this item
    I used to be able to do this with firefox the old version and now all of the sudden it stopped working,
    I tried to clear cash & coockies & un install and reinstall fire fox but nothing works.

    You can try these steps in case of issues with web pages:
    Reload web page(s) and bypass the cache to refresh possibly outdated or corrupted files.
    *Hold down the Shift key and left-click the Reload button
    *Press "Ctrl + F5" or press "Ctrl + Shift + R" (Windows,Linux)
    *Press "Command + Shift + R" (Mac)
    Clear the cache and cookies only from websites that cause problems.
    "Clear the Cache":
    *Firefox/Tools > Options > Advanced > Network > Cached Web Content: "Clear Now"
    "Remove Cookies" from sites causing problems:
    *Firefox/Tools > Options > Privacy > Cookies: "Show Cookies"
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
    *Do NOT click the Reset button on the Safe Mode start window.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • NetworkManager/nm-applet stopped working suddenly

    Yesterday I powered on my computer only to discover that the wireless connection was no longer working. Here are some facts:
    "iwlist scan" is showing all networks correctly
    so is "nmcli con list"
    while nm-applet is not
    a wired connection is working perfectly (and nm-applet shows it)
    there were no package upgrades on the day it stopped working
    nm-applet displays errors like this on the console:
    * (nm-applet:1135): WARNING **: _nm_object_get_property: Error getting 'Flags' for /org/freedesktop/NetworkManager/AccessPoint/1033: (19) Method "Get" with signature "ss" on interface "org.freedesktop.DBus.Properties" doesn't exist
    Please assist.

    All I could google were relatively old bug reports and problems always appeared after upgrade of packages. Could you please point me to the reports you found?
    Anyway, I tried your suggestions and it didn't help, but before that it worked for a few minutes and stopped again. It's very frustrating that it started happen for no reason, if I wanted that kind of "surprises", I would use Windows...
    I assume it's not a hardware problem since the scanning itself is fine. But maybe I'm wrong. I will try the latest NetworkManager.
    Thanks for help.
    EDIT: The latest NetworkManager did not help either. I have uninstalled it and installed wicd, it's working great.
    Last edited by swiergot (2012-03-26 19:14:52)

  • I could plug in a jack connected to a receiver and listen to Pandora on outdoor speakers. Suddenly it stopped working; my iPhone works fine plugged in to the jack. I rec'd a replacement iPad which won't play using the jack. Any clue?

    Any idea on how to get the jack to work in the iPad? As I indicated in my question, the jack is connected to a receiver which is connected to outdoor speakers. The iPad worked well, allowing me to listen to Padora through the receiver. Suddenly the connection stopped working even though it works when plugged into my iPhone. I contacted Apple support who ended up sending me a replacement iPad. The jack does not work with the replacement iPad either! It still works with my iPhone. I am hoping someone "out there" can provide some insight that will get it all to work again. Thanks.

    I finally resolved my problem after spending way too much time on it. I simply handed my 160GB iPod to my husband to put his fav Stones & Beatles songs on and I went back to my 80GB Microsoft Zune which has never disappointed me.
    After spending so much time trying to figure this out I did finally take it back to Apple Store who performed a diagnostic and found there was a problem with the device. They replaced it with a refurbished one which has similar issues. All I wanted to do was listen to my music. Was that too much to ask? So I am happy to be free of this problematic device. No more Apple for me!!

  • Hi, i've just got a problem with my macbook pro: I bought it two years ago and suddenly, it stopped working. Im freaking out. No answer from the people hwo suposed to know about these problems. Any tip??

    Help!
    i had a problem with my macbook pro: on tuesday 16th (agoust, 2011) I went to a friend's house and show her some document i had in my computer, then i turned off my mac and it asked me: "there are some actualizations available, do you want to update before turn off?" i clicked on yes, waited for update and then the macbook turned off. When I got back home, I tried to turn it on again.... but nothing: it didn't sound baaaammmmm as allways, it didn't reacted. I tried again, but useless.
    The next day i went to one of these "authorized management centers", but they coudn't say anything or do anything about it. First they told me the problem was the battery, then the hard disk, then the video card... but don't. I left my mac there by two weeks, hoping they could help me, but they didn't. So I picked it up and go to other place.
    The rare thing is that i have just two years with my mac, and i didn't do anything stupid on it (didn't fall, get wet, microwave, hot, shocked, hit or anything) It just stopped working. Two times it turned on. But if not, it's the same story:
    When i pushed the button to turn on, sounds like baaaaaammmm, but then again, and again, and again, and the screen doesn't get blue or anything, it appears a foder with a "?" and then the computer turns off...
    Im wondering if this is a problem on this computers, because some of my friends told me things much like that that happened with their macbooks.
    What's going on??? why this is happening?? cn you help me?

    This article may help: A flashing question mark appears when you start your Mac.

  • Signed applet stopped working

    All
    I'm trying to modify a few class files for an application that is kicked off with an applet(uses servlets, etc..). Originally there was a certificate used to allow the applet to read files from the client. There's a JAR file on the server that contains the .class files that do the work. I changed and recompiled some of the .class files and added them to the JAR file using:
    c:>jar uf MyJar.jar Folder/Class1.class
    c:>jar uf MyJar.jar Folder/Class2.class
    c:>jar uf MyJar.jar Folder/Class3.class
    I replaced the old JAR file with the new one, and now I get the following Exceptions when I try to run the applet:
    ==========================================================
    Exception occured while trying to enable privelage : netscape.security.ForbiddenTargetException: User didn't grant the UniversalFileAccess privilege.
    Exception in getClassesDirectory() 1netscape.security.AppletSecurityException: security.checkread: Read of 'java\classes\' not permitted
    Exception in getClassesDirectory() 2netscape.security.AppletSecurityException: security.checkread: Read of 'C:\' not permitted
    Exception in getClassesDirectory() 3netscape.security.AppletSecurityException: security.checkread: Read of 'D:\' not permitted
    Exception occured while trying to enable privilege : netscape.security.ForbiddenTargetException: User didn't grant the UniversalFileAccess privilege.
    ==========================================================
    This applet is run from a Netscape 4.x browser. It worked fine before I changed the JAR file.
    All I did was recompile and add the new class files to the JAR file. Can anybody suggest why this applet was working before, but now I get these "netscape.security" Exceptions?
    Thanks in advance...

    You wrote:
    "All I did was recompile and add the new class files to the JAR file."
    Did you sign the new .jar-file after adding the new class files?
    If not, then have a look at the programs keytool.exe and jarsigner.exe which both come as a part of the Java SDK.

  • On eBAY, I can't use the sort feature, or enlarge, or watch this item - I used to be able to do this with firefox and all of the sudden it stopped working. I think it was the latest update to Mozilla Firefox. What can I do?

    eBAY has stopped working the way it used to with Firefox, my browser. Sort, enlarge photo, watch this item - they all don't work anymore.
    == URL of affected sites ==
    http://ebay.com

    Firefox 3.6.4 and 3.6.6 use a process called, "plugin-container.exe" which was using up most of my CPU when I opened up multiple tabs that contained Adobe Flash files, and caused Firefox to lock up.
    My solution was to use Firefox 3.5.10 which you can get from the Mozilla website at [http://www.mozilla.com/en-US/firefox/all-older.html]
    I am using Adobe Flash 10.1.53.64 without any problem in this version of Firefox. Check the release notes, I believe it contains all the latest security fixes in "Firefox 3.6.4".
    Hopefully, they will fix Firefox 3.6 in the next version (e.g. Firefox 3.6.7), until then you should probably use "Firefox 3.5.10".

  • Mountain Lion 1.8.2 update made my dual monitor stop working on Mac Pro mid 2012

    Just done Apple's update for Mac OS X Mountain Lion to 1.8.2 and after rebooting my dual monitor stopped working.
    If I go on preferences -> Displays it shows me only one of my two monitors, even if I invert the connections the 2nd monitor doesn't shows up and there seems no way to enable it again.
    Any suggestion?
    P.S. I already tried to set from "Best for display" to "Scaled", but after rebooting Mountain Lion 1.8.2 reset it to "Best for display"

    Ok,
    did some extra test here, but first of all my configuration:
    Mac Pro (Mid 2012) with ATI Radeon HD 5870 1GB.
    2 LCD 24" Wide-screen (1st monitor Hyundai W240D and 2nd Monitor HP w2448hc), both LCD worked perfectly until reboot after installing OS X 1.8.2
    After reboot only the 1st monitor wored fine, the 2nd not even listed, so tried to invert cable connections on the 2 miniports on the ATI video card, but nothing changed, still only the 1st monitor working.
    Did a second test, disconnected the 1st monitor and connected ONLY the 2nd and now the second works fine.
    Tried to connect 2nd monitor on a different miniport, and i still works fine.
    Updated my MacBook Pro to 1.8.2 (it as an nVidia card) and connected my 2nd monitor to it and everything works fine, both the laptop LCD and my HP LCD are working fine.
    So it looks like Apple screwed up the ATI driver on the latest 1.8.2, now only ONE miniport is active.
    To all users with the same Mac Pro configuration: hold to update to Mountain Lion 1.8.2 until Apple fix this driver issue.
    More info are on the Console output, so will have to contact Apple on-line support to signal this bug.

  • JRE 6 freeze browsers and Java Control Panel Applet stops working!

    Hello,
    this is the second time I got this problem with Java JRE 6 ! First one was a month or two ago:
    I have Java JRE 6 update 20 installed on a Windows 7 64bit ultimate. It was working...much time ago...then i found my browser (firefox, google chrome or IE8) was freezing when I open java application or test pages. I tried uninstalling it, cleaning the system with Revo Uninstaller, or CCleaner or JavaRA and reinstalling with no luck. The other problem is the same that user Mass8 had (http://forums.sun.com/thread.jspa?threadID=5372196&start=15&tstart=0)
    ...my java control panel applet is not working and give me this:
    http://www.iouppo.com/lite/pics/df9b61008b5bf9de61a13d8bfa3ddad1.jpg
    I tried disabling UAC, running JRE, starting Win7 in safe mode with network...but browser always freeze. It's not a true freeze, with CPU busy at 100% (cpu stays in idle) but it seems to wait for something. It's not a problem with video card driver on my machine, because I can start java control panel from command prompt...and without the noddraw switch, using this command:
    javaw -Xbootclasspath/a:..\lib\deploy.jar -Duser.home="%HOMEDRIVE%%HOMEPATH%" com.sun.deploy.panel.ControlPanel
    This was the description of my first time.....then I replaced my system with an Acronis image...and I used the system for sometimes....and Java was working until 3-4 days ago! So I did another image of the system with all things working.
    Then this morning...I tried the java test page.....and surprise! It's not working anymore!
    In these days I think I only disabled UAC and Account virtualization....maybe JAVA saves things there...and then when I disabled UAC (Windows7 deleted those folders and files) it can't find there anymore???? Who can help me?
    I don't want to restore my image every month!
    My system is 100% virus free and from the last image restoration I didn't visit suspicious sites and so on....I have antivirus and antispyware software...all is perfectly CLEAN. Any ideas or things to try?

    I'm beginning to think it's something related to Hybernation after using JAVA....I'm using it very often...and if I use it...and I suspect Java is KO...i try control panel and it doesn't works....then I try with browser and it freeze (or keep waiting...and i can only force to close it)
    THEN,
    when I reboot my system I get this window
    http://www.iouppo.com/lite/pics/09501eb799c165bb25ece8fd3261e41c.jpg
    suggesting me to rename the folder C:\Program in C:\Program1 ...and if i don't rename it...java will never work...instead if I allow it...Windows will fix it!......This until...the next hybernation....:(....
    try to replicate this...maybe I found where is the problem..

  • Booting my imac from an external firewire drive suddenly stopped working. Disk still mounts but it will not boot the machine!

    I took my MacBook Pro in for repairs and erased the drive for safety AFTER having copied the entire contents to an external firewire 800 drive using SuperDuper!
    The copy process made the disk bootable and I was able to boot up my iMac and run it just as if I were working on my MacBook Pro. After a couple of times working this way, the iMac stopped booting from my drive.
    The drive shows up when starting up by pressing the option key but then, after a long time, the iMac shows a circle/slash symbol as if it can't find the system files.
    If I restart without pressing the option key, the disk mounts on the desktop and I can use it as an external drive just fine!  I tried selecting it in System Preferences as the startup disk, but the same thing happens, blank grey screen with the circle/slash.
    Since this happened with a Seagat drive - a brand that has failed me in the past many times - I thought it was a disk problem. I had backed up my MacBook pro contents to another Toshiba drive, and booted from there perfectly well for a couple of times...
    Until the same thing happened! Thank God I didn't trash the Seagate although it makes very faint clicking noises that will keep me far away from using it again anyway... but that's another story!
    iMac runs 10.5.8, the boot disk (and my MacBook) runs on 10.6.8 if that makes any difference... And now I'm scared that when I copy back to my MacBook Pro it might not boot up at all!!!
    What gives???
    - MerlinCreative

    You need to reinstall Snow Leopard onto the external drive:
    Reinstall OS X without erasing the drive
    Do the following:
    1. Repair the Hard Drive and Permissions
    Boot from your Snow Leopard Installer disc. After the installer loads select your language and click on the Continue button. When the menu bar appears select Disk Utility from the Utilities menu. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list.  In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the installer.
    If DU reports errors it cannot fix, then you will need Disk Warrior and/or Tech Tool Pro to repair the drive. If you don't have either of them or if neither of them can fix the drive, then you will need to reformat the drive and reinstall OS X.
    2. Reinstall Snow Leopard
    If the drive is OK then quit DU and return to the installer.  Proceed with reinstalling OS X.  Note that the Snow Leopard installer will not erase your drive or disturb your files.  After installing a fresh copy of OS X the installer will move your Home folder, third-party applications, support items, and network preferences into the newly installed system.
    Download and install the Combo Updater for the version you prefer from support.apple.com/downloads/.

  • Signed applet stopped working in 1.4.2_04

    We have a signed applet that accesses the file system. After installing 1.4.2_04 it produces this exception
    java.security.AccessControlException: access denied (java.io.FilePermission <<ALL FILES>> execute)
         at java.security.AccessControlContext.checkPermission(Unknown Source)
         at java.security.AccessController.checkPermission(Unknown Source)
         at java.lang.SecurityManager.checkPermission(Unknown Source)
         at java.lang.SecurityManager.checkExec(Unknown Source)
         at java.lang.Runtime.exec(Unknown Source)
         at java.lang.Runtime.exec(Unknown Source)
         at java.lang.Runtime.exec(Unknown Source)
         at java.lang.Runtime.exec(Unknown Source)
         at edu.nebraska.foundation.applets.AccessApplet.openNewSession(AccessApplet.java:35)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at sun.plugin.com.MethodDispatcher.invoke(Unknown Source)
         at sun.plugin.com.DispatchImpl.invokeImpl(Unknown Source)
         at sun.plugin.com.DispatchImpl$2.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.plugin.com.DispatchImpl.invoke(Unknown Source)
    java.lang.Exception: java.security.AccessControlException: access denied (java.io.FilePermission <<ALL FILES>> execute)
         at sun.plugin.com.DispatchImpl.invokeImpl(Unknown Source)
         at sun.plugin.com.DispatchImpl$2.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.plugin.com.DispatchImpl.invoke(Unknown Source)
    .This was working in 1.4.2 and 1.3.1_08. Anyone else have this problem?

    Sorry, copied and pasted the following, hope it helpes.
    The following examples are for a win 2000 machine, for linux
    you have to use alternative paths but I think the commands
    are about the same.
    The SUN jre doesn't care about IE settings, if an applet is signed it will ask the user "do you trust", if
    the user chooses yes or always the applet can do pretty much anything.
    Because anybody can sign an applet so it will pop up the do
    you trust dialog I prevent this dialog from popping up by
    adding the following to the
    C:\Program Files\Java\j2re****\lib\security\java.policy
    under grant { [/b]
    [color red]
    permission java.lang.RuntimePermission "usePolicy";
    [color]
    You now need to set up special permissions for sites that
    need it, signed applets get no special treatment since you
    specified in the java.policy that policy should allways be
    used.
    When your applet needs to do something it normally could
    not do (applet security) [b]and it needs to do this
    when a user clicks on a html button (applet method called
    from javascript), than all the signing and policy settings
    in the world wouldn't work Unless you grant all permission
    to all code.
    This is because the Java Plug-in executes methods with
    applet sandbox security restrictions.
    http://archives.java.sun.com/cgi-bin/wa?A2=ind0404&L=java-security&F=&S=&P=4012
    To solve this you can start a new thread that checks ...
    times a second if a variable meets certain conditions.
    These conditions are changed with public methods called
    from JavaScript. When a variable meets certain Conditions
    this thread will start the method that will perform
    normally restricted tasks.
    Here is an example where the applet doesn't work
    (the batchfile, html file are OK)
    Note that running this code with Mozilla on my w2k machine
    crashes Mozilla (not on my Fedora machine)
    Batch file to sign the applet: (please note this will
    delete some files)
    del *.cer
    del *.com
    del *.jar
    del *.class
    javac -classpath ".;C:\Program Files\Java\j2re1.4.2_04\lib\plugin.jar" test.java
    keytool -genkey -keystore harm.com -keyalg rsa -dname "CN=Harm Meijer, OU=Technology, O=org, L=Amsterdam, ST=, C=NL" -alias harm -validity 3600 -keypass pass -storepass pass
    jar cf0 test.jar test.class
    jarsigner -keystore harm.com -storepass pass -keypass pass -signedjar sTest.jar test.jar harm
    del *.classThe html page:
    <DIV id="dvObjectHolder">  </DIV>
    <br><br>
    <script>
    if(window.navigator.appName.toLowerCase().indexOf("netscape")!=-1){ // set object for Netscape:
         document.getElementById('dvObjectHolder').innerHTML = "        <object ID='appletTest1' classid=\"java:test.class\"" +
                    "height=\"0\" width=\"0\" onError=\"changeObject();\"" +
              ">" +
                    "<param name=\"mayscript\" value=\"Y\">" +
                    "<param name=\"archive\" value=\"sTest.jar\">" +
            "</object>";
    }else if(window.navigator.appName.toLowerCase().indexOf('internet explorer')!=-1){ //set object for IE
         document.getElementById('dvObjectHolder').innerHTML =      "<object ID='appletTest1' classid=\"clsid:8AD9C840-044E-11D1-B3E9-00805F499D93\"" +
                   "         height=\"0\" width=\"0\" >" +
                   "   <param name=\"code\" value=\"test.class\" />" +
                      "<param name=\"archive\" value=\"sTest.jar\">" +
                   " </object>"
    </script>
    <LABEL id="lblOutputText">This text will be replaced by the applet</LABEL>
    <BR>
    <input value="Javascript to java" type=button onClick="document.appletTest1.fromJavaScript()"><br>The applet:
    // new class for jsObject!!!! since 1.4.2 compile this:
    // javac -classpath "C:\Program Files\Java\j2re1.4.2_01\lib\plugin.jar" test.java
    // since jaws.jar does not exsist anymore
    // to compile with jaws: javac -classpath "C:\j2sdk1.4.0_03\jre\lib\jaws.jar" test.java
    import netscape.javascript.*;
    public class test extends java.applet.Applet {
        JSObject win;
        JSObject outputLabel;
        public void init() {
             try{
                 win = JSObject.getWindow(this);
                 outputLabel = (JSObject) win.eval("document.getElementById('lblOutputText')");
              outputLabel.setMember("innerHTML", "<center><h1>From Init<br>Your homedir " + System.getProperty("user.home") + "</h1></center>");
            }catch(Exception e){
                 e.printStackTrace();
        public void fromJavaScript(){
             try{
                     outputLabel.setMember("innerHTML", "<center><h1>From javascript<br>Your homedir: "+ System.getProperty("user.home") + "</h1></center>");
            }catch(Exception e){
                 e.printStackTrace();
    }When you put the files in c:\temp, run the batch file to
    compile and sign the applet and then open the html file you
    will be asked if you trust ... you can say yes and from
    init the applet can read user.home. Click on the button and
    you will get the following stack trace:
    java.security.AccessControlException: access denied (java.util.PropertyPermission user.home read)
         at java.security.AccessControlContext.checkPermission(Unknown Source)
         at java.security.AccessController.checkPermission(Unknown Source)
         at java.lang.SecurityManager.checkPermission(Unknown Source)
         at java.lang.SecurityManager.checkPropertyAccess(Unknown Source)
         at java.lang.System.getProperty(Unknown Source)
         at test.fromJavaScript(test.java:20)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at sun.plugin.com.MethodDispatcher.invoke(Unknown Source)
         at sun.plugin.com.DispatchImpl.invokeImpl(Unknown Source)
         at sun.plugin.com.DispatchImpl$2.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.plugin.com.DispatchImpl.invoke(Unknown Source)Conclusion: the applet can read user.home but not from
    JavaScript.
    Here is the applet that does work because a method called
    from javaScript doesn't perform a restricted task.
    // new class for jsObject!!!! since 1.4.2 compile this:
    // javac -classpath "C:\Program Files\Java\j2re1.4.2_01\lib\plugin.jar" test.java
    // since jaws.jar does not exsist anymore
    // to compile with jaws: javac -classpath "C:\j2sdk1.4.0_03\jre\lib\jaws.jar" test.java
    import netscape.javascript.*;
    public class test extends java.applet.Applet {
         JSObject win;
         JSObject outputLabel;
         boolean buttonFromJavaClicked = false;
         checkJavaScriptEvent evt = new checkJavaScriptEvent();
         public void init() {
              try {
                   evt.start();
                   win = JSObject.getWindow(this);
                   outputLabel =
                        (JSObject) win.eval("document.getElementById('lblOutputText')");
                   outputLabel.setMember(
                        "innerHTML",
                        "<center><h1>From Init<br>Your homedir "
                             + System.getProperty("user.home")
                             + "</h1></center>");
              } catch (Exception e) {
                   e.printStackTrace();
         public void fromJavaScript() {
              buttonFromJavaClicked = true;
         private void fromJavaScript2() {
              System.out.println("fromjavascript2 is started");
              try {
                   String strLbl =
                        "<center><h1>From javascript<br>Your homedir: "
                             + System.getProperty("user.home")
                             + "</h1></center>";
                   outputLabel.setMember("innerHTML", strLbl);
              } catch (Exception e) {
                   e.printStackTrace();
         class checkJavaScriptEvent extends Thread {
              public void run() {
                   while (true) {
                        if (test.this.buttonFromJavaClicked) {
                             System.out.println("OK buttonfromjava is true");
                             test.this.buttonFromJavaClicked = false;
                             test.this.fromJavaScript2();
                        try {
                             Thread.sleep(300);
                        } catch (Exception e) {
                             System.out.println("exception in sleep");
                             e.printStackTrace();
                             System.exit(1);
    }

  • Signed applet stopped working with 1.4.2_04

    We have a signed applet that accesses the file system. After installing 1.4.2_04 it produces this exception
    java.security.AccessControlException: access denied (java.io.FilePermission <<ALL FILES>> execute)
         at java.security.AccessControlContext.checkPermission(Unknown Source)
         at java.security.AccessController.checkPermission(Unknown Source)
         at java.lang.SecurityManager.checkPermission(Unknown Source)
         at java.lang.SecurityManager.checkExec(Unknown Source)
         at java.lang.Runtime.exec(Unknown Source)
         at java.lang.Runtime.exec(Unknown Source)
         at java.lang.Runtime.exec(Unknown Source)
         at java.lang.Runtime.exec(Unknown Source)
         at edu.nebraska.foundation.applets.AccessApplet.openNewSession(AccessApplet.java:35)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at sun.plugin.com.MethodDispatcher.invoke(Unknown Source)
         at sun.plugin.com.DispatchImpl.invokeImpl(Unknown Source)
         at sun.plugin.com.DispatchImpl$2.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.plugin.com.DispatchImpl.invoke(Unknown Source)
    java.lang.Exception: java.security.AccessControlException: access denied (java.io.FilePermission <<ALL FILES>> execute)
         at sun.plugin.com.DispatchImpl.invokeImpl(Unknown Source)
         at sun.plugin.com.DispatchImpl$2.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.plugin.com.DispatchImpl.invoke(Unknown Source)This was working in 1.4.2 and 1.3.1_08. Anyone else have this problem?

    When you run this signed applet, turn on the Java console and tracing, you can type 5 in Java console during start up, what is the tracing statements, especial for the security.
    If the jar file has been signed and you see a security dialog box, then you should be able to give all permission to it to run.
    If no security dialog box popup, then JRE think the certificate is bad. no permission will give anyway.

  • Why has my Java3d applets stopped working on Vista?

    I made a collection of 3d applets a few years ago for my site
    http://www.astralvisuals.com
    They work on XP, but when I test them on Vista, they don't work anymore.After the applet has printed out "applet started" the browser window crashes. Try the first applets on this page
    http://www.astralvisuals.com/Tunnels.htm
    and see for yourself. What can I do to make the applets work on Vista?

    Windows Vista has a change in the kernel that causes some programs to fail to start or fail to run correctly. for example, Nortan Antivirus 07 won't run on vista without a patch because vista has what microsoft calls "a protected kernel".
    These new protection features are probably to blame (I use Linux, and I liked your website).
    So, you need to wait for the Java3D developers to patch the Windows version for the new vista shell.
    It could take a while.

Maybe you are looking for

  • Need guidance for installation of SAP R/3 4.6C

    Hi All,       I want to install SAP R/3 4.6C Version & SAP BW 3.1 version on Windows2003 Server. I tried searching for the applicable guides on http://service.sap.com/instguides but got completely confused as there are soo many of them. Not sure whic

  • IChat video suddenly not working

    Can anyone help? I'm using iChat 4.0.8 on an almost brand new MacBook Pro. The video worked perfectly fine with my parents, and then suddenly stopped working when we moved. We're still using a wireless connection with an airport extreme. Funny thing

  • Dev site in the cloud?

    We are thinking of creating our Dev site in the Cloud to do all of our testing. Can anyone direct me to some info on Pros and Cons? Thanks wakgtech

  • How do you write a hierarchical outline in a Thunderbird mail message?

    I want to be able to write an outline in the body of an email. Something like this: 1. Next Steps A. Research email programs B. Choose one with the following features a. Supports IMAP b. Supports outlines in messages C. Isn't Outlook All I can do is

  • Authorization object tables

    Hi, I am building a cusom security report which will have user id, roles, authorization objects, and info objects inside the authorization object(s).  I have been able to get users and their roles with tables (usrefus, usr21, adrp, usr02, agr_users)