Does Safari now block multiple applets on a page?

After going through the process to re-enable Java in Safari, specifically the 1.7.0_67 JRE, Safari 6.0.5, on OS X 10.8.5, websites with 1 Java applet work fine.  However, if the page has 2, the second applet won't launch.  In the small test case below, the start of the second applet will actually cause the first one to stop working and both display as "Plug-in Failure" on the page.  Before the second one starts, the first applet does display correctly.  In the test page, setTimeout is used to launch the applets since if they are both just put into the html without javascript neither of them appear to actually start (though the java console will be opened and reports no errors or exceptions).  Is this a known issue and is there a setting in Safari or Java that can be changed to fix this?
Thanks.
Test page:
<html>
<head>
<title>test page</title>
<script type="text/javascript" src="../jslibs/jquery/jquery-1.8.3/jquery-1.8.3.js"></script>
<script>
function loadApp(i) {
    var applet = $("<applet></applet>").attr("code", "App" + i + ".class").attr("archive", "app" + i + "_signed.jar").attr("codebase", ".")
        .attr("width", "100").attr("height", "100");
    $("#div" + i).append(applet);
setTimeout(function() { loadApp(1); }, 1000);
setTimeout(function() { loadApp(2); }, 10000);
</script>
</head>
<body>
<div id="div1">
</div>
<hr width="50%">
<div id="div2">
</div>
</body>
</html>
App1.java that gets put into a signed jar:
import java.applet.*;
import java.awt.*;
public class App1 extends Applet {
    public void paint(Graphics g) {
        g.drawString("first applet", 10, 10);
App2.java that gets put into a different signed jar:
import java.applet.*;
import java.awt.*;
public class App2 extends Applet {
    public void paint(Graphics g) {
        g.drawString("second applet", 10, 10);

In case someone else runs into this, the problem was with the Java settings.  The runtime parameters in the java control panel were set for debugging.  By clearing the runtime parameters box and trying the test page again, both applets launch and display correctly.

Similar Messages

  • Why does Safari say "Blocked Plug-in" when I want a video?

    Why does Safari say "Blocked Plug-in" when I want a video?

    When you have installed the latest version of Flash, relaunch Safari and test.
    If you're getting a "blocked plug-in" error, then in System Preferences… ▹ Flash Player ▹ Advanced
    click Check Now. Quit and relaunch your browser.

  • Why does Safari now open up in a very small window

    Why does Safari now open up in a very small window

    Drag the bottom right corner of the Safari window to fit the size you prefer.
    Best.

  • When I close Safari now with multiple tabs, it does not warn me I have multiple tabs open.  How do I turn it on?

    Safari always warned me when I had multiple tabs open before it would close.  Now it closes whenever I hit the red X (close out).  When I was at the Apple store ithey indicated that that is how the latest Safari works, but it is supposed to open all the tabs that were open when it is relaunched.  Mine appeared to do that when I was at the Apple store, but now it does not.  When it opens now, it just opens my home screen with no tabs.
    Can anyone shed light on this?

    One change in Firefox 4 is to by default stop Firefox displaying the warning message, but it can be turned back on by changing some preferences.
    # Type '''about:config''' into the location bar and press enter
    # Accept the warning message that appears, you will be taken to a list of preferences
    # Locate the preference '''browser.tabs.warnOnClose''', if its value is set to '''false''', double-click on it to change its value to '''true'''
    # Repeat this for these 3 preferences '''browser.warnOnQuit''', '''browser.warnOnRestart''' and '''browser.showQuitWarning'''

  • Does Skype now allow multiple video chats during c...

    I was doing a Skype video call recently and I had a couple of people in the conversation.  One of the people had his web cam on and everyone else had their web cams off.  The person who had his on had some old plan or feature in place on his account that allowed for mulitple video chats in a call when Skype did not support that feature with newer accounts at the time.  All of a sudden, I saw a message appear on the screen about being able to add multiple video chats to my Skype call for free. Has Skype really gone and added the capability of multiple video conferences during a call?

    Group Video Chats are now FREE.
    https://support.skype.com/en/faq/FA10614/making-a-group-video-call-windows-desktop
    This has been the case since Premium service was disconnected (about ½ year ago):
    http://community.skype.com/t5/News-and-Announcements/Skype-Loves-Bringing-Groups-Together-With-FREE-...

  • Why does Safari drop stylesheets after browsing a few pages?

    I've got an intranet here at work and we're trying to figure out why Safari drops default.css when we browse around a few different pages.
    Basically after a short while, it stops recognising our default.css and renders it all as if default.css didn't exist.
    I have checked in the developer tools to confirm that it stopped using default.css so now I am truly stuck.
    It only happens in Safari and not Chrome which suprised me. Does anyone know if bad HTML or validation will stop the css being rendered properly?

    You can do some basic Safari trouble shooting by:
    Safari - Reset Safari
    Safari - Empty Cache
    You can also be just low on RAM. As a general rule your system should have about 500MB or more of FREE RAM. To check to see how much your system has open Activity Monitor - System Memory Tab and look for the amount of free RAM. You can find AM in Applications - Utilities - Activity Monitor. Remember to check when you are seeing a slow down otherwise the information will be meaningless. The graphic will look similar to:

  • Why does safari load in to the last web page and not the set homepage

    I recently installed Lion 10.7.1.  In Safari, I have my preferences set at a preferred Homepage, however, each time I search the web at other sites, and after closing the web, and upon re-opening Safari, the last web page opens up and not my preferred Homepage. 

    I recently installed Lion 10.7.1
    Disable Resume...
    How To Disable Lion's 'Resume' Feature - MacRumors.com

  • Why does Safari 6.1.1 not load home page

    Safari 6.1.1 loads last page visited on launch, not homepage. What can i do to correct this?

    OS X 10.7.5 Lion
    System Preferences > General > Number of recent items:
    Uncheck the box beside
    "Restore windows when quitting and reopening apps:".
    Best.

  • Why does safari 5.1 open with the last page from previous session?

    I don't want Safari 5.1 to open with the last page from the previous session.  How do I stop it?

    I too would like to manually or automatically open the windows and tabs I had open from the previous session, but I want to configure this per application.  In a browser for instance, I can have many windows and tabs open and it can take a lot of time to refresh them all. I would like to manually pick the windows/tabs I want to reopen. Before Lion I could restore the last session manually and I liked that ability. Firefox has a plugin for this And what if I reboot with no internet access, they all time out. With a word processor, spreadsheet, or xcode on the other hand, I like to start where I left off. Everything comes from local disk so the restart is fast. I want to control this by app, not globally. Sometime Apple can really be blind to the real needs of users, and that is to configure their envoronment the way the user needs, not the way Apple envisions the need of users.
    So Apple, please give ME the opportunity to choose the apps that auto reload the last sesion and give me a manual way to reload the last session on all apps that qualify.
    -KR

  • Why does safari freeze when i swipe back a page with the trackpad?

    since the new update some of my trackpad features have stopped working, the three finger swipe both up and across have stopped working as well as freezing safari when i swipe to go back a page! anyone else getting this problem?

    1. Reset Safari.
        Click Safari in the menu bar.
        From the drop down select "Reset Safari".
        Click "Reset".
    2. Empty Caches.
         Safari > Preference > Advanced
        Checkmark the box for "Show Develop menu in menu bar".
        "Develop" menu will appear in the Safari menu bar.
        Click Develop and select "Empty Caches" from the dropdown.

  • Why does Safari still accept cookies, even when I put Block Cookies "Always"

    Why does Safari still accept cookies, even when I put Block Cookies "Always",? There are always a list of every website with cookies. Is that just a record of what could've been accepted or its a bogus feature that still accepts regardless of what feature is on?

    Apple has rolled over users since OS X 10.6.8 when this issue first appeared.
    If you want a browser that actually CARES about it's users, then install Firefox, it's the only one that does.

  • Why does my MacBook Pro OS X.9.1 Mavericks shadow and Safari.app Blocks It!?

    Why does my Safari.app block the Dock!?

    Hello, PJCPace. 
    Thank you for visiting Apple Support Communities. 
    Here are some troubleshooting steps that I would try when experiencing this issue. 
    Intel-based Macs: Resetting the System Management Controller (SMC)
    http://support.apple.com/kb/ht3964
    Safari: Unsupported third-party add-ons may cause Safari to unexpectedly quit or have performance issues
    http://support.apple.com/kb/ts3230
    Cheers,
    Jason H. 

  • I blocked quite a few different phone numbers awhile ago but when I looked at the blocked numbers today it looks like the same number has been blocked multiple times.  Does anyone know why that is?

    I blocked a lot of different numbers awhile ago but when I checked the blocked numbers today it looked like the same numbers were blocked multiple times.  So for example if I blocked phone numbers 555-555-5555, 555-555-5556, and 555-555-5557 on different days it looks like only 555-555-5555 has been blocked 3 different times and I no longer see phone numbers 555-555-5556 or 555-555-5557.  Does anyone know why?

    Oh dear, one of those phantom disconnections. You know they are actually so common BT have a specialist department that deals with them. I think they are called Priority Back in Service, there is no actual phone number you can ring them on, you have to call 150 as normal and the customer service team are supposed to raise the issue with them to sort out.
    You could contact that Mods but they sometimes take 3 days to reply, especially with it being the weekend.

  • HT2490 does anyone know how to get my 'google' page back when I click on safari- it was always there and now comes a panel of panes with my 'top sites'- it is so aggravating...

    does anyone know how to get my google page back when I open safari??.... it is gone and I get a full page of 'top sites' instead... it is so frustrating! appreciate the help if anyone knows!

    Safari preferences / General tab

  • Wht does safari combine multiple download into a zip file?

    I downloaded a MKV file from my NAS remotely which worked fine, however when i try to combine multiple files Safari seems to automatically ZIP the files which means I cannot tell how long the download will take or how much data is left to transfer.
    Anyone got any idea how to prevent Safari from putting multiple files into a zip?
    cheers

    I select multiple files from an online storage device, and select download. at this point for some reason when the download begins the files are combined into a zip file. when the download completes i then try to extract the zip file it often fails to extract.
    If I select any one of the selceted files individually, Safari download begins, and the completed download is not in a zip file format and the file is readable.
    I hope this makes sense to someone!
    cheers

Maybe you are looking for

  • Best Practice on Dependencies

    We are new to Tidal (6.1)  and create jobs or jobgroup dependencies as: default is to use Match Occurrence Last Occurrence is only used for specific jobs that are demanded adhoc This gives us some problems when we manipulate jobs - suddenly we have n

  • A query to create sales information for a specific date.

    Hi, Please look at attached image, you will see how this query look like. This query will generate all sales from 1/1/2014 until today. I would like to see if the query can create the sales report for a range from 1/1/2014 until yesterday (does not i

  • Opening the NAT of Two Xboxes on WRT54G v8 Router

    Hello everyone! I have two Xboxes and a WRT54G v8 router. Both Xboxes are connected to the WRT54G v8 router. How do I open the NAT of both Xboxes? Thank you!

  • Help to Slove a Problem ...

    500ml,300ml glasses. How will you dole out 100ml,200ml water? this is the problem.. I need to use this in a program...but unable to solve it. pls help! s it possible to solve??

  • Error imaq color pattern

    hi, I'm trying to do a draft color pattern recognition, but labview gives me this error, I hope you can help me, let the files, thank you very much Error -1074395384 occurred at IMAQ Match Color Pattern Possible reason(s): IMAQ Vision: Invalid color