More Applet errors with 7u45

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
10/19/2013 2:59:42 AM
comp.lang.java.programmer 52315 articles. 0 followers. Post Follow

5 Replies
1255 Views

Similar Articles

[PageSpeed] 36
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
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
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
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
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
Qu0llSixFour (447)
10/23/2013 6:12:03 AM
Reply:
Similar Artilces:

HP OfficeJet Model 300 - system error 205
I boutht this new many years ago and now we are both old. . Please help me. I put in a new ink cartridge and it printed an entire page in black ink. Changed to another new cartrige but same result. System error 205. I am 75 and not very handy with computers or repairs but willing to learn or try. Or is there a repair place in Houston Texas? Please email me at this address: hfrankel1@houston.rr.com. HFRANKEL1@houston.rr.com wrote: > I boutht this new many years ago and now we are both old. . Please > help me. I put in a new ink cartridge and it printed an entire page in ...

Beginner -- Applet problems
I am a beginner programmer just starting to learn Java. Can someone tell me what is wrong with this applet? The output is: Circumference is 47.1225 Area is 176.70938 Volume is 1767.0938 I don't think that is the correct value of the volume because it is exactly 10 times the area. What went wrong and also, is there an easier way to square or cube a number? Thanks, Josh //Calculates circumference, area of circle and volume of sphere based on a radius import java.awt.*; import java.applet.Applet; public class Calculations extends Applet { public void paint(Gr...

Simscape to C-Code (RTW)
Hello everyone, if got some problems concerning"Matlab/Simulink with Simcape to C-Code Conversion and Integration in VS2008. Maybe you can help me... The Conversion of Matlab/Simulink and Integration in VS2008 works fine for easy Simulink models: #####Simplified Code##### #include "Model.h" Model_HGC_initialize(1); MdlInitializeSizes(); MdlStart(); while ((double)*Model_M->Timing.t<Model_M->Timing.tFinal) { MdlOutputs(1); MdlUpdate(1); } Model_terminate(); #####END##### The results I get from this simulation are fine (I compared Matlab a...

applet for database application
How is this done, is this a bad idea? I am trying to develop web application that has good graphical interface. I would like to do this using java instead of all other complicated web stuff, I would like to run server vai tomcat? "andy" <andy@none.com> wrote in message news:9DsRd.30410$4I5.1303190@news20.bellglobal.com... > How is this done, is this a bad idea? > I am trying to develop web application that has good graphical interface. > I would like to do this using java instead of all other complicated web > stuff, > I would like to run server vai tomcat?...

Java applets and access to other "clients"!
Hi, I hope someone here can help me :) I wish to make a java-applet that can communicate with another client which have downloaded the same applet. The java security in default makes this impossible, the applets can only send data to the server they where downloaded from. I have heard that the applets have more access if they are downloaded from a https, or the applet can ask the computer to get more access, but I have not suceeded to do this. Regards Rune J.A "Rune Andresen" <runejoha@stud.ntnu.no> wrote in message news:biark6$80t$1@tyfon.itea.ntnu.no... > Hi, I ho...

missing close-brace error
Hi all, I have a Tcl/Tk GUI script running on Ubuntu 5.04 Linux platform. it's Tcl version: 8.4.7 Expect version: 5.42.1. The script has been running & functinal for quite a long time. Recently there was a weird error when I started the script from command line, the error would be like this: Missing Close-brace error while executing (file ./test.tcl line 261) But the error it compained is nothing do with missing close-brace.(I have run some syntax checker to check my scripts and there was no mis-match close brace in both codes and comments). And the same script runs ok on the sa...

Uninstall error #2
I've been having some issues with java errors popping up when I start Matlab or use the interface, but a java error that came up when I tried to uninstall is the biggest problem. It says "Bummer: Uninstaller error" at the top and "Exeption in main" in the body of the error (note bad spelling). I need to get this version of Matlab off my computer! Is there a way to get around this or even do it manually (I am willing to touch the registry here). Specs: Matlab v 14 SP3 Win7, 32 bit Most recent JRE. "Noah " <mlabny@jhu.edu> wrote in message news:hmch2k$...

get processs name; error: dereferencing pointer to incomplete type
line 7: error: dereferencing pointer to incomplete type 1. #include<stdio.h> 2. #include<sys/stat.h> 3. #include<stdlib.h> 4. void execname() { 5. struct task_struct *my; 6. my = find_task_by_id(getpid()); 7. printf("%s",my->comm); error: dereferencing pointer to incomplete type 8. 9. } 10. int main() 11. { 12. execname(); 13. } what's wrong with it On Jun 7, 12:03 am, Pritam <chh...@gmail.com> wrote: > line 7: error: dereferencing pointer to incomplete type > > 1. #include<stdio.h> > 2. #include<sys/stat.h> > 3. #include...

multichat java applet code
Hello dear members of the comp.lang.java.programmer newsgroup. Please can anyone show me a good tutorial site explaining a multichat java applet code ? Many Thanks. Octavio On Oct 16, 4:24 am, octavio.ei...@gmail.com wrote: > Hello dear members of the comp.lang.java.programmer newsgroup. Please > can anyone show me a good tutorial site explaining a multichat java > applet code ? Try separating the problem into smaller parts, to start with. 'Applets' for example would require a good tutorial site of their own, if you have any hope of running them on the (world wide) web. ...

Software to convert java applet to non-applet code
Is there a software that could convert java applet code to a code that runs without applets? TIA. -- main(){char s[37]="CSbwjAjocpy/mw!PS!sbwjAeftqbnnfe/dpn"; int i;for(i=0;i<36;putchar(s[i++]-1));return 0;} Ravi <ravi@despammed.com> writes: > Is there a software that could convert java applet code to a > code that runs without applets? Create a main() method that creates a Frame with the Applet inside, and set an AppletStub to some implementation you define. ...

error when Decrypting rfkit
when run system-level config,the flowing messages appears: --------------- Are your selections correct? [y/n] y Decrypting the software ERROR: can't determine installation root. can't create rooted path to arg0 "cds_root" using current working directory or $PATH: /bin:/usr/bin:/usr/ucb:/usr/bin/X11 ERROR: can't determine installation root. can't create rooted path to arg0 "cds_root" using current working directory or $PATH: /bin:/usr/bin:/usr/ucb:/usr/bin/X11 ERROR: can't determine installation root. can't create r...

runtime error on matlab
Hey everybody I've been having trouble running a mex file I've created. It causes matlab to have a runtime error, after the process is completed and I do something else such as load a file. The mex file is a C program I augmented and it has two library files with precompiled code. I'm using matlab V7 and on windows, my compiler is microsoft visual studio v7, but I'm using it only because matlabs's compiler won't link it. I've checked for memory leaks and it seems to be clean does any one have any suggestions. ...

imwrite cmyk tif bitmap file error
I've written a small script to output a cmyk bitmap file but when I read the file back in it does not match the array written out. Using Matlab r2009a. Gimp does not open the file. Photoshop V7 does, and its the same as the corrupted imread. % Define a cmyk bitmap pattern on a 32 x 32 grid. pattern = logical( zeros([32,32,4])); pattern(1,1,1) = true; pattern(4,4,2) = true; pattern(8,8,3) = true; pattern(12,12,4) = true; % 'Compression', 'lzw' imwrite(pattern, 'pattern.tif', 'tiff', 'Compression', 'none', 'Resolution',...

DLM error
Hello any DLM experts, Does anybody know what the following error means? % Internal error: IDL_KWFree() bad nesting. I'm obviously doing something wrong in handling keywords, but what should I be looking for? I don't explicitly call IDL_KWFree().. Thanks Brad I cannot recall seeing that particular message... can you post a small example of your C code that shows what you are doing? You can take a look at the mechanisms I use for passing keywords in some of my DLMs at: http://brutus.uwaterloo.ca/~skelton/idlcode.php Cheers, Randall Brad, if your DLM routine has keywords, yo...

Re: error while importing file in sas #2
You can open your Excel file (*.xls) using my Notebook (http://sas2themax.com/beta), and save it directly as a SAS dataset (*.sas7bdat), without the hassles of a DATA Step raw coding, or Wizard-based importing. If there are unsually wide columns of character variables, make sure you set the format length length correctly before saving to avoid column values being truncated. Notebook doesn't throw an error if there are no records in the first 5 rows. It can open multi-sheet Excel 97-2003 workbooks. As for Excel 2007, support is forthcoming. Regards, Audi http://sas2themax.com ----- Orig...

ERROR VOUCH32 WORD
When I try to use Vouch32 Word (version 3.5 September 2003), I have same error that Peter wrote at the end last year (detail below).I don�t know if there is any solution. Regard from M�laga (Spain) Alvaro - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - I get the error below: Can someone help me with this? Thanks, Peter M. Hill error************************************ SYSTEM ------ Error date:28/06/2003 time:19:20:34 Application: H:\VOUCHSRV.EXE What32.Lib ver.0.g, 21/08/2002 ERROR INFORMATION ----------------- Arguments { TOLEAUTO Object, OPEN, Dump2V32.DOC, NIL, NIL,...

getting stuff out of an applet?
I'm an utter newbie to java, but I'm curious where to look for information on more or less "scraping" applets. I found a site that says applet output goes to "system console" on OSX, but since I'm on Linux that's not real helpful. I'm perfectly willing to read up on this instead of bothering you; does anyone know where to start looking? Depends on the browser you are viewing the applet in, not the OS. In Mozilla, just use the menu. Tools -> Web Development -> Java Console I also use linux. If you use the "Applet viewer" you...

Allocation Memory Error
How to resolve this problem? I have 3Gb free diskspace and processor 1200MHz. Its a Matlab fault? I think you need to tell us a little bit more. What release do you use, when does this happen (code to reproduce the problem) and so on. Michael ...

Applet to Applet Communication
I have an app and the latest running on an NT4 box, and the latest microsoft security patch has broken the applets. Applet A opens an new browser window which contains Applet B. Applet B can no longer get information from applet A. Any ideas on how to get these 2 applets to communicate with each other, in different browser windows? This is running in Netscape 4.7. Has anyone else had this problem> Thanks! Gene ...

Precompilation error
Hi.. I am trying to compile a set of code using aCC 3.52(HP-UX 11.00) and visibroker 3.3. I am running into following error. I appreciate any ideas that can help me resolve this error. Error 328: "/usr/local/vbroker/include/ir_c.hh", line 6795 # Function '>>' has not been defined yet; cannot call. _strm >> *_obj; ^^^^^^^^^^ Error 328: "/usr/local/vbroker/include/ir_c.hh", line 7365 # Function '>>' has not been defined yet; cannot call. _strm >> *_obj; ^^^^^^^^^^ Error 328: "...

expr: syntax error
Can someone please help explain to me why I keep getting this error when I run this simple script? #!/usr/bin/bash # # set Oracle vars ORACLE_HOME=/u01/app/oracle/product/10.2.0.1 ORACLE_SID=webprod export ORACLE_HOME ORACLE_SID PATH=$PATH:$ORACLE_HOME/bin:/usr/bin: LOGDIR=/u01/dbadmin/log LOGFILE1=$LOGDIR/prd_log_check.lst LOGFILE2=$LOGDIR/stby_log_check.lst export LOGDIR PATH LOGFILE1 LOGFILE2 sqlplus -s /nolog <<EOF whenever sqlerror exit 1; whenever oserror exit 1; set timing off set termout off set linesize 120 set feedback off set verify off set heading off connect / as sysdba sp...

pyc runtime error
Can anyone explain this unexpected behavior? all files chmod 755, i've compiled x.py with py_compilefiles, also tried within python console with "import x" system: centos 5.4 32bit This a PATH related problem i think? [root@centos-14 cgi-bin]# ./x.pyc : command not found ../x.pyc: line 2: syntax error near unexpected token `)' ../x.pyc: line 2: `=EF=BF=BD=EF=BF=BD)Lc=01@s=1FdGHd=01GHd=02kZei=01GHd=02S(= =03s=18Content-Type:text/ html' [root@centos-14 cgi-bin]# python x.pyc Content-Type:text/html python 2.4.3 (#1, Sep 3 2009, 15:37:12) [GCC 4.1.2 20080704 (Red Ha...

Release: Appleteer
Appleteer - applet test tool is released for public use. "Never fear, Appleteer is here!" <http://pscode.org/appleteer/> Appleteer is an applet test tool that has a couple of nice extras over Sun's own AppletViewer, including in built logging, easy access to the output and log, and support for multiple applets. It can be run as an application, webstart application, or (very soon) an applet. Hope it is of some use to those debugging applets, as well as anyone attempting to assist in such endeavors. Bug reports and RFEs welcome. Note: Cross-posted to comp.lang.java.hel...

x86 Linux bind9 -futex take much sys CPU time and cause errors
Hi list, I use one x86 4 cpu machine and Linux for bind9 testing. In a bind9 performance testing I monitored one of named threads with oprofile and strace for a while, and got below message: CPU: P4 / Xeon with 2 hyper-threads, speed 2995.29 MHz (estimated) Counted GLOBAL_POWER_EVENTS events (time during which processor is not stopped) with a unit mask of 0x01 (mandatory) count 100000 samples % app name symbol name 6228485 39.6674 libdns.so.16.0.0 (no symbols) 2569301 16.3631 tg3 (no symbols) 1851630 11.7925 libisc.so.7...

What kind of error is this!
I have writen program similar to one given here. it shows no error in the editor but when i run the program it shows error, unable to understand why this error comes and how to clear it. let X1=1:0.1:6 Y1=-5:0.1:5 for i=1:length(X1) for I=2:length(X1) for j=1:length(Y1) for k=1:length(x) rp1(k)=(sqrt((X1(i)-x(k))^2+Y1(j)^2)); rp2(k)=(sqrt((X1(I)-x(k))^2+Y1(j)^2)); teta1=sin(X1\rp1); rn1(k)=(sqrt((X1(i)-x(k))^2+(Y1(j)-H)^2)); rn2(k)=(sqrt((X1(I)-x(k))^2+Y1(j)^2)); ...