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 08:08:53 -0500
  • Organization: Internet2

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

On 3/5/11 7:32 AM,

wrote:
Hi Jason,
But when I try other browser IE , it's shown the error msg :
java.lang.ClassNotFoundException: Tcpbw100.class

is that mean I don't have the class ?
but I have put Tcpbw100.class with Tcpbw100.jar in my site ,
why still have got the error ?


thanks and best regards
matt

-----Original Message-----
From:

[mailto:]
On Behalf Of Jason Zurawski
Sent: Friday, March 04, 2011 11:19 PM
To:

Cc:

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

Hi Matt;

Are you using Firefox 3.6.14? If so this is a known problem with Java
and Firefox:

http://forums.oracle.com/forums/thread.jspa?messageID=9411088

Thanks;

-jason

On 3/4/11 6:20 AM,

wrote:
Hello,

I want to building my own copy of the NDT Applet from source , I have
been completed these steps that

Instruct from internet2.

Then , copy the my own .jar file to my web server.

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>

But when I open the page that embedding the ndt applet , I got the error :

*java.lang.SecurityException: Permission denied:
http://**myserver_IP:7123/*

*at
sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown
Source)*

*at java.lang.Thread.run(Unknown Source)*

**

**

What's the meaning of what's happen??

Anyone can help ? Please give me a hand.

Thanks and best regards,

Matt



Archive powered by MHonArc 2.6.16.

Top of Page