Java Applet - slow response over WAN and fast on LAN

Hi All,
Using Tomcat we have a Java applet that runs very slow over the Internet but just the opposite on the LAN (fast). On our website we have a link that we click which initializes the application. it is very slow but if the same link is clicked on the LAN it is very fast in responding. We have a 10MB internet connection and even when testing with very little traffic after peak business hours we have same results.When closing the browser and reopening it is much faster the second time. This tells me it is being Cached. If I go to a system that has never accessed the applet we are very slow again. We are hosting this application for a 3rd party so we did not write the code. This company is finger pointing at Router and I am finger pointing at Java application itself maybe not being optimal.
I am attaching "debug" info from Java Console. Can anyone identify any issues from this debug output or familiarity with this type issue. Your insight is greatly appreciated.
Java Plug-in 1.5.0_01
Using JRE version 1.5.0_01 Java HotSpot(TM) Client VM
User home directory = C:\Documents and Settings\Administrator
network: Loading user-defined proxy configuration ...
network: Done.
network: Loading proxy configuration from Netscape Navigator ...
network: Reading user preference file from C:\DOCUMENTS AND SETTINGS\ADMINISTRATOR\APPLICATION DATA\Mozilla\Profiles\default\4i0ghip7.slt\prefs.js
network: Done.
network: Loading browser proxy configuration ...
network: Done.
network: Proxy Configuration: Browser Proxy Configuration
basic: Cache is enabled
basic: Location: C:\Documents and Settings\Administrator\Application Data\Sun\Java\Deployment\cache\javapi\v1.0
basic: Maximum size: unlimited
basic: Compression level: 0
basic: Registered modality listener
basic: Referencing classloader: sun.plugin.ClassLoaderInfo@b1b4c3, refcount=1
network: Connecting http://www.mgaucb.com/gottlieb/images/codonix.png with proxy=DIRECT
basic: Loading applet ...
basic: Initializing applet ...
basic: Starting applet ...
Internal Version: 3.0.35 Build id: TB-200402041305-35
Mar 7, 2009 1:12:03 AM com.codonix.trackerboard.gui.TrackerBoardApplet start(null:-1)
INFO: Internal Version: 3.0.35 Build id: TB-200402041305-35
Codebase: http://www.mgaucb.com/gottlieb/
Mar 7, 2009 1:12:03 AM com.codonix.trackerboard.gui.TrackerBoardApplet start(null:-1)
INFO: Codebase: http://www.mgaucb.com/gottlieb/
Documentbase: http://www.mgaucb.com/gottlieb/TBUC.html
Mar 7, 2009 1:12:03 AM com.codonix.trackerboard.gui.TrackerBoardApplet start(null:-1)
INFO: Documentbase: http://www.mgaucb.com/gottlieb/TBUC.html
WebAppPath: /gottlieb
Mar 7, 2009 1:12:03 AM com.codonix.trackerboard.gui.TrackerBoardApplet start(null:-1)
INFO: WebAppPath: /gottlieb
basic: Modality pushed
basic: Modality popped
network: Connecting socket://www.mgaucb.com:80 with proxy=DIRECT
Initial Trackerboard/Table: TBUrgentCare/null
Mar 7, 2009 1:12:35 AM com.codonix.trackerboard.gui.TrackerBoardApplet doLogin(null:-1)
INFO: Initial Trackerboard/Table: TBUrgentCare/null
SiteID: CodoniX
Mar 7, 2009 1:12:35 AM com.codonix.trackerboard.gui.TrackerBoardApplet doLogin(null:-1)
INFO: SiteID: CodoniX
liveconnect: the url of the applet is http://www.mgaucb.com and the permission is = false
liveconnect: JavaScript: calling Java system code
liveconnect: JavaScript: default security policy = http://www.mgaucb.com
liveconnect: JavaScript: calling Java system code
liveconnect: JavaScript: default security policy = http://www.mgaucb.com
Starting UI Generator....
liveconnect: JavaScript: calling Java system code
liveconnect: JavaScript: default security policy = http://www.mgaucb.com
Warning: No permission to control logging.
Mar 7, 2009 1:12:58 AM com.codonix.uigenerator.StartApplet init(null:-1)
WARNING: No permission to control logging.
Warning: No permission to control logging.
Mar 7, 2009 1:12:58 AM com.codonix.uigenerator.StartApplet init(null:-1)
WARNING: No permission to control logging.
liveconnect: JavaScript: calling Java system code
liveconnect: JavaScript: default security policy = http://www.mgaucb.com
liveconnect: JavaScript: calling Java system code
liveconnect: JavaScript: default security policy = http://www.mgaucb.com
liveconnect: JavaScript: calling Java system code
network: Connecting socket://www.mgaucb.com:80 with proxy=DIRECT

Hi Geoff,
Thanks for posting here.
Have you checked your internet edge router ? and make sure there is no any speed limitation set on it , like QOS.
You may also try the methods below:
1. Disable RSS, Chimney, AutoTuning on 2008R2
How to know if TCP offload is working
http://blogs.technet.com/b/brad_rutkowski/archive/2007/08/10/how-to-know-if-tcp-offload-is-working.aspx
2. Install Hotfix 982860
A computer that is running Windows 7 or Windows Server 2008 R2 takes four minutes to open a Microsoft Office 2003 document from a network share
http://support.microsoft.com/kb/982860
Thanks.
Tiger Li
Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

Similar Messages

  • Polycom V500 over WAN and QoS

    we are trying to run two polycoms over WAN. One side is able to see the other while the other side cannot. The side that is unable to see the other has the following QoS setup on the WAN interface:
    srr-queue bandwidth share 10 10 60 20
    srr-queue bandwidth shape 10 0 0 0
    queue-set 2
    msl qos trust dscp
    auto qos voip trust

    Your configuration is not from a WAN port but from a LAN port. Please note that just because the service provider hands you an Ethernet port, that does not mean you can use any old LAN switch to connect to it. The service provider is using Ethernet to keep their costs down but it is still a WAN port and requires a WAN interface on your terminating equipment to properly schedule and queue the traffic.
    Examples of a WAN Ethernet (FastEthernet, GigabitEthernet) port are most any ISR router, a Catalyst Metro switch (i.e. 3750-METRO), the WAN blades on a 6500 switch (not LAN blades!), or the Ethernet WAN/Metro SPA adapters for a 6500/7600 SIP module.
    Note that a LAN switch assumes high speed interfaces and not much of a speed mismatch between ports. A LAN port connected to a slow WAN will not be able to buffer anywhere close to amount of traffic that comes through the switch to this port and will cause a HOL (head of line) blocking scenario; and this assumes you setup the port speed and shaping/sharing parameters correctly.
    A LAN switch port output buffers are measured in K and will handle 4 to 10 packets of bursting; on the other hand, a WAN port's output buffers are measured in M and will handle thousands of packets of burst.
    The effects can be staggering. It is not uncommon for a service provider WAN/MAN to be terminated with a bunch of cheap LAN switches that drop upwards of 90% of the traffic destined for the WAN! Just because of lack of buffers on the output queue side and massive oversubscription between the LAN side and the WAN side, using a LAN port.
    And we haven't even started talking about traffic shaping yet to match the speed of transmission from a WAN port to that of the contracted rate such that it doesn't exceed the speed on the receiving side.
    Remember, regardless of the size of the WAN port (T1, E1, DS-3, OC-3, 10Mb, 100Mb, 1000Mb), the 'width' of the connection is serial and still only 1 bit wide. Just the rate of bits being sent per second is different.
    The key concept that often gets lost is if you have a GigabitEthernet port on a LAN switch connected to a WAN or MAN in which you are purchasing 200Mb of service, you are, by definition, dropping 80% of the traffic in the service provider network (or at the ingress port to the service provider!). This is regardless of how 'busy' or utilized the GigabitEthernet link is. A single packet of data, say 500 bytes, will be sent out the GigabitEthernet port at 1 *billion* bits per second. Unfortunately, you may only have paid for 200 *million* bits per second as your contracted access to the service provider's network. Trust me, the service provider will deal with this discrepancy by policing 80% of your data to the bit bucket and they don't care what type of data it is.
    So it doesn't matter how much data you are sending, a 1% utilized WAN connection using a LAN switch in this way could still be dropping 80% (or more) of the traffic!
    A final note: Please don't be confused by most switch vendor's terminology regarding shaping or sharing of multiple limited output queue resources on their LAN switches, this is *NOT* the same thing as traffic shaping or long queues on a WAN router port or WAN/METRO switch port. This includes Cisco. This is why Cisco (and Juniper and Foundry, etc.) sell switches with METRO or WAN interfaces on them and why they are more expensive than LAN only switches.

  • Java applets wont load in Safari and constantly crash in Firefox

    I have to use Java Applets to work from home. I normally use Firefox as my browser but since the last Java update Forefox keeps crashing. I have tried Safari too and it wont load the applets at all. I am desperate to get some work done but I can't get into my work files that are stored on my office's servers.
    I have seen lots of discussion about enabling java etc. in my browser and all of that has been done.

    Make sure your Java system is updated on both sides (home and work computers).
    As an alternative, you might look into a non-Java VPN solution. I use RealVNC (free for up to 5 computers) to work from home on my Macs and connetc to WinXP and Win7 systems at work. It works beautifully and I can connect to all 4 work systems simultaniously! The only thing the free version won't do is print remotely... so I print to PDF in my Dropbox and print that at home.
    For VPN, I use a Cisco RV042 4 port router (about $90 at BestBuy) and connect via the built in OS X VPN in the Network Preferences panel. It literally took less than 5 minutes to set up. Sweet, simple, minimal cost and setup, and I can work from the house 24/7 if needed.

  • Java Applet painting broken in IE11 and Windows 8.1

    When running a Java applet in Internet Explorer 11 window on Windows 8.1, JRE fails to repaint the viewport correctly when the web browser window is resized or scrolled. (assuming the Java Applet has display dimensions larger than the window, necessitating the need to resize or scroll host IE window). Webpage is displaying the java applet using any of OBJECT or EMBED tags. 
    This JRE behavior prevents the user from interacting successfully with the Java Applet (typically input data fields or click buttons in applet) should user need to resize or scroll the window.
    This bug only occurs on IE11 on Windows 8.1 with JRE 7 and JRE 8 (include 8u31)
    This bug does not occur on  IE11 on Windows 7,  IE10 on Windows 7 / 8 ,  Firefox on Windows  7 / 8 / 8.1 ,  Google Chrome on Windows  7 / 8 / 8.1
    This bug has also been posted to the IE Feedback website since 2013 as we do not know if this is to be resolved by Oracle or Microsoft.
    With the upcoming removal of Java Plugin support in Google Chrome, and, with this JRE bug (or incompatibility?) in IE11 Windows 8.1, this leaves only Firefox as the only usable web browser for Java Applets on Windows 8.1.  Our customer base on Windows 8.1 is only using IE11 or Chrome.  

    I am seeing a minor issue with the timesheet grid after users are upgraded from IE8 to IE11.
    We are using Project Server 2010 with SP1 and Oct 2013 CU.
    When some users (using IE11) switches between filters or views in the Timesheet page, the grid shrinks making to content un readable.  The only way to get it back is to refresh the page. After a refresh, the grid returns to normal size, but the pane
    divider is too far to the left and always must be dragged to the right in order to see the task names in the left grid. 

  • OWB Slow Response at logon and General Client Performance

    Hi all wonder if anyone confirm what i am seeing is normal. I am relatively new to OWB but we are running with 10G R2 but have noticed very poor response from a client perspective particular at logon. It take around six minutes for the design center logon box to appear after you have clicked on the icon which seam very slow. Also noticed that performance reduces within the client the longer you use the product in one session.
    Question: Is what i am seeing just normal performance or can the OWB performance be improved by some form of configuration either client or java settings. My PC spec is detailed below and has 2GB of memory which was recommended by Oracle
    OS Name     Microsoft Windows XP Professional     
    Version     5.1.2600 Service Pack 2 Build 2600
    Total Physical Memory     2,048.50 MB     
    Available Physical Memory     1.02 GB     
    Total Virtual Memory     2.00 GB     
    Available Virtual Memory     1.89 GB     
    Page File Space     2.82 GB

    Hey all thanks for you responses, think you might have identified the problem with the Anti Virus, rebooted machine and just start OWB on its own. Mcafee was hitting the CPU hard for five minutes and then suddenly logon box appeared so looks like thats the issue. Note sure i will be able to get that changed as it is centrally administered global setting for all machines i think. At least that explains why it took so long.
    Many thanks
    Will double check the DB side of things as well

  • EA6200 slows down over time and needs reboot

    Anyone with a EA6200 notice it slowing down after about a week of use?  I just replaced my e2000 with a EA6200 and its runs very well for about a week.  After about a week I notice it slows down.  Pages start loading very slow on all of my devices on my 2.4ghz and 5ghz ssids.  It slows down to a point where it takes forever just to get logged into the router to and get to the page where I can reboot it so I know its the router.  Once I reboot it, it runs great for about another week.  Its using newest firmware.  I have 2.4ghz set to 20mhz and 5ghz set to 80mhz, channels set to auto.  Nothing to customized beyond that.

    Try:
    Connectivity => Administration => Cut through Forwarding => Uncheck
    If IPv6 isn't required by your ISP; Connectivity => Internet Settings => IPv6 => Edit => Uncheck Enable
    Media Prioritization => Enable => Check
    Media Prioritization => Settings and apply accurate Downstream and if available Upstream values; Initially keep all devices and Apps normal priority
    If you have throughput issues on Wifi try Disabling WMM support (EA6200\6400); if no difference is notice re-enable WMM
    Please remember to Kudo those that help you.
    Linksys
    Communities Technical Support

  • Slow response LV7.0 and waveform charts

    I have noticed a couple of issues with a waveform chart (when actually plotting a waveform).
    1. Sometimes when I right-click on the chart to format a axes it may take up to 5 minutes to display the window with the chart format controls. During this time task manager says the application is not responding.
    2. When plotting anything with size (I am trying to plot 5 minutes of data at 512 samples/sec) the program slows to a crawl. If I plot a double data (take the Y data from the waveform) it works great. Why is there so much overhead with a waveform chart? Anyway to fix this?
    3. Unrelated to a waveform chart but related to item 1. Sometimes when I try to save my VI (~470 kb) it goes into limbo and may take minutes
    . Again the task manager says it is "not responding". This seems to be a theme with LV 7.0. Has anyone else run into this problem?

    > 1. Sometimes when I right-click on the chart to format a axes it may
    > take up to 5 minutes to display the window with the chart format
    > controls. During this time task manager says the application is not
    > responding.
    >
    > 2. When plotting anything with size (I am trying to plot 5 minutes of
    > data at 512 samples/sec) the program slows to a crawl. If I plot a
    > double data (take the Y data from the waveform) it works great. Why
    > is there so much overhead with a waveform chart? Anyway to fix this?
    >
    > 3. Unrelated to a waveform chart but related to item 1. Sometimes
    > when I try to save my VI (~470 kb) it goes into limbo and may take
    > minutes. Again the task manager says it is "not responding". This
    > seems to be a theme with LV 7.0. Has
    anyone else run into this
    > problem?
    Without looking at the waveform chart, it is hard to say. Things like
    autoscale will slow teh chart down a bit as it then needs to traverse
    more data looking for min/max. And when the scales do need to change a
    bit, all the data needs to be replotted, not just the new stuff.
    Other things that slow down a chart are to make its background
    transparent, and to make it overlapped. Finally, full screen updates on
    a big monitor mean lots of data needs to be moved around to draw lines
    and rectangles, and that either comes down to the CPU or video card.
    If you have more questions, or a VI to look at, post again.
    Greg McKaskle

  • Slow response when typing and/or pulling up new message

    I do not have any Add-ons or extensions, so that is not the issue. I have a new computer running Windows 7, so I don't believe that is the issue either. But I have a lot of "hour-glass" time when typing and when clicking on emails to open the message. Is just seems to be responding slow. Is it Thunderbird ... or my computer?

    As for Thunderbird, the only relation I could see is in line spell checking. Could you please check your Thunderbird preferences, Composition, Spelling. Does it help to uncheck 'Enable spell check as you type'?
    If not, I could imagine this to be related to a virus scanner, or a display driver that is not up to date. You might be able to get an update from it from the manufacturer of your video adapter.

  • Cannot Update Java Applet Runtime Settings (64-bit and 32-bit)

    I have to use the two different Java clients on a server. Unfortunately I can't save the x32 Java settings.
    x32, C:\Program Files (x86)\Java\jre6\bin, Platform: 1.6, Product: 1.6.0_23
    This one is not saving "-Djava.net.preferIPv6Addresses=true"
    x64, C:\Program Files\Java\jre6\bin, Platform: 1.6, Product: 1.6.0_23
    This one is saving "-Djava.net.preferIPv6Addresses=true"
    Of course there's no error message, it just doesn't save. Can Sun/Oracle Java developers please at least produce some type of error message (why this doesn't save)?
    Edited by: user7327512 on Jan 16, 2011 6:01 AM

    What do you mean with does not save?

  • Replacing all java applets

    Hi, 
    What technology shoud we use to replace all  the Java Applets in our MII applications ¡? .  The reason is that java applets slows them down  ,  sometimes the application screen ( GUI ) seems like not  responding & when the end user is proactive changes his computer  java version to the latest  which does create other kind of problems to the MII applications .
    Furthermore,  we want our MII applications running on plataforms which do not  support java applets ( ipads for example ) .  I guess that our next move is to use AJAX, JQUERY & XSLT technologies instead of java applets,  but still we would like to make sure that there is no another way .
    Thanks in advance ,
    Note : We are running a MII 12.2.3 build 167 sp 5  with a 7.11 CW NW version

    Hi Fernando
    The best UI technology providing rich UI is HTML5 currently which is supported on all devices and browsers (IE9 is minimum) but with varying degrees of support with Chrome the best but others are not too far behind.
    The easiest way to replace the Applets and use HTML5 rendering is to upgrade to MII 14.0 SP4 and use the SAP UI5 based i5Charts, i5Grid.
    If you cannot upgrade to MII 14.0 or higher (15.0 has some cool features as well) you may do this on your own where you may use one of several HTML5 based charting libraries like D3, High Charts etc but the work will be more for you as MII 12.2 does not have JSON support (available with MII 14.0 again) and you will have to work with XML or write custom code to convert XML to JSON.
    So my suggestion would be upgrade and use i5 Charts as these look much better, are faster and provide almost the same support as the applets. Also these charts would be developed in the future in MII but the applets would remain mostly in maintenance mode. This means new features would, most probably, be only added to the HTML5 charts in MII.
    Best Regards
    Partha

  • Are applets slow?

    Hi all,
    Quick question. I am developing a Java Applet and an Application. And, I just want some feedback from the pros on the difference between exectution speed between an applet and an application..
    [1] Are Java Applets slower or faster - compared to an equivalent Java Application?
    [2] If there is a difference in speed between and Applet and an Application, can you explain why there is a speed difference? Is there any extra overhead?
    [3] If you do not want to re-invent the wheel, can send me link to anything that might answer the above questions.
    thanks,
    -Adam

    cotton.m wrote:
    JustSomeGuy wrote:
    It doesn't necessarily have to be a browser. But an applet does require a host of some sort and therefore all the resources of that host. So yes, technically the applet requires more resources.
    I'm sorry but "technically" it does no such thing.
    The applet runs in the VM and that process, as Kaj noted may well be outside of the browser (or whatever) process and so no the applet does not require more resources. Hmm, I think you and I have different definitions of "require". When I say require, I mean that you can not under any circumstances ever open an applet without a host. Since the applet requires the host, it requires the hosts resources as well (funny thing about host programs, they require resources to exist). Therefore, an applet technically requires more resources.
    cotton.m wrote:
    I understand your point but it's important to be clear else you leave future readers a faulty impression. Your point is akin to my saying that a Java program is slow because I have a USB printer. I mean just because someone had a bad experience with an applet because their spyware infested bloat-browser chews up all the system resources doesn't mean the applet is accountable for that or that this is an inherent fault in the concept of applets. I'm sorry but your comparison does not match. Unless you specifically went out of your way and hardcoded your printer in, then the java program does not care what kind of printer you have. That is to say, your usb printer is not required to run the program so it is not the same as an applet which does require it's host.
    Consider this if you will, an applet and application are written to do exactly the same thing. They have more or less pretty much identical code. Now, on the same machine, run the applet after a cold start and benchmark it. Then cold start the machine again and benchmark the apllication. Which wins?
    If you concern yourself with just the applet vrs the application they should be identical (actually not true, the applet should have a slight advantage) but because of the extra resources consumed by the host which must be started for the applet to run but is not started for the application, the applet is going to loose every time.
    My point in mentioning this was exactly to prevent faulty impressions. If you look at the big picture an applet is actually more resource dependant and slightly slower (though admittedly most users will never notice). It is not a fault in the concept of applets but rather a tradeoff for the benefits of applets. The whole purpose of an applet is to provide functionality that the host (usually a browser) does not have, and to do it inside of that host. So, if going by the pure purpose of applets, there should never be an application that matches it, if there is then the applet should have been an application in the first place.
    cotton.m wrote:
    I think a better way of phrasing it would be that on some systems an applet's operating environment may be performance restricted due to a lack of system resources. That is more or less what I said, the only difference is I actually provided an example of just such a system.

  • Slow Response Sun ONE 6.1 SP3 Win 2003

    My Sun ONE web server is processing my JSP pages very quickly when serving one session at a time. However when there are 4 or more active sessions, it slows right down. Response time goes from 2 seconds (1 active session) to 60 seconds (multiple active sessions) for a single JSP page. I've been running the performance monitor to see if I can notice anything, but nothing seems to stand out. I have tried manipulating the Keep Alive settings and the Performance settings within the Magnus Editor but there hasn't been a noticable improvement.
    I've recently upgraded to SP4 to see if this solved my problem, but there was no imporvement.
    This server is an HP DL380 with dual 2.8GHz Xeon processors & 2 Gigs of RAM. There is a lot of available disk space. I'm running Windows 2003 and it's up to date with all the latest patches.
    Anyone have any ideas or experienced this before?
    I've attached the output from my performance monitor:
    webservd pid: 4280
    Sun ONE Web Server 6.1SP4 B01/20/2005 21:34 (WINNT DOMESTIC)
    Server started Thu Mar 03 09:41:06 2005
    Process 4280 started Thu Mar 03 09:41:06 2005
    ConnectionQueue:
    Current/Peak/Limit Queue Length 0/1/4096
    Total Connections Queued 126
    Average Queue Length (1, 5, 15 minutes) 0.00, 0.00, 0.00
    Average Queueing Delay 0.02 milliseconds
    ListenSocket ls1:
    Address http://10.178.132.7:8080
    Acceptor Threads 8
    Default Virtual Server https-guruweb01
    KeepAliveInfo:
    KeepAliveCount 2/64
    KeepAliveHits 1083
    KeepAliveFlushes 0
    KeepAliveRefusals 0
    KeepAliveTimeouts 11
    KeepAliveTimeout 360 seconds
    SessionCreationInfo:
    Active Sessions 2
    Keep-Alive Sessions 1
    Total Sessions Created 48/256
    CacheInfo:
    enabled yes
    CacheEntries 110/1024
    Hit Ratio 1912/2164 ( 88.35%)
    Maximum Age 30
    Native pools:
    NativePool:
    Idle/Peak/Limit 5/6/128
    Work Queue Length/Peak/Limit 0/1/0
    Server DNS cache disabled
    Async DNS disabled
    Performance Counters:
    Average Total Percent
    Total number of requests: 1213
    Request processing time: 1.5520 1882.5520
    default-bucket (Default bucket)
    Number of Requests: 1213 (100.00%)
    Number of Invocations: 15085 (100.00%)
    Latency: 0.0002 0.2013 ( 0.01%)
    Function Processing Time: 1.5518 1882.3507 ( 99.99%)
    Total Response Time: 1.5520 1882.5520 (100.00%)
    Sessions:
    Process Status Function
    4280 keep-alive
    response service-dump
    response service-j2ee
    Thanks...

    The JSP's are simply Hello World JSP's (however I created these type of JSP's for testing and they do respond slowly as well when these are multiple sessions).
    These JSP functioned fine on iPlanet 6.0 SP1 (JDK 1.2.2) without any slow response on Win2K and inferior hardware.

  • New To Java. Learning About Java Applet.

    Hi all, i am new to java. Actually i am facing problem with java applet. I am trying to use my cellphone to surf web. When i open a webpage from cellphone, the part which contain the java applet, it cannot be shown and appeared blank. I am using Nokia 7610, can it be solve?
    Can anybody help me? Thank You.

    JSE JRE stand for Sun Java Studio Enterprise 8.1 Final Release or Java SE Runtime Environment (JRE)? Which Shall i download? By the way the file type are .exe and .sh , how to let it become .sis?

  • Safari 6.0.4 - java applet keeps running when not in use?

    Mac OS X 10.7.5
    Safari 6.0.4
    all the latest updates (software) as of 4/27/13
    Oracle's Java r 21 also installed (latest)
    website: http://javatester.org/version.html
    NOTE: I have seen this on more than 1 computer that the 1st time running the Java applet (after clicking on the plugin missing placeholder, the app appears to begin loading, but 'hangs' as far as UI is concerned, although it is using CPU and accessing the disk the whole time.
    Refreshing the page then allows you to see the Oracle java version displayed in the pink box
    However, what I notice is that if you enter a new URL and go there, blowing away the Java applet page, guess what's still running in the background (via Activity Monitor) "Java Applet - javatester.org", occupying memory and using some small CPU.
    this seems like ridiculously bad behavior in general. Has anyone else seen similar issues? is this related to an outstanding memory leak (bigger problem) in Safari? Any way to get java to behave if you aren't possibly using an applet?
    could it be lazy cleanup/garbage collection in Safari? meaning it might vanish from the process list at some indeterminate point in the future? closing the tab it was running on (before a new URL was loaded) outright doesn't seem to kill it.

    I have not used Onyx recently, although i use a number of other utils, and reset safari periodically.
    It seems that it may be a delayed garbage collection issue. If I leave it for a bit and then come back it seems that the process is disappearing. If I can isolate anything more reliably I'll post again, but for now I'm going to stop worrying about it.
    It was lingering long enough I thought maybe was a leak, but i guess I'm just not patient enough...
    Also, I haven't reliably reproduced the high CPU cycle / hung applet condition on the 1st load. that may be something that shouldn't be going on (regarding the new security around java probably) but low pain point once I reload the page and tell safari to let the app run all the time.
    so just to recap
    - looks like the applet persistence in the process table is a delayed disposal issue that eventually gets done
    - hanging applet on 1st load post security patch may be something, but hitting cmd-R is a lot more satisfying than devoting a lot of time to tracking that down right now
    thanks for your suggestion

  • Help with Java Applet Design

    Hi,
    I'm a uni student and I've had some programming experience in Java, although sadly a bit lacking in the area of Java Applets.
    Recently I've being involved in a project where some tests are ran a number of times and a Data Aquisition System is used to transfer the number of cycles the test have currently done onto the computer, in a .csv file.
    What I would like to do is to make this count available in a web browser LIVE.
    I've come up with an idea, which is to write a Java Applet to read this file and output the correct count value in a textbox or what ever, however I am having a bit of difficulty making this update live.
    Should I have some sort of script inside the webpage source that re-
    runs the applet at regular intervals? If then how would that be possible?
    Or should I have the applet re-read the file at regular intervals and repaint it-self? If then there will be problems with timers and possible execution threads (which I don't quite understand yet)?
    One thing I want to be careful of is that this file to be read is updated by the DAQ system at random times, so whatever solution is implemented, I wouldn't want the file to be corrupted (e.g. if the file is read and written at the same time).
    Thanks for any help

    Read data from file at regular specified intervals,
    display data in an applet.
    U can use java.util.Timer and TimerTask and schedule the task.
    for applets to read file, you may have have to sign the applet.
    public class ReadApplet{
    private Timer timer;
    private TimerTask tt;
    private JTextField tf;
    public void init(){
    tf=new JTextField(15);
    timer=new Timer();
    tt = new TimerTask(){
    public void run(){
    try{
    BufferedReader fr=new BufferedReader(new FileReader(datafile));
    String data = br.readLine();
    int num = Integer.parseInt( data);
    tf.setText("" + num);
    }catch(Exception e) {}
    timer.schedule( tt, 0, interval);
    - create a jar file containing the class file
    - generate a key using keytool -genkey
    - sign the applet jar with jarsigner -signedjar using your key
    -include applet code in html file
    <applet code="Yourapplet.class" ARCHIVE="your signed jar" width="" height=""></applet>
    It should work

Maybe you are looking for

  • Imported cd's on itunes, won't drag to device

    Basically, I recently had my hard drive wiped clean at the apple store, and I put all my cd's on my itunes and set it to not sync automatically because I don't want to lose my previous songs already on the device. Anyways, it won't allow me to drag s

  • Gmail IMAP suddenly became super slow and folders started disappearing and reappearing - what can I do?

    I've been using Thunderbird as an IMAP client for Gmail for about 2 years without any problems. Three days ago I saw for the first time the following message at startup: "Unable to load address book file abook-9.mab. It may be read-only, or locked by

  • XSLT for converting the determination server xml into the debugger xml

    I've seen this before but i can't find the post. I'm looking for an xsl or xslt document to convert a determination server xml payload request into something that can be imported into the debugger for analysis. It would be cool if the xml was constra

  • PDF Files from InDesign to larger

    Hi I just upgrade my acrobat pro to 9.3.3. And im running Snow leopard. So - now the ps (print postscript) option is also gone for me. I have som old files from indesign, i printet at ps file and used my distiller to make the pdf file. Result = 168 k

  • Import map using excel document.

    Hello Experts, I built an import map to run it manually with import manager, but when I click on Ready to Import, the import manager is doing one record at a time. I have to go back to the match tab and refresh in order to import the rest. Version 7.