Skip to Content.
Sympa Menu

ndt-users - Re: java.lang.SecurityException: Permission denied

Subject: ndt-users list created

List archive

Re: java.lang.SecurityException: Permission denied


Chronological Thread 
  • From: Jason Zurawski <>
  • To:
  • Cc:
  • Subject: Re: java.lang.SecurityException: Permission denied
  • Date: Sat, 05 Mar 2011 09:45:31 -0500
  • Organization: Internet2

Matt;

On 3/5/11 9:03 AM,

wrote:
Hi Jason,
# jar -vtf /var/www/pms/Tcpbw100.jar
0 Wed Feb 16 19:50:54 CST 2011 META-INF/
75 Wed Feb 16 19:50:54 CST 2011 META-INF/MANIFEST.MF
611 Wed Feb 16 19:50:54 CST 2011 Tcpbw100$1.class
462 Wed Feb 16 19:50:54 CST 2011 Tcpbw100$2.class
462 Wed Feb 16 19:50:54 CST 2011 Tcpbw100$3.class
603 Wed Feb 16 19:50:54 CST 2011 Tcpbw100$4.class
509 Wed Feb 16 19:50:54 CST 2011 Tcpbw100$5.class
45395 Wed Feb 16 19:50:54 CST 2011 Tcpbw100.class
585 Wed Feb 16 19:50:54 CST 2011 Tcpbw100$clsFrame$1.class
505 Wed Feb 16 19:50:54 CST 2011 Tcpbw100$clsFrame.class
371 Wed Feb 16 19:50:54 CST 2011 Tcpbw100$Message.class
1311 Wed Feb 16 19:50:54 CST 2011 Tcpbw100$MyTextPane.class
2110 Wed Feb 16 19:50:54 CST 2011 Tcpbw100$OsfwWorker.class
1549 Wed Feb 16 19:50:54 CST 2011 Tcpbw100$Protocol.class
876 Wed Feb 16 19:50:54 CST 2011 Tcpbw100$StatusPanel$1.class
2289 Wed Feb 16 19:50:54 CST 2011 Tcpbw100$StatusPanel.class
3620 Wed Feb 16 19:50:54 CST 2011 Tcpbw100$TestWorker.class
I think the content is the same as yours ,
I am using IE8 with oracle java (build 1.6.0_24-b07) ,


Try disabling this and using the Java provided by IE instead. If this doesn't work I would suggest using a debugging tool to get more information.

Have you modified the original Java source in some way?

-jason


Add this as follows to my page:
<applet name="NDT" code=Tcpbw100.class ARCHIVE="Tcpbw100.jar" width=580
height=300>
<PARAM NAME="testingServer" VALUE="myserver_IP">
</applet>

Any hint ?

Thanks and best regards,
Matt

-----Original Message-----
From: Jason Zurawski
[mailto:]
Sent: Saturday, March 05, 2011 9:09 PM
To:

Cc:

Subject: Re: java.lang.SecurityException: Permission denied

Matt;

The Class files are located in the jar itself, you won't need to put
them in the same directory:

[zurawski@psndt2
ndt]$ jar -vtf Tcpbw100.jar
0 Wed Aug 11 16:41:34 EDT 2010 META-INF/
75 Wed Aug 11 16:41:34 EDT 2010 META-INF/MANIFEST.MF
611 Wed Aug 11 16:41:32 EDT 2010 Tcpbw100$1.class
462 Wed Aug 11 16:41:32 EDT 2010 Tcpbw100$2.class
462 Wed Aug 11 16:41:32 EDT 2010 Tcpbw100$3.class
603 Wed Aug 11 16:41:32 EDT 2010 Tcpbw100$4.class
509 Wed Aug 11 16:41:32 EDT 2010 Tcpbw100$5.class
371 Wed Aug 11 16:41:32 EDT 2010 Tcpbw100$Message.class
1311 Wed Aug 11 16:41:32 EDT 2010 Tcpbw100$MyTextPane.class
2110 Wed Aug 11 16:41:32 EDT 2010 Tcpbw100$OsfwWorker.class
1549 Wed Aug 11 16:41:32 EDT 2010 Tcpbw100$Protocol.class
876 Wed Aug 11 16:41:32 EDT 2010 Tcpbw100$StatusPanel$1.class
2289 Wed Aug 11 16:41:32 EDT 2010 Tcpbw100$StatusPanel.class
3620 Wed Aug 11 16:41:32 EDT 2010 Tcpbw100$TestWorker.class
585 Wed Aug 11 16:41:32 EDT 2010 Tcpbw100$clsFrame$1.class
505 Wed Aug 11 16:41:32 EDT 2010 Tcpbw100$clsFrame.class
44997 Wed Aug 11 16:41:34 EDT 2010 Tcpbw100.class

If you do the same to your classfile, do you see similar contents?

Which version of Java are you using for IE, is it Sun/Oracle Java or is
it the version that came with IE?

What is the entire contents of your<applet> tag in the html file? Does
it look like this:

<applet code=Tcpbw100.class ARCHIVE="Tcpbw100.jar"
width=700 height=320>
</applet>

Or are you using something else?

Thanks;

-jason



Archive powered by MHonArc 2.6.16.

Top of Page