Get M2EE_ADMIN_PASS env variable for Monitoring Mendix Runtime locally

0
Hi,  I want to monitor mendix runtime to look for no of cache objects and other details. I look at the docs https://docs.mendix.com/refguide/monitoring-mendix-runtime/, There they mention to look at javaw.exe or java process. I am not familiar with java and unable to identify where i can get the password. could someone help me with where i can look at i n my computer to get the password?    Thanks in advance for your help
asked
3 answers
0

 Hello,

If you are running your application on-premise, you can find your M2EE_ADMIN_PASS on the Settings.yaml file in your app directory on the application serveur;

its the value of ServerPassword parameter.

answered
0

When running locally from Eclipse, M2EE_ADMIN_PASS is in the file <appname>.launch, in the project folder.

In my case the password was simply "1". After base-64-encoding this becomes "MQ==".

So in Postman I added these extra headers:

 

image.png

 

And for example in the body:

 

image.png

This worked for me.

answered
0

Hi, 

I have use this admin api recently and published my finding on this article, It has code to retrieve the password and to access the api.

Do check it out here: How hidden API fixed my Audit log

 

answered