Quartz Scheduler, ThreadDumpCollector and AuthenticationSupport errors in AEM 6.2 cold standby instance. | Community
Skip to main content
Gunalan_V
Level 3
July 11, 2016

Quartz Scheduler, ThreadDumpCollector and AuthenticationSupport errors in AEM 6.2 cold standby instance.

  • July 11, 2016
  • 1 reply
  • 3728 views

Hi Friends,

I'm using AEM 6.2 and cold standby is configured for author instance.

Recently I saw the logs (error.log)  of cold standby instance where I'm getting the below thread dump collector errors for every minute. Also I'm not able to login into http://domain:port/system/console/bundles of standby instance.

Could any one please let me know how to resolve this issue?

 

Error.log errors in standby Instance


11.07.2016 14:25:46.465 *ERROR* [sling-default-3047] org.apache.sling.commons.scheduler.impl.QuartzScheduler No discovery available, therefore not executing job com.adobe.granite.threaddump.impl.ThreadDumpCollector@6ea2c919 with name com.adobe.granite.threaddump.impl.ThreadDumpCollector and config LEADER.
11.07.2016 14:26:46.465 *ERROR* [sling-default-3049] org.apache.sling.commons.scheduler.impl.QuartzScheduler No discovery available, therefore not executing job com.adobe.granite.threaddump.impl.ThreadDumpCollector@6ea2c919 with name com.adobe.granite.threaddump.impl.ThreadDumpCollector and config LEADER.
11.07.2016 14:27:46.466 *ERROR* [sling-default-3052] org.apache.sling.commons.scheduler.impl.QuartzScheduler No discovery available, therefore not executing job com.adobe.granite.threaddump.impl.ThreadDumpCollector@6ea2c919 with name com.adobe.granite.threaddump.impl.ThreadDumpCollector and config LEADER.
11.07.2016 14:28:46.465 *ERROR* [sling-default-3051] org.apache.sling.commons.scheduler.impl.QuartzScheduler No discovery available, therefore not executing job com.adobe.granite.threaddump.impl.ThreadDumpCollector@6ea2c919 with name com.adobe.granite.threaddump.impl.ThreadDumpCollector and config LEADER.
11.07.2016 14:29:46.465 *ERROR* [sling-default-3051] org.apache.sling.commons.scheduler.impl.QuartzScheduler No discovery available, therefore not executing job com.adobe.granite.threaddump.impl.ThreadDumpCollector@6ea2c919 with name com.adobe.granite.threaddump.impl.ThreadDumpCollector and config LEADER.

 

Error Logs after standby server restart:

 

11.07.2016 17:47:18.349 *INFO* [FelixDispatchQueue] org.apache.felix.framework FrameworkEvent STARTED
11.07.2016 17:47:18.349 *INFO* [FelixDispatchQueue] org.apache.felix.framework Startup finished in 16520ms
11.07.2016 17:47:18.353 *INFO* [FelixDispatchQueue] org.apache.felix.framework Service [Apache Sling Startup Service,1757, [org.apache.sling.launchpad.api.StartupService]] ServiceEvent REGISTERED
11.07.2016 17:48:11.357 *ERROR* [sling-default-3] org.apache.sling.commons.scheduler.impl.QuartzScheduler No discovery available, therefore not executing job com.adobe.granite.threaddump.impl.ThreadDumpCollector@103e5a2a with name com.adobe.granite.threaddump.impl.ThreadDumpCollector and config LEADER.
11.07.2016 17:48:25.036 *ERROR* [qtp1879834176-225] org.apache.sling.engine.impl.SlingHttpContext handleSecurity: AuthenticationSupport service missing. Cannot authenticate request.
11.07.2016 17:48:25.036 *ERROR* [qtp1879834176-225] org.apache.sling.engine.impl.SlingHttpContext handleSecurity: Possible reason is missing Repository service. Check AuthenticationSupport dependencies.
11.07.2016 17:48:55.356 *ERROR* [qtp1879834176-230] org.apache.sling.engine.impl.SlingHttpContext handleSecurity: AuthenticationSupport service missing. Cannot authenticate request.
11.07.2016 17:48:55.356 *ERROR* [qtp1879834176-230] org.apache.sling.engine.impl.SlingHttpContext handleSecurity: Possible reason is missing Repository service. Check AuthenticationSupport dependencies.
11.07.2016 17:49:11.356 *ERROR* [sling-default-3] org.apache.sling.commons.scheduler.impl.QuartzScheduler No discovery available, therefore not executing job com.adobe.granite.threaddump.impl.ThreadDumpCollector@103e5a2a with name com.adobe.granite.threaddump.impl.ThreadDumpCollector and config LEADER.
11.07.2016 17:50:11.357 *ERROR* [sling-default-3] org.apache.sling.commons.scheduler.impl.QuartzScheduler No discovery available, therefore not executing job com.adobe.granite.threaddump.impl.ThreadDumpCollector@103e5a2a with name com.adobe.granite.threaddump.impl.ThreadDumpCollector and config LEADER.
11.07.2016 17:51:11.356 *ERROR* [sling-default-5] org.apache.sling.commons.scheduler.impl.QuartzScheduler No discovery available, therefore not executing job com.adobe.granite.threaddump.impl.ThreadDumpCollector@103e5a2a with name com.adobe.granite.threaddump.impl.ThreadDumpCollector and config LEADER.
11.07.2016 17:52:11.357 *ERROR* [sling-default-3] org.apache.sling.commons.scheduler.impl.QuartzScheduler No discovery available, therefore not executing job com.adobe.granite.threaddump.impl.ThreadDumpCollector@103e5a2a with name com.adobe.granite.threaddump.impl.ThreadDumpCollector and config LEADER.
11.07.2016 17:53:11.356 *ERROR* [sling-default-9] org.apache.sling.commons.scheduler.impl.QuartzScheduler No discovery available, therefore not executing job com.adobe.granite.threaddump.impl.ThreadDumpCollector@103e5a2a with name com.adobe.granite.threaddump.impl.ThreadDumpCollector and config LEADER.

 

 

 

Regards,

Gunalan V

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

1 reply

Adobe Employee
July 12, 2016

Hi Gunalan,

you have two errors in the above logs

handleSecurity: AuthenticationSupport service missing. Cannot authenticate request

This is the standard message when trying to access the standby using http, most probably someone tried to access the console. Is this the case?

and

org.apache.sling.commons.scheduler.impl.QuartzScheduler No discovery available

I have also seen this error in my 6.2 standby and am trying to get clarification on why it is happening.

Regards,

Opkar

Gunalan_V
Gunalan_VAuthor
Level 3
July 12, 2016

Thanks for your response Opkar. Please see my response below.

Also yesterday I mentioned that I was not able to login into OSGI console of standby instance. Weird thing is I'm seeing that login issue only in my Firefox browser (Getting null pointer exception in ensureLocaleCookieSet method of OSGIManager class) but able to login successfully in chrome browser :) . 

 

handleSecurity: AuthenticationSupport service missing. Cannot authenticate request

This is the standard message when trying to access the standby using http, most probably someone tried to access the console. Is this the case?

 

Gunalan V:    Yes, I see this error when I try to access other console apart from OSGI. I think that is the expected behavior for standby.

 

 

and 

org.apache.sling.commons.scheduler.impl.QuartzScheduler No discovery available

I have also seen this error in my 6.2 standby and am trying to get clarification on why it is happening.

 

Gunalan V: Oh ok, Do I need to raise any ticket for the same to Adobe?

 

 

Null Pointer Exception Logs when accessing stanby instance OSGI console through firefox

 

12.07.2016 15:28:57.604 *ERROR* [qtp1851415319-7447] org.apache.felix.http.jetty Exception while processing request to /system/console/bundles (java.lang.NullPointerException)
java.lang.NullPointerException: null
        at org.apache.felix.webconsole.internal.servlet.OsgiManager.ensureLocaleCookieSet(OsgiManager.java:502)
        at org.apache.felix.webconsole.internal.servlet.OsgiManager.service(OsgiManager.java:561)
        at org.apache.felix.webconsole.internal.servlet.OsgiManager$3.run(OsgiManager.java:465)
        at java.security.AccessController.doPrivileged(Native Method)
        at org.apache.felix.webconsole.internal.servlet.OsgiManager.service(OsgiManager.java:461)
        at org.apache.felix.http.base.internal.handler.ServletHandler.handle(ServletHandler.java:85)
        at org.apache.felix.http.base.internal.dispatch.InvocationChain.doFilter(InvocationChain.java:79)
        at com.adobe.granite.license.impl.LicenseCheckFilter.doFilter(LicenseCheckFilter.java:308)
        at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:135)
        at org.apache.felix.http.base.internal.dispatch.InvocationChain.doFilter(InvocationChain.java:74)
        at org.apache.felix.http.sslfilter.internal.SslFilter.doFilter(SslFilter.java:89)

 

 

Thanks,

Gunalan V

Adobe Employee
August 2, 2016

Hi Opkar,

Thanks for looking into it.

Now both login and quartz scheduler error logs issue has been resolved. 

I have raised ticket to Adobe and updated the below config as per their suggestion.

 

For Quartz Scheduler Issue: There is a hot fix package provided by Adobe and it worked.

For Login Issue:

  1. Log in to the server that the cold standby AEM instance is installed on
  2. Stop the standby AEM instance
  3. Open this file in an editor
    crx-quickstart/launchpad/config/org/apache/felix/webconsole/internal/servlet/OsgiManager.config
  4. Add this line to the end of the file
    locale=“en_US"
  5. Start the standby instance again

 

Thanks,

Gunalan V


Great news Gunalan!

Can you share the hot fix number for the quartz scheduler error log issue? 

How did you find the issue with the file OsgiManager.config?

Regards,

Opkar