Good Day,

   I have an open PMR with IBM to set where my Java dumps go.  DFHLS2WS is the 
batch CICS job I run for CICS Web Services.  I added this to it:

      //STDENV   DD *
      sh
      export _CEE_DMPTARG='/home/mvsteam/pmsbdh/test';
      export JAVA_DUMP_TDUMP_PATTERN='/home/mvsteam/pmsbdh/test'



I was told in order to get a dump I need to identify where this java process 
will run.  Then after finding it while its running,  I need to quickly send it 
a SIGQUIT signal.  The batch job doesn't take very long to finish.

I saw some other posts about programmatically causing a Java dump.  Maybe I 
could just EXEC a bad Java program, but it looks like my program starts with 
BPXBATCH.

/JAVAPRG1 EXEC PGM=BPXBATCH,REGION=50M
//STDPARM  DD *
sh
export JAVADIR='java/J7.0_64';
export PATHPREF='';
export USSDIR='cicsts51';
export TMPDIR='/tmp';
export TMPFILE='LS2WS';
export SERVICE=':';
$PATHPREF /usr/lpp/cicsts/$USSDIR/lib/wsdl/DFHLS2WS
$JAVADIR $USSDIR $TMPDIR/$TMPFILE $SERVICE $PATHPREF

This is where it finally executes Java: 
/usr/lpp/cicsts/cicsts51/lib/wsdl/DFHLS2WS   ===> java -Xmx230M 
-Xshareclasses:name=cicsAssistants,nonfatal, groupAccess 
com.ibm.cics.wsdl.ls2ws.ls2ws $3.in


Q).  Does anyone have a piece of code that will get java to dump?  I am looking 
to test where my JavaCore, Heapdump, and Snap.trc goes to.  I got DFHLS2WS to 
dump before and I thought it blew up because of insufficient storage.  I have 
been trying to find a bad REGION size that will get Java to dump .


      Thank you,  Dave

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to