John,
I'm afraid that the reports that you are seeing are from the parent
shell and not the java process,
because none of java's "programmer default" LE settings are present.
I'm guessing that you are not seeing the LE report from "java" because:
- you are running jboss under java with -Dfile.encoding=iso8859-1 since
JBOSS , like many Java apps, has code dependencies that prevent it from
running
correctly with a default EBCDIC codepage.
- your shell script is maybe using "iconv" pipes to convert output
(stdout and stderr) from java/jboss from ascii to ebcdic.
- but the LE options and storage reports are also written (in EBCDIC) to
stderr by default (under a Unix shell),
and is also getting converted...which probably accounts for much of
the "gibberish"
You might be able to use _CEE_RUNOPTS settings to tell LE to write its
"MSGFILE" somewhere else.
HTH,
Kirk
PS: These sorts of problems are exactly what the JZOS batch launcher
allows you to avoid. To use it you will have to setup a batch job that
sets required environment variables and java -D properties as does your
existing shell script. You might want to ask the vendor to distribute
the application with JZOS sample JCL, since it would solve many of these
problems (gibberish in the output, clean operator shutdown, live output
to SYSOUT, etc). Tomcat samples are available at http://dovetail.com,
but we haven't gotten around to publishing JBOSS examples.
Here's the link to the IBM JZOS User's Guide on setting up JZOS JCL:
http://www-03.ibm.com/servers/eserver/zseries/software/java/jzos/overview.html
Chase, John wrote:
-----Original Message-----
From: IBM Mainframe Discussion List On Behalf Of Kirk Wolf
[ snip ]
- if running under BPXBATCH, you can use the "ps" command to find the
"java" process, and send it SIGTERM with: "kill -TERM pid "
The ps command with -u and the userID returned this:
================ Begin paste =============
PID TTY TIME CMD
1 ? 0:00 BPXPINPR
16777218 ? 0:52 EZBTCPIP
50331651 ? 0:52 EZBTTSSL
67108868 ? 0:52 EZACFALG
33554437 ? 0:52 EZBTMCTL
7 ? 0:52 EZASASUB
8 ? 0:52 EZBTTMST
9 ? 3:17 FNMONL00
19 ? 0:00 FTPD
83886112 ? 0:04 /bin/fomfuish
67108899 ? 0:00 /bin/sh
41 ? 0:01 /usr/sbin/syslogd
33554476 ? 0:04 EXEC
16777264 ? 0:00 /bin/sh
33554481 ? 0:00 /bin/sh
67108915 ? 0:00 /bin/sh
52 ? 5:19 /usr/lpp/java142d/J1.4/bin/java
53 ? 0:00 /bin/iconv
54 ? 0:00 /bin/sh
16777271 ? 0:00 /bin/ps
================== End paste ====================
So, based on that I issued "kill -TERM 52", which terminated the desired
started tasks, and got this in the stderr dataset:
=================== Begin paste =================
Options Report for Enclave main 10/26/06 2:14:28 PM
Language Environment V01 R05.00
LAST WHERE SET OPTION
-------------------------------------------------------------------------------
Installation default ABPERC(NONE)
Installation default ABTERMENC(ABEND)
Installation default NOAIXBLD
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html