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 (447) 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 (447) 10/23/2013 6:12:03 AM
comp.lang.java.programmer 51975 articles. 38 followers. Post

5 Replies
921 Views

Similar Articles

[PageSpeed] 49


  • Permalink
  • submit to reddit
  • Email
  • Follow


Reply:

Similar Artilces:

error or not an error ...
I was just testing out the R4 REXX thingy, and it found an error in the following program. My question is this, is it an error or not? My PC/REXX and Regina don't barf on it, but I thought they should've. _____________________________________________ /**/ ?.='' ?.z='batman' trace i if ?.z\==''then do; say '?.z=' ?.z; end ______________________________________________ Note that there is space before the THEN. I'm not sure of the exact rules for parsing an IF statement, I know that THEN is a "reserved" keyword when an IF statement is...

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...

When is an error not an error?
The Java language specification claims in: 8.8.7.1 Explicit Constructor Invocations .... "If an anonymous class instance creation expression appears within an explicit constructor invocation statement, then the anonymous class may not refer to any of the enclosing instances of the class whose constructor is being invoked." Helpfully it gives an example: "For example: class Top { int x; class Dummy { Dummy(Object o) {} } class Inside extends Dummy { Inside() { super(new Object() { int r = x; }); // err...

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 :) ): -----------------------------------------------...

When is an error not an error?
When it's OSS slopware, of course. http://www.angelfire.com/planet/dfs0/Knode_send_error.png On 2006-09-12 02:42, * DFS wrote: > When it's OSS slopware, of course. > > http://www.angelfire.com/planet/dfs0/Knode_send_error.png > Well, some time ago I had a problem with OE - too long reference line to other posts, and OE of course refused to send... then crashed. Should I name it a feature? -- Andrea On Tue, 12 Sep 2006 03:25:29 +0200, Andrea wrote: > On 2006-09-12 02:42, * DFS wrote: >> When it's OSS slopware, of course. >> >> http:/...

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...

Objc Nubie: Errors Errors Errors
I've been toying with learning ObjC/Cocoa for sometime and finally got over the hump of "brackets vs. braces" but am wondering why my little test throws so many warnings when run: // gcc FileTest.m -o FileTest -ObjC -framework Cocoa #include <Cocoa/Cocoa.h> #include <Foundation/Foundation.h> int main( void ) { NSString * str = [ [NSStringalloc] initWithString:@"~/samplefromcocoa.txt" ]; NSString * full = [ NSString stringWithString: [str stringByExpandingTildeInPath ] ]; if( [ [NSFileManager defaultManager] fileExistsAtP...

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...

(assert-error) tests errors and error messages
I wrote (assert-error) to make sure that a function generates an error, and verify the error message. What do you think? Below is the definition and a few test cases, for Emacs 22.1.50. (require 'cl) (defmacro assert-error (form &optional regexp) "FORM must signal an error. Signal an error otherwise. Additionally, the error message must match REGEXP. Case is ignored while matching REGEXP." (let ((msg (make-symbol "msg")) (ok (make-symbol "ok")) (res (make-symbol "res"))) `(let ((,ok nil)) (condition-case err ...

error C2106: error C2057 :error C3304:
I have faced intrinsic errors "error C2106 / error C2057 / error C3304" in Visual studio 2008. Though the source files have included with header files like "math.h" and "ctype.h", compilation gives error as given below. 2>c:\apps\microsoft visual studio 9.0\vc\include\string.h(48) : error C2106: '=' : left operand must be l-value 2>c:\apps\microsoft visual studio 9.0\vc\include\string.h(48) : error C2057: expected constant expression 2>c:\apps\microsoft visual studio 9.0\vc\include\string.h(48) : error C3304: 'PreAttribute': at...

Error Directing BCP In Errors to error file
Greetings, I am trying to bcp in data to a table which is in different server. Though the bcp in works fine but the error file is not being created and rejected records are not being directyd to the error file. Query looks like: bcp <db>..test_b_plan_cp in /home/file_out.txt -c -t '|' -S *****-U ****** -P ******-I /home/bcp2db_sql.ini -e /home/bcp2db.error. Can someone please help? TIA. Regards, Rajpreet ...

Error directing BCP In errors to error file
Greetings, I am trying to bcp in data to a table which is in different server . Though the bcp in works fine but the error file is not being created and rejected records are not being directyd to the error file. Query looks like: bcp <db>..test_b_plan_cp in /home/file_out.txt -c -t '|' -S *****-U ****** -P ******-I /home/bcp2db_sql.ini -e /home/bcp2db.error. Can someone please help? TIA. Regards, Rajpreet ...

Error 8 Compilation Error. File permission error or DMA hardware error detected
I just upgraded my Labview code to Labview 8.5 from LV8.2.1 Then I tried to compile&nbsp;my code to get an .exe file I keep getting the following error, &nbsp; Visit the Request Support page at ni.com/ask to learn more about resolving this problem. Use the following information as a reference: Error 8 occurred at Write to Text File in AB_Engine_Update_INI_Header.vi-&gt;AB_Application.lvclass:Create_INI_File.vi-&gt;AB_Application.lvclass:Copy_Files.vi-&gt;AB_Build.lvclass:Build.vi-&gt;AB_EXE.lvclass:Build.vi-&gt;AB_Build.lvclass:Build_from_Wizard.vi-&gt;AB_UI_FR...

@@Error not catching error.
Hi all, I want to catch error in stored procedure and return error message. I want to catch error 'Syntax error converting the varchar value 'a' to a column of data type int.' Means error occuring if i enter wrong value. Say suppose i have statment like select * from emp where rowid = 'a' PRINT @@ERROR print 'reach' here rowid is integer value so i am getting above mention error. So what i am expecting is it should print error and then print 'reach' which is not happening. can anyone tell me reason behind this and how to overcome this problem. than...

Robust error handling, an error while handling another error
I've been having this discussion a lot with my colleagues at work. A buffered file writer is the classic example. #include <fstream> int main() { std::ofstream fout("foo.txt"); if ( ! fout) return 1; //write important data to file //let the destructor implicitly close the file handle } The ofstream destructor will call flush then free the file handle, return it to the operating system. However, flush can fail. The disk can be full, for example. When flush fails, it sets a state flag, but there is no opportunity for the user to examine this state fl...

timemachine error 11 (Error: (-36), Error: (-50))
I have a problem with Time machine exiting with error 11 rcently. > 6/8/09 3:26:32 PM /System/Library/CoreServices/backupd[795] Starting standard backup > 6/8/09 3:26:32 PM /System/Library/CoreServices/backupd[795] Backing up to: /Volumes/Time Machine Backups/Backups.backupdb > 6/8/09 3:27:37 PM /System/Library/CoreServices/backupd[795] No pre-backup thinning needed: 52.59 GB requested (including padding), 87.39 GB available > 6/8/09 3:28:57 PM /System/Library/CoreServices/backupd[795] Copied 1543 files (65.7 MB) from volume VadeMACum BootHD. > 6/8/09 3:48:09 PM /System/Li...

error with ERROR function
Hi all, I'm getting an error when I use the "error" function. Here is the error message: ---------------------------------------- ??? Index exceeds matrix dimensions. Error in ==> C:\MATLAB6p5p1\mese\user_functions\ssave.m On line 765 ==> error('ERROR e43: Initial Operating Point file cannot be found'); ---------------------------------------- What matrix is it refering to? thanks, SK "Saif K" <buckeyeforever2001@yahoo.com> wrote in message news:eee53de.-1@webx.raydaftYaTP... > Hi all, > > I'm getting an error when I use the &quo...