Support Article
BIX job fails with "Error initializing PRAppLoader"
SA-24893
Summary
The user is experiencing sporadic BIX failures.
Error Messages
SEVERE: Error initializing PRAppLoader
Throwable occurred: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:611)
at com.pega.pegarules.internal.bootstrap.PRBootstrap.checkForStartup(PRBootstrap.java:682)
at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethodPropagatingThrowable(PRBootstrap.java:405)
at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethodPropagatingThrowable(AppServerBridgeToPega.java:223)
at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethod(AppServerBridgeToPega.java:272)
at com.pega.pegarules.pub.PegaRULES.main(PegaRULES.java:85)
Caused by: java.util.zip.ZipError: jzentry == 0,
jzfile = 1099852780112,
total = 1035,
name = /appfiles/Bix/temp/extractedFiles/apploader/praxis2-1.6.2.jar,
i = 1,
message = null
at java.util.zip.ZipFile$2.nextElement(ZipFile.java:364)
at java.util.zip.ZipFile$2.nextElement(ZipFile.java:342)
at java.util.jar.JarFile$1.nextElement(JarFile.java:277)
at java.util.jar.JarFile$1.nextElement(JarFile.java:272)
Steps to Reproduce
Not Applicable
Root Cause
A defect or configuration issue in the operating environment
There are multiple extracts run in parallel using scripting techniques. Each of the extracts shared the same environment. The temp directory for PegaRULES engine was shared. Occasionally one extract would overwrite the extracted jar files while another is extracting them from the database.
Resolution
Make the following change to the operating environment:
Provide the following JVM argument for each extract
-Djava.io.tmpdir=unique_directory
Published June 27, 2016 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.