Encontrar

Pregunta
· 8 ene, 2025

JDBC - Microsoft Entra Authentication

We connect to MS SQL Databases using the Microsoft JDBC Driver 12.2 using the following URL

jdbc:sqlserver://<server>:<port>;database=<database name>;trustServerCertificate=true;integratedSecurity=true;authenticationScheme=NTLM;domain=osumc;authentication=NotSpecified

They want to migrate the databases to the Azure Cloud and in doing so we need the Authentication to change to go through Microsoft Entra. I was given the following URL

jdbc:sqlserver://<server>:<port>;user=<user>;password=<password>;encrypt=true;trustServerCertificate=true;hostNameInCertificate=<certificate>;loginTimeout=30;Authentication=ActiveDirectoryPassword;

but now I can not connect and get the following errror..

Connection failed.
Remote JDBC error: com.microsoft.sqlserver.jdbc.SQLServerException: Failed to load MSAL4J Java library for performing ActiveDirectoryPassword authentication..

From reading about MSAL4J it is another .jar file that I guess I need to install and include in the class path.

Has anyone else ever ran into this issue?

5 comentarios
Comentarios (5)2
Inicie sesión o regístrese para continuar
Resumen
· 8 ene, 2025

InterSystems Community Q&A Monthly Newsletter #44

Top new questions
Can you answer these questions?
#InterSystems IRIS
Article "Ansible modules and IRIS demo" qlist bug
By Phillip Wu
How does the Inactivity Limit as defined in the System-Wide Security Parameters work and other questions about the login process
By Theo Stolker
UDP Adapter not working
By Corentin Blondeau
Connecting InterSystems IRIS with Metabase BI
By Alex Bravo
Interface Behavior with invalid TLS Cert for 'Server certificate verification'
By James Hipp
Journal not applied to any directory
By Undefined Undefined
Mirror entered trouble state
By Igor Pak
Can't edit %Net.SMTP despite having %DB_IRISSYS and database mounted as RW?
By David Hockenbroch
Admin Portal forbiden
By Thiago Andrade
Need information
By Djouldé BARRY
SSL Issues on Mac OS 15.2 when IRIS is running within a Docker container
By Alastair Maxwell
xDBC error
By Matjaz Murko
MaxRowsToGet on EnsLib.SQL.InboundAdapter
By Scott Roth
The right side of a logical double AND (&&) riddle
By Anthony Master
Converting iris stream to python bytes is very slow
By Jonathan Perry
#InterSystems IRIS for Health
EnsLib.HL7.Service.* through BPL to EnsLib.HL7.MsgRouter.RoutingEngine
By Anthony Master
how to convert from json into sda container and then to fhir bundle resource
By sandeep bhargava
Does Iris for Health Generate Reset Packets? Under What Circumstances? What Settings Are needed in a BS to Not Send Reset packets?
By Patty Aguirre-Romero
Webterminal pagination from command ^%G does not work
By Enric Moya Sánchez
Issue calling methods in jar
By Shashvati Dash
SDA Implementation FHIR
By sandeep bhargava
ERROR #5821: Cannot instantiate query: 'SQLCODE = -146, %msg = Error: '' is an invalid DISPLAY Date value'
By yelena melamed
Troubleshooting unsuccessful Community Edition installation
By Subtropical.Bob
Production pooled component index
By Dmitrii Baranov
Blank jobs due to missing implementation at time of sending deferred response how to clear
By Mark OReilly
#Caché
#Health Connect
#44Monthly Q&A fromInterSystems Developers
Pregunta
· 8 ene, 2025

Can't edit %Net.SMTP despite having %DB_IRISSYS and database mounted as RW?

I need to see the full SMTP trace when a %Net.SMTP attempts to send an email to troubleshoot an issue. As far as I know, the only way to get that is to uncomment line 192 in the %Net.SMTP class.

 //:#define SMTPTRACE

I've done this in the past by giving myself the %DB_IRISSYS role, so I tried that. That database is also not mounted as read-only.

Of course the bigger issue here is that I can't seem to get that trace without having to edit a system class or create my own, but to fix my more immediate issue, what else do I need to check that would be preventing me from editing that class?

7 comentarios
Comentarios (7)5
Inicie sesión o regístrese para continuar
Artículo
· 8 ene, 2025 Lectura de 1 min

2024.3 Interoperability Highlight - New Option to Resend Message from within Visual Trace

The ability to resend messages easily has always been a strong feature of our Interoperability capabilities.

With v2024.3 coming out soon (available already now as Developer Preview) out already we've made this even easier!

Now from within the Visual Trace itself you can find next to the Message Header a Resend button and you can click it and arrive at the usual Resend Message Editor (without having to go through the Message Viewer and search for your specific message).

Here's an example of what this looks like:

See also from the related Release Notes.

2 comentarios
Comentarios (2)3
Inicie sesión o regístrese para continuar
Artículo
· 8 ene, 2025 Lectura de 2 min

¿Cómo y por qué hacer preguntas a la IA de la Comunidad?

Hola desarrolladores:

¿Conoces la IA de la Comunidad? Pues si no es así, te estás perdiendo una de las mejores aplicaciones que nos trajeron en 2024. Y te preguntarás ¿En qué consiste? Pues en una herramienta muy intuitiva para obtener respuestas acerca de la tecnología InterSystems. 

¿Dónde la encuentro? 

 


Al lado derecho de la página, justo encima de la columna de eventos, donde pone "Hacer una pregunta a la IA". Vamos a seguir el paso a paso y verás qué sencillo es.

 

  • Una vez dentro te darás cuenta de que aún está en fase beta. Nuestros compañeros están trabajando en incluir manuales de soporte oficiales y en incorporar el feedback que les vais aportando. Verás un disclaimer que avisa que el contenido que te devuelva bebe de las aportaciones a la Comunidad de Desarrolladores. Esto es genial porque te devolverá hasta el artículo/fuente de la respuesta.

 

  • Cuando hagas tu pregunta, se aportará una respuesta esquematizada, fácil de leer y resumida. Es una buena opción para una primera búsqueda acerca de un tema. Puedes filtrar si la respuesta es de contenido de la comunidad o de la documentación oficial.

   

  • Puedes valorar si la respuesta te ha gustado o no (pulgar arriba o abajo), consultar las fuentes (esto me encanta) y, si eres como yo, quizás sigas prefiriendo ayuda de una persona. Aunque esta herramienta está genial, es complementaria a la ayuda que te ofrecen nuestros expertos. Si quieres contar algo más específico acerca de tu caso, simplemente haz click en "preguntar a la comunidad" y desarrolla tu pregunta sin problemas.

 

  • ¿Ha funcionado la IA en tu caso? Si te ha ayudado, la puedes valorar positivamente. Esto ayuda a seguir mejorando la BETA.

Próximamente iré comentando otras funciones interesantes que tendremos este año en la comunidad, así como ideas y propuestas que podéis incorporar en vuestro día a día para sacar el máximo partido a la tecnología InterSystems.

¡Gracias por leerme!

4 comentarios
Comentarios (4)1
Inicie sesión o regístrese para continuar