Saviynt unveils its cutting-edge Intelligence Suite products to revolutionize Identity Security!
Click HERE to see how Saviynt Intelligence is transforming the industry.
Saviynt Copilot Icon

custom JAR Loggers

Harsha
Regular Contributor II
Regular Contributor II

Hi,

We have a custom JAR deployed to fetch runtime analytics and to send that report through API we are sending it as email body. So external JAR job says successful but it is throwing error like Error sending data to APM server, APM Server transport error (ECONNREFUSED): connect ECONNREFUSED 127.0.0.1:8200"}, Error Caused by: org.apache.http.ProtocolException: Target host is not specified. etc.

 Can anyone help me understand what exactly is causing the issue? Please find attached logs

Thank you in advance.

Harsha

5 REPLIES 5

nimitdave
Saviynt Employee
Saviynt Employee

If you are using java loggers then replace them with SOP statements and then reload the jar then restart the ecm and ecm worker services. 

The APM errors are not for the custom jar.

Harsha
Regular Contributor II
Regular Contributor II

Hello,

Thank you for response. I have put SOP statements and found 504 error gateway timeout

rushikeshvartak
All-Star
All-Star

You must have missed https:// in your property file/code 

https://stackoverflow.com/questions/24985771/org-apache-http-protocolexception-target-host-is-not-sp...

 


Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.

Harsha
Regular Contributor II
Regular Contributor II

Hello Rushikesh,

Url is not causing issue instead its 504 error.

Thank you

share logs


Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.