cancel
Showing results for 
Search instead for 
Did you mean: 

File instance.properties.vmprop is not created anymore

Former Member
0 Kudos

Dear colleagues,

due to the following errors issued by our diagnostic agents, I noticed that the file instance.properties.vmprop

is not created anymore after the restart of our SAP Portal J2EE engine.

Failed to load vm properties from File System : /usr/sap/SID/JXX/j2ee/cluster/instance.properties.vmprop

The JVM engine was switched according to SAP note 1611326. According to step 9 of this SAP Note, the file should be recreated with the first restart of the system, but this was not the case. Is this file present on your systems?

Do you know how to recreate it?

Best regards and have a nice day,

Micha

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

The solution is quite simple, there is no instance.properties.vmprop anymore on NW 7.3* systems

Best regards,

Micha

Answers (3)

Answers (3)

divyanshu_srivastava3
Active Contributor
0 Kudos

Hi Micha,

Stop your system and move instance.properties.vmprop to instance.properties.vmprop.old.

After that, open this file and check for the following entries:

1 .javaVMPath

2. javaVMVersion

3. javaVMVendor

4. javaVMLibPath

5. javaVMExePath

Once these entries are checked and verified.

Check your JAVA env variables for sidadm user

Regards,

Divyanshu

Former Member
0 Kudos

Dear Divyanshu,

the file instance.properties.vmprop was already moved on filesystem level. However, a new one is not created.

Best regards,

Micha

former_member185239
Active Contributor
0 Kudos

Hi Micha,

Goto the below directory

/usr/sap/<SID>/SYS/profile/ and check the instance profile parameter

   jstartup/vm/home = <location of the new jdk> .

It should have correct path for your new jdk as this parameter is more stronger than JAVA_HOME

You can also check the below sap note

Note 718901 - How to Change the JDK of the J2EE Engine

With Regards

Ashutosh Chaturvedi


Former Member
0 Kudos

Dear Ashutosh, dear Roman.

thanks for your feedback. We are running an Enterprise Portal NW 7.30 SP09. I checked the instance profile parameter and found the following entries:

jstartup/vm/home = $(DIR_SAPJVM)

DIR_SAPJVM = $(DIR_EXECUTABLE)$(DIR_SEP)sapjvm_6

If I check the trace file of dev_server0, I can verify, that the correct virtual machine is used:

F  Java environment properties

F    root directory    : /usr/sap/BDJ/J41/exe/sapjvm_6

F    vendor            : SAP AG

F    version           : 1.6.0_43

F    cpu               : ppc64

F    java vm type      :

F    java vm version   : 6.1.048 23.5-b02

F    jvm library name  : libjvm.so

I checked the arguments of JSTART in the trace file

arguments :

  arg[ 0] : /usr/sap/BDJ/J41/exe/jstart

  arg[ 1] : -appTrc

  arg[ 2] : -nodeId=2

  arg[ 3] : pf=/usr/sap/BDJ/SYS/profile/BDJ_J41_sapbd1

  arg[ 4] : -DSAPINFO=BDJ_41_server0

  arg[ 5] : -hostvm

  arg[ 6] : -nodeName=ID418385150

  arg[ 7] : -file=/usr/sap/BDJ/J41/j2ee/cluster/instance.properties

  arg[ 8] : -jvmFile=/usr/sap/BDJ/J41/work/jstart.jvm

  arg[ 9] : -traceFile=/usr/sap/BDJ/J41/work/dev_server0

  arg[10] : -javaOutFile=/usr/sap/BDJ/J41/work/jvm_server0.out

Is a special flag necessary, that the instance.properties.vmprop file is created? Since I am not allowed to log in with the SIDADM, I cannot provide the environment setting of the user.

Thanks for your help!

Best regards,

Micha

Former Member
0 Kudos

Can you provide full log files here?

Former Member
0 Kudos

Dear Roman,

here is the start of the dev_server0.log file:

---------------------------------------------------

trc file: "dev_server0", trc level: 1, release: "720"

---------------------------------------------------

sysno      41

sid        BDJ

systemid   324 (IBM RS/6000 with AIX)

relno      7200

patchlevel 0

patchno    63

intno      20020600

make       multithreaded, Unicode, 64 bit, optimized

profile    /usr/sap/BDJ/SYS/profile/BDJ_J41_sapbd1

pid        16580712

*

*  ACTIVE TRACE LEVEL           1

*  ACTIVE TRACE COMPONENTS      All, egi

*

Fri Jun 28 19:11:16 2013

*

*  trace logging activated, max size = 52428800 bytes, 2 versions

*

arguments :

  arg[ 0] : /usr/sap/BDJ/J41/exe/jstart

  arg[ 1] : -appTrc

  arg[ 2] : -nodeId=2

  arg[ 3] : pf=/usr/sap/BDJ/SYS/profile/BDJ_J41_sapbd1

  arg[ 4] : -DSAPINFO=BDJ_41_server0

  arg[ 5] : -hostvm

  arg[ 6] : -nodeName=ID418385150

  arg[ 7] : -file=/usr/sap/BDJ/J41/j2ee/cluster/instance.properties

  arg[ 8] : -jvmFile=/usr/sap/BDJ/J41/work/jstart.jvm

  arg[ 9] : -traceFile=/usr/sap/BDJ/J41/work/dev_server0

  arg[10] : -javaOutFile=/usr/sap/BDJ/J41/work/jvm_server0.out

F Fri Jun 28 19:11:16 2013

F  ********************************************************************************

F  Java environment properties

F    root directory    : /usr/sap/BDJ/J41/exe/sapjvm_6

F    vendor            : SAP AG

F    version           : 1.6.0_43

F    cpu               : ppc64

F    java vm type      :

F    java vm version   : 6.1.048 23.5-b02

F    jvm library name  : libjvm.so

F    library path      : /usr/sap/BDJ/J41/exe/sapjvm_6/jre/lib/ppc64/server:/usr/sap/BDJ/J41/exe/sapjvm_6/jre/lib/ppc64:/usr/sap/BDJ/J41/exe/sapjvm_6/jre/../lib/ppc64:/usr/sap/BDJ/J41/exe/sapjvm_6/jre/lib/ppc64/jli:

/usr/sap/BDJ/J41/exe/sapjvm_6/jre/../lib/ppc64/jli:/usr/sap/BDJ/J41/exe:/usr/sap/BDJ/J41/exe:/usr/sap/BDJ/SYS/exe/run:/usr/sap/BDJ/SYS/exe/uc/rs6000_64:/lib:/usr/lib

F    executable path   : /usr/sap/BDJ/J41/exe/sapjvm_6/bin

F    SAP extensions    : available

F  ********************************************************************************

I  [Thr 01] MtxInit: 10002 0 2

I  [Thr 01] MPI: dynamic quotas disabled.

I  [Thr 01] MPI init: pipes=4000 buffers=1279 reserved=383 quota=10%

M [Thr 01] Fri Jun 28 19:11:17 2013

M  [Thr 01] NiInit3: NI already initialized; param 'maxHandles' ignored (init=2;par=32768;cur=2048)

M  [Thr 01] CCMS: SemInMgt: Semaphore Management initialized by AlAttachShm_Ext.

M  [Thr 01] CCMS: SemInit: Semaphore 38 initialized by AlAttachShm_Ext.

M  [Thr 01] CCMS: CCMS Monitoring Initialization finished, rc=0.

F Fri Jun 28 19:11:17 2013

F  ********************************************************************************

F  SAP Java VM arguments:

F    arg[ 0] = vfprintf

F    arg[ 1] = abort

F    arg[ 2] = exit

F    arg[ 3] = -XmonGcCallback

F    arg[ 4] = -XdebugStateChangeCallback

F    arg[ 5] = -DSAPJStartVersion=720, patch 300, changelist 1342824, rs6000_64, optu (Jul  7 2012, 05:18:09)

F    arg[ 6] = -Xjvmx

F    arg[ 7] = -XsapSystem:41

F    arg[ 8] = -DSAPSTARTUP=1

F    arg[ 9] = -DSAPSYSTEM=41

F    arg[10] = -DSAPSYSTEMNAME=BDJ

F    arg[11] = -DSAPMYNAME=sapbd1_BDJ_41

F    arg[12] = -DSAPDBHOST=sapbd1

F    arg[13] = -DSAPINFO=BDJ_41_server0

F    arg[14] = -Dj2ee.dbhost=sapbd1

F    arg[15] = -Dsun.java.launcher=jstart

F    arg[16] = -Dsun.java.command=com.sap.engine.boot.Start 

F    arg[17] = -Djstartup.mode=JSTART

F    arg[18] = -Djstartup.whoami=server

F    arg[19] = -Djstartup.ownProcessId=16580712

F    arg[20] = -Djstartup.ownHardwareId=L0271582465

F    arg[21] = -Djstartup.debuggable=yes

F    arg[22] = -DLoadBalanceRestricted=no

F    arg[23] = -XdebugPortRange:54121-54121

F    arg[24] = -Denv.class.path=:/db2/db2bdj/sqllib/java/db2java.zip:/db2/db2bdj/sqllib/java/runtime.zip:.:/db2/db2bdj/sqllib/java/db2java.zip:/db2/db2bdj/sqllib/java/runtime.zip:.

F    arg[25] = -Dsys.global.dir=/usr/sap/BDJ/SYS/global

F    arg[26] = -Dapplication.home=/usr/sap/BDJ/J41/exe

F    arg[27] = -Djava.class.path=/usr/sap/BDJ/J41/exe/jstart71.jar:/usr/sap/BDJ/J41/exe/sapjvm_6/lib/jvmx.jar:/usr/sap/BDJ/J41/exe/sapjvm_6/lib/jvmx_tools.jar:/usr/sap/BDJ/J41/exe/jre/lib/iqlib.jar:/usr/sap/BDJ/J41/exe/sapjvm_6/lib/tools.jar:/usr/sap/BDJ/J41/j2ee/cluster/bin/boot/sap.com~tc~bl~jkernel_boot~impl.jar:/usr/sap/BDJ/J41/j2ee/cluster/bin/boot/jaas.jar:/usr/sap/BDJ/J41/j2ee/cluster/bin/system/sap.com~tc~bl~bytecode~library.jar:/usr/sap/BDJ/J41/j2ee/cluster/bin/boot/memoryanalyzer.jar

F    arg[28] = -Djava.library.path=/usr/sap/BDJ/J41/exe/sapjvm_6/jre/lib/ppc64/server:/usr/sap/BDJ/J41/exe/sapjvm_6/jre/lib/ppc64:/usr/sap/BDJ/J41/exe/sapjvm_6/jre/../lib/ppc64:/usr/sap/BDJ/J41/exe/sapjvm_6/jre/lib/ppc64/jli:/usr/sap/BDJ/J41/exe/sapjvm_6/jre/../lib/ppc64/jli:/usr/sap/BDJ/J41/exe:/usr/sap/BDJ/J41/exe:/usr/sap/BDJ/SYS/exe/run:/usr/sap/BDJ/SYS/exe/uc/rs6000_64:/lib:/usr/lib:/usr/sap/BDJ/J41/j2ee/os_libs

F    arg[29] = -XX:PermSize=1024m

F    arg[30] = -Xmx2048m

F    arg[31] = -XX:MaxNewSize=410m

F    arg[32] = -XX:MaxPermSize=1024m

F    arg[33] = -Xms2048m

F    arg[34] = -XX:NewSize=410m

F    arg[35] = -Dcom.wily.introscope.agent.agentName=BDJ_J41_server0

F    arg[36] = -Dorg.omg.CORBA.ORBClass=com.sap.engine.system.ORBProxy

F    arg[37] = -Djavax.management.builder.initial=com.sap.pj.jmx.server.interceptor.InterceptorChainBuilder

F    arg[38] = -Djmx.invoke.getters=true

F    arg[39] = -Djava.security.policy=./../bin/kernel/java.policy

F    arg[40] = -Djava.security.egd=file:/dev/urandom

F    arg[41] = -Djava.awt.headless=true

F    arg[42] = -Dorg.omg.CORBA.ORBSingletonClass=com.sap.engine.system.ORBSingletonProxy

F    arg[43] = -Drdbms.driverLocation=/usr/sap/BDJ/J41/exe/db2jcc4.jar

F    arg[44] = -Dcom.wily.introscope.agentProfile=/usr/sap/DAC/SMDA97/SMDAgent/applications.config/com.sap.smd.agent.application.wily/BytecodeAgent/ISAGENT.8.2.4.0-2012-01-27/wily/IntroscopeAgent.profile

F    arg[45] = -Djava.io.tmpdir=./temp

F    arg[46] = -Dsun.lang.ClassLoader.allowArraySyntax=true

F    arg[47] = -Djava.protocol.handler.pkgs=com.sap.engine.httpdsrclient.protocols|iaik.protocol

F    arg[48] = -DSAPJVM_EXTENSION_COMMAND_HANDLER=com.sap.tools.memory.protocol.ProtocolHandler

F    arg[49] = -Dnetworkaddress.cache.ttl=10

F    arg[50] = -Djco.jarm=1

F    arg[51] = -Djavax.rmi.CORBA.PortableRemoteObjectClass=com.sap.engine.system.PortableRemoteObjectProxy

F    arg[52] = -XX:+UseConcMarkSweepGC

F    arg[53] = -javaagent:/usr/sap/DAC/SMDA97/SMDAgent/applications.config/com.sap.smd.agent.application.wily/BytecodeAgent/ISAGENT.8.2.4.0-2012-01-27/wily/Agent.jar

F    arg[54] = -XX:TargetSurvivorRatio=90

F    arg[55] = -XX:+DumpDetailedClassStatisticOnOutOfMemory

F    arg[56] = -XX:+PrintGCDetails

F    arg[57] = -XX:MaxErrorQueueLength=200

F    arg[58] = -XX:+PrintGCTimeStamps

F    arg[59] = -XX:+DisableExplicitGC

F    arg[60] = -XX:SoftRefLRUPolicyMSPerMB=1000

F    arg[61] = -XX:-StringInternTableInPermGen

F    arg[62] = -XX:SurvivorRatio=9

F    arg[63] = -XX:+HeapDumpOnOutOfMemoryError

F    arg[64] = -XX:HeapDumpPath=OOM.hprof

F    arg[65] = -XX:-TraceClassUnloading

F    arg[66] = -Xss1048576

F  ignore unrecognized options : no

F  ********************************************************************************

J  JVMX version - Mar 14 2013 05:43:32 - 61_REL - optU - aix ppc64 - 6 - bas2:191583 (mixed mode)

J  ***Warning: .hotspot_compiler file is present but has been ignored.  Run with -XX:CompileCommandFile=.hotspot_compiler to load the file.

F [Thr 258] Fri Jun 28 19:11:20 2013

F  [Thr 258] *** LOG => SfCJavaVm: Java VM started.

F  ********************************************************************************

F  Main method call:

F  com/sap/engine/boot/Start.main()

F  ********************************************************************************

J Fri Jun 28 19:11:26 2013

J  9.152: [GC 9.152: [ParNew: 343552K->10899K(381696K), 0.0545100 secs] 343798K->11145K(2059008K), 0.0547350 secs] [Times: user=0.16 sys=0.00, real=0.06 secs]

F [Thr 258] Fri Jun 28 19:11:27 2013

F  [Thr 258] *** LOG => State changed from 0 (Initial) to 1 (Waiting to start).

F  [Thr 258] *** LOG    state real time: 11.090 CPU time: 0.870 sys, 10.660 usr

F  [Thr 258] *** LOG    total real time: 11.090 CPU time: 0.870 sys, 10.660 usr

F  [Thr 258]

F  [Thr 258] *** LOG => State changed from 1 (Waiting to start) to 2 (Starting framework).

F  [Thr 258] *** LOG    state real time: 0.000 CPU time: 0.000 sys, 0.000 usr

F  [Thr 258] *** LOG    total real time: 11.091 CPU time: 0.870 sys, 10.660 usr

F  [Thr 258]

J Fri Jun 28 19:11:32 2013

J  14.926: [GC 14.926: [ParNew: 354451K->33267K(381696K), 0.0550670 secs] 354814K->33631K(2059008K), 0.0553500 secs] [Times: user=0.17 sys=0.00, real=0.05 secs]

J Fri Jun 28 19:11:39 2013

J  21.835: [GC 21.836: [ParNew: 376819K->38144K(381696K), 0.0753990 secs] 377390K->40932K(2059008K), 0.0756870 secs] [Times: user=0.22 sys=0.00, real=0.06 secs]

J Fri Jun 28 19:11:48 2013

J  31.466: [GC 31.466: [ParNew: 381696K->38144K(381696K), 0.2759930 secs] 384905K->66909K(2059008K), 0.2762490 secs] [Times: user=0.62 sys=0.01, real=0.28 secs]

J Fri Jun 28 19:11:53 2013

J  35.884: [GC 35.885: [ParNew: 381696K->38144K(381696K), 0.3351510 secs] 411048K->104214K(2059008K), 0.3354830 secs] [Times: user=1.25 sys=0.01, real=0.33 secs]

J Fri Jun 28 19:12:01 2013

J  43.812: [GC 43.812: [ParNew: 381696K->38144K(381696K), 0.3311270 secs] 448124K->126463K(2059008K), 0.3315320 secs] [Times: user=1.30 sys=0.01, real=0.34 secs]

J Fri Jun 28 19:12:19 2013

J  62.438: [GC 62.439: [ParNew: 381696K->38144K(381696K), 0.1761810 secs] 470147K->144147K(2059008K), 0.1764220 secs] [Times: user=0.52 sys=0.00, real=0.18 secs]

J Fri Jun 28 19:12:22 2013

J  65.559: [GC 65.559: [ParNew: 381696K->38144K(381696K), 0.1311510 secs] 488212K->165804K(2059008K), 0.1314150 secs] [Times: user=0.52 sys=0.00, real=0.13 secs]

J Fri Jun 28 19:12:25 2013

J  67.786: [GC 67.786: [ParNew: 381696K->38144K(381696K), 0.1610080 secs] 510429K->195343K(2059008K), 0.1613190 secs] [Times: user=0.64 sys=0.01, real=0.16 secs]

M [Thr 27500] Fri Jun 28 19:12:26 2013

M  [Thr 27500] CCMS: openMonitoringSegment(): inside static JMON Lib: already connected.

J Fri Jun 28 19:12:26 2013

J  69.011: [GC 69.011: [ParNew: 381696K->38144K(381696K), 0.1444250 secs] 545518K->224272K(2059008K), 0.1446970 secs] [Times: user=0.62 sys=0.01, real=0.15 secs]

J Fri Jun 28 19:12:28 2013

J  71.073: [GC 71.074: [ParNew: 381696K->38144K(381696K), 0.1608880 secs] 567903K->244402K(2059008K), 0.1612440 secs] [Times: user=0.50 sys=0.01, real=0.16 secs]

J Fri Jun 28 19:12:30 2013

J  73.195: [GC 73.195: [ParNew: 381687K->38144K(381696K), 0.1346090 secs] 588062K->259544K(2059008K), 0.1348620 secs] [Times: user=0.42 sys=0.00, real=0.13 secs]

J Fri Jun 28 19:12:34 2013

J  77.088: [GC 77.089: [ParNew: 381696K->38144K(381696K), 0.1591510 secs] 603224K->271441K(2059008K), 0.1594190 secs] [Times: user=0.37 sys=0.00, real=0.16 secs]

J Fri Jun 28 19:12:41 2013

J  83.931: [GC 83.932: [ParNew: 381696K->38144K(381696K), 0.1580440 secs] 615249K->292299K(2059008K), 0.1584460 secs] [Times: user=0.53 sys=0.00, real=0.16 secs]

J Fri Jun 28 19:12:45 2013

J  88.406: [GC 88.407: [ParNew: 381696K->38144K(381696K), 0.1098800 secs] 636085K->302771K(2059008K), 0.1102240 secs] [Times: user=0.46 sys=0.00, real=0.11 secs]

J Fri Jun 28 19:12:49 2013

J  92.612: [GC 92.612: [ParNew: 381696K->38144K(381696K), 0.1202150 secs] 646622K->313640K(2059008K), 0.1205010 secs] [Times: user=0.39 sys=0.00, real=0.12 secs]

F [Thr 258] Fri Jun 28 19:12:49 2013

F  [Thr 258] *** LOG => State changed from 2 (Starting framework) to 10 (Starting apps).

F  [Thr 258] *** LOG    state real time: 82.387 CPU time: 24.840 sys, 138.870 usr

F  [Thr 258] *** LOG    total real time: 93.478 CPU time: 25.710 sys, 149.530 usr

F  [Thr 258]

J Fri Jun 28 19:12:52 2013

J  95.394: [GC 95.394: [ParNew: 381642K->38144K(381696K), 0.0839240 secs] 657287K->316769K(2059008K), 0.0842840 secs] [Times: user=0.30 sys=0.00, real=0.08 secs]

J Fri Jun 28 19:12:53 2013

J  96.207: [GC 96.208: [ParNew: 381643K->38144K(381696K), 0.0772060 secs] 660305K->318645K(2059008K), 0.0774910 secs] [Times: user=0.30 sys=0.00, real=0.08 secs]

J  96.751: [GC 96.751: [ParNewJ 

J Fri Jun 28 19:12:54 2013

: 381664K->38144K(381696K), 0.1176440 secs] 662282K->326169K(2059008K), 0.1179510 secs] [Times: user=0.39 sys=0.00, real=0.12 secs]

J  97.283: [GC 97.284: [ParNew: 381670K->38144K(381696K), 0.0736150 secs] 669731K->328016K(2059008K), 0.0739290 secs] [Times: user=0.35 sys=0.00, real=0.07 secs]

J  97.541: [GC 97.541: [ParNew: 381647K->36985K(381696K), 0.1217910 secs] 671520K->338035K(2059008K), 0.1220630 secs] [Times: user=0.38 sys=0.00, real=0.13 secs]

J Fri Jun 28 19:12:55 2013

J  98.038: [GC 98.038: [ParNew: 380519K->35734K(381696K), 0.0633570 secs] 681569K->336784K(2059008K), 0.0636220 secs] [Times: user=0.31 sys=0.00, real=0.06 secs]

J  98.463: [GC 98.464: [ParNew: 379286K->35819K(381696K), 0.0575810 secs] 680336K->336869K(2059008K), 0.0578410 secs] [Times: user=0.19 sys=0.01, real=0.05 secs]

J Fri Jun 28 19:12:56 2013

...

Sorry, I cannot create attachments or I did not find the option for that.

Best regards,

Micha

Former Member
0 Kudos

Can you provide/check log/trace files from work directory? Also provide additional information:

1) version of J2EE engine;

2) new JVM version;

3) environment settings for <sid>adm user.