(sorry for double-post)

Hi

I tried to use the terminal as an applet in IE6 in XP SP2 using JRE/JDK 5.0,
without success at first. I built from the latest version in the CVS. I
didn't sign it.  I looked at the default .java.policy shown at
http://tn5250j.sourceforge.net/java.policy and it seems that the accorded
rights are not sufficients.

I first added my host, which is normal, and I got an error that it couldn't
read the .java.policy property. So I first added those so the black screen
could come up:
permission java.util.PropertyPermission ".java.policy","read";
permission java.util.PropertyPermission "mrj.version","read";

But even after, I couldn't connect to my host because of a SessionGUI
constructor exception with (again) some properties. But this time the
exception handler didn't give me enough information to know which property
to give rights so I added this line to my .java.policy file (with the help
of a coworker that knows java :) :
permission java.util.PropertyPermission "*","read,write";

and it works now. But it would be better to have the exact list of needed
properties and update the template java.policy on your web site accordingly.

And by the way, it would be nice if the terminal would be able to redraw
itself and have access to the context menu during connection. But that
mostly only affects when the host is not responding.

Marc-Antoine Ruel 





-------------------------------------------------------
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
_______________________________________________
Tn5250j-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tn5250j-general

Reply via email to