I uploaded your jar file and having the same results. No .tn5250j folder in
my Documents and Settings. I'm going to try installing it on my local
machine.

We have an http server instance setup on the i. In that directory, I have a
tn5250j.jar archive, index.html, and style.css file. On our network, I just
go to http://172.20.1.24/ and the index.html file displays the applet.
Works great, just wish the settings would stick. We'd like to roll this out
to our users, but we know they'll complain about the settings.

I'll see if there's any difference in installing locally or on a PC running
IIS. We'd like to just email everyone and give them the web address, rather
than going to each PC and installing it, but we'll see how the above tests
go.

Thanks,

Frank


-----Original Message-----
From: java400-l-bounces@xxxxxxxxxxxx [mailto:java400-l-bounces@xxxxxxxxxxxx]
On Behalf Of Pete Helgren
Sent: Thursday, February 26, 2009 5:45 PM
To: Java Programming on and around the iSeries / AS400
Subject: Re: tn5250j in browser - save display settings

Attachments are munched by the mail software so it wouldn't have made it
through as an attachment, but is probably not needed. I was more
interested in the location of the file(s). Outside of a couple of small
differences in your setup and mine, they are pretty much the same.

My tn5250j.jar was originally installed using the installer jar but
since then I have had some project updates that I have added to the jar
that I have done myself or incorporated into the jar from other
contributors on the tn5250j list. The jar I am currently running can be
found here:

http://www.petesworkshop.com/downloads/tn5250j.jar

I can't say I have run the tn5250j from a folder on the ifs before. The
tn5250j installer puts them in the Program Files/tn5250j folder it
created. Do you see the props file in the .tn5250j folder under your
user ID in Documents and settings? Maybe there is a permissions issue
with the IFS location you are running it from.

You could try the new jar but it seems to me that the .java.policy is
having trouble enforcing the policy of the file in the user/documents
and settings folder. Or perhaps since the tn5250.jar file is on the i,
maybe there is an issue crossing the IFS boundary. How are you launching
the tn5250j.jar on the i?

Pete


Frank Kany wrote:
What OS are running tn5250j from? Windows XP

What version of tn5250j? 0.6.0

Did you find the .java.policy file in your user folder as expected or did
you add it? I added the .java.policy file to my user folder. It's
attached
to this email.

What version of JVM are you running? 1.5.0

Let me know if you need anything else.

Thanks,

Frank


-----Original Message-----
From: java400-l-bounces@xxxxxxxxxxxx
[mailto:java400-l-bounces@xxxxxxxxxxxx]
On Behalf Of Pete Helgren
Sent: Thursday, February 26, 2009 5:00 PM
To: Java Programming on and around the iSeries / AS400
Subject: Re: tn5250j in browser - save display settings

Frank,

What OS are running tn5250j from? What version of tn5250j? Did you find
the .java.policy file in your user folder as expected or did you add
it? What version of JVM are you running?

It has been a while since I configured tn5250j but it sounds like you
have things set up correctly. There are quite a few variables though,
tn5250j version and JVM version being a couple of them.

Pete


Frank Kany wrote:

Good afternoon,



TN5250J doesn't save the display settings(color, gui, key mappings,

etc...)

when exiting the browser.



I specified "read, write" as instructed below:



// change the following to "read,write" if you want the user to
be
able to save

permission java.io.FilePermission "TN5250JDefaults.props",
"read,write";



Does anyone know how to fix this?



Thank you,



Frank




As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.