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

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

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.
Pulkit_Jain_
Pulkit_Jain_Accepted solution
Employee
May 6, 2021 12:02 PM UTC

@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
Employee
May 18, 2021 6:10 AM UTC
@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.
Translate
New Participant
May 11, 2021 1:12 PM UTC

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

Translate
New Participant
May 11, 2021 1:09 PM UTC
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?
Translate
Pulkit_Jain_
Pulkit_Jain_Accepted solution
Employee
May 6, 2021 12:02 PM UTC

@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
Translate
Mayank_Gandhi
Employee
May 4, 2021 10:58 AM UTC

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

Translate