Professional Documents
Culture Documents
*** ERROR => invalid vm detection, please have a look the files
- java command ["C:\j2sdk1.4.2_02\jre\bin\java.exe" -cp .
JdkDetection_<pid> > ./JdkDetection_<pid>.txt 2>&1]
- output file [./JdkDetection_<pid>.txt]
- java file [./JdkDetection_<pid>.java]
- class file [JdkDetection_<pid>]
- used vm type [-server]
- used vm type []
*** ERROR => can't get JDK information (rc=-1)
Verify that the bootstrap.JavaPath property in the
<DIR_INSTANCE>/j2ee/cluster/instance.properties file points to a full version of
the Java Development Kit (and not to an installation of the Java Runtime
Environment).
Retry the command in the <DIR_INSTANCE>/work directory from a command
interpreter.
1. The instance bootstrap fails:
***************************************************************
JStartupStartJLaunch: program = <DIR_INSTANCE>/j2ee/os_libs/jlaunch
-> arg[00] = <DIR_INSTANCE>/j2ee/os_libs/jlaunch
-> arg[01] = pf=<DIR_SYSTEM>/SYS/profile/<SYSTEM>_<INSTANCE>_<host>
-> arg[02] = -file=<DIR_INSTANCE>/j2ee/cluster/instance.properties
-> arg[03] = -syncSem=JSTARTUP_WAIT_ON_<pid>
-> arg[04] = -nodeName=bootstrap
-> arg[05] = -nodeId=-1
-> arg[06] = -jvmOutFile=<DIR_INSTANCE>/work/jvm_bootstrap.out
-> arg[07] = -stdOutFile=<DIR_INSTANCE>/work/std_bootstrap.out
-> arg[08] = -locOutFile=<DIR_INSTANCE>/work/dev_bootstrap
-> arg[09] = -mode=BOOTSTRAP
-> arg[10] = pf=<DIR_SYSTEM>/SYS/profile/<SYSTEM>_<INSTANCE>_<host>
-> lib path = <...>
-> exe path = <...>
****************************************************************
Check the bootstrap log files. See 6. Check whether the instance bootstrap terminates.
If you cannot find any problems in the JControl developer trace file, create a customer
message for the BC-JAS-COR component, create an archive containing the installation
log files and all files from the <DIR_INSTANCE>/work directory, and send the archive
as an attachment to the customer message.
Example
The following is an example of an instance.properties file containing the minimal
properties needed by the bootstrap to start and to recover the whole instance.properties
file:
bootstrap.ClassPath=./bootstrap/launcher.jar
bootstrap.JavaParameters=-Djco.jarm=1
bootstrap.JavaPath=C:/j2sdk1.4.2_07
bootstrap.MainClass=com.sap.engine.offline.OfflineToolStart
bootstrap.MaxHeapSize=128
bootstrap.Name=bootstrap
bootstrap.Parameters=com.sap.engine.bootstrap.Bootstrap ./bootstrap
ID0098278
bootstrap.RootPath=C:/usr/sap/J2E/JC00/j2ee/cluster
bootstrap.Type=bootstrap
#test1. : ----------------------------------------
#test1. : generated VM parameters
#test1. : Tue May 06 08:26:28 2003
#test1. : ----------------------------------------
<component name>.javaVMPath=C:\jdk1.4.2
<component name>.javaVMVersion=1.4.2
<component name>.javaVMVendor=Java HotSpot(TM) Client VM (build
1.4.2, mixed mode)
<component name>.javaVMType=classic
<component
name>.javaVMLibPath=C:\jdk1.4.2\lall\bin\classic;C:\jdk1.4.2\jre\bin
<component name>.javaVMExePath=C:\jdk1.4.2\bin
<component name>.javaVMPropVers=1.0
Solution
The reason for this error message is an already existing shared memory segment with
wrong size. In this case:
1. ...
1. 1. Stop the J2EE instance.
2. 2. Go to the os_libs directory of the J2EE instance.
3. 3. To invoke the shared memory cleanup, execute:
jcontrol pf=<SAP instance profile> -c.
4. 4. Restart the J2EE instance.