SAP Knowledge Base Article - Preview

3697102 - DBISQL does not start due to creation failure of Java Virtual Machine: IQ

Symptom

Symptom
With IQ IQ 16.1.050.2280/12790/P/SP05.08/MS/Windows 2012 R2/64bit/2023-03-13 01:58:36
OS: Windows 2012R2 Build 9600  on X86_64
No need 'admin' privilege to launch dbisql.

Hereby the simple REPRO test I just made, Test.bat that launches Test.sql:

1/Test.bat
dbisql.exe -c "int=yes"    e:\Data\se-iciq\Se-common\bat\Test.sql -nogui -q

2/Test.sql
sp_iqstatus

3/
I. 12/18 11:54:58. Connection ID 86969: "ICIQ001P" connected to database "dwhiqdb" from SQL Anywhere 17.0.11 (2280) client over SharedMemory
I. 12/18 11:54:58. Connection ID 86969: AppInfo is IP=10.214.161.196;HOST=S01V09986909;OSUSER=ICIQ001P;OS='Windows 2012R2 Build 9600 ';EXE=D:\Apps\SAPIQ\IQ-16_1\Bin64\dbisql.exe;PID=0x6c54;THREAD=0x1430;VERSION=17.0.11.2280;API=iAnywhereJDBC;TIMEZONEADJUSTMENT=60
I. 12/18 11:54:58. Connection ID 86969: Server character set conversion will occur
    database character set is "ISO-8859-15"


+4,C,86969,UID=ICIQ001P;DBN='dwhiqdb'
. . .
=,<,86969,PREPARE,call "sp_iqstatus"()
#
#


New install of IQ
#
DB: Versn: 16.1.050.2916/15831/P/SP05.15/MS/Windows 2016/64bit/2025-03-10 15:03:41
On a new windows server: Windows 2019 Build 17763  on X86_64

On the server, I can run DBISQL with my own account (having admin authorisation) without any problems.                                
But I can’t with a technical account (not having ADMIN authorization):
err:
could not create the java virtual machine
unknown error

Event Viewer :
[21200] 09:53:13 ***ERROR (os_windows.cpp:5321): os::create_control_area: Could not create or open file mapping (filename=Local\sap_jvm_file_pid_14208_ 0) (size=45760) (error=5)
[21200] 09:53:13 ***ERROR (controls.cpp:281): Controls::init: Could not create control area. Maybe old VMs are still running.
[21200] 09:53:13 ***ERROR (jvmEnv.cpp:132): VMCOs::init: Initialization of the control area failed
[21200] 09:53:13 ***ERROR (thread.cpp:5983): VMCOs::init failed

#
D:\>d:\Apps\SAPIQ\IQ-16_1\Bin64\dbisql.exe -version
Popup window : Could not create the Java virtual machine. Unknown error

In the Event Viewer the source of the error is : ‘SAPJVM’.
#


Read more...

Environment

IQ 16.1 SP05 PL15 
OS: Windows 2019

Keywords

dbisql java create control area old VMs still running Java Virtual Machine jvm authorization permission privilege , KBA , BC-SYB-IQ , Sybase IQ , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.