More Applet errors with 7u45

  • Permalink
  • submit to reddit
  • Email
  • Follow


Hi,

If anyone could shed light on what's causing these errors, and if they 
are informational or the root cause of the Applet failure, I would 
really appreciate it! From the console log: -

(1)
ui: missing resource: java.util.MissingResourceException: Can't find 
resource for bundle com.sun.deploy.resources.Deployment,
key PERF: AppletExecutionRunnable - applet.init() BEGIN ;

This applet is loaded at run-time via <div>.innerHTML="<object>. . ."
No jnlp involved. Look no further than this?

(2)
liveconnect: Security Exception: JavaScript from 
http://127.0.0.1/employee_lookup.html attempted to access a resource it 
has no rights to. (No pop-up window as in 
https://blogs.oracle.com/java-platform-
group/entry/liveconnect_changes_in_7u45)

I have added the following lines to the manifest: -

Application-Name: Tier3Client
Permissions: sandbox
Caller-Allowable-Codebase: *

But I don't see "cache:  Read manifest for " till later.

(3)
ui: Pushing modality for applet ID 1 with dialog 
tier3Handshake.Tier3LogonAWT
basic: PluginMain.unregisterApplet: 1 from mananger 
sun.plugin2.applet.Applet2Manager@8c6afe
ui: plugin2manager.parentwindowDispose

What's happening?

Cheers Richard Maher
0
Reply maher_rjSPAMLESS (123) 10/19/2013 2:59:42 AM

See related articles to this posting


On 10/19/2013 10:59 AM, Richard Maher wrote:
> liveconnect: Security Exception:

Ok, the Liveconnect security exception appears to be the winner 
(impacted by time-sensitive errors around the applet tear-down)

I'll come up with a small reproducer to test my suspicions about the 
innerHTML run-time dynamic load revealing the bug but can someone say if 
this manifest is acceptable from a Caller-Allowable-Codebase perspective: -

Manifest-Version: 1.0
Application-Name: Tier3Client
Permissions: sandbox
Created-By: 1.7.0_21 (Oracle Corporation)
Caller-Allowable-Codebase: * 127.0.0.1


I tried with just the wildcard and the addition of the localhost with no 
difference in behaviour. It doesn't seem to matter where I position that 
option in my TXT file it always seems to come out last in the MANIFEST.MF.

jar -cfm tier3Client.jar Manifest.txt tier3Client\*.class

Cheers Richard Maher

PS. Is there anyone who doesn't see the sense in 
Caller-Allowable-Codebase being a html <param > name and the stupidity 
of having it in the Manifest?
0
Reply maher_rjSPAMLESS (123) 10/19/2013 4:32:50 AM

On 10/19/2013 12:32 PM, Richard Maher wrote:
> On 10/19/2013 10:59 AM, Richard Maher wrote:
>> liveconnect: Security Exception:
>
> Ok, the Liveconnect security exception appears to be the winner

Just keeps getting better :-(
https://addons.mozilla.org/en-US/firefox/blocked/p463

So I don't know if it was the browser(s), or the Applet being unsigned, 
or the Applet being loaded dynamically at run-time, that caused the new 
there-be-dragons pop-up not to be displayed but hosting the web-page in 
the same domain as the Applet works-around the problem.

It appears Caller-Allowable-Codebase only works if the Applet is signed 
by a certificate authority, but does that help if the web-site was 
loaded with http instead of httpS in the first place? And shouldn't 
Caller-Allowable-Codebase really be called 
Caller-Allowable-DOCUMENTbase? Look if this check ensured that only 
script files included in the HTML were from the same domain as the 
Applet then this could be brilliant, but it only seems interested in the 
unverified parent location :-(

To add insult to injury 9005723 did not make it in this release either. 
So you LiveConnect calls still can't pass Java arrays as arguments to 
JavaScript functions.

Cheers Richard Maher

0
Reply maher_rjSPAMLESS (123) 10/20/2013 3:58:52 AM

"Richard Maher"  wrote in message news:l3vkdt$ab6$1@speranza.aioe.org...

[snip]

> Just keeps getting better :-(

Richard, it really *is* time for you to stop flogging that Applet "dead 
horse".

SERIOUSLY.

JavaFX FTW!

--
And loving it,

-Qu0ll (Rare, not extinct)
_________________________________________________
Qu0llSixFour@gmail.com
[Replace the "SixFour" with numbers to email me] 

0
Reply Qu0llSixFour (446) 10/20/2013 9:21:18 AM

On 10/20/2013 5:21 PM, Qu0ll wrote:
> "Richard Maher"  wrote in message news:l3vkdt$ab6$1@speranza.aioe.org...
>
> [snip]
>
>> Just keeps getting better :-(
>
> Richard, it really *is* time for you to stop flogging that Applet "dead
> horse".
>
> SERIOUSLY.
>

https://bugzilla.mozilla.org/show_bug.cgi?id=914690

Great to see developers with a bit of heart and passion unlike the sad 
bags of shit that one finds here (and at Oracle).

> JavaFX FTW!

Grow a brain! Do you really think JavaFX is going to a real delousing 
shower???

>
> --
> And loving it,
>
> -Qu0ll (Rare, not extinct)
> _________________________________________________
> Qu0llSixFour@gmail.com
> [Replace the "SixFour" with numbers to email me]

0
Reply maher_rjSPAMLESS (123) 10/22/2013 2:09:13 PM

"Richard Maher"  wrote in message news:l460u9$maa$1@speranza.aioe.org...

>> JavaFX FTW!
>
> Grow a brain! Do you really think JavaFX is going to a real delousing 
> shower???

So because I believe in JavaFX I don't have a brain? That's typical of the 
gutter-level comments you make when the technical argument gets beyond you 
or the facts contradict you.

JavaFX is actually very good and in the past 24 hours there have been 
comments from Oracle to the effect that they are working hard on getting it 
ported to iOS and Android.

As I said, JavaFX FTW!

--
And loving it,

-Qu0ll (Rare, not extinct)
_________________________________________________
Qu0llSixFour@gmail.com
[Replace the "SixFour" with numbers to email me] 

0
Reply Qu0llSixFour (446) 10/23/2013 6:12:03 AM
comp.lang.java.programmer 51914 articles. 38 followers. Post

5 Replies
743 Views

Similar Articles

[PageSpeed] 39


  • Permalink
  • submit to reddit
  • Email
  • Follow


Reply:

Similar Artilces:

applet error
I have a blue/white G3, IE 5.1. Recently, when my wife logs onto Jigzone to do jigsaw puzzles they won't load. Instead, "Applet error" is shown. I've dumped the cache and made sure Java is turned on. Any other ideas? ...

Error in Applets
I downloaded the example applet on this page: http://download.oracle.com/javase/tutorial/uiswing/components/applet.html I tried to compile TumbleItem.java I got the following: symbol : class SwingWorker location: package javax.swing import javax.swing.SwingWorker; I have the latest installed java update for MAC so IDK whats going on. Thats what my friend got but I got a runtime following error - java.lang.NoSuchMethodError: main Exception in thread "main" Process completed. all are updated by the latest versions and I am using Windows XP. On Sun, 24 Jul 2011 21:50:32 -070...

Applet Error
Hey all, I am a newbie to forums and I'm in desperate need. I am not familiar with Java Programming so I am trying to go through some tutorials to help me to understand some things. One particular thing I want to learn is using an Applet to read/write to a .txt or .dat file. Here is the premise: Aim: An Applet that reads/write to a .dat file. PC Requirements: For right now, this Applet is for use with a standalone PC without internet connection. Code: Here's the code that I have (Don't laugh, it's my third attempt at Java :) ): -----------------------------------------------...

MINDPROD site applet error
Is it my browser, or a site issue? I don't see anything in the applet windows, and the following error in the Java console. http://mindprod.com/jgloss/finalize.html Neill Microsoft (R) VM for Java, 5.0 Release 5.0.0.3810 ============================================== ? help c clear f run finalizers g garbage collect m memory usage q quit t thread list ============================================== .... url=http://mindprod.com/jgloss/snippets/finalize.example2.java.ser .... url=http://mindprod.com/jgloss/snippets/finalize.example1.java.ser ...stream ready ...stream ready Error loa...

Java Applet Error
Hello. I don't know much about Java, but we are having a problem on our website. I don't currently have the actual error message, but I'm just wondering if anyone can possibly point to where the problem might lie just from this information. When a user clicks on a button, a java applet is supposed to load. This applet loads fine for all win98 users using IE6 or 5.5. We didn't have to load any plugins for our Win98 machines. The applet also worked w/ win2000,winnt,winxp using IE6, but with only one specific version of an older of a java plugin (i think 1.4.0). Anything olde...

Finding Error in Applet.
I have an Applet which gives no compilation error. But hangs sometimeswhen running.It works most of the time. But sometime it hangs in between. It has 20functions and I want to know at which function it hangs. The Appletcannot be run using Applet Viewer It can only run on a web browser. SoI cannot use the debug feature.What I want is incase it gets into error I catch the error and reportthat error to the web server. Can I use Try/Catch in the main programto know which function is causing that error?Like BelowAppletmain(){try{function1()function2()function3()function4()......function19()functio...

Error when loading applet
Hi! My applet has to read an XML file on the server, and display part of its content as a tree. For this i use JAXB and Swing libraries. The applet is stored as a JAR file. Under JBuilder Debooger (and other like Sun One) the applet works fine. But when I want to launch it from a HTML page, the java plug-in (same release as the javac) console tells me : java.lang.SecurityException: no manifiest section for signature file entry org/w3c/dom/traversal/TreeWalker.class at sun.security.util.SignatureFileVerifier.verifySection(Unknown Source) at sun.security.util.SignatureFileVerifier.process...

Applet ocijdbc9 error
Using ojdbc14.jar with Oracle 9i. The JApplet is denied access to open a connection because ocijdbc9 can't be loaded. The connection could be opened with JSP by using LD_LIBRARY_PATH. Changing java.policy is not an option. Can anyone please help? Dakshin ...

getting error on applet again
i have a signed pplet discussed previously for now it appears to have stopped working properly. The codee hasn't changed but my web page its on and my dns settings have mind you i can still see the host its trying to connect from a wb page ping etc. Now when i run it locally i get java.security.AccessControlException: access denied (java.net.SocketPermission members.g7wap.me.uk resolve) at java.security.AccessControlContext.checkPermission(Unknown Source) at java.security.AccessController.checkPermission(Unknown Source) at java.lang.SecurityManager.checkPermission(Unknown Source) at j...

Bizzare error in an applet
Hi, This error has started occurring spontaneously. I have an applet with a bunch of private memebers and a private subclass (that implements ListSelectionListener). When the value changed method refers to one of the private members, I get the following error? Exception in thread "AWT-EventQueue-2" java.lang.IllegalAccessError: tried to access field mypackage.MyApplet.myMember from class mypackage.MyApplet$MySelectionListener. When I run essentially the same code as an application, no such problem occurs. What the heck is going on?!! Many thanks in advance. Aaron ...

Java applet error
I have compiled succesfully one of the applet examples in the designer help file when i place it and try to run it in a test form or page this is what i get on the console... any suggestions please? many thanks java.lang.NoClassDefFoundError: lotus/domino/AppletBase at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:537) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:12 3) at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:157) at java.lang.Cl...

inconsistent applet not inited error
Been having trouble lately running a program I've been working on. Here's the backstory: I'm developing using Eclipse 3.0 and the Jigloo plug-in for the GUI. I can run an applet fine within Eclipse, but when I try to run the applet through a .htm file, I get an error 'Applet CapsuleGui notinited'. I'm on a Windows XP sp1, J2SE 1.4.2_07 and JRE 1.5.0_01, with the PATH variable looking at both java\bin directories. In trying to troubleshoot, I got out my old CS files and opened up all the applets I had. A good portion worked, but some came back with the same error an...

Error:Loading java applet failed
Hi all, I have the netbeans IDE5.5 in my system and redhat9.While i run my plugin or beans program in JSP the output you see an image that looks like a small white box with a Red X in it. Or, the browser cannot display the chat applet, and shows the error message "Loading Java Applet Failed...". I gone through the below sites and i tried each and every thing but it didn't work not only this no. of site to get solve but no use. http://www.java.com/en/download/help/5000040200.xml Please give me suggestion for my problem, -raju rajbala.3399@gmail.com said: > >Hi all, >...

Signed Applet Generates 403 Error
Hi all,I have a Java applet that needs to read a couple files from the serverit originates from. So I singed the jar file with keytool/jarsignerprocess and that worked until I updated my Java SDK. The previousversion of jarsigner didn't have a -version option, the new onereturns 0.92. When I use the old version the jar is loaded and thenuser is prompted to "trust" or "run" the applet. When I use the newversion there is no such prompt and I get the following error:java.io.IOException: Server returned HTTP response code: 403 for URL:http://my.url.net/test/myapplet.jaratsu...

jpinscp.dll error with Java applets
I'm using a Java voice recording applet in my Online Language Assistant at www.oneglobe.com . It works OK in IE and Opera, but Firefox (1.0, 1.0.5, 1.5 beta) crashes with an error in jpinscp.dll . Can anyone tell me what the problem might be? Thank you -- PaulB pbuchheit@hotmail.com wrote: > I'm using a Java voice recording applet in my Online Language Assistant > at www.oneglobe.com . Where exactly? I visited that URL then followed a few links but did not see any applet. Copy/paste the URL of one such applet page. >.. It works OK in IE and Opera, but Firefox (1.0, &g...

applet works in IE but error with netscape
Hi, I made applet but the error occur when I use this in netscape 7.0. (OS is MS windows) the situation is that. 0. this applet is signed. 1. the applet has a public method (name is Upload) that show FileDialog. When I call this method with java-script, the browser is holding on so the status to be 'status is not response'. 2. the other method (name is Download) parses xml data with SAXParser. but if I called this public method, it throw exception like this. (in xml parsing) Exception : java.security.AccessControlException: access denied(java.util.PropertyPermission entityExpans...

Error:Loading java applet failed
Hi all, I have the netbeans IDE5.5 in my system and redhat9.While i run my plugin or beans program in JSP the output you see an image that looks like a small white box with a Red X in it. Or, the browser cannot display the chat applet, and shows the error message "Loading Java Applet Failed...". I gone through the below sites and i tried each and every thing but it didn't work not only this no. of site to get solve but no use. http://www.java.com/en/download/help/5000040200.xml Please give me suggestion for my problem, -raju rajbala.3399@gmail.com wrote: > Hi all, > I ...

Applet startup error
Greetings! I am running into a very strange problem with a very simple code In my html page I have the following code: <applet codebase="/" code="InterApplet" width="400" height="150" name="InterApplet"> <param name="OutFrame" value="outFrame" valuetype="object"> no support for java </applet> When I load the page on Windows 2000 machine running IE6 it works fine - applet loads. However, when I try to open this page on a Windows XP machine also running IE6 it can't find the applet &qu...

Access Denied Errors on Applet Data Post
All, I am having a horrible time trying to get a signed jar file that contains an applet to run outside of our network. I am very new to the whole jar signing process so it is possible that something went wrong with that. I would really appreciate any feedback that you can provide on how I can sign my jar file to allow my applet contained within to post data to a server (i.e. sign the jar file with the correct permissions) or add Java code to my applet to grant certain permissions. This applet was signed with a Thawte certificate. When I run my applet, I get the following stack trace when th...

Error when calling Javascript from applet after upgrading JRE
Hi all, I've been invoking a javasript method from an applet using the netscape.javascript.JSObject class. All was working fine till I upgraded my JRE from 1.4.0 to 1.5 Now the method JSobject.getWindow(this) is returning an exception: netscape.javascript.JSException Thanks for the help, Walid Trueman wrote: > I've been invoking a javasript method from an applet using the > netscape.javascript.JSObject class. > > All was working fine till I upgraded my JRE from 1.4.0 to 1.5 > > Now the method JSobject.getWindow(this) is returning an exception: > > n...

Applet class not found error --- please help
The applet is displayed correctly on browser on machine A, but not on machine B. Both A&B are using IE 6 browsers and A is using 1.4.2 JVM (Sun) and B is using 1.4.1 JVM (Microsoft). The applet code is developed in swing. Isn't swing supported in 1.4.1 JVM? Do I need to install Sun JVM plug in on machine B? How can I set up the html to prompt the user to download the java plug in? Thanks! Dakshin On 9 Apr 2004 06:30:25 -0700, Bush will disarm all workers next wrote: > The applet URL? -- Andrew Thompson http://www.PhySci.org/ Open-source software suite http://www.PhySci.org/co...

Incompatible magic value 1008813135 error with applet
I'm in the process of switching to Eclipse and running into a strange problem with reading classes in the new JAR file for my applet. The error message is below, but the important part seems to be "java.lang.ClassFormatError: Incompatible magic value 1008813135". Searching the Web using this message reveals that the 1008813135 corresponds to the sequence of characters "<!DO" and indicates that the server is trying to load the JAR file as the beginning of an HTML / XML page, presumably with test beginning with "<!DOCTYPE". Various people sugges...

Applet errors when loading from high-ascii folder
All: I wrote an applet that runs fine except when the web-page is launched from a folder containing high-ascii characters (actually german characters). I get the following error: java.lang.StringIndexOutOfBoundsException: String index out of range: 65 at java.lang.String.substring(Unknown Source) at sun.net.www.ParseUtil.unescape(Unknown Source) at sun.net.www.ParseUtil.decode(Unknown Source) at sun.net.www.protocol.file.Handler.openConnection(Unknown Source) at java.net.URL.openConnection(Unknown Source) at sun.applet.AppletPanel.getAccessControlContext(Unknown Source) at sun.applet....

Error loading class message generated by applet
Hello, I've been writing some simple Java applets using the free download of Borland's JBuilder X Foundation. I followed Borland's "GoodEvening" example in their documentation and I can run that applet and my own applets from within the development environment and also from my web browser (galeon). However, when I go to another computer to check out the applets, they don't run. The following messages appear in the Java console: Microsoft (R) VM for Java, 5.0 Release 5.0.0.3810 ============================================== ? help c clear f run finalizers g garbage c...