Technote (FAQ)
Question
Why do I receive the error "org.xml.sax.SAXParseException: Premature end of file" during deployment?
Cause
This error occurs when there are not enough file descriptors available in OMVS. The system cannot open the files needed to create the EAR file required for deployment.
Answer
Verify the current OMVS system limits:
From console or TSO SDSF SR
/D OMVS,L
/D OMVS,O
Check the number of existing used files that have been opened by a Java process by using the following command:
lsof -p $PID |wc -l
Example
In this example, the following OMVS system limits are set to 64000.
MAXMMAPAREA=64000
MAXFILEPROC=64000
Use the SETOMVS command to dynamically change the options that z/OS UNIX System Services currently is using. These options are originally set in the BPXPRMxx parmlib member during initial program load (IPL). For more information on the BPXPRMxx parmlib member, see z/OS UNIX System Services Planning.
SETOMVS MAXMMAPAREA=64000
SETOMVS MAXFILEPROC=64000
Example display of omvs,o
Display Filter View Print Options Help
-------------------------------------------------------------------------
SDSF SYSTEM REQUESTS RM 6 IM 0 CEM 0 EM 0 COMMAND ISSUED
COMMAND INPUT ===> /d omvs,o SCROLL ===>
RESPONSE=MVP1
BPXO043I 22.36.13 DISPLAY OMVS 032
OMVS 000E ACTIVE OMVS=(PP,00,19,WP)
CURRENT UNIX CONFIGURATION SETTINGS:
MAXPROCSYS = 800 MAXPROCUSER = 512
MAXFILEPROC = 65535 MAXFILESIZE = NOLIMIT
MAXCPUTIME = 2147483647 MAXUIDS = 500
MAXPTYS = 256
MAXMMAPAREA = 40960 MAXASSIZE = 2147483647
MAXTHREADS = 15000 MAXTHREADTASKS = 3000
MAXCORESIZE = 4194304 MAXSHAREPAGES = 400000
IPCMSGQBYTES = 2147483647 IPCMSGQMNUM = 10000
IPCMSGNIDS = 500 IPCSEMNIDS = 500
IPCSEMNOPS = 25 IPCSEMNSEMS = 1000
IPCSHMMPAGES = 25600 IPCSHMNIDS = 500
IPCSHMNSEGS = 500 IPCSHMSPAGES = 262144
SUPERUSER = BPXROOT FORKCOPY = COW
STEPLIBLIST =
USERIDALIASTABLE=
PRIORITYPG VALUES: NONE
PRIORITYGOAL VALUES: NONE
MAXQUEUEDSIGS = 1000 SHRLIBRGNSIZE = 67108864
SHRLIBMAXPAGES = 32768 VERSION = ZOS190
SYSCALL COUNTS = NO TTYGROUP = TTY
SYSPLEX = YES BRLM SERVER = N/A
LIMMSG = NONE AUTOCVT = OFF
RESOLVER PROC = DEFAULT
AUTHPGMLIST = NONE
SWA = BELOW
SERV_LINKLIB =
SERV_LPALIB =
Example display of omvs,l
Display Filter View Print Options Help
--------------------------------------------------------------------------
SDSF SYSTEM REQUESTS RM 6 IM 0 CEM 0 EM 0 COMMAND ISSUED
COMMAND INPUT ===> /d omvs,l SCROLL ===>
RESPONSE=MVP1
BPXO051I 22.38.27 DISPLAY OMVS 038
OMVS 000E ACTIVE OMVS=(PP,00,19,WP)
SYSTEM WIDE LIMITS: LIMMSG=NONE
CURRENT HIGHWATER SYSTEM
USAGE USAGE LIMIT
MAXPROCSYS 56 89 800
MAXUIDS 8 13 500
MAXPTYS 3 9 256
MAXMMAPAREA 2048 12296 40960
MAXSHAREPAGES 5680 16798 400000
IPCMSGNIDS 28 28 500
IPCSEMNIDS 65 65 500
IPCSHMNIDS 65 65 500
IPCSHMSPAGES 0 1 262144
IPCMSGQBYTES --- 0 2147483647
IPCMSGQMNUM --- 0 10000
IPCSHMMPAGES --- 12800 25600
SHRLIBRGNSIZE 51380224 67108864 67108864
SHRLIBMAXPAGES 0 0 32768
Related information
BestPractices prepare your system.
IZ74760: EXCEPTION SHOULD BE THROWN IF EDC5124I MESSAGE
IZ74759: EXCEPTION SHOULD BE THROWN IF EDC5124I MESSAGE
31-Bit JVMs: SHRLIBRGNSIZE and BPXK_DISABLE_SHLIB
Rate this page:
Copyright and trademark information
IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.