my dog learned polymorphism
The moose likes Applets and the fly likes Signed Applet retuns Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "Signed Applet retuns" Watch "Signed Applet retuns" New topic

Signed Applet retuns

Nitin Sinha

Joined: May 08, 2008
Posts: 17

I have an signed applet that tries to run ipconfig/all on user system to get the unique macAddress from the client machine

but each time I try to run it it throws the folling exception -

I tried to google the issue but it says that I need to set policy file in bb-manifest.xml. Where do i need to define this file & how would my applet gain refernce to policy from bb-manifest.xml
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10768

Looks like you might not have signed the jar properly. Does your signed jar have MYCERT entries under META-INF?

[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42959
I've never heard of a bb-manifest.xml file; I doubt that it will help in this case.

The code may need to be run as privileged code, though. See HowCanAnAppletReadFilesOnTheLocalFileSystem for more details.
I agree. Here's the link:
subject: Signed Applet retuns
It's not a secret anymore!