Hello Barbara,
I think the cause of this problem is the wrong key length for AESCBCEncrypt, the key must be 32 characters long.
- Log in to post comments
Hello Barbara,
I think the cause of this problem is the wrong key length for AESCBCEncrypt, the key must be 32 characters long.
I also think that these are MSM specific commands. Maybe the following code I found will help with the programming.
I $F($ZV,"MSM")>0S UCI=$P($ZU(0),",",1),SYS=$P($ZU(1,0),",",2)
I $F($ZV,"Cache")>0S UCI=$ZNSPACEHello Thiago,
please check once the documentation for the class:
https://docs.intersystems.com/latest/csp/documatic/%25CSP.Documatic.cls…
This may look like this for the %Service_Telnet service:
USER>zn"%SYS"; Change Namespace to %SYS%SYS>Set stat=##class(Security.Services).Get("%Service_Telnet",.props)
%SYS>zw stat,props
stat=1
...
props("Enabled")=0
...
%SYS>Set props("Enabled")=1%SYS>Set stat=##class(Security.Services).Modify("%Service_Telnet",.props)The following example returns status code 0 to me:
set path = "U:\TEST.rar" set pathtoExt = "U:\uncompress\" set cmd = """C:\Program Files\7-Zip\7z.exe""" set args = 4 set args(1) = "x" set args(2) = path set args(3) = "-o"_pathtoExt set args(4) = "-aoa" ; set Overwrite mode = always set status = $ZF(-100,"/SHELL",cmd,.args) write status
Yes, my CPU has Only 4 Cores. The Limitation of the example reduces the # of cores: from 4 to 2.
I've no CPU available with more cores for Testing.
This Docker-Compose File ist working on Windows without Compability mode:
version: '3.6' services: iris: build: context: . dockerfile: Dockerfile restart: always ports: - 1972 - 52773 - 53773 # If your CPU has >8 cores limit InterSystems IRIS CE to 8 with cpuset: "0-1" volumes: - ./:/irisdev/app
With this Limitation:
USER>D $System.CPU.Dump()
-- CPU Info for node d4769ce95a0e --------------------------------------------
Architecture: x86
Model: Intel(R) Core(TM) i5-6500 CPU @ 3.20GHz
Vendor: Intel
# of threads: 2
# of cores: 2
# of chips: 1
# of threads per core: 1
# of cores per chip: 4
MT supported: 0
MT enabled: 0
MHz: 3200
------------------------------------------------------------------------------
Without:
-- CPU Info for node da469c6005ed --------------------------------------------
Architecture: x86
Model: Intel(R) Core(TM) i5-6500 CPU @ 3.20GHz
Vendor: Intel
# of threads: 4
# of cores: 4
# of chips: 1
# of threads per core: 1
# of cores per chip: 4
MT supported: 0
MT enabled: 0
MHz: 3200
------------------------------------------------------------------------------
Hi,
you could try add cpuset command to the docker-compose file:
# If your CPU has >8 cores limit InterSystems IRIS CE to 8 with
cpuset: "0-7"