Hi,
I am getting a RC of 106 when I am submitting a job using JZOS for Java
5.0. I have specified REGION size as 128M. What am I missing ? (I did
send email to MVS-OE mailing list and posted on the discussion forum for
JZOS. I thought, I will toss this one here too.)
The trace :
03:40:56 JZOSVM50(N): log level has been set to: T
03:40:56 JZOSVM50(T): -> JzosVM()
03:40:56 JZOSVM50(N): Copyright (C) IBM Corp. 2006. All rights reserved.
03:40:56 JZOSVM50(N): Version 1.2.5
03:40:56 JZOSVM50(T): <- JzosVM()
03:40:56 JZOSVM50(T): -> run()
03:40:56 JZOSVM50(I): Region requested = 128M, Actual below/above limit
= 7232K / 121M
03:40:56 JZOSVM50(T): -> adoptEnvironment()
03:40:56 JZOSVM50(T): Writing shell script to child's stdin:
03:40:56 JZOSVM50(T): # This is a shell script which configures
03:40:56 JZOSVM50(T): # any environment variables for the Java JVM.
03:40:56 JZOSVM50(T): # Variables must be exported to be seen by the
launcher.
03:40:56 JZOSVM50(T):
03:40:56 JZOSVM50(T): . /etc/profile
03:40:56 JZOSVM50(T): export JZOS_HOME=/u/userid/jzos
03:40:56 JZOSVM50(T): export JAVA_HOME=/MVSPP/lpp/java/J5.0
03:40:56 JZOSVM50(T):
03:40:56 JZOSVM50(T): export PATH=/bin:"${JAVA_HOME}"/bin:
03:40:56 JZOSVM50(T):
03:40:56 JZOSVM50(T): LIBPATH=/lib:/usr/lib:"${JAVA_HOME}"/bin
03:40:56 JZOSVM50(T): LIBPATH="$LIBPATH":"${JAVA_HOME}"/bin/classic
03:40:56 JZOSVM50(T): LIBPATH="$LIBPATH":"${JZOS_HOME}"
03:40:56 JZOSVM50(T): export LIBPATH="$LIBPATH":
03:40:56 JZOSVM50(T):
03:40:56 JZOSVM50(T): # Customize your CLASSPATH here
03:40:56 JZOSVM50(T): CLASSPATH=$HOME/class
03:40:56 JZOSVM50(T):
03:40:56 JZOSVM50(T): # Add JZOS required jars to end of CLASSPATH
03:40:56 JZOSVM50(T): for i in "${JZOS_HOME}"/*.jar; do
03:40:56 JZOSVM50(T): CLASSPATH="$CLASSPATH":"$i"
03:40:56 JZOSVM50(T): done
03:40:56 JZOSVM50(T): export CLASSPATH="$CLASSPATH":
03:40:56 JZOSVM50(T):
03:40:56 JZOSVM50(T): # Set JZOS specific options
03:40:56 JZOSVM50(T): # Use this variable to specify encoding for DD
STDOUT and STDERR
03:40:56 JZOSVM50(T): #export JZOS_OUTPUT_ENCODING=Cp1047
03:40:56 JZOSVM50(T): # Use this variable to prevent JZOS from handling
MVS operator commands
03:40:56 JZOSVM50(T): #export JZOS_ENABLE_MVS_COMMANDS=false
03:40:56 JZOSVM50(T): # Use this variable to supply additional
arguments to main
03:40:56 JZOSVM50(T): #export JZOS_MAIN_ARGS=""
03:40:56 JZOSVM50(T):
03:40:56 JZOSVM50(T): # Configure JVM options
03:40:56 JZOSVM50(T): IJO="-Xms16m -Xmx128m"
03:40:56 JZOSVM50(T): # Uncomment the following to aid in debugging
"Class Not Found" problems
03:40:56 JZOSVM50(T): #IJO="$IJO -verbose:class"
03:40:56 JZOSVM50(T): IJO="$IJO -Djzos.home=${JZOS_HOME}"
03:40:56 JZOSVM50(T): # Uncomment the following if you want to run
without JIT
03:40:56 JZOSVM50(T): #IJO="$IJO -Djava.compiler=NONE"
03:40:56 JZOSVM50(T): # Uncomment the following if you want to run with
Ascii file encoding..
03:40:56 JZOSVM50(T): #IJO="$IJO -Dfile.encoding=ISO8859-1"
03:40:56 JZOSVM50(T): export IBM_JAVA_OPTIONS="$IJO "
03:40:56 JZOSVM50(T):
03:40:56 JZOSVM50(T): export JAVA_DUMP_HEAP=false
03:40:56 JZOSVM50(T): export JAVA_PROPAGATE=NO
03:40:56 JZOSVM50(T): export IBM_JAVA_ZOS_TDUMP=NO
03:40:56 JZOSVM50(D): Output from DD:STDENV config shell script:
03:40:56 JZOSVM50(T): Found environment start string
03:40:56 JZOSVM50(D): ___JZOS_ENV_START___
03:40:56 JZOSVM50(I): MAIL=/usr/mail/
03:40:56 JZOSVM50(I): JAVA_PROPAGATE=NO
03:40:56 JZOSVM50(I): PATH=/bin:/MVSPP/lpp/java/J5.0/bin:
03:40:56 JZOSVM50(I): _C89_OPTIONS=-Wl,compat=unspec
03:40:56 JZOSVM50(I): IBM_JAVA_ZOS_TDUMP=NO
03:40:56 JZOSVM50(I): JZOS_HOME=/u/userid/jzos
03:40:56 JZOSVM50(I): IBM_JAVA_OPTIONS=-Xms16m -Xmx128m
-Djzos.home=/u/userid/jzos
03:40:56 JZOSVM50(I): _CXX_PLIB_PREFIX=SYS1
03:40:56 JZOSVM50(I): _ICONV_UCS2_PREFIX=SYS1
03:40:56 JZOSVM50(I): _C89_SSYSLIB=SYS1.SCEEMAC:SYS1.MACLIB
03:40:56 JZOSVM50(I): _CC_PLIB_PREFIX=SYS1
03:40:56 JZOSVM50(I): _=/bin/env
03:40:56 JZOSVM50(I): CLASSPATH=/class:/u/userid/jzos/jzos.jar:
03:40:56 JZOSVM50(I): LANG=C
03:40:56 JZOSVM50(I): _CXX_OPTIONS=-Wl,compat=unspec
03:40:56 JZOSVM50(I):
LIBPATH=/lib:/usr/lib:/MVSPP/lpp/java/J5.0/bin:/MVSPP/lpp/java/J5.0/bin/classic:/u/userid/jzos:
03:40:56 JZOSVM50(I): _CC_OPTIONS=-Wl,compat=unspec
03:40:56 JZOSVM50(I): JAVA_DUMP_HEAP=false
03:40:56 JZOSVM50(I): _C89_PLIB_PREFIX=SYS1
03:40:56 JZOSVM50(I): JAVA_HOME=/MVSPP/lpp/java/J5.0
03:40:56 JZOSVM50(I): TZ=PST8PDT
08:40:56 JZOSVM50(I): MANPATH=/usr/man/%L
08:40:56 JZOSVM50(I): NLSPATH=/usr/lib/nls/msg/%L/%N
08:40:56 JZOSVM50(I): PWD=/u/userid
08:40:56 JZOSVM50(I): Setting current working dir to: "/u/userid"
08:40:56 JZOSVM50(D): ___JZOS_ENV_STOP___
08:40:56 JZOSVM50(T): waiting for child shell process to complete
08:40:56 JZOSVM50(T): child shell process exited with exit code 0
08:40:56 JZOSVM50(T): <- adoptEnvironment()
08:40:56 JZOSVM50(T): processing argv[2]: Xp01
08:40:56 JZOSVM50(T): javaArgCount after processing PARM= 1
08:40:56 JZOSVM50(T): -> processExtraArgs()
08:40:56 JZOSVM50(T): No JZOS_MAIN_ARGS found
08:40:56 JZOSVM50(T): NO //DD:MAINARGS found
08:40:56 JZOSVM50(D): argBuf=''
08:40:56 JZOSVM50(T): <- processExtraArgs()
08:40:56 JZOSVM50(T): -> initializeVMArgs()
08:40:56 JZOSVM50(T): vm_args.version: 10004
08:40:56 JZOSVM50(T): Allocating JVM options
08:40:56 JZOSVM50(T): Setting exit hook option
08:40:56 JZOSVM50(T): Setting abort hook option
08:40:56 JZOSVM50(T): Getting CLASSPATH
08:40:56 JZOSVM50(T): Setting classpath option
08:40:56 JZOSVM50(T): <- initializeVMArgs()
08:40:56 JZOSVM50(T): -> createJvm()
Error: unable to allocate 134217728 bytes for GC in j9vmem_reserve_memory.
JVMJ9VM015W Initialization error for library j9gc23(2): Failed to
instantiate heap. 128M requested
08:40:58 JZOSVM50(E): JNI_CreateJavaVM error, rc = -4
08:40:58 JZOSVM50(T): <- createJvm()
08:40:58 JZOSVM50(T): <- run()
08:40:58 JZOSVM50(T): -> cleanup()
JZOSVM - failed, no JVM created. RC=106.
08:40:58 JZOSVM50(T): <- cleanup()
08:40:58 JZOSVM50(T): -> ~JzosVM()
08:40:58 JZOSVM50(T): <- ~JzosVM()
Regards,
Nags.
--
*Debugging tip: * When you have eliminated all which is impossible, then
whatever remains, however improbable, must be the truth. ---*/Sherlock
Holmes./*
----------------------------------------------------------------------
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