Amazing how things "jump out" right after a holler for help.
 
What I had was:
 
#CLASSPATH_SUFFIX=/usr/lpp/cicsts/cicsts32/samples/dfjcics
 
Note that I had simply forgotten to "un-comment" that line......  They work, now.
 
    -jc-


From: CICS List [mailto:CICS-L@LISTSERV.UGA.EDU] On Behalf Of Henry Fogwill
Sent: Thursday, September 13, 2007 8:13 AM
To: CICS-L@LISTSERV.UGA.EDU
Subject: Re: Fun with JCICS Samples

John,
What does you classpath in the profile for DFHJVMPR say?

It should contain a line something like this:
CLASSPATH=/usr/lpp/cicsts/cicsts32/samples/dfjcics

This is the structure for TS 3.1 and I just changed it to TS 3.2. If the path to the samples is different in TS 3.2 this will need to be updated.

The AJ07 say the class can not be found. This classpath + the data from the JVMCLASS data in the program definition determine where the class will be loaded from.


Henry


----- Original Message ----
From: "Chase, John" <jchase@USSCO.COM>
To: CICS-L@LISTSERV.UGA.EDU
Sent: Thursday, September 13, 2007 6:00:57 AM
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-




Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news, photos & more.