[midPoint] Overriding systemConfiguration attributes in config.xml file or using java system properties

Gómez Martínez, Elsa egomezm at minsait.com
Tue Dec 10 08:18:08 CET 2019


Hello!

Have you tried to change midpoint.sh file?

I have to change it to modify the MIDPOINT_PORT because I tried in all of the files and it only worked in midpoint.bat (I’m running in Windows, I suppose it’s the same to Linux.)

Hope it helps.

Elsa

De: midPoint <midpoint-bounces at lists.evolveum.com> En nombre de Frédéric Lohier
Enviado el: lunes, 9 de diciembre de 2019 18:56
Para: midPoint General Discussion <midpoint at lists.evolveum.com>
Asunto: [midPoint] Overriding systemConfiguration attributes in config.xml file or using java system properties


Hello,



Following my last message, I would like to override systemConfiguration attributes using config.xml or java system properties as explained here https://wiki.evolveum.com/display/midPoint/Overriding+config.xml+parameters



Looking at https://github.com/Evolveum/midpoint/blob/master/infra/common/src/main/java/com/evolveum/midpoint/common/configuration/api/MidpointConfiguration.java



I tried the following in midpoint/bin/setenv.sh



JAVA_OPTS="$JAVA_OPTS

-Dmidpoint.system.deploymentInformation.name<http://dmidpoint.system.deploymentinformation.name/>=DEV”



But it doesn’t work after a restart. Any though of how I could make this work?



-Frederic

________________________________

Este correo electrónico y, en su caso, cualquier fichero anexo al mismo, contiene información de carácter confidencial exclusivamente dirigida a su destinatario o destinatarios. Si no es vd. el destinatario indicado, queda notificado que la lectura, utilización, divulgación y/o copia sin autorización está prohibida en virtud de la legislación vigente. En el caso de haber recibido este correo electrónico por error, se ruega notificar inmediatamente esta circunstancia mediante reenvío a la dirección electrónica del remitente.
Evite imprimir este mensaje si no es estrictamente necesario.

This email and any file attached to it (when applicable) contain(s) confidential information that is exclusively addressed to its recipient(s). If you are not the indicated recipient, you are informed that reading, using, disseminating and/or copying it without authorisation is forbidden in accordance with the legislation in effect. If you have received this email by mistake, please immediately notify the sender of the situation by resending it to their email address.
Avoid printing this message if it is not absolutely necessary.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20191210/9bfd1083/attachment.htm>


More information about the midPoint mailing list