Problem :
After an upgrade to a new z/OS I first received an error due to a back level Java version when I tried to deploy a product from CSM to this LPAR.
After changing the CCISPNSV PROC on this LPAR to use Java version 7.1 (31 bit) and despite coding a REGION=0M on the CSM CCISPNSV EXEC card, execution failed with the following error messages :
JVMDUMP039I Processing dump event "systhrow", detail "java/lang/OutOfMemoryError" at 2016/02/04 04:52:44 - please wait.
JVMDUMP032I JVM requested System dump using 'TSMCHU.JVM.TDUMP.CCISPNSV.D160204.T045244' in response to an event
IEATDUMP in progress with options SDATA=(LPA,GRSQ,LSQA,NUC,PSA,RGN,SQA,SUM,SWA,TRT)
IEATDUMP success for DSN='TSMCHU.JVM.TDUMP.CCISPNSV.D160204.T045244'
JVMDUMP010I System dump written to TSMCHU.JVM.TDUMP.CCISPNSV.D160204.T045244
JVMDUMP032I JVM requested Heap dump using '/u/tsmchu/heapdump.20160204.045244.537.0002.phd' in response to an event
JVMDUMP010I Heap dump written to /u/tsmchu/heapdump.20160204.045244.537.0002.phd
JVMDUMP032I JVM requested Java dump using '/u/tsmchu/javacore.20160204.045244.537.0003.txt' in response to an event
JVMDUMP010I Java dump written to /u/tsmchu/javacore.20160204.045244.537.0003.txt
JVMDUMP032I JVM requested Snap dump using '/u/tsmchu/Snap.20160204.045244.537.0004.trc' in response to an event
JVMDUMP010I Snap dump written to /u/tsmchu/Snap.20160204.045244.537.0004.trc
JVMDUMP013I Processed dump event "systhrow", detail "java/lang/OutOfMemoryError"
.
Exception in thread "main" java/lang/OutOfMemoryError: native memory exhausted
at sun/util/locale/BaseLocale.createInstance (BaseLocale.java:82)
at java/util/Locale.createConstant (Locale.java:646)
at java/util/Locale.<clinit> (Locale.java:427)
at sun/io/CharacterEncoding.aliasName (CharacterEncoding.java:149)
at sun/io/Converters.getConverterClass (Converters.java:309)
at sun/io/Converters.newConverter (Converters.java:374)
at sun/io/CharToByteConverter.getConverter (CharToByteConverter.java:99)
at java/lang/StringCoding.makeEncoder (StringCoding.java:192)
at java/lang/StringCoding$EncoderCache$1.run (StringCoding.java:255)
at java/security/AccessController.doPrivileged (AccessController.java:341)
at java/lang/StringCoding$EncoderCache.getEncoder (StringCoding.java:252)
at java/lang/StringCoding.getEncoder (StringCoding.java:444)
at java/lang/StringCoding.encode (StringCoding.java:590)
at java/lang/StringCoding.encode (StringCoding.java:654)
at java/lang/System.afterClinitInitialization (System.java:122)
at java/lang/Thread.initialize (Thread.java:346)
at java/lang/Thread.<init> (Thread.java:148)
JVMJ9VM015W Initialization error for library jclse7b_27(14): JVMJ9VM009E J9VMDll
Main failed
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
Error closing jvm library:
Environment :
z/OS release : any
CSM 5.1, 6.0 and 6.1
Java any version
Cause :
The memory usage is limited by IBM's Step Initiation Exit, IEFUSI and there is not enough memory to execute the CCISPNSV step(s) successfully.
Resolution :
Ensure that the region size allocated by IEFUSI is at least the minimum of 1Gb as required by CCISPNSV.