Expand my Community achievements bar.

Enhance your AEM Assets & Boost Your Development: [AEM Gems | June 19, 2024] Improving the Developer Experience with New APIs and Events
SOLVED

Not able to access AEM http://localhost:4502/ getting Error 404 Not Found

Avatar

Level 2

I restarted my mac book and started AEM from terminal getting this error after AEM is started 

HTTP ERROR 404 Not Found

URI: /

STATUS:404

MESSAGE:Not FoundSERVLET:org.apache.felix.http.base.internal.dispatch.DispatcherServlet-e31d7b5

 

pavan4_0-1685469010638.png

 

Please help me resolving this issue, it is working fine morning , after my mac restart it I am getting this issue 

 

1 Accepted Solution

Avatar

Correct answer by
Level 4

Had same issue and fixed by following the below steps.

Try to access 
http://localhost:4502/libs/granite/core/content/login.html if it works just login and rest should also work.

If not delete below two files.

/author/crx-quickstart/repository/segmentstore/repo.lock

/author/crx-quickstart/launchpad/felix/cache.lock

Once done. Restart the instance and try to access crx/de and package manager
http://localhost:4502/crx/packmgr/index.jsp
http://localhost:4502/crx/de/index.jsp

This would take you to http://localhost:4502/libs/granite/core/content/login.html and let you login to access the instance.


View solution in original post

27 Replies

Avatar

Community Advisor

@pavan4 AEM also would have stopped. Are you sure the AEM instance is running in the mac? If its not , please restart the AEM

Avatar

Level 2

@Saravanan_Dharmaraj AEM instance is still running in the mac , restart the AEM also didn't fix the issue.

Avatar

Community Advisor

Tail the error.log which is under crx-quickstart/logs/error.log and see what error you are getting when restarting the instance.

Avatar

Level 2

at org.apache.felix.framework.Felix.startBundle(Felix.java:2308)

at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1566)

at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:308)

at java.base/java.lang.Thread.run(Thread.java:829)

31.05.2023 09:20:13.066 *ERROR* [FelixLogListener] Events.Framework.adobe-lc-forms-xmlform-bmc FrameworkEvent ERROR (org.apache.felix.log.LogException: org.osgi.framework.BundleException: Unable to resolve adobe-lc-forms-xmlform-bmc [672](R 672.0): missing requirement [adobe-lc-forms-xmlform-bmc [672](R 672.0)] osgi.wiring.package; (&(osgi.wiring.package=com.adobe.service.ManagerPackage)(version>=1.0.0)(!(version>=2.0.0))) [caused by: Unable to resolve adobe-aemds-core-bmc [598](R 598.0): missing requirement [adobe-aemds-core-bmc [598](R 598.0)] osgi.wiring.package; (&(osgi.wiring.package=com.adobe.aemds.connector.repository)(version>=1.9.0)(!(version>=2.0.0))) [caused by: Unable to resolve adobe-aemds-core-common [601](R 601.0): missing requirement [adobe-aemds-core-common [601](R 601.0)] osgi.wiring.package; (&(osgi.wiring.package=com.adobe.idp)(version>=10.0.0)(!(version>=11.0.0)))]] Unresolved requirements: [[adobe-lc-forms-xmlform-bmc [672](R 672.0)] osgi.wiring.package; (&(osgi.wiring.package=com.adobe.service.ManagerPackage)(version>=1.0.0)(!(version>=2.0.0)))])

org.apache.felix.log.LogException: org.osgi.framework.BundleException: Unable to resolve adobe-lc-forms-xmlform-bmc [672](R 672.0): missing requirement [adobe-lc-forms-xmlform-bmc [672](R 672.0)] osgi.wiring.package; (&(osgi.wiring.package=com.adobe.service.ManagerPackage)(version>=1.0.0)(!(version>=2.0.0))) [caused by: Unable to resolve adobe-aemds-core-bmc [598](R 598.0): missing requirement [adobe-aemds-core-bmc [598](R 598.0)] osgi.wiring.package; (&(osgi.wiring.package=com.adobe.aemds.connector.repository)(version>=1.9.0)(!(version>=2.0.0))) [caused by: Unable to resolve adobe-aemds-core-common [601](R 601.0): missing requirement [adobe-aemds-core-common [601](R 601.0)] osgi.wiring.package; (&(osgi.wiring.package=com.adobe.idp)(version>=10.0.0)(!(version>=11.0.0)))]] Unresolved requirements: [[adobe-lc-forms-xmlform-bmc [672](R 672.0)] osgi.wiring.package; (&(osgi.wiring.package=com.adobe.service.ManagerPackage)(version>=1.0.0)(!(version>=2.0.0)))]

at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4398)

at org.apache.felix.framework.Felix.startBundle(Felix.java:2308)

at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1566)

at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:308)

at java.base/java.lang.Thread.run(Thread.java:829)

31.05.2023 09:20:13.066 *INFO* [FelixLogListener] Events.Bundle.com.adobe.forms.common.adobe-xfaforms-common BundleEvent RESOLVED

31.05.2023 09:20:13.099 *INFO* [FelixLogListener] Events.Bundle.com.adobe.forms.common.adobe-xfaforms-common BundleEvent STARTED

31.05.2023 09:20:13.099 *INFO* [FelixLogListener] Events.Bundle.com.adobe.livecycle.scala-lang BundleEvent RESOLVED

31.05.2023 09:20:13.103 *INFO* [FelixLogListener] Events.Bundle.com.adobe.livecycle.scala-lang BundleEvent STARTED

31.05.2023 09:20:13.103 *INFO* [FelixLogListener] Events.Bundle.org.apache.sling.startupfilter.disabler BundleEvent RESOLVED

31.05.2023 09:20:13.134 *INFO* [FelixLogListener] Events.Bundle.org.apache.sling.startupfilter.disabler BundleEvent STARTED

31.05.2023 09:20:13.134 *INFO* [FelixLogListener] Events.Bundle.org.apache.felix.framework BundleEvent STARTED

31.05.2023 09:20:13.167 *INFO* [FelixLogListener] Events.Framework.org.apache.felix.framework FrameworkEvent STARTED

31.05.2023 09:20:13.169 *INFO* [FelixLogListener] Events.Service.org.apache.felix.framework Service [org.apache.sling.feature.apiregions.impl,3419, [org.osgi.service.cm.ManagedService]] ServiceEvent REGISTERED

31.05.2023 09:20:13.171 *INFO* [FelixLogListener] Events.Service.org.apache.felix.framework Service [Apache Sling Startup Service,3420, [org.apache.sling.launchpad.api.StartupService]] ServiceEvent REGISTERED

31.05.2023 09:20:13.177 *INFO* [FelixLogListener] Events.Service.com.adobe.granite.startup Service [55, [org.osgi.service.event.EventHandler]] ServiceEvent UNREGISTERING

31.05.2023 09:21:01.932 *WARN* [sling-default-3-health-com.adobe.granite.queries.impl.hc.QueryLimitsHealthCheck] com.adobe.granite.queries.impl.hc.QueryLimitsHealthCheck Could not retrieve QueryEngineSettings MBean.

31.05.2023 09:21:01.933 *INFO* [sling-default-6-health-com.adobe.granite.queries.impl.hc.QueriesStatusHealthCheck] com.adobe.granite.queries.impl.hc.QueriesStatusHealthCheck Could not retrieve QueryStats MBean.

31.05.2023 09:22:01.933 *WARN* [sling-default-1-health-com.adobe.granite.queries.impl.hc.QueryLimitsHealthCheck] com.adobe.granite.queries.impl.hc.QueryLimitsHealthCheck Could not retrieve QueryEngineSettings MBean.

31.05.2023 09:22:01.933 *INFO* [sling-default-9-health-com.adobe.granite.queries.impl.hc.QueriesStatusHealthCheck] com.adobe.granite.queries.impl.hc.QueriesStatusHealthCheck Could not retrieve QueryStats MBean.

31.05.2023 09:23:01.935 *WARN* [sling-default-4-health-com.adobe.granite.queries.impl.hc.QueryLimitsHealthCheck] com.adobe.granite.queries.impl.hc.QueryLimitsHealthCheck Could not retrieve QueryEngineSettings MBean.

31.05.2023 09:23:01.935 *INFO* [sling-default-9-health-com.adobe.granite.queries.impl.hc.QueriesStatusHealthCheck] com.adobe.granite.queries.impl.hc.QueriesStatusHealthCheck Could not retrieve QueryStats MBean.

31.05.2023 09:24:01.934 *INFO* [sling-default-5-health-com.adobe.granite.queries.impl.hc.QueriesStatusHealthCheck] com.adobe.granite.queries.impl.hc.QueriesStatusHealthCheck Could not retrieve QueryStats MBean.

31.05.2023 09:24:01.934 *WARN* [sling-default-3-health-com.adobe.granite.queries.impl.hc.QueryLimitsHealthCheck] com.adobe.granite.queries.impl.hc.QueryLimitsHealthCheck Could not retrieve QueryEngineSettings MBean.

 

@Saravanan_Dharmaraj  Please find the tail of error.log after restating the instance.

Avatar

Community Advisor

Hi @pavan4 ,

 

Is that a vanilla instance or the one with some custom code in it. If later, it might have broken as a result of some code or configuration change/installation prior to system restart. Either way, you should find some evidence in the error.log file. Restart the AEM instance, grab the logs from the time of start and can share it here for further debugging.

 

Thanks,

Fani

Avatar

Level 2

Hi @Fanindra_Surat , prior to restart of mac I installed aem-service-pkg-6.5.17.0.zip (Service package )for using AEM Forms adobe-aemfd-osx-pkg-6.0.914.zip in http://localhost:4502/crx/packmgr/index.jsp

 

and after the restart of mac , and starting the AEM instance I am getting

HTTP ERROR 404 Not Found

URI: /

STATUS:404

MESSAGE:Not Found

SERVLET:org.apache.felix.http.base.internal.dispatch.DispatcherServlet-e31d7b5

Please find my tail of error.log file on start of AEM instance 

 

at org.apache.felix.framework.Felix.startBundle(Felix.java:2308)

at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1566)

at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:308)

at java.base/java.lang.Thread.run(Thread.java:829)

31.05.2023 09:20:13.066 *ERROR* [FelixLogListener] Events.Framework.adobe-lc-forms-xmlform-bmc FrameworkEvent ERROR (org.apache.felix.log.LogException: org.osgi.framework.BundleException: Unable to resolve adobe-lc-forms-xmlform-bmc [672](R 672.0): missing requirement [adobe-lc-forms-xmlform-bmc [672](R 672.0)] osgi.wiring.package; (&(osgi.wiring.package=com.adobe.service.ManagerPackage)(version>=1.0.0)(!(version>=2.0.0))) [caused by: Unable to resolve adobe-aemds-core-bmc [598](R 598.0): missing requirement [adobe-aemds-core-bmc [598](R 598.0)] osgi.wiring.package; (&(osgi.wiring.package=com.adobe.aemds.connector.repository)(version>=1.9.0)(!(version>=2.0.0))) [caused by: Unable to resolve adobe-aemds-core-common [601](R 601.0): missing requirement [adobe-aemds-core-common [601](R 601.0)] osgi.wiring.package; (&(osgi.wiring.package=com.adobe.idp)(version>=10.0.0)(!(version>=11.0.0)))]] Unresolved requirements: [[adobe-lc-forms-xmlform-bmc [672](R 672.0)] osgi.wiring.package; (&(osgi.wiring.package=com.adobe.service.ManagerPackage)(version>=1.0.0)(!(version>=2.0.0)))])

org.apache.felix.log.LogException: org.osgi.framework.BundleException: Unable to resolve adobe-lc-forms-xmlform-bmc [672](R 672.0): missing requirement [adobe-lc-forms-xmlform-bmc [672](R 672.0)] osgi.wiring.package; (&(osgi.wiring.package=com.adobe.service.ManagerPackage)(version>=1.0.0)(!(version>=2.0.0))) [caused by: Unable to resolve adobe-aemds-core-bmc [598](R 598.0): missing requirement [adobe-aemds-core-bmc [598](R 598.0)] osgi.wiring.package; (&(osgi.wiring.package=com.adobe.aemds.connector.repository)(version>=1.9.0)(!(version>=2.0.0))) [caused by: Unable to resolve adobe-aemds-core-common [601](R 601.0): missing requirement [adobe-aemds-core-common [601](R 601.0)] osgi.wiring.package; (&(osgi.wiring.package=com.adobe.idp)(version>=10.0.0)(!(version>=11.0.0)))]] Unresolved requirements: [[adobe-lc-forms-xmlform-bmc [672](R 672.0)] osgi.wiring.package; (&(osgi.wiring.package=com.adobe.service.ManagerPackage)(version>=1.0.0)(!(version>=2.0.0)))]

at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4398)

at org.apache.felix.framework.Felix.startBundle(Felix.java:2308)

at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1566)

at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:308)

at java.base/java.lang.Thread.run(Thread.java:829)

31.05.2023 09:20:13.066 *INFO* [FelixLogListener] Events.Bundle.com.adobe.forms.common.adobe-xfaforms-common BundleEvent RESOLVED

31.05.2023 09:20:13.099 *INFO* [FelixLogListener] Events.Bundle.com.adobe.forms.common.adobe-xfaforms-common BundleEvent STARTED

31.05.2023 09:20:13.099 *INFO* [FelixLogListener] Events.Bundle.com.adobe.livecycle.scala-lang BundleEvent RESOLVED

31.05.2023 09:20:13.103 *INFO* [FelixLogListener] Events.Bundle.com.adobe.livecycle.scala-lang BundleEvent STARTED

31.05.2023 09:20:13.103 *INFO* [FelixLogListener] Events.Bundle.org.apache.sling.startupfilter.disabler BundleEvent RESOLVED

31.05.2023 09:20:13.134 *INFO* [FelixLogListener] Events.Bundle.org.apache.sling.startupfilter.disabler BundleEvent STARTED

31.05.2023 09:20:13.134 *INFO* [FelixLogListener] Events.Bundle.org.apache.felix.framework BundleEvent STARTED

31.05.2023 09:20:13.167 *INFO* [FelixLogListener] Events.Framework.org.apache.felix.framework FrameworkEvent STARTED

31.05.2023 09:20:13.169 *INFO* [FelixLogListener] Events.Service.org.apache.felix.framework Service [org.apache.sling.feature.apiregions.impl,3419, [org.osgi.service.cm.ManagedService]] ServiceEvent REGISTERED

31.05.2023 09:20:13.171 *INFO* [FelixLogListener] Events.Service.org.apache.felix.framework Service [Apache Sling Startup Service,3420, [org.apache.sling.launchpad.api.StartupService]] ServiceEvent REGISTERED

31.05.2023 09:20:13.177 *INFO* [FelixLogListener] Events.Service.com.adobe.granite.startup Service [55, [org.osgi.service.event.EventHandler]] ServiceEvent UNREGISTERING

31.05.2023 09:21:01.932 *WARN* [sling-default-3-health-com.adobe.granite.queries.impl.hc.QueryLimitsHealthCheck] com.adobe.granite.queries.impl.hc.QueryLimitsHealthCheck Could not retrieve QueryEngineSettings MBean.

31.05.2023 09:21:01.933 *INFO* [sling-default-6-health-com.adobe.granite.queries.impl.hc.QueriesStatusHealthCheck] com.adobe.granite.queries.impl.hc.QueriesStatusHealthCheck Could not retrieve QueryStats MBean.

31.05.2023 09:22:01.933 *WARN* [sling-default-1-health-com.adobe.granite.queries.impl.hc.QueryLimitsHealthCheck] com.adobe.granite.queries.impl.hc.QueryLimitsHealthCheck Could not retrieve QueryEngineSettings MBean.

31.05.2023 09:22:01.933 *INFO* [sling-default-9-health-com.adobe.granite.queries.impl.hc.QueriesStatusHealthCheck] com.adobe.granite.queries.impl.hc.QueriesStatusHealthCheck Could not retrieve QueryStats MBean.

31.05.2023 09:23:01.935 *WARN* [sling-default-4-health-com.adobe.granite.queries.impl.hc.QueryLimitsHealthCheck] com.adobe.granite.queries.impl.hc.QueryLimitsHealthCheck Could not retrieve QueryEngineSettings MBean.

31.05.2023 09:23:01.935 *INFO* [sling-default-9-health-com.adobe.granite.queries.impl.hc.QueriesStatusHealthCheck] com.adobe.granite.queries.impl.hc.QueriesStatusHealthCheck Could not retrieve QueryStats MBean.

31.05.2023 09:24:01.934 *INFO* [sling-default-5-health-com.adobe.granite.queries.impl.hc.QueriesStatusHealthCheck] com.adobe.granite.queries.impl.hc.QueriesStatusHealthCheck Could not retrieve QueryStats MBean.

31.05.2023 09:24:01.934 *WARN* [sling-default-3-health-com.adobe.granite.queries.impl.hc.QueryLimitsHealthCheck] com.adobe.granite.queries.impl.hc.QueryLimitsHealthCheck Could not retrieve QueryEngineSettings MBean.

 



Avatar

Level 2

Hi @Fanindra_Surat ,

 

Prior to restart of mac and running the instanse I had installed aem-service-pkg-6.5.17.0.zip(Service package) for using AEM forms adobe-aemfd-osx-pkg-6.0.914.zip in http://localhost:4502/crx/packmgr/index.jsp

after installing the Service package and restarting the mac and running Instanse I am getting 404 error for all the AEM pages in http://localhost:4502/. 

HTTP ERROR 404 Not Found

URI: /

STATUS:404

MESSAGE:Not Found

SERVLET:org.apache.felix.http.base.internal.dispatch.DispatcherServlet-e31d7b5

 

Please find the tail of error.log file after starting the AEM instance 


at org.apache.felix.framework.Felix.startBundle(Felix.java:2308)

at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1566)

at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:308)

at java.base/java.lang.Thread.run(Thread.java:829)

31.05.2023 09:20:13.066 *ERROR* [FelixLogListener] Events.Framework.adobe-lc-forms-xmlform-bmc FrameworkEvent ERROR (org.apache.felix.log.LogException: org.osgi.framework.BundleException: Unable to resolve adobe-lc-forms-xmlform-bmc [672](R 672.0): missing requirement [adobe-lc-forms-xmlform-bmc [672](R 672.0)] osgi.wiring.package; (&(osgi.wiring.package=com.adobe.service.ManagerPackage)(version>=1.0.0)(!(version>=2.0.0))) [caused by: Unable to resolve adobe-aemds-core-bmc [598](R 598.0): missing requirement [adobe-aemds-core-bmc [598](R 598.0)] osgi.wiring.package; (&(osgi.wiring.package=com.adobe.aemds.connector.repository)(version>=1.9.0)(!(version>=2.0.0))) [caused by: Unable to resolve adobe-aemds-core-common [601](R 601.0): missing requirement [adobe-aemds-core-common [601](R 601.0)] osgi.wiring.package; (&(osgi.wiring.package=com.adobe.idp)(version>=10.0.0)(!(version>=11.0.0)))]] Unresolved requirements: [[adobe-lc-forms-xmlform-bmc [672](R 672.0)] osgi.wiring.package; (&(osgi.wiring.package=com.adobe.service.ManagerPackage)(version>=1.0.0)(!(version>=2.0.0)))])

org.apache.felix.log.LogException: org.osgi.framework.BundleException: Unable to resolve adobe-lc-forms-xmlform-bmc [672](R 672.0): missing requirement [adobe-lc-forms-xmlform-bmc [672](R 672.0)] osgi.wiring.package; (&(osgi.wiring.package=com.adobe.service.ManagerPackage)(version>=1.0.0)(!(version>=2.0.0))) [caused by: Unable to resolve adobe-aemds-core-bmc [598](R 598.0): missing requirement [adobe-aemds-core-bmc [598](R 598.0)] osgi.wiring.package; (&(osgi.wiring.package=com.adobe.aemds.connector.repository)(version>=1.9.0)(!(version>=2.0.0))) [caused by: Unable to resolve adobe-aemds-core-common [601](R 601.0): missing requirement [adobe-aemds-core-common [601](R 601.0)] osgi.wiring.package; (&(osgi.wiring.package=com.adobe.idp)(version>=10.0.0)(!(version>=11.0.0)))]] Unresolved requirements: [[adobe-lc-forms-xmlform-bmc [672](R 672.0)] osgi.wiring.package; (&(osgi.wiring.package=com.adobe.service.ManagerPackage)(version>=1.0.0)(!(version>=2.0.0)))]

at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4398)

at org.apache.felix.framework.Felix.startBundle(Felix.java:2308)

at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1566)

at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:308)

at java.base/java.lang.Thread.run(Thread.java:829)

31.05.2023 09:20:13.066 *INFO* [FelixLogListener] Events.Bundle.com.adobe.forms.common.adobe-xfaforms-common BundleEvent RESOLVED

31.05.2023 09:20:13.099 *INFO* [FelixLogListener] Events.Bundle.com.adobe.forms.common.adobe-xfaforms-common BundleEvent STARTED

31.05.2023 09:20:13.099 *INFO* [FelixLogListener] Events.Bundle.com.adobe.livecycle.scala-lang BundleEvent RESOLVED

31.05.2023 09:20:13.103 *INFO* [FelixLogListener] Events.Bundle.com.adobe.livecycle.scala-lang BundleEvent STARTED

31.05.2023 09:20:13.103 *INFO* [FelixLogListener] Events.Bundle.org.apache.sling.startupfilter.disabler BundleEvent RESOLVED

31.05.2023 09:20:13.134 *INFO* [FelixLogListener] Events.Bundle.org.apache.sling.startupfilter.disabler BundleEvent STARTED

31.05.2023 09:20:13.134 *INFO* [FelixLogListener] Events.Bundle.org.apache.felix.framework BundleEvent STARTED

31.05.2023 09:20:13.167 *INFO* [FelixLogListener] Events.Framework.org.apache.felix.framework FrameworkEvent STARTED

31.05.2023 09:20:13.169 *INFO* [FelixLogListener] Events.Service.org.apache.felix.framework Service [org.apache.sling.feature.apiregions.impl,3419, [org.osgi.service.cm.ManagedService]] ServiceEvent REGISTERED

31.05.2023 09:20:13.171 *INFO* [FelixLogListener] Events.Service.org.apache.felix.framework Service [Apache Sling Startup Service,3420, [org.apache.sling.launchpad.api.StartupService]] ServiceEvent REGISTERED

31.05.2023 09:20:13.177 *INFO* [FelixLogListener] Events.Service.com.adobe.granite.startup Service [55, [org.osgi.service.event.EventHandler]] ServiceEvent UNREGISTERING

31.05.2023 09:21:01.932 *WARN* [sling-default-3-health-com.adobe.granite.queries.impl.hc.QueryLimitsHealthCheck] com.adobe.granite.queries.impl.hc.QueryLimitsHealthCheck Could not retrieve QueryEngineSettings MBean.

31.05.2023 09:21:01.933 *INFO* [sling-default-6-health-com.adobe.granite.queries.impl.hc.QueriesStatusHealthCheck] com.adobe.granite.queries.impl.hc.QueriesStatusHealthCheck Could not retrieve QueryStats MBean.

31.05.2023 09:22:01.933 *WARN* [sling-default-1-health-com.adobe.granite.queries.impl.hc.QueryLimitsHealthCheck] com.adobe.granite.queries.impl.hc.QueryLimitsHealthCheck Could not retrieve QueryEngineSettings MBean.

31.05.2023 09:22:01.933 *INFO* [sling-default-9-health-com.adobe.granite.queries.impl.hc.QueriesStatusHealthCheck] com.adobe.granite.queries.impl.hc.QueriesStatusHealthCheck Could not retrieve QueryStats MBean.

31.05.2023 09:23:01.935 *WARN* [sling-default-4-health-com.adobe.granite.queries.impl.hc.QueryLimitsHealthCheck] com.adobe.granite.queries.impl.hc.QueryLimitsHealthCheck Could not retrieve QueryEngineSettings MBean.

31.05.2023 09:23:01.935 *INFO* [sling-default-9-health-com.adobe.granite.queries.impl.hc.QueriesStatusHealthCheck] com.adobe.granite.queries.impl.hc.QueriesStatusHealthCheck Could not retrieve QueryStats MBean.

31.05.2023 09:24:01.934 *INFO* [sling-default-5-health-com.adobe.granite.queries.impl.hc.QueriesStatusHealthCheck] com.adobe.granite.queries.impl.hc.QueriesStatusHealthCheck Could not retrieve QueryStats MBean.

31.05.2023 09:24:01.934 *WARN* [sling-default-3-health-com.adobe.granite.queries.impl.hc.QueryLimitsHealthCheck] com.adobe.granite.queries.impl.hc.QueryLimitsHealthCheck Could not retrieve QueryEngineSettings MBean.

Avatar

Community Advisor

Check error.log what’s showing there. Meanwhile you can check for other urls like http://localhost:4502/crx/de.

if it still shows 404 then your instance might be corrupted or you might have different have version.

Check all those things and if it still doesn’t start then try stop and start the aem and if all doesn’t work then you need to setup it again

Avatar

Level 2

Hi @DPrakashRaj ,

 

pavan4_0-1685506466949.png

this is been shown on opening of http://localhost:4502/crx/de.
Please find my error.log tail after restarting the AEM instanse 

at org.apache.felix.framework.Felix.startBundle(Felix.java:2308)

at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1566)

at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:308)

at java.base/java.lang.Thread.run(Thread.java:829)

31.05.2023 09:20:13.066 *ERROR* [FelixLogListener] Events.Framework.adobe-lc-forms-xmlform-bmc FrameworkEvent ERROR (org.apache.felix.log.LogException: org.osgi.framework.BundleException: Unable to resolve adobe-lc-forms-xmlform-bmc [672](R 672.0): missing requirement [adobe-lc-forms-xmlform-bmc [672](R 672.0)] osgi.wiring.package; (&(osgi.wiring.package=com.adobe.service.ManagerPackage)(version>=1.0.0)(!(version>=2.0.0))) [caused by: Unable to resolve adobe-aemds-core-bmc [598](R 598.0): missing requirement [adobe-aemds-core-bmc [598](R 598.0)] osgi.wiring.package; (&(osgi.wiring.package=com.adobe.aemds.connector.repository)(version>=1.9.0)(!(version>=2.0.0))) [caused by: Unable to resolve adobe-aemds-core-common [601](R 601.0): missing requirement [adobe-aemds-core-common [601](R 601.0)] osgi.wiring.package; (&(osgi.wiring.package=com.adobe.idp)(version>=10.0.0)(!(version>=11.0.0)))]] Unresolved requirements: [[adobe-lc-forms-xmlform-bmc [672](R 672.0)] osgi.wiring.package; (&(osgi.wiring.package=com.adobe.service.ManagerPackage)(version>=1.0.0)(!(version>=2.0.0)))])

org.apache.felix.log.LogException: org.osgi.framework.BundleException: Unable to resolve adobe-lc-forms-xmlform-bmc [672](R 672.0): missing requirement [adobe-lc-forms-xmlform-bmc [672](R 672.0)] osgi.wiring.package; (&(osgi.wiring.package=com.adobe.service.ManagerPackage)(version>=1.0.0)(!(version>=2.0.0))) [caused by: Unable to resolve adobe-aemds-core-bmc [598](R 598.0): missing requirement [adobe-aemds-core-bmc [598](R 598.0)] osgi.wiring.package; (&(osgi.wiring.package=com.adobe.aemds.connector.repository)(version>=1.9.0)(!(version>=2.0.0))) [caused by: Unable to resolve adobe-aemds-core-common [601](R 601.0): missing requirement [adobe-aemds-core-common [601](R 601.0)] osgi.wiring.package; (&(osgi.wiring.package=com.adobe.idp)(version>=10.0.0)(!(version>=11.0.0)))]] Unresolved requirements: [[adobe-lc-forms-xmlform-bmc [672](R 672.0)] osgi.wiring.package; (&(osgi.wiring.package=com.adobe.service.ManagerPackage)(version>=1.0.0)(!(version>=2.0.0)))]

at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4398)

at org.apache.felix.framework.Felix.startBundle(Felix.java:2308)

at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1566)

at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:308)

at java.base/java.lang.Thread.run(Thread.java:829)

31.05.2023 09:20:13.066 *INFO* [FelixLogListener] Events.Bundle.com.adobe.forms.common.adobe-xfaforms-common BundleEvent RESOLVED

31.05.2023 09:20:13.099 *INFO* [FelixLogListener] Events.Bundle.com.adobe.forms.common.adobe-xfaforms-common BundleEvent STARTED

31.05.2023 09:20:13.099 *INFO* [FelixLogListener] Events.Bundle.com.adobe.livecycle.scala-lang BundleEvent RESOLVED

31.05.2023 09:20:13.103 *INFO* [FelixLogListener] Events.Bundle.com.adobe.livecycle.scala-lang BundleEvent STARTED

31.05.2023 09:20:13.103 *INFO* [FelixLogListener] Events.Bundle.org.apache.sling.startupfilter.disabler BundleEvent RESOLVED

31.05.2023 09:20:13.134 *INFO* [FelixLogListener] Events.Bundle.org.apache.sling.startupfilter.disabler BundleEvent STARTED

31.05.2023 09:20:13.134 *INFO* [FelixLogListener] Events.Bundle.org.apache.felix.framework BundleEvent STARTED

31.05.2023 09:20:13.167 *INFO* [FelixLogListener] Events.Framework.org.apache.felix.framework FrameworkEvent STARTED

31.05.2023 09:20:13.169 *INFO* [FelixLogListener] Events.Service.org.apache.felix.framework Service [org.apache.sling.feature.apiregions.impl,3419, [org.osgi.service.cm.ManagedService]] ServiceEvent REGISTERED

31.05.2023 09:20:13.171 *INFO* [FelixLogListener] Events.Service.org.apache.felix.framework Service [Apache Sling Startup Service,3420, [org.apache.sling.launchpad.api.StartupService]] ServiceEvent REGISTERED

31.05.2023 09:20:13.177 *INFO* [FelixLogListener] Events.Service.com.adobe.granite.startup Service [55, [org.osgi.service.event.EventHandler]] ServiceEvent UNREGISTERING

31.05.2023 09:21:01.932 *WARN* [sling-default-3-health-com.adobe.granite.queries.impl.hc.QueryLimitsHealthCheck] com.adobe.granite.queries.impl.hc.QueryLimitsHealthCheck Could not retrieve QueryEngineSettings MBean.

31.05.2023 09:21:01.933 *INFO* [sling-default-6-health-com.adobe.granite.queries.impl.hc.QueriesStatusHealthCheck] com.adobe.granite.queries.impl.hc.QueriesStatusHealthCheck Could not retrieve QueryStats MBean.

31.05.2023 09:22:01.933 *WARN* [sling-default-1-health-com.adobe.granite.queries.impl.hc.QueryLimitsHealthCheck] com.adobe.granite.queries.impl.hc.QueryLimitsHealthCheck Could not retrieve QueryEngineSettings MBean.

31.05.2023 09:22:01.933 *INFO* [sling-default-9-health-com.adobe.granite.queries.impl.hc.QueriesStatusHealthCheck] com.adobe.granite.queries.impl.hc.QueriesStatusHealthCheck Could not retrieve QueryStats MBean.

31.05.2023 09:23:01.935 *WARN* [sling-default-4-health-com.adobe.granite.queries.impl.hc.QueryLimitsHealthCheck] com.adobe.granite.queries.impl.hc.QueryLimitsHealthCheck Could not retrieve QueryEngineSettings MBean.

31.05.2023 09:23:01.935 *INFO* [sling-default-9-health-com.adobe.granite.queries.impl.hc.QueriesStatusHealthCheck] com.adobe.granite.queries.impl.hc.QueriesStatusHealthCheck Could not retrieve QueryStats MBean.

31.05.2023 09:24:01.934 *INFO* [sling-default-5-health-com.adobe.granite.queries.impl.hc.QueriesStatusHealthCheck] com.adobe.granite.queries.impl.hc.QueriesStatusHealthCheck Could not retrieve QueryStats MBean.

31.05.2023 09:24:01.934 *WARN* [sling-default-3-health-com.adobe.granite.queries.impl.hc.QueryLimitsHealthCheck] com.adobe.granite.queries.impl.hc.QueryLimitsHealthCheck Could not retrieve QueryEngineSettings MBean.

Avatar

Community Advisor

@pavan4 : Try to access localhost:4502/system/admin. if yes check all the bundles status.

 

Can try to run the following curl command to connect .

 

curl -u admin:admin http://localhost:4502/crx/de/index.jsp

 

you can uninstall the package using below query 

 

curl -u <user>:<password> -F cmd=uninstall http://localhost:4502/crx/packmgr/service/.json/etc/packages/my_packages/test.zip

 

as you said , it was working prior installing the forms package, try to uninstall and the same package and check once.

Thanks,
Siva

Avatar

Level 2

pavan4_0-1685511221608.png

@SivakumarKanoori I can see few bundles are in Installed and few are in Fragment , and remaining all are in Active Status ,

Should I uninstall bundles in installed status  ??

Avatar

Community Advisor

@pavan4 : 

Can you check by expanding the bundles which are installed state and see whether there are any unresolved bundles which has version conflicts . <mostly you can see these conflicts in red color.>

 

if you see all the bundles which are in installed state are related to forms package. so which are depending on some other bundle i think. 

 

Thanks,

Siva

Thanks,
Siva

Avatar

Level 2

@SivakumarKanoori 
should I uninstall the bundles in red color ones which are in installed state as I can see few bundles in that way

pavan4_0-1685512884735.png

 

 

Avatar

Community Advisor

@pavan4 :  you can try to uninstall the bundles which are showing as installed .

 

But the issue here is , mostly version mismatch of the dependenies. 

 

Thanks,
Siva

Avatar

Level 2

after uninstall of those bundles also , it didnt work its giving same 404 error on http://localhost:4502/

Avatar

Community Advisor

It seems it’s issue with form package. Not able to resolve its dependencies 

Unresolved requirements: [[adobe-lc-forms-xmlform-bmc [672](R 672.0)] osgi.wiring.package; (&(osgi.wiring.package=com.adobe.service.ManagerPackage)(version>=1.0.0)(!(version>=2.0.0)))])

 

you can check if you meet all the prerequisites before installing the form package and was it installation completed before the restart of Mac?

Avatar

Level 2

During installation there was a loading state for more than 5 mins , So refreshed the package manager site , it said installed with a green icon highlighted. after that I tried to restart the AEM then it started giving 404 

Avatar

Community Advisor

It’s advised to check log if it’s completed installing the form package or not . It might be possible that it’s still installing in the background and you restarted the aem instance.

I would advice you to do a fresh installation as it’s your local instance.

Avatar

Level 1

Did you manage to sort this out?

This also happens to me every time i restart my mac, then i need to install everything again, its crazy and it makes no sense.