Signed java applet is very slow with 1.4.2_06
We have an application which has a signed jar applets was working fine with Java Plug-in (JPI) version 1.4.1_02.
Due to customer requirement they want to run the same applet with JPI version 1.4.2_06, After JPI upgrade the applet is running slow.
I am not sure what sun has changed the security settings in 1.4.2_06. So, Can some one give there thoughts on why would it run slow because of JPI changes.
Thanks in advance.
Aj
Hi,
It is nothing to do with Signed applet.
If URL Connection 's setDefaultCacheUses is set to false then this is causing to run the Applet slow. As it require to download complete jar(if any) everytime.
From 1.4.1_02 (CachedJarURLConnection.class in jaws.jar):
public void connect()
throws IOException
if(!connected)
jarFile = JarCache.get(jarFileURL);
if(jarFile != null)
{�.
From 1.4.2_06 (CachedJarURLConnection.class in plugin.jar):
public void connect()
throws IOException
if(!connected)
if(getUseCaches())
jarFile = JarCache.get(jarFileURL);
if(jarFile != null)
{�
Similar Messages
-
We have a signed Java applet that uses external libraries, specifically the OpenOffice application libraries.
We have a problem running Java applet with 7u51 of "InvocationTargetException" when use these libraries OpenOffice, that is not signed; regardless of the browser used (Mozilla Firefox, Explorer, Chrome).
Please, as you could solve this problem? This problem can not arose with 7u40 and earlier..
Best regards.In java - JRE 1.7.0_51-b13 and signed applet - Stack Overflow found solution. I've missed to add in external jars manifest this:
Trusted-Library: true -
Hi all,
I'm using a Java applet for remote computing with my company via vpn.
It worked fine with Apple Java but since Apple deinstalled the Safari plugin and installing Java 7 from Oracle,
it's too slow for working!
Screen changes take so long and the mouse is just jumping.
Almost no chance to hit anything!
I'm working with a Mac mini i7 / 8GB / SSD / Mountain Lion
Normally, it's a fast system...
Please help!
Don't want to work with a Windows computer!!! :-(
Thanks
PeterGreat, that worked!
It's easy. Just copy the commands and paste it in Terminal as Admin...
Thank you!
And as I heard, my company is already in contact with Oracle to solve the issue!
Until that, I can work with Java 6. -
Re: [Fwd: Java Applet IIOP Call-In with Release 3C--How dowe speed up d
Hi Michael,
We have done exactly what you describe and have avoided the slow applet
download times. Although it can be a bit tricky, it is possible to use
the ORB bundled inside the Netscape 4.0 browser (Visibroker for Java by
Visigenic). Most of the code should follow Netscape's examples (on
http://developer.netscape.com)--just remember to initialize the ORB by
passing a reference to the current applet in orb_init() (so that you
invoke something like orb_init(this) [assuming you are extending
java.applet.Applet]). Pulling up the Java console within your web
browser should help debug quite a bit (a lot of debug messages will get
printed there the ORB is having problems).
Netscape has just implemented the applet caching schemes you describe,
so it probably shouldn't matter too much if you use another vendor's
ORB (we've done this with Iona's OrbixWeb). If you use ZIP files, they
have to be uncompressed, and I don't think that the browser will cache
them between browser sessions. Netscape 4.0 does seem to handle
compressed JAR files just fine and it does indeed cache them between
browser sessions. I'd go with the JAR format anyway since the ZIP
bundling was just a workaround until Sun got their act together in the
1.1 JDK.
By the way, you also might want to take advantage of the code-signing
and capabilities APIs of Netscape if you are going to invoke methods on
objects not resident on your web server. Otherwise, you will probably
run into the (in)famous browser applet security restrictions and you may
have other problems doing things like callbacks from Forte, etc.
If you want more detail on how it works, let me know and I can post some
examples.
Oh, one last thing: we are a consulting firm specializing in these kinds
of things :)
Bill
Subject: Java Applet IIOP Call-In with Release 3C--How do we speed up download time.
Date: Wed, 2 Jul 1997 09:10:31 -0500
From: Michael Nelson <[email protected]>
To: "'[email protected]'" <[email protected]>
We have successfully implemented a simple Java Applet that calls into
Forte Services via IIOP. However, the duration of the download time
for
Applet and its required class files is UNACCEPTABLE in a typical
INTERNET environment where 28.8K modems and multiple hops around the
net
are not uncommon. We dialed into our network at 28.8K (but no
hopping),
and found that download times varied from 1.5 - 2.0 minutes. This is
unacceptable, even by internet standards. We have been using the
Visigenic Visibroker product as the ORB.
After doing some investigation, we've come up with several ideas to
speed up download time:
1. Figure out how to use the Visigenic components (CORBA/IIOP class
files) that come bundled with the latest version of the Netscape
Navigator browser, so that they don't have to be downloaded
2. Figure out how to use ZIP files. Here's what I've read: "Since
the
introduction of Netscape Navigator 3.0, you can specify an
uncompressed
.zip file as an addition to the code base of your application. By
specifying a ZIP file, the browser will load your applet's classes
from
a specified ZIP file before it searches the code base. This ZIP can
improve applet download time by reducing the number of HTTP
connections
required to fetch applet code. As an added benefit, Netscape caches
the
single ZIP file so that it will not reload your applet unless the date
of the ZIP file has changed."
3. Figure out how to use JAR files. Here's what I've read: "JAR
stands for Java archive. It's a file format based on the popular ZIP
file format and is used for aggregating many files into one. Although
JAR can be used as a general archiving tool, the primary motivation
for
its development was so that Java applets and their requisite
components
can be downloaded to a browser in a single HTTP transaction, rather
than
opening a new connection for each piece. This greatly improves the
speed with which an applet can be loaded onto a web page and begin
functioning. The JAR format also supports compression, which reduces
the
size of the file and improves download time still further."
Unfortunately, we've been unable to get any of these approaches to
work.
Has any one used these or other approaches to speed up applet
download
time? Or, does anyone know of consulting firms that specialize in
this
sort of thing?
Thanks in advance for your help.
Mike Nelson, Project Leader
Metrix, Inc.
[email protected]
414-798-8560 x1157
Billy L. Williams, Jr. | email: [email protected]
Sage Solutions, Inc. | Tel: (415) 392-7243 (x506) Fax: (415) 391-3899
| Pager: (415) 605-1791 (page me if urgent)Hi Michael,
We have done exactly what you describe and have avoided the slow applet
download times. Although it can be a bit tricky, it is possible to use
the ORB bundled inside the Netscape 4.0 browser (Visibroker for Java by
Visigenic). Most of the code should follow Netscape's examples (on
http://developer.netscape.com)--just remember to initialize the ORB by
passing a reference to the current applet in orb_init() (so that you
invoke something like orb_init(this) [assuming you are extending
java.applet.Applet]). Pulling up the Java console within your web
browser should help debug quite a bit (a lot of debug messages will get
printed there the ORB is having problems).
Netscape has just implemented the applet caching schemes you describe,
so it probably shouldn't matter too much if you use another vendor's
ORB (we've done this with Iona's OrbixWeb). If you use ZIP files, they
have to be uncompressed, and I don't think that the browser will cache
them between browser sessions. Netscape 4.0 does seem to handle
compressed JAR files just fine and it does indeed cache them between
browser sessions. I'd go with the JAR format anyway since the ZIP
bundling was just a workaround until Sun got their act together in the
1.1 JDK.
By the way, you also might want to take advantage of the code-signing
and capabilities APIs of Netscape if you are going to invoke methods on
objects not resident on your web server. Otherwise, you will probably
run into the (in)famous browser applet security restrictions and you may
have other problems doing things like callbacks from Forte, etc.
If you want more detail on how it works, let me know and I can post some
examples.
Oh, one last thing: we are a consulting firm specializing in these kinds
of things :)
Bill
Subject: Java Applet IIOP Call-In with Release 3C--How do we speed up download time.
Date: Wed, 2 Jul 1997 09:10:31 -0500
From: Michael Nelson <[email protected]>
To: "'[email protected]'" <[email protected]>
We have successfully implemented a simple Java Applet that calls into
Forte Services via IIOP. However, the duration of the download time
for
Applet and its required class files is UNACCEPTABLE in a typical
INTERNET environment where 28.8K modems and multiple hops around the
net
are not uncommon. We dialed into our network at 28.8K (but no
hopping),
and found that download times varied from 1.5 - 2.0 minutes. This is
unacceptable, even by internet standards. We have been using the
Visigenic Visibroker product as the ORB.
After doing some investigation, we've come up with several ideas to
speed up download time:
1. Figure out how to use the Visigenic components (CORBA/IIOP class
files) that come bundled with the latest version of the Netscape
Navigator browser, so that they don't have to be downloaded
2. Figure out how to use ZIP files. Here's what I've read: "Since
the
introduction of Netscape Navigator 3.0, you can specify an
uncompressed
.zip file as an addition to the code base of your application. By
specifying a ZIP file, the browser will load your applet's classes
from
a specified ZIP file before it searches the code base. This ZIP can
improve applet download time by reducing the number of HTTP
connections
required to fetch applet code. As an added benefit, Netscape caches
the
single ZIP file so that it will not reload your applet unless the date
of the ZIP file has changed."
3. Figure out how to use JAR files. Here's what I've read: "JAR
stands for Java archive. It's a file format based on the popular ZIP
file format and is used for aggregating many files into one. Although
JAR can be used as a general archiving tool, the primary motivation
for
its development was so that Java applets and their requisite
components
can be downloaded to a browser in a single HTTP transaction, rather
than
opening a new connection for each piece. This greatly improves the
speed with which an applet can be loaded onto a web page and begin
functioning. The JAR format also supports compression, which reduces
the
size of the file and improves download time still further."
Unfortunately, we've been unable to get any of these approaches to
work.
Has any one used these or other approaches to speed up applet
download
time? Or, does anyone know of consulting firms that specialize in
this
sort of thing?
Thanks in advance for your help.
Mike Nelson, Project Leader
Metrix, Inc.
[email protected]
414-798-8560 x1157
Billy L. Williams, Jr. | email: [email protected]
Sage Solutions, Inc. | Tel: (415) 392-7243 (x506) Fax: (415) 391-3899
| Pager: (415) 605-1791 (page me if urgent) -
Signed java applets not working on lion?
After downloading java plugin on osx Lion, signed java applets fail to start. This is the error I get in java console, seems like the certificate is not imported to keychain? any workaround?:
java.lang.reflect.InvocationTargetException
at java.awt.EventQueue.invokeAndWait(EventQueue.java:1078)
at javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1326)
at com.koutbo6.gui.swing.GameApplet.init(Unknown Source)
at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Plugin2Manager.ja va:1640)
at java.lang.Thread.run(Thread.java:680)
Caused by: java.security.AccessControlException: access denied (java.awt.AWTPermission setWindowAlwaysOnTop)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:37 4)
at java.security.AccessController.checkPermission(AccessController.java:546)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
at java.awt.Window.setAlwaysOnTop(Window.java:2038)
at com.koutbo6.gui.swing.Q.<init>(Unknown Source)
at com.koutbo6.gui.swing.GameApplet.a(Unknown Source)
at com.koutbo6.gui.swing.P.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:677)
at java.awt.EventQueue.access$000(EventQueue.java:85)
at java.awt.EventQueue$1.run(EventQueue.java:638)
at java.awt.EventQueue$1.run(EventQueue.java:636)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlConte xt.java:87)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:647)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:29 6)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:20 1)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)All these settings were set as expected, yet im still facing the same problem
I enabled security debugging and this is the information I got:
security: Loading certificates from Deployment session certificate store
security: Loaded certificates from Deployment session certificate store
security: Loading Root CA certificates from from keychain
security: Loaded Root CA certificates from from keychain
security: Validate the certificate chain using CertPath API
security: Obtain certificate collection in Root CA certificate store
security: Obtain certificate collection in Root CA certificate store
security: Obtain certificate collection in Root CA certificate store
security: jpicertstore.cert.getkeystore
security: No timestamping info available
security: Cannot find jurisdiction list file
security: The CRL support is enabled
security: KB Programming Analysis and PC Operating Center
security: ObjectId: 2.5.29.31 Criticality=false
CRLDistributionPoints [
[DistributionPoint:
[URIName: http://crl.thawte.com/ThawteCodeSigningCA.crl]
security: Thawte Code Signing CA
security: ObjectId: 2.5.29.31 Criticality=false
CRLDistributionPoints [
[DistributionPoint:
[URIName: http://crl.thawte.com/ThawtePremiumServerCA.crl]
security: Use CRL setting from certificate
security: The OCSP support is enabled
security: KB Programming Analysis and PC Operating Center
security: ObjectId: 1.3.6.1.5.5.7.1.1 Criticality=false
AuthorityInfoAccess [
accessMethod: 1.3.6.1.5.5.7.48.1
accessLocation: URIName: http://ocsp.thawte.com]
security: This certificate does not have AIA extension
security: Use OCSP setting from certificate
network: Cache entry not found [url: http://crl.thawte.com/ThawtePremiumServerCA.crl, version: null]
network: Connecting http://crl.thawte.com/ThawtePremiumServerCA.crl with proxy=DIRECT
network: Connecting http://crl.thawte.com:80/ with proxy=DIRECT
network: Downloading resource: http://crl.thawte.com/ThawtePremiumServerCA.crl
Content-Length: 181,278
Content-Encoding: null
network: Wrote URL http://crl.thawte.com/ThawtePremiumServerCA.crl to File /Users/koutbo6/Library/Caches/Java/cache/6.0/38/2fb889a6-30a08967-temp
network: Connecting http://ocsp.thawte.com/ with proxy=DIRECT
network: Connecting http://ocsp.thawte.com:80/ with proxy=DIRECT
network: CleanupThread used 990300 us
network: Connecting http://ocsp.thawte.com/ with proxy=DIRECT
network: Connecting http://ocsp.thawte.com:80/ with proxy=DIRECT
security: This certificate has been revoked
Ignored exception: sun.security.validator.ValidatorException: PKIX path validation failed: java.security.cert.CertPathValidatorException: Certificate has been revoked -
My macbook pro is running very slow with some strange mouse and window movements. The trackpad is very unresponsive and when responding the cursor moves on its own and/or very erratically. When on safari the window suddenly zooms in or highlights words and looks them up via dictionary. I currently have a wireless mouse connected and I am still having the same problems.
I fee like I may have a virus or my laptop is perhaps being accessed remotely. All of the sharing options are unchecked.
HELP PLEASE
Very worried!!Try these in order testing your system after each to see if it's back to normal:
1. a. Resetting your Mac's PRAM and NVRAM
b. Intel-based Macs: Resetting the System Management Controller (SMC)
2. Restart the computer in Safe Mode, then restart again, normally. If this doesn't help, then:
Boot to the Recovery HD: Restart the computer and after the chime press and hold down the
COMMAND and R keys until the Utilities menu screen appears. Alternatively, restart the computer and
after the chime press and hold down the OPTION key until the boot manager screen appears.
Select the Recovery HD and click on the downward pointing arrow button.
3. Repair the Hard Drive and Permissions: Upon startup select Disk Utility from the Utilities menu. Repair the Hard Drive and Permissions as follows.
When the recovery menu appears select Disk Utility. 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 main menu. Select Restart from the Apple menu.
Reinstall the 10.9.2 update: OS X Mavericks 10.9.2 Update (Combo).
4. Reinstall Lion/Mountain Lion, Mavericks: Reboot from the Recovery HD. Select Reinstall Lion/Mountain Lion, Mavericks from the Utilities menu, and click on the Continue button.
Note: You will need an active Internet connection. I suggest using Ethernet if possible because it is three times faster than wireless.
Reinstall the 10.9.2 update: OS X Mavericks 10.9.2 Update (Combo). -
Imac is very slow with downloading mail
My imac is the ast weeks very slow with downlaoading mail.
I am using mail 5.3 from apple
Nothing has recently been chanched in my internet setting or internet speed
Anybody an idea what can be wrong?Hi, I worked out what you recommended, but I do not see any difference at speed.
Mail starts normal, though that is also somewhat slow,
Before it has finished downloading mail (even is there os no mail!) it takes sometimes 2 minutes!
Also there was no"boing"when starting up, with following your procedure, is it normal? -
Facebook loading is very slow with nearly no images , i'm using mac
facebook loading is very slow with nearly no images , i'm using mac os x 10.8
i did it many times and the same problem exists
-
Hi guys,
I am using AE Effects CS6 (11.0.4.2) on a new Macbook Pro with these specs:
2.8 GHz Intel Core i5
16 GB MHz DDR3
Intel Iris 1536 MB
The problem I am having is that when imported footage is visible as footage or a layer, AE becomes very slow with every click of the mouse on either the timeline or the footage in the viewer itself causing the color wheel to appear, often for 30 seconds at a time. Strangely, dealing with the composition has no issues.
Any ideas guys?
Thanks in advanceTry transcoding the footage to a production codec and see if that makes a difference.
Like, use the Adobe Media Encoder to make them something like QuickTime with the PhotoJPEG codec.
See if that helps with the performance. -
I installed iCloud yesterday, since the system is very slow, with pin wheel at every click
What can I do?I would ask in the dedicated iCloud forum. Good luck. https://discussions.apple.com/community/icloud
-
The time and date issues!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Every times I went to Apple store, the phone automatically works good time, but when I came back, my phone is working very slow with wrong time!
I want to get a new iPhone to replace this defective phone. I am gonna be crazzzzzzzyyyyyyyy with anger,!!!,!,,,! I takes2 hours to go to Regent street apple stores for three times!!!!!. It is a lot of transport fees !
PLz tell me why! How to deal with it !Unless it's confirmed officially that your phone is defective, then you can ask for a replacement. Or you have to live with you. However you can trade it for a new one if you don't care the price drop.
-
Ftp.belnet.be mirror very slow with updates
The mirror that is closest to my location, ftp.belnet.be , seems to be very slow with updates for AL.
XFCE4 was updated to 4.2.3 around nov 10 on archlinux.org.
11 days later xfce4 4.2.2 is still on belnet , and not replaced by the new version.
Since it's also a fast and reliable server, i don't mind waiting a few days, but more than a week is TOO long.
What's the use of a bleeding edge distribution when you can't get updates that have been available for more than a week ?
For now, i have fallen back on archlinux.org , but will look for another european server.In contrast with the name, that server doesn't seem to have ANY arch packages anymore.
:: Synchronizing package databases...
--00:34:46-- ftp://ftp.archlinux.de/pub/archlinux/cu … .db.tar.gz
=> `current.db.tar.gz.part'
Resolving ftp.archlinux.de... 134.109.132.98
Connecting to ftp.archlinux.de|134.109.132.98|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done. ==> PWD ... done.
==> TYPE I ... done. ==> CWD /pub/archlinux/current/os/i686 ...
No such directory `pub/archlinux/current/os/i686'.
failed to synchronize current
--00:34:47-- ftp://ftp.archlinux.de/pub/archlinux/ex … .db.tar.gz
=> `extra.db.tar.gz.part'
Resolving ftp.archlinux.de... 134.109.132.98
Connecting to ftp.archlinux.de|134.109.132.98|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done. ==> PWD ... done.
==> TYPE I ... done. ==> CWD /pub/archlinux/extra/os/i686 ...
No such directory `pub/archlinux/extra/os/i686'.
failed to synchronize extra
searching the site from the www page for pacman gave many results, but none of them were for AL's pacman. -
Suddenly everything VERY slow with spinning rainbow. How to Fix ?
Suddenly everything VERY slow with spinning rainbow. How to Fix ?
Useful article here on the causes of the Spinning Beach Ball and how to troubleshoot it:
http://www.computerworld.com/s/article/9177479/Troubleshoot_the_spinning_beach_b all?taxonomyId=89&pageNumber=1
and also this:
http://www.thexlab.com/faqs/sbbod.html -
Suddenly, TC is VERY SLOW with backup. In fact, I went in and discovered that it had not completed a backup since July 19th. I started one last night and when I checked this morning (about 10 hours later) it was 70MB into a 2GB backup. An hour and a half later it was at 100MB and an hour after that it was at 125MB. At this rate, it's going to take a couple of days so I cancelled the backup (it then went into it's housekeeping routine of "cleaning up"). BTW, I had quit all applications before I started the backup and TC said I had 454GB of free space. I'm not running any AV software and I have OS 10.6.8 I'm on an Ethernet network to the TC (I also have Airport active - could that be an issue? It never was in the past)
Any ideas would be appreciated.So...I may have panicked when I saw all of those empty folders in my Document folder...however, when stopping the backup to TC (the 'cleaning up' process of stopping took more than 2 hours), my folder contents showed up. I guess that process takes the file index pointers offline or something so I couldn't see file contents during the process. I then did a permissions repair and a verify on my hard drive.
But the bad news is that my Time Machine is still showing EMPTY! I currently running disc utility 'verify' on my TM backup volume (it says the projected time to complete is 3 days!!!) The disc utility says that there are 4,000,000 files in the backup volume - I just can't see them. When I ran Time Machine, it only has 'today' - no prior backups - even though Time Machine Preferences reports that the oldest backup is August 1, 2010 (one year ago) and that the last backup was July 19, 2011. They are not there.
I've seen some other posts like this, so I don't think I'm alone with this problem.
The good news is that all of my folders and files on my computer appear to be intact. The bad news is that previous Time Machine backups are not there (or they can't be seen - even though the 1TB backup volume is in fact half full). -
My Ipad 2 is accessing is very slow with iOS 8.2
My Ipad 2 is accessing is very slow with iOS 8.2 . I am looking forward to see the best solution from apple.
<Re-Titled By Host>8.1 is reportedly being released Monday. With any luck, that may resolve some issues.
Maybe you are looking for
-
Opening a raw file from a Canon T4i
I cannot open a raw file with my Canon T41 in Photoshop or Bridge. I have CS 6. I have tired to download the updates but I get an error that it can't download
-
Figured out a Bug with Lightroom 2
Now just how to get it to Adobe so they can fix it. Okay, I used to have a problem with the first version of 2.0 where I would assign color labels to pictures that would be B&W, special tweaks, etc. When I would edit in photoshop, then save back to l
-
How to open a range of ports in RV016
I am trying to add a couple VOIP phone units that do not have their own router. They are designed to run of the existing router and have three ranges of UDP ports opened up. They also do not advise using internal (private) statics on the phones. So
-
HT4993 I can not send mms or email photos
Ive been on carrier data and wifi. Ive reset the phone mulitipul times. Ive turned on data roaming. Photos still upload to facebook and the like but i cant email or mms. i have a 5s...issue started 2 days ago.
-
Dear: I want to search for word into line for one word, after i partition it to more than one part using useDelimiter Methods into Scanner For example: 19Mr_shaggy999#1295,hello i want to find out Mr_shaggy when it is seperated by this way: