Enable 'Teraspace storage' in V5R4 to run JSM with IBM Technology for Java 32-bit JDK
| Date: | 6 February 2009 |
|---|---|
| Product/Release: | LANSA Integrator |
| Abstract: | How to enable teraspace in V5R4 to run JSMwith IBM for Java 32-bit JDK |
| Submitted By: | LANSA Technical Support |
Description:
V5R4 comes with the IBM Technology for Java 32-bit JDK, this JVM requires the JNI JSMMGRSRV service program to be TERASPACE enabled.
Solution:
This can be done by using the following command:
(On V5R4)
CHGSRVPGM SRVPGM(JSMMGRSRV) TERASPACE(*YES)
(On V6R1)
This is not required on V6R1 as the OS will automatically
convert the JNI JSMMGRSRV service program to be TERASPACE
enabled.
When this keyword is not enabled on V5R4 you may get a message in the joblog:
================================================================================
Start JSM using IBM Technology for Java 32-bit JDK
STRJSM VERSION(*JVM5032)
Joblog message
MCH4443 Escape 40 01/26/09 11:26:56.313936 < lProcedure
0003D4 QP2USER2 QSYS *STMT
From Program . . . . . . . : AiUpcallProcedure
To module . . . . . . . . . : QP2API
To procedure . . . . . . . : runpase_common__FiPvT2
Statement . . . . . . . . . : 2
Thread . . . . : 00000005
Message . . . . : Invalid storage model for target program
JSMMGRSRV.
Cause . . . . . : Target program JSMMGRSRV cannot be called
or activated by
source program &1 because program JSMMGRSRV contains one
or more modules
that are not teraspace storage enabled.
Recovery . . . : Recreate the target program.
Technical description . . . . . . . . : Source program &1
either uses *TERASPACE storage model
or is running a Portable Application Solutions Environment
(i5/OS PASE) program. All modules in a *SNGLVL storage
================================================================================