Jean-Eric JEG <[EMAIL PROTECTED]>



Hi,

I'm trying to setup the session file.

1) it's OK when I try on my pc (client)

java -jar tn5250j.jar -s my00107

one  5250 session is openned on as400 "my00107"

in my applet, with keyword "host" and ip adress it works fine


2)  some problem with session file (when  applet is stored on as400) , it doesn't work

=> window is grey and in "console java" :

java.lang.NullPointerException
at java.util.Hashtable.put(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)


below my session file and my source applet


Thanks for your help

Eric

___________________________________________________________________________
sessions     file



#------ Session Information --------
#Wed Jul 27 12:24:11 CEST 2005
emul.frame0=0,0,1024,768
emul.logLevel=1
emul.default=my00101
emul.width=1024
emul.height=768
emul.restricted=
my00107=142.XXX.YY.30 -f my00107 -e




__________________________________________________________________________

CODEBASE = "" CODE = "org.tn5250j.My5250App.class" NAME = "tn5250 - Java tn5250 Client " WIDTH = 985 HEIGHT = 540 HSPACE = 0 VSPACE = 0 ALIGN = top ARCHIVE = stn5250j.jar
   
<PARAM NAME ="-s" VALUE="my00107" />

</APPLET>
</BODY>
</HTML>

Reply via email to