cancel
Showing results for 
Search instead for 
Did you mean: 

sapjvm_4 environmental variables

Former Member
0 Kudos

Hi,

I refreshed a development solution manager system from production on an AIX system, following a typical dual-stack procedure. Unfortunately when I imported the JAVA stack, the import moved us from Java 1.4.2 to sapjvm_4. The specific versions are:

IBM J9 VM (build 2.3, J2RE 1.4.2 IBM J9 2.3 AIX ppc64-64

SAP Java Server VM (build 4.1.016 19.1-b02, Jan  3 2012 04:38:30

This has been a nightmare.

I opened a customer message several weeks ago, but the response from SAP has been less than enthusiastic or productive. After changing several things, now JAVA won't start. Their latest response was to confirm the environmental variables. They did not indicate which specific variables to look at and I don't have another sapjvm_4 system to compare variables to.

Can someone send me a sample set, preferably for AIX and sapjvm_4 so I'll have a rough idea of what it needs to look like?

I'm not finding a lot of error messages in any of the normal places. In dev_bootstrap I find the following: Threads in SCN with this error frequently point to a bad license. slicense indicates everything is fine.

Thr 01] JStartupICheckFrameworkPackage: can't find framework package /usr/sap/SM1/DVEBMGS00/exe/jvmx.jar

std_bootstrap.out has the following:

[Thr 3085] Wed Aug 22 11:26:36 2012

[Thr 3085] *** ERROR => JsfGetShmVmci: check failed: sRefs.statAccess > SFI_SMA_NOTINIT [jsfxxsproc.c 439]

[Thr 3085] *** ERROR => JsfGetShmVmci: check failed: sRefs.statAccess > SFI_SMA_NOTINIT [jsfxxsproc.c 439]

Thanks for any help,

Russ

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Russell

here are the details. I have listed the parameter names and values where it is possible for me list them down. We just switched from jdk 1.4.2 to sapjvm4 . The switch tool does bring in a lot of extra parameters. As it was our first attempt we went with the default options. But i am thinking of removing a few of them.

Environment is AIX 6.1 / DB6

Regards

Amit Padmawar

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi,

I've tried commenting out the jstartup/max_caches and clearing ipcs. Unfortunately that didn't fix it.

SAP has had me make changes to LIBPATH in environmental variables of SIDadm, specifically they wanted LIBPATH to point to sapjvm_4 libraries.

Are other changes in the .dbenv*, .sapenv*, or .j2eeenv* files required?

Cheers,

Russ

Former Member
0 Kudos

Hi,

My apologies for any misunderstanding. The recommendations in note 1603093 have already been implemented. What I understand SAP to be asking is modifications of the environmental variables such as PATH, LIBPATH, and so forth.

Regards,

Russ

hemanth2
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Russell ,

Hope you are doing good.

The reason for the error is that shared modules are considered a global resource by the operating system, and the shared library regions are commonly accessed by every process. Once a module is loaded, it stays loaded and is not automatically removed from the shared library reagion, if a program (e.g. SAPinst) stops using it. The solution is to Execute the command 'slibclean' as a root user before
starting the engine. Also edit the Java central instance profile and comment out the line

jstartup/max_caches=500

Thank you and have a nice day :).

_____________

Kind Regards,

Hemanth

Former Member
0 Kudos

Hello Russel,

Have you checked:1728457 - JStartupICheckFrameworkPackage: can't find framework package message during startup of the...

??

You're not supposed to change the operating system environment variables. SAP JVM is only for using in SAP products. As a comment, once I tried to use the SAP JVM for Willy EM, It didn't work. I opened a OSS message and they told me that SAP JVM was not supported for Willy.

Cheers,

Diego.

nelis
Active Contributor
0 Kudos

Hi,

Since the SAP JVM is based on the SUN JVM you will need to change a number of parameters when moving from a IBM JVM. Use configtool and Note 1603093 SAP JVM 4.1 parameters Netweaver 7.0 to accomplish this.

Regards,

Nelis

Former Member
0 Kudos

Hi,

May be you can take a look at Note 1665953 - SAP JVM Switch Tool Composite Note

Thanks,

Ravi