go to post Enrico Parisi · Jan 7 Unless your post is missing crucial code/info, the SQL update you posted is atomic and should work even with concurrent processes updating the same row. No need of %NOLOCK or retry (is that second update a retry?).It will not be atomic if you use %NOLOCK. If you want to use object code to update ProcessedCount, then: Set obj=##class(Data.A).%OpenId(RowID,4) Set obj.ProcessedCount=obj.ProcessedCount + 1 Set sc=obj.%Save() ; handle error here Kill obj I feel your post/code misses some info. Also, what do you mean with "not working"?
go to post Enrico Parisi · Jan 5 Are you sure that the Routes you posted are the ones used by the called web application? The error suggest there is an issue (invalid value?) with the Url attribute in the Routes. You may want to check the generated method DispatchMap in the .int code of your dispatch class.
go to post Enrico Parisi · Jan 5 I think that ^ZAUTHLOG cannot be set because the process executing the ZAUTHENTICATE code has no privilege/access to %SYS for writing. If you follow the @Lucas Fernandes suggestion to enable and check audit log you probably find a <PROTECT> error. If you are using a test system (no production!), you can temporary add %All role to the CSPSystem user and try again.Remember to remove the %All role after your debug the issue. Note that before authentication the process running ZAUTHENTICATE has VERY limited capabilities (privileges). In general I think the ZAUTHENTICATE should check if it's called for the purpose you are implementing, something like: If ServiceName="%Service_WebGateway" { If $isobject($get(%request)) { If (%request.Application="/ws/jarvis") { ; your code here } } } You may also need/want to assign a role to the user:Set Properties("Roles")="YourRequiredRole"
go to post Enrico Parisi · Jan 5 Is delegated authentication enabled in the Web Application used/called?
go to post Enrico Parisi · Jan 1 I suggest to have a look to the Discussion The new $system.external interface and the linked .NET samples available in GitHub.
go to post Enrico Parisi · Dec 30, 2025 If you want to store FHIR resources you need a FHIR Server, not a gateway, for more info: Installing a New FHIR Server Make sure your license include FHIR Server functionality.
go to post Enrico Parisi · Dec 21, 2025 Have you tried using the proper, official, documented and supported way to do that using Foreign Tables? Does the memory leak happen using Foreign Tables ?Maybe the way you are using the "FOR INTERNAL USE" classes is not proper/correct. Why using something you are not supposed to use when there is a proper/supported way to do this?
go to post Enrico Parisi · Dec 21, 2025 I'm afraid I don't have an answer, I use JDBC regularly (admittedly , not Postgres and NOT using %XDBC classes) and I've never seen this behavior.If anyone wants to dive deeper in this issue, more information are required to analyze and maybe try to reproduce it, like: "....rapid increase in memory consumption by the IRIS server" What process is consuming memory? What OS, Windows or Linux? If Linux, what flavor?What Java version are you using?What version of Postgres JDBC driver are you using?Last but to least, note that class %XDBC.Gateway says:"FOR INTERNAL USE - do not invoke directly"
go to post Enrico Parisi · Dec 19, 2025 LoadPageDir() compiles the subdirectories as well if/when in the Web Application definition the setting "Web Settings: Recurse" is flagged (enabled). (It's flagged/enabled by default when creating a Web App) How is Recurse setting set in your "/CSP/ourapp/" Web Application definition/configuration? Note that the directory you pass to LoadPageDir is in fact the path of a Web Application, not the physical path on disk.
go to post Enrico Parisi · Dec 15, 2025 To reconcile which user/process are associated with the license counts you can use the UserList Query in %SYSTEM.License (aka $system.License) class. Quick test: Set rs=$system.License.UserListFunc() Do rs.%Display()
go to post Enrico Parisi · Dec 11, 2025 select * from INFORMATION_SCHEMA.SCHEMATA; There are many tables in INFORMATION_SCHEMA schema you can query to get info, check: select * from INFORMATION_SCHEMA.TABLES where TABLE_SCHEMA ='INFORMATION_SCHEMA';
go to post Enrico Parisi · Dec 10, 2025 Have you tried explicitly adding to the production a BP using Ens.ScheduleHandler class?
go to post Enrico Parisi · Dec 4, 2025 Make sure the CSPSystem user has read access to the database where your custom login page is located. https://docs.intersystems.com/iris20253/csp/docbook/DocBook.UI.Page.cls?...
go to post Enrico Parisi · Dec 4, 2025 Are you using the IRIS login page or a custom login page defined in the Web Application?
go to post Enrico Parisi · Nov 26, 2025 The AI BOT answers are moderated, that means that must be approved by a moderator before being published. I do not understand "That is troublesome, particularly if Vitaliy is a Global Masters user.", can you please elaborate your concern?
go to post Enrico Parisi · Nov 21, 2025 OK, thank you, now that you edited adding the link it makes more sense.
go to post Enrico Parisi · Nov 21, 2025 I'm afraid it's not correct, for example the first item: For ResearcherId the parretn 1N means "One Number", EXACTLY one number I think the correct pattern should be .N, this means any number of Number (digits). Supposing ResearcherId is mandatory and my contains only numbers (at least one), the the pattern would be 1.N Last name would be 1.A, that is at least one low/upper case character