error.log *INFO* [HealthCheck Default Login Accounts] org.apache.commons.httpclient.HttpMethodDirector I/O exception | Community
Skip to main content
May 3, 2021
Solved

error.log *INFO* [HealthCheck Default Login Accounts] org.apache.commons.httpclient.HttpMethodDirector I/O exception

  • May 3, 2021
  • 5 replies
  • 1932 views

Hello AEM Forms experienceleague community,

 

after installation of AEM Forks 6.5.0 ( Version 6.5.0, GM )  and configuration the following message fills out the  error.log:

"

D:\Adobe\Adobe_Experience_Manager_Forms\crx-repository\logs 03.05.2021 14:57:00.836 *INFO* [sling-default-2-health-com.adobe.granite.repository.hc.impl.DefaultLoginsHealthCheck] org.apache.commons.httpclient.HttpMethodDirector I/O exception (java.net.ConnectException) caught when processing request: Connection refused: connect
03.05.2021 14:57:00.836 *INFO* [sling-default-2-health-com.adobe.granite.repository.hc.impl.DefaultLoginsHealthCheck] org.apache.commons.httpclient.HttpMethodDirector Retrying request
03.05.2021 14:57:01.852 *INFO* [sling-default-2-health-com.adobe.granite.repository.hc.impl.DefaultLoginsHealthCheck] org.apache.commons.httpclient.HttpMethodDirector I/O exception (java.net.ConnectException) caught when processing request: Connection refused: connect
03.05.2021 14:57:01.852 *INFO* [sling-default-2-health-com.adobe.granite.repository.hc.impl.DefaultLoginsHealthCheck] org.apache.commons.httpclient.HttpMethodDirector Retrying request
03.05.2021 14:57:02.868 *INFO* [sling-default-2-health-com.adobe.granite.repository.hc.impl.DefaultLoginsHealthCheck] org.apache.commons.httpclient.HttpMethodDirector I/O exception (java.net.ConnectException) caught when processing request: Connection refused: connect
03.05.2021 14:57:02.868 *INFO* [sling-default-2-health-com.adobe.granite.repository.hc.impl.DefaultLoginsHealthCheck] org.apache.commons.httpclient.HttpMethodDirector Retrying request
03.05.2021 14:57:04.602 *INFO* [sling-default-1-health-org.apache.sling.discovery.oak.SynchronizedClocksHealthCheck] org.apache.sling.discovery.oak.SynchronizedClocksHealthCheck execute: no topology connectors connected to local instance.
03.05.2021 14:57:11.040 *INFO* [HealthCheck Default Login Accounts] org.apache.commons.httpclient.HttpMethodDirector I/O exception (java.net.ConnectException) caught when processing request: Connection refused: connect
03.05.2021 14:57:11.040 *INFO* [HealthCheck Default Login Accounts] org.apache.commons.httpclient.HttpMethodDirector Retrying request
03.05.2021 14:57:12.055 *INFO* [HealthCheck Default Login Accounts] org.apache.commons.httpclient.HttpMethodDirector I/O exception (java.net.ConnectException) caught when processing request: Connection refused: connect
03.05.2021 14:57:12.055 *INFO* [HealthCheck Default Login Accounts] org.apache.commons.httpclient.HttpMethodDirector Retrying request
03.05.2021 14:57:13.071 *INFO* [HealthCheck Default Login Accounts] org.apache.commons.httpclient.HttpMethodDirector I/O exception (java.net.ConnectException) caught when processing request: Connection refused: connect
03.05.2021 14:57:13.071 *INFO* [HealthCheck Default Login Accounts] org.apache.commons.httpclient.HttpMethodDirector Retrying request

 

Could someone help to solve cause of this message?  I am very new with this product and will be very thankfull to get solution for this issue.,

 

 Thanks ,

Anait

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Pulkit_Jain_

@anaitkhatchikian 

JFYI- this health check does not perform any HTTP connection and these are just INFO level logs for the health check module so can be ignored. You may suppress the msgs to avoid noises in the logs, in case you don't want to disable the bundle by:

  • Go to Felix console : "/system/console/configmgr"
  • Search for Apache Sling Logging Logger Configuration
  • Click on +icon to create a new logging configuration.
  • Set Log Level to "WARN" - So that you get relevant warnings ONLY for this class- "org.apache.commons.httpclient.HttpMethodDirector"
  • Under Logger enter the classname org.apache.commons.httpclient.HttpMethodDirector
  • Save the changes

5 replies

Mayank_Gandhi
Adobe Employee
Adobe Employee
May 4, 2021

@anaitkhatchikian  Check healthcheck bundle in console and it should stop this

Pulkit_Jain_
Adobe Employee
Pulkit_Jain_Adobe EmployeeAccepted solution
Adobe Employee
May 6, 2021

@anaitkhatchikian 

JFYI- this health check does not perform any HTTP connection and these are just INFO level logs for the health check module so can be ignored. You may suppress the msgs to avoid noises in the logs, in case you don't want to disable the bundle by:

  • Go to Felix console : "/system/console/configmgr"
  • Search for Apache Sling Logging Logger Configuration
  • Click on +icon to create a new logging configuration.
  • Set Log Level to "WARN" - So that you get relevant warnings ONLY for this class- "org.apache.commons.httpclient.HttpMethodDirector"
  • Under Logger enter the classname org.apache.commons.httpclient.HttpMethodDirector
  • Save the changes
May 11, 2021
Hello PulkitJain, Thanks für solution! In my installtion I do not have Felix console... Would it help now, after instIation, when i change settinh of org.apache.sling.commons.log.level in the file D:\Adobe\Adobe_Experience_Manager_Forms\crx-repository\launchpad\sling.properties from INFO to WARN?
May 11, 2021

this part of settings in D:\Adobe\Adobe_Experience_Manager_Forms\crx-repository\launchpad\sling.properties shows as following:

 

sling.fileinstall.dir=${sling.home}/install
org.apache.felix.http.shared_servlet_context_attributes=true
felix.startlevel.bundle=20
aem.jpms.java.xml={dollar}{aem.jre.java.xml},javax.xml.catalog;uses\:\="javax.xml.namespace";version\="1.0.0"
org.apache.sling.launcher.system.capabilities.extra=osgi.contract;osgi.contract\=JavaServlet;version\:Version\=" 3.1";uses\:\="javax.servlet,javax.servlet.http,javax.servlet.descriptor,javax.servlet.annotation"
sling.framework.install.startlevel=1
sling.installer.dir=${sling.launchpad}/installer
org.apache.sling.commons.log.level=INFO

Mayank_Gandhi
Adobe Employee
Adobe Employee
May 18, 2021
@anaitkhatchikian You can but you are changing whole server log so any other issue that you might want to track with 'warn' will also not be shown.