|
hm. It appears to be related to me changing the JVM from the 64-bit
version to 32-bit version. Not sure how to correct it if that is the
problem.
"Hockchai Lim" <lim.hock-chai@xxxxxxxxxxxxxxx> wrote in message
news:mailman.2988.1310747834.2630.rpg400-l@xxxxxxxxxxxx...
I'm getting the MCH3601 when executing the AttachCurrentThread()
procedure. The service program that performs the execution has been
working fine (as far as I know) and I'm not sure why all the sudden I'm
getting this error. Can someone gives me some pointers on what could be
the cause of the problem? Below is the joblog and code snippet.
==> Relevant joblog
JAVA_HOME = /QOpenSys/QIBM/ProdData/JavaVM/jdk50/32bit.
Environment variable added.
QIBM_RPG_JAVA_PROPERTIES =
-Dorg.omg.CORBA.ORBClass=com.ibm.CORBA.iiop.ORB;.
Environment variable added.
Java Virtual Machine is IBM Technology for Java. PID(8251)
JVM properties were loaded from a properties file.
Pointer not set for location referenced.
Application error. MCH3601 unmonitored by QJVAJNI at statement
0000000001, instruction X'0000'.
Code snippet:
If (rc = 0
and nVMs > 0);
attachArgs = *ALLX'00';
attachArgs.version = JNI_VERSION_1_4 ;
Monitor;
rc = AttachCurrentThreadX (jvm_PTR(1) :
env_PTR : %addr(attachArgs));
On-Error;
rc = -1 ;
EndMon;
EndIf;
Below is the values for the params when in debug mode:
JVM_PTR(1) = SPP:E9F9E9F298009320
ENV_PTR = SPP:*NULL
ATTACHARGS.VERSION = 65540
ATTACHARGS.NAME = SPP:*NULL
ATTACHARGS.GROUP = 0
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.