aspose file tools*
The moose likes Applets and the fly likes java.policy for signed applets Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Applets
Bookmark "java.policy for signed applets" Watch "java.policy for signed applets" New topic
Author

java.policy for signed applets

f jimenez
Ranch Hand

Joined: Mar 14, 2007
Posts: 30
i have a server where my applets reside.

machines connected by lan can access the signed applet on my server.
now this applet connects back to the server to get data but some machines cant connect back to the server..

a friend of mine have mentioned java.policy. and im wondering what it could do. i researched on this but it was stated that it was on permision stuff. but i have no idea if this is the way to do this.

can somebody explain what java.policy is?

thanks a lot.


if you can't be the sun, be a star...<br />もし たいように なれないたら ほしに なれ。
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42935
    
  68
You can find a few links to introductory articles about policies on the HowCanAnAppletReadFilesOnTheLocalFileSystem FAQ page.

It would be a little unusual to set some machines up so that applets can make network connections, but not others, but it's certainly possible.

As a first step to figure out what the problem is, are there any (error) messages in the Java Console?
f jimenez
Ranch Hand

Joined: Mar 14, 2007
Posts: 30
this is really a problem...

ive been asking my client what the problem is...

it was somehow deployed in their system now for their verification and all they replied is that some cant connect...

i still dont know what the error is..

i thought all this will be solved if i signed my applet? so there are really certain instances that this will happen?
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42935
    
  68
i still dont know what the error is..

Have them check the Java Console.

It might be worthwhile to research how a signed applet interacts with a restrictive local policy. It's possible that the policy takes precedence.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: java.policy for signed applets