juniper:addingtn5250japplet
Adding the tn5250j Java Applet to a Juniper SA for access to an IBM iSeries system
Download the latest non-jse6 version without includes from TN5250j. Tested with tn5250j.jar from tn5250j-0.6.3.zip on a Juniper SA 1000 with software version 6.0R3.1 build 12507.
- Go to Resource Profiles and click on Web.
- Click on New Profile…
- Select Hosted Java Applet as Type and click on Edit List below Choose Applet Resources.
- Click on New Applet…
- Click on Browse…
- Browse to and doubleclick on tn5250j.jar
- Fill in the name as tn5250j-0.6.3. Do not mark Uncompress jar/cab file. Click on OK.
- Click Close.
- Wait till the process finishes upload.
- Click on Close Window
- Back on the New Web Application Resource Profile screen fill in:
- Name: tn5250j-0.6.3
- Description: 5250 terminal emulator in Java.
- Applet to use: tn5250-0.6.3
- Place a checkmark at Autopolicy: Java Access Control
- Type in *.* for Resource and select Allow socket access for Action. Click on Add.
- Click on Save and Continue.
- Select the role(s) to which you want to add this web application resource profile on the left hand side and click on Add.
- Click on Save Changes.
- Click on New Bookmark…
- On the Bookmarks screen fill in:
- Name: bookmarkname
- Description: 5250 system
- Place a checkmark at Bookmark opens new window… and leave both Do not display the browser address bar and Do not display the browser toolbar options checked.
- Specify which user roles should get this bookmark by selecting Subset of selected Roles…, select the roles on the left hand side and click on Add.
- Copy and paste the following, originally taken from My5250App.html from tn5250j-0.6.3.zip, to the text field below the Generate HTML button:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <HTML> <HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"> <TITLE> tn5250j - iSeries system name </TITLE> </HEAD> <BODY> iSeries system name<BR> <APPLET codebase="<< CODEBASE >>" CODE = "org.tn5250j.My5250Applet.class" NAME = "tn5250 - Java tn5250 Client" WIDTH = "800" HEIGHT = "600" HSPACE = "0" VSPACE = "0" ALIGN = "top" ARCHIVE = "tn5250j.jar" > <PARAM NAME ="host" VALUE= "10.1.1.1" /> <PARAM NAME ="-e" VALUE= " " /> <PARAM NAME ="-132" VALUE= "." /> <PARAM NAME ="-cp" VALUE= "37" /> <PARAM NAME ="-L nl" /> </APPLET> </BODY> </HTML>
- Modify the above to reflect the correct hostname/ip-address/desired resolution/etc. Refer to the documentation for the supported parameters and add the ones you need, if any.
- Click on Save Changes.
- Done.
Repeat steps 15 to 19 to add additional bookmarks as needed.
Sources:
Juniper - Community Home:J-Net : Forums : SSL VPN : TN 5250 applet - pb using hosted java applet ...
Juniper Forums - Proper RDP applet - Full screen and ProperJavaRDP config (PDF)
Juniper - Community Home:J-Net : Forums : SSL VPN : Add VNC like we can with RDP
juniper/addingtn5250japplet.txt · Last modified: 2011/10/05 08:34 by bas