ndt-users - RE: java.lang.SecurityException: Permission denied
Subject: ndt-users list created
List archive
- From: <>
- To: <>
- Cc: <>
- Subject: RE: java.lang.SecurityException: Permission denied
- Date: Sat, 5 Mar 2011 22:03:38 +0800
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:references:in-reply-to:subject:date:message-id :mime-version:content-type:content-transfer-encoding:x-mailer :content-language:thread-index; b=on8VUX6gGSffoa7dG5q/CSngyYntGXP0UlsuTEy6qFt3sZC3GuB0jSmgjVPT1FBlwU RTzB6X9m25ylEcGPK0xWpE5ij2IcYbtPGTESG6Fbp0QuuVxEhz1hV3RawNOwsrtqoob/ Uab/NnBYQj1P1U9ApjJo6SaEL1Hn4E9K8WC5I=
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) ,
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
- java.lang.SecurityException: Permission denied, matt.crawfoord, 03/04/2011
- Re: java.lang.SecurityException: Permission denied, Jason Zurawski, 03/04/2011
- RE: java.lang.SecurityException: Permission denied, matt.crawfoord, 03/05/2011
- Re: java.lang.SecurityException: Permission denied, Jason Zurawski, 03/05/2011
- RE: java.lang.SecurityException: Permission denied, matt.crawfoord, 03/05/2011
- Re: java.lang.SecurityException: Permission denied, Jason Zurawski, 03/05/2011
- Re: java.lang.SecurityException: Permission denied, Seth Peery, 03/05/2011
- Re: java.lang.SecurityException: Permission denied, Tom Throckmorton, 03/05/2011
- Re: java.lang.SecurityException: Permission denied, Seth Peery, 03/05/2011
- Re: java.lang.SecurityException: Permission denied, Seth Peery, 03/05/2011
- Re: java.lang.SecurityException: Permission denied, Jason Zurawski, 03/05/2011
- RE: java.lang.SecurityException: Permission denied, matt.crawfoord, 03/05/2011
- Re: java.lang.SecurityException: Permission denied, Jason Zurawski, 03/05/2011
- RE: java.lang.SecurityException: Permission denied, matt.crawfoord, 03/05/2011
- Re: java.lang.SecurityException: Permission denied, Jason Zurawski, 03/04/2011
Archive powered by MHonArc 2.6.16.