PaulB
I'm trying to connect to the Comm. Server over the TCP/IP network. The
applet/application is not residing on the same machine that the Comm.
Server is installed on.
If anyone knows how to get those HACL examples to work with Comm. Server or
Host on Demand, pls help me.
Fredrik Omland
Please see the post in response to Paul.
Fredrik Omland wrote:
>
> Same problem here, though I'm trying to access a 3270 host from a java
> applet and application using HACL through a TN3270 running on a
> Communication Server 6.0. I'm trying to get the example that comes with the
> documentation to work, but get the message:
> "Unsupported Converter : 037"
--
Andrew Spyker
Software Engineer (IBM Host On-Demand)
spy...@us.ibm.com
This looks like more of a security problem. Are you writing an applet
or application? What archives from HOD are you using? If you are
writing an applet, have you taken the appropriate measures to sign the
archive from HOD? The message you are seeing is basically harmless and
I would guess it is not the cause of your problem.
Paul Ballard wrote:
>
> I am using the Host Access Client Library for Java and attempting to
> start a 5250 session. I get a message in the log that says "Unsuppored
> Converter: 037" but it doesn't throw any exceptions. Just can't get a
> connection and PS. Any ideas here?
>
> PaulB
--
I am using the ECL101.JAR archive. I'm not aware of any security issues for
connecting to our AS/400. I also have no idea what your a saying about
"signing the archive". I don't have any docs, just a problem and deadline!!
Welcome to modern development I guess...
Paul
Please cut and paste your ENTIRE Java Console output to this forum. Since
your're running from the command line, you may need to expand the number of
lines in your DOS window or pipe the output to a file.
Thanks,
Brad Marchesseault
IBM Host ON-Demand
We are curious -- are you trying to get an emulator window? If so, this is
not possible with HACL. HACL is just a way to get communications with a
host and send/receive data with that host. You have to write your own GUI
interface (emulator window).
If you are trying to get an emulator window, Host On-Demand version 3.0 has
a terminal java been that will allow you to easily create a terminal in a
frame. See the samples in the HOD 3.0 toolkit for more info.
Also, the Netscape HOD code is version 1.0 and does not have HACL
capabilities.
Brad Marchesseault
IBM Host On-Demand
________
Frame1.class successfully loaded
IBM eNetwork Host Access Class Library, Version 1.0.1
Copyright IBM Corporation 1997. All rights reserved.
Unsupported Converter : 037
_______
I have been trying to talk to our network amins about the setup of the
communication software. I was wondering. Does the IBM Host On Demand client
that is shipped as part of Netscape use the same technology as the HACL? I can
get an emulator window with the Netscape client, but can't get anything with
the HACL. Also, is there source code for that client I could look at to see if
I'm doing something wrong?
Paul
Paul
Brad Marchesseault wrote:
> Paul,
>
Your best bet is to use a newer version of the HACL jar file (post HOD 2.0)
or even the bean jar files such as hod30beans.jar or hod30beansNLV.jar
shipped with HOD 3.0. In the meantime, can you give me the time/date of the
ECL101.jar? Also, open the jar file and tell me the date of ECLPS.class.
Thanks,
First - running under NS 4.5, the 5250 applet will occasionally come up
with ????? in place of the text. Here's the console after a good run, i.e.
real text:
--------------------------
Netscape Communications Corporation -- Java 1.1.5
Type '?' for options.
Symantec Java! ByteCode Compiler Version 210.065
Copyright (C) 1996-97 Symantec Corporation
IBM eNetwork Host On-Demand, Version 3.0
Build Date: Wed Aug 19 17:54:59 1998
Copyright IBM Corporation 1997, 1998. All rights reserved.
can't find resource for sun.awt.windows.awtLocalization_en_US
Using default MenuItem font
IBM eNetwork Host Access Class Library, Version 2.0
Copyright IBM Corporation 1997, 1998. All rights reserved.
---------------------------------------------------------------------
Naturally, I can't get it to fail just now to give you that sample.
(Grrrr!) As soon as it does, I will send you one.
Second, running as an application under JDK1.1.7B, the following dump is
from my class:
-------------------
IBM eNetwork Host Access Class Library, Version 2.0
Copyright IBM Corporation 1997, 1998. All rights reserved.
Unsupported Converter : 037
Converter3252.fakeConstructor : no matched Converter!!
Message String - KEY_KEYPAD1: Not Found
Message String - KEY_KEYPAD2: Not Found
Message String - KEY_EREOF: Not Found
... etc. ( this is an unrelated problem, I think)
Message String - KEY_NEXT_PAD: Not Found
Starting communications to myhost...
Unsupported Converter : 037
Converter3252.fakeConstructor : no matched Converter!!
-------------------
This produces a window with an emulator in it, but in place of all the
text. The code was lifted from HOD itself and modified:
-----------------
Properties p = new Properties();
p.put(ECLSession.SESSION_HOST, host );
p.put(ECLSession.SESSION_HOST_PORT, "023" );
p.put(Session.SESSION_TYPE, ECLSession.SESSION_TYPE_5250_STR);
p.put(Session.CODE_PAGE, ECLSession.SESSION_CODE_PAGE_DEFAULT);
p.put(KeyPad.SHAPE, KeyPad.S2X11);
setBackground(Color.gray);
myTerm = new Terminal(p); // Build a Terminal bean
myPad = new KeyPad(p); // Build a KeyPad bean
myPad.addSendKeyListener(myTerm);
myTerm.addPropertyChangeListener(myPad);
add("Center", myTerm);
add("South", myPad);
System.out.println("Starting communications to myhost...");
myTerm.setHost(host);
myTerm.startCommunication();
validate();
show( );
--------------
I have a similar problem when running HostLaunchPad from the HACL samples:
-----------------------
E:\HOD\lib\toolkit\hacl\samples\launchpad>java HostLaunchPad
Properties: {SESSION_HOST=209.104.143.142, SESSION_HOST_PORT=23}
IBM eNetwork Host Access Class Library, Version 2.0
Copyright IBM Corporation 1997, 1998. All rights reserved.
Unsupported Converter : 037
Converter3252.fakeConstructor : no matched Converter!!
^C
E:\HOD\lib\toolkit\hacl\samples\launchpad>
----------------------------
In this case, the window does not come up, I think because the code has not
been converted properly from 3270 to 5250. In any event, you can see the
error. Contrary to what you have said in other replies, I don't believe
that this is benign. I think it can't always find it's codepage converter
and sometimes substitutes ?????????. What do you think?
Here is my class path:
E:\JAVA\HACL>set classpath
CLASSPATH=.\;d:\sqllib\java\db2java.zip;d:\jdk1.1.7b\lib\;d:\jdk1.1.7b\commapi\comm.jar;e:\hod\lib\hod30dbg.jar;e:\DriverAgent\JavaAgent\;
I made two changes that fixed this problem. The first was, in my code, I added some imports. I foolishly thought that, since I didn't use
these classes, I didn't need to import them. ................ wrong!
import com.ibm.eNetwork.ECL.*;
import com.ibm.eNetwork.Hod.*;
import com.ibm.eNetwork.*;
The second change was complementary -- added e:\hod\lib\ to the CLASSPATH so the compiler would find the imports just specified. Now things
work. HOD finds all its messages and it's converters and suchlike.
Why HOD, when run as an applet occasionally doesn't find it's converters is another problem, although the CLASSPATH might fix that too. I
will provide documentation on that when and if I can replicate it.
Kenneth J Hawley wrote:
> I have this problem also [ not finding code page converters] and it manifests itself in two ways.
>
> [ ... snipped some stuff that I now know to be irrelevant ... ]
>
> Here is my class path [ this is where the problem is ]:
Regarding my files:
ECL101.JAR 11/17/97 376KB
ECLPS.CLASS 11/17/97 37KB
That is prety old. As usual, a quick reply would be appreciated.
Thanks,
Paul B
If you want to upgrade to HOD 3.0, I should be able to get you in touch with
the right people to make it happen.
Brad Marchesseault
IBM Host On-Demand
P.S. Sorry for the delay, I've been out sick.
I tried to contact sales but they only think in per-cpu product licenses. Can I
just get the HACL product as a library/jar file to integrate into my
application? I don't need a gateway and a per-machine fee is cost prohibitive.
Also, I notice that support seems rather vague on this newsgroup; are the ibm
people on the newsgroup volunteers/users or do they have dirct access to the
real developers of HOD?
Can anyone please advise or refer me to the appropriate resource?
Thanks in advance --
David Coyle, Sr Sw Engr, Newbridge Networks, Inc.
(please cc dlc...@newbridge.com)
Brad Marchesseault wrote:
> The reason WaitForScreen does not exist, is because the ECL101.JAR is an
> OOOOLD jar file (relatively speaking, in web years of course). The screen
> recognition calls came along in HOD 3.0. I think the ECL101.jar is an early
> HOD 2.0 jar file released to the CommServer group, and thus shipped with
> CommServer. There should be javadoc documentation that came with
> CommServer, but I'm not sure.
>
> Your best bet is to use a newer version of the HACL jar file (post HOD 2.0)
> or even the bean jar files such as hod30beans.jar or hod30beansNLV.jar
> shipped with HOD 3.0. In the meantime, can you give me the time/date of the
> ECL101.jar? Also, open the jar file and tell me the date of ECLPS.class.
>
> Thanks,