After completing the step 'Prepare the SAP Web AS ABAP + Java system for SAP Exchange Infrastructure' (pg. 15 of the installation guide), we noticed that we couldn't connect to the J2EE engine via the Visual Administrator to continue with installation. Upon using the JCmon utility, we found out that the dispatcher is not running. We noticed the following msg in the dev_dispatcher log:
[Thr 5552] *** ERROR => JHVM_LoadJavaVM: Cannot create Java VM (rc=-6)
[jhvmxx.c 480]
[Thr 5552] *** ERROR => Cannot load Java VM (server) (rc=-1)
The st_dispatcher log showed the following msg:
Unrecognized VM option
'MaxPermSize=128M-Djava.security.policy=./java.policy'
We think the dispatcher is not running and is complaining about the VM options b/c MaxPermSize=128M and -Djava.security.policy=./java.policy should be separated by a space. This parameter is set in step 'Adapt Memory Configuration for the J2EE Server' of section 'Configuring the J2EE Engine' under 'Prepare the SAP Web AS ABAP + Java system for SAP Exchange Infrastructure' (pg 16 - 17 of the installation guide).
Has anyone seen this before? I just like to confirm if we are looking at the correct root cause described above (i.e. missing space b/w the two VM parameters).
In order to fix this VM parameter, is anyone aware of a VM config file in which we can fix this parameter instead of reinstalling the WAS? We can not use the Visual Administrator to fix this parameter since we can not connect to the J2EE engine.
Thanks in advance for everyone's help!