Well...things are different now. :) I removed the .java.policy from one Windows machine, and now it's prompting me for a userid and password...I'm not sure if it wants a network or iSeries userid...doesn't seem to like either one. This one sits behind a proxy server.
I tried a different machine (removed the .java.policy) and get this: Parameter -e is specified as: access denied (java.util.PropertyPermission * read,write) java.lang.ExceptionInInitializerError at org.tn5250j.Screen5250.jbInit(Unknown Source) at org.tn5250j.Screen5250.<init>(Unknown Source) at org.tn5250j.Gui5250.jbInit(Unknown Source) at org.tn5250j.Gui5250.<init>(Unknown Source) at org.tn5250j.Session.<init>(Unknown Source) at org.tn5250j.SessionManager.openSession(Unknown Source) at org.tn5250j.My5250App.jbInit(Unknown Source) at org.tn5250j.My5250App.init(Unknown Source) at sun.applet.AppletPanel.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: java.security.AccessControlException: access denied (java.util.PropertyPermission mrj.version read) at java.security.AccessControlContext.checkPermission(Unknown Source) at java.security.AccessController.checkPermission(Unknown Source) at java.lang.SecurityManager.checkPermission(Unknown Source) at java.lang.SecurityManager.checkPropertyAccess(Unknown Source) at java.lang.System.getProperty(Unknown Source) at org.tn5250j.tools.system.OperatingSystem.<clinit>(Unknown Source) ... 10 more Which I think is telling me that it loaded the TN5250j.jnlp file but there's a problem with the permissions specified in the file. Both PCs are at JSE 1.4..2 or higher. Any ideas? Thanks... - Michael > -------- Original Message -------- > Subject: RE: [Tn5250j-general] Applet Deployment > From: [EMAIL PROTECTED] > Date: Tue, May 10, 2005 9:49 am > To: tn5250j-general@lists.sourceforge.net > > Yup. > > > > > > [EMAIL PROTECTED] > Sent by: [EMAIL PROTECTED] > 10/05/2005 15:44 > Please respond to > tn5250j-general@lists.sourceforge.net > > > To > tn5250j-general@lists.sourceforge.net > cc > > Subject > RE: [Tn5250j-general] Applet Deployment > > > > > > > Hi Wim - > > Well...hopefully Java is installed correctly...I'm not sure of the > client PCs since they were deployed without Java in mind. But, that's > fixable if there's a problem. > > The JNLP file you sent looks simple...thanks for sharing the file. The > base URL can be an http:// request rather than file://, correct? > > Thanks... > > - Michael > > > -------- Original Message -------- > > Subject: RE: [Tn5250j-general] Applet Deployment > > From: [EMAIL PROTECTED] > > Date: Tue, May 10, 2005 9:17 am > > To: tn5250j-general@lists.sourceforge.net > > > > Hello Michael, > > > > The emulator is a Java GUI application, which means you cannot launch it > > > as a servlet or as an HTML page. As you told me that you are already > > launching the emulator as an applet, I presume you have Java installed > > correctly on the target PCs as I think the applet will not run in a > > standard Windows JVM within the browser. So you need the java plugin in > > the browser. > > > > The actual web start deployment is thus very easy. Just write up an JNLP > > > file for the emulator. You can install this on your webserver so that > > everyone is able to launch the latest version of the emulator from your > > webserver by clicking a link to the JNLP file. I have a simple JNLP file > > > that is attached. Please change it for your needs: the codebase should > > point to the base URL where to find all jars, icons etc. > > > > HTH, > > Wim. > > > > > > > > > > > > > > [EMAIL PROTECTED] > > Sent by: [EMAIL PROTECTED] > > 10/05/2005 15:05 > > Please respond to > > tn5250j-general@lists.sourceforge.net > > > > > > To > > tn5250j-general@lists.sourceforge.net > > cc > > > > Subject > > RE: [Tn5250j-general] Applet Deployment > > > > > > > > > > > > > > Hi Wim - > > > > Thanks for the feedback. What are the alternatives to launching the > > emulator as an applet? Can I launch it as a servlet? > > > > I'll look into web start. > > > > Thanks... > > > > - Michael > > > > > -------- Original Message -------- > > > Subject: Re: [Tn5250j-general] Applet Deployment > > > From: [EMAIL PROTECTED] > > > Date: Tue, May 10, 2005 8:58 am > > > To: tn5250j-general@lists.sourceforge.net > > > > > > Hello Michael, > > > > > > If I'm correct there is no correct way to deploy a java policy file > when > > > > > deploying an applet. So the easiest way would be to sign your applet. > > You > > > can generate your own (test-)certificate for signing. Another > > possibility > > > would be to start your emulator with webstart. This allows for easier > > > policy file replacement or for unsecured deployment. Problem with > > applets > > > is that a refresh of the web page will relaunch your applet and thus > > kill > > > your 5250 session? > > > > > > HTH, > > > Wim Van Leuven. > > > > > > > > > > > > > > > [EMAIL PROTECTED] > > > Sent by: [EMAIL PROTECTED] > > > 10/05/2005 14:48 > > > Please respond to > > > tn5250j-general@lists.sourceforge.net > > > > > > > > > To > > > tn5250j-general@lists.sourceforge.net > > > cc > > > > > > Subject > > > [Tn5250j-general] Applet Deployment > > > > > > > > > > > > > > > > > > > > > Hi folks - > > > > > > Installed tn5250j yesterday and got it working as an applet. Very nice > > > code...thanks for putting it together. > > > > > > Question: Do I have this right? I either need to deploy a .java.policy > > > file to client PCs that want to access my iSeries, or I need to > > > digitally sign the applet. > > > > > > Any good methods of deploying the .java.policy file? > > > > > > Thanks... > > > > > > - Michael > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > This SF.Net email is sponsored by Oracle Space Sweepstakes > > > Want to be the first software developer in space? > > > Enter now for the Oracle Space Sweepstakes! > > > http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click > > > _______________________________________________ > > > Tn5250j-general mailing list > > > Tn5250j-general@lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/tn5250j-general > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by Oracle Space Sweepstakes > > Want to be the first software developer in space? > > Enter now for the Oracle Space Sweepstakes! > > http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click > > _______________________________________________ > > Tn5250j-general mailing list > > Tn5250j-general@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/tn5250j-general > > > > ------------------------------------------------------- > This SF.Net email is sponsored by Oracle Space Sweepstakes > Want to be the first software developer in space? > Enter now for the Oracle Space Sweepstakes! > http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click > _______________________________________________ > Tn5250j-general mailing list > Tn5250j-general@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/tn5250j-general ------------------------------------------------------- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click _______________________________________________ Tn5250j-general mailing list Tn5250j-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tn5250j-general