Date: Thu, 13 Sep 2007 09:16:53 -0400
Reply-To: CICS List <CICS-L@LISTSERV.UGA.EDU>
Sender: CICS List <CICS-L@LISTSERV.UGA.EDU>
From: "Barkow, Eileen" <EBarkow@DOITT.NYC.GOV>
Subject: Re: Fun with JCICS Samples
In-Reply-To: <F255EFE0ECF08C4A9C1DB6AFF4235417D8E320@ch2wpmail1.na.ds.ussco.com>
Content-Type: multipart/alternative;
JHE2 should be the same in cics 3.2 as in 3.1 (hopefully).
Your CLASSPATH in the pofile DFHJVMPR has to point to the directory
right before the examples directory referenced in JVMCLASS.
I have to check if they actually supplied the HelloCICSWorld class or
if you have to compile it yourself so check if the class is actually in
the examples directory.
________________________________
From: CICS List [mailto:CICS-L@LISTSERV.UGA.EDU] On Behalf Of Chase,
John
Sent: Thursday, September 13, 2007 9:01 AM
To: CICS-L@LISTSERV.UGA.EDU
Subject: Fun with JCICS Samples
Hi, All,
Has anybody gotten the IBM-supplied JCICS samples to work "as delivered"
in CICS TS 3.2? So far, all I can get is abend AJ07 in JHE2, with the
following in the dfhjvmerr log:
********************************* Top of Data ************************
java.lang.ClassNotFoundException: examples.HelloWorld.HelloCICSWorld
.at java.net.URLClassLoader.findClass(URLClassLoader.java:376)
.at java.lang.ClassLoader.loadClass(ClassLoader.java:570)
.at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:442)
.at java.lang.ClassLoader.loadClass(ClassLoader.java:502)
.at com.ibm.cics.server.Wrapper.callUserClass(Wrapper.java:704)
.at com.ibm.cics.server.Wrapper.main(Wrapper.java:1200)
.at com.ibm.cics.server.Wrapper.WrapperEntry(Wrapper.java:972)
Exception in thread "DFJ$JHE2.TASK63.JHE2" java.lang.Exception: AJ07
.at com.ibm.cics.server.Wrapper.SetAbend(Native Method)
.at com.ibm.cics.server.Wrapper.callUserClass(Wrapper.java:815)
.at com.ibm.cics.server.Wrapper.main(Wrapper.java:1200)
.at com.ibm.cics.server.Wrapper.WrapperEntry(Wrapper.java:972)
******************************** Bottom of Data **********************
I'm using the IBM-supplied resource definitions in group DFH$JVM:
OBJECT CHARACTERISTICS
CEDA View TRANSaction( JHE2 )
TRANSaction : JHE2
Group : DFH$JVM
PROGram : DFJ$JHE2
[ remainder omitted]
OBJECT CHARACTERISTICS
CEDA View PROGram( DFJ$JHE2 )
PROGram : DFJ$JHE2
Group : DFH$JVM
. . .
JVM ATTRIBUTES
JVM : Yes No | Yes
JVMClass : examples.HelloWorld.HelloCICSWorld
(Mixed Case) :
:
:
:
JVMProfile : DFHJVMPR
JAVA PROGRAM OBJECT ATTRIBUTES
Hotpool : No No | Yes
Also the unmodified DFHJVMPR in the default location
/usr/lpp/cicsts/cicsts32/JVMProfiles, which is where the default DFHSIT
says it is:
JVMPROFILEDIR /usr/lpp/cicsts/cicsts32/JVMProfiles <== from TMON/CICS
"Obviously", something's not right..... Ideas, anyone?
TIA,
-jc-
[text/html]