go to post Alexander Koblov · Feb 21 What is the authentication method for this web-application? I would suggest to you to have delegated authentication (ZAUTHENTICATE), get the Cookie there and inspect it For example, in the sample here ZAUTHENTICATE checks OAuth2 token. You can check Cookie there Adjust also GetCredentials accordingly
go to post Alexander Koblov · Feb 21 No way, unfortunately. Unless you can use ODBC from your project to access Caché, not InterSystems.Data.CacheClient.dll
go to post Alexander Koblov · Feb 21 The basic solution -- don't enable "Retain All Log Files". Then you would have only two log files -- current one, and old one which is replaced every time current log reaches its Log Rotation Size For more complex strategies -- yes, use OS tools. E.g. logrotate in linux https://docs.intersystems.com/iris20243/csp/docbook/DocBook.UI.Page.cls?...
go to post Alexander Koblov · Feb 21 I wonder if indeed server and port do not match with the ones in the ssldefs.ini What is the connection string and what is the contents of ssldefs.ini?
go to post Alexander Koblov · Jan 30 Hi Yaron. SQL Injection police here ;-) You can pass query parameters to %ExecDirect as well SET variable = 2000 SET sql = "SELECT Column FROM Table WHERE ID = ?" DO ##class(%SQL.Statement).%ExecDirect(, sql, variable)
go to post Alexander Koblov · Jan 14 And also try zw sc after Set sc=stream.LinkToFile("test_test.json")
go to post Alexander Koblov · Dec 2, 2024 Or, if you connect from external java program to IRIS -- check DelimitedIdentifiers option: https://docs.intersystems.com/iris20243/csp/docbook/DocBook.UI.Page.cls?...
go to post Alexander Koblov · Nov 25, 2024 Thank you Luis Angel. Other possibility -- use CPF Merge Define an SSL configuration with CreateSSLConfig, then modify superserver with ModifyServer to assign this SSL configuration https://docs.intersystems.com/iris20242/csp/docbook/DocBook.UI.Page.cls?...
go to post Alexander Koblov · Nov 25, 2024 Measures can be used as a logical condition. For example: SELECT IIF(MEASURES.[%COUNT]<500, "fewer than 500", "500 or more") ON 0, diagd.MEMBERS ON 1 FROM patients SELECT IIF(STDDEV(birthd.decade.MEMBERS) < 50 , "fewer than 50", "50 or more") ON 0, diagd.MEMBERS ON 1 FROM patients https://docs.intersystems.com/irislatest/csp/docbook/DocBook.UI.Page.cls...
go to post Alexander Koblov · Nov 25, 2024 Hi Daniel. This 404 error shows IIS page. For the debugging purposes the recommendation is to enable PassThrough responses in IIS: https://docs.intersystems.com/iris20242/csp/docbook/DocBook.UI.Page.cls?... IRIS returns 404 when the page or class does not exist, and when PROTECT error happens. So enable the PROTECT events in the Audit, and check if anything is logged there Check that IIS is configured correctly to forward the request that returns 404 to the Web Gateway and then IRIS
go to post Alexander Koblov · Nov 19, 2024 I wonder if this is an error in the documentation, and you rather should use PasswordExternal property, that is for specifying clear text password Tani's comment below is of course correct -- it's always a bad idea to put passwords in the plaintext
go to post Alexander Koblov · Nov 18, 2024 Other idea -- try to put ojdbc8.jar in some publicly available folder. Like /tmp to rule out permissions issue. You wrote that you checked the permissions, however I wonder if MacOS treats folders in the /Users folder in a special way
go to post Alexander Koblov · Nov 18, 2024 Hi Muhammad. Enable logging in the %JDBC External language server, reproduce the error, and check the log. Hopefully there will be some useful information in the log
go to post Alexander Koblov · Nov 11, 2024 Hi David. Take a look in the %Net.SMTP:GetResponse method. There is a commented out "#define SMTPTRACE" macro. Uncomment it, recompile %Net.SMTP Reproduce the error, then check ^SmtpTrace global Hopefully it should have some details on the interaction with the SMTP server. Do this on the TEST instance, as each %Net.SMTP:Send clears out the debug global.
go to post Alexander Koblov · Nov 1, 2024 Enable Audit and LoginFailure event in the Audit, reproduce the error and check the Audit Events. Hopefully you'll have LoginFailure there. Click on Details -- you should see the reason for Access denied
go to post Alexander Koblov · Nov 1, 2024 expandAll does not invoke any callback methods. It shows only the nodes that are defined currently for the tree See for example sample page csp/samples/ZENTest.DynaTreeTest.cls Execute zenPage.getComponentById( "tree").expandAll(true); from the Developer console. Note, that no nodes are expanded. Now click on the Vegetable -> Fruit, then collapse them and call zenPage.getComponentById( "tree").expandAll(true); again. Now these nodes are shown. However, children for Animal and Mineral are still not shown, because they are not populated yet
go to post Alexander Koblov · Oct 31, 2024 iris_phys_mem_percent_used in IRIS is (total - free - buff/cache) * 100 / total Zabbix provides different memory metrics [0]. If it's "Used" then it's just (total - free) without accounting for buff/cache. That' why you might see the difference https://www.zabbix.com/documentation/current/en/manual/appendix/items/vm...
go to post Alexander Koblov · Oct 30, 2024 The same advice applies. See what resource the browser fails to load. What's their HTTP status. Is there anything in the response body? Check apache's error.log. It's in \httpd\logs