Alexander Koblov · Jul 3, 2024 go to post

(Usually the best way to get an answer on the Internet is not to ask a question, but post an incorrect statement. So hoping that someone would correct me, I would say that)

This is not possible -- if there is not process attached, then there is no input for READ to read the value from

Alexander Koblov · May 8, 2024 go to post

Idea -- set Web Gateway event level log to pp0 and see what times it logs. That would help to identify if indeed the issue is witht the web server itself, or perhaps in some Web Gateway configuration

I wonder if this is caused sometimes by establishing a new connection between Web Gateway and IRIS

Alexander Koblov · Apr 22, 2024 go to post

Good catch! I would agree, that the documentation is wrong here. Please use "Feedback" button on the right border of the documtation page to report this, so that this is fixed.

Alexander Koblov · Apr 15, 2024 go to post

Hm, check also Protect event in the Audit -- ensure that the Audit and logging of Protect events are enabled, then reproduce the problem and see if anything is logged in the Audit

Alexander Koblov · Apr 11, 2024 go to post

Scott,

take a look inside iam-setup.sh

Based on the inputs it constructs a URL and then tries to 'curl' it.

And fails for some reason. Check which URL it constructs and check if curl indeed works fine for that URL

The URL should look like:

https://IAM:@xxx.xxx.xxx.xxx:443/api/iam/license

Check if you can access it from the bash

Alexander Koblov · Feb 27, 2024 go to post

Can you provide small test case. It works fine for me. dc.demo is the same as HS.Local.CZ.OR.ROUTER.Service.Data.KeyProperty

dc.demoser is:

Class dc.demoser Extends %SerialObject
{

Property A As %String;

}

Test program:

set p = ##class(dc.demo).%New()
set x = ##class(dc.demoser).%New()
set x.A = "a1"
set p.Serial = x

set y= ##class(dc.demoser).%New()
set y.A = "a2"
do p.SerialList.Insert(y)

set ec= p.%Save()
zw ec

And then runnning:

USER>do ##class(dc.demo).test()
ec=1
 
USER>zw ^dc.demoD
^dc.demoD=1
^dc.demoD(1)=$lb("",$lb("a1"),$lb($lb($lb("a2"))),"",0,0,"","","","","","",0)

I never saw such direct of %SerialObject. Why do you need it? I wonder if %DynamicAbstractObject and JSON representation suits you here better

Alexander Koblov · Feb 15, 2024 go to post

Hi Virat

See methods %ExportExcelToFile, %ExportPDFToFile in the class %DeepSee.Utils. Perhaps they help

Alexander Koblov · Jan 22, 2024 go to post

Class EnsLib.SOAP.Service inherits from class %SOAP.WebService that has the following parameter:

/// Response is always encoded in UTF-8.
/// Should not be overridden.
Parameter CHARSET As STRING [ Internal ] = "UTF-8";

So the answer is yes. A SOAP Service has UTF-8 as the default charset.

Alexander Koblov · Jan 17, 2024 go to post

I don't know the reasons for this not to work, given that there is a network connectivity between mirror nodes in the cluster and async member. I did not try this myself

Alexander Koblov · Jan 16, 2024 go to post

Virat, can you please provide more details on how DeepSee is related to this task? There are PDF files. You need to display them? Why do you think DeepSee is the tool to do it?

Alexander Koblov · Jan 15, 2024 go to post

Try also the opposite -- adding quotes before the filename

d $ZF(-100,"/SHELL /LOGCMD /STDOUT=""/archive/logs/failover-intengtest-vip.log""",cmd)
Alexander Koblov · Nov 2, 2023 go to post

There was a following directive in the Private Apache -- add it to your web server and it redirects documentation to docs.intersystems.com

Redirect /csp/docbook/ http://docs.intersystems.com/irisforhealth20231/csp/docbook/ 
Alexander Koblov · Oct 24, 2023 go to post

Can you generate the QR-code in "/tmp" folder? QR-Code on 2021.1 uses java, so you need to have java installed. Or -- upgrade to 2023.1. QR-code module there does not need java

Alexander Koblov · Oct 20, 2023 go to post

Even better -- use System Manager Machine field (it's also on John's screenshot) to restrict access by IP also

Alexander Koblov · Sep 11, 2023 go to post

I believe IRIS already can GRANT privileges on schema:

You can use SCHEMA schema-name as the object-list value to grant the object-privilege to all of the tables, views, and stored procedures in the named schema, in the current namespace. The following example grants this user SELECT privilege for all objects in the Sample schema.

GRANT SELECT ON SCHEMA Sample TO Deborah

https://docs.intersystems.com/irislatest/csp/docbook/DocBook.UI.Page.cls?KEY=RSQL_grant

Alexander Koblov · Aug 31, 2023 go to post

"Apache Worker Process Close Down: PID=11330; Configuration=0x7fe92f816000;"

It looks like the connection is closed because Apache decides to recycle the worker, therefore the connection is terminated. It's rather a question to Apache configuration, why it decided to recycle a worker process

Alexander Koblov · Aug 31, 2023 go to post

I don't know what happens in your particular case. What you can do -- set logging level in the Web Gateway to "ev2"

"V2" incudus the following information: "Information regarding basic connection management between the Web Gateway and InterSystems IRIS (Start and Close points for each connection)"

Let the Web Gateway run for some time, then hopefully in the csp.log you'll see the details on how new connections are created and old ones are terminated

https://docs.intersystems.com/irislatest/csp/docbook/DocBook.UI.Page.cls?KEY=GCGI_oper_config#GCGI_config_parms_system_event

Other idea -- check Apache settings. Which MPM does it use, what recycle settings for worker does it have?

Also, some notes on MPM models of Apache: https://docs.intersystems.com/iris20232/csp/docbook/Doc.View.cls?KEY=GCGI_ap-app-consi

Alexander Koblov · Jul 12, 2023 go to post

Also you should be able to open any journal file from the Management Portal View Journal -- replace path to a journal file in the URL and you should see its contents

Alexander Koblov · Jul 7, 2023 go to post

<NAMESPACE> is thrown when you try to switch to the non-existing namespace. So check to which namespace the project is connected and if this namespace exists

Alexander Koblov · Jun 11, 2023 go to post

See documentation for $listnext. It stores a pointer to the current element of the list, thus avoiding recalculating it with each list element access. $List or $Listget has O(n) time complexity. $Listnext has O(1)