We've recently been seeing this issue on a lot of AEM 6.1 instances where after a server restart, our custom and ACS Commons OSGI bundles will not start. The status in the console is "Installed" and when you click to start, it logs the following error:
13.11.2015 13:16:52.604 ERROR [qtp1101008834-5215] org.apache.felix.http.jetty %bundles.pluginTitle: Cannot start (org.osgi.framework.BundleException: Unresolved constraint in bundle com.adobe.acs.acs-aem-commons-bundle [456]: Unable to resolve 456.0: missing requirement [456.0] osgi.wiring.package; (&(osgi.wiring.package=org.scribe.builder.api)(version>=1.3.0)(!(version>=2.0.0)))) org.osgi.framework.BundleException: Unresolved constraint in bundle com.adobe.acs.acs-aem-commons-bundle [456]: Unable to resolve 456.0: missing requirement [456.0] osgi.wiring.package; (&(osgi.wiring.package=org.scribe.builder.api)(version>=1.3.0)(!(version>=2.0.0))) at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4095) at org.apache.felix.framework.Felix.startBundle(Felix.java:2114) at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:977) at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:964) at org.apache.felix.webconsole.internal.core.BundlesServlet.doPost(BundlesServlet.java:365) at javax.servlet.http.HttpServlet.service(HttpServlet.java:644) at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) at org.apache.felix.webconsole.internal.servlet.OsgiManager.service(OsgiManager.java:555) at org.apache.felix.webconsole.internal.servlet.OsgiManager$3.run(OsgiManager.java:459) at java.security.AccessController.doPrivileged(Native Method) at org.apache.felix.webconsole.internal.servlet.OsgiManager.service(OsgiManager.java:455) at org.apache.felix.http.base.internal.handler.ServletHandler.doHandle(ServletHandler.java:336) at org.apache.felix.http.base.internal.handler.ServletHandler.handle(ServletHandler.java:297) at org.apache.felix.http.base.internal.dispatch.ServletPipeline.handle(ServletPipeline.java:93) at org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFilterChain.java:50) at org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.java:31) at org.apache.sling.i18n.impl.I18NFilter.doFilter(I18NFilter.java:129) at org.apache.felix.http.base.internal.handler.FilterHandler.doHandle(FilterHandler.java:108) at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:80) at org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFilterChain.java:46) at org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.java:31) at org.apache.felix.http.sslfilter.internal.SslFilter.doFilter(SslFilter.java:89) at org.apache.felix.http.base.internal.handler.FilterHandler.doHandle(FilterHandler.java:108) at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:80) at org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFilterChain.java:46) at org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.java:31) at org.apache.sling.security.impl.ReferrerFilter.doFilter(ReferrerFilter.java:290) at org.apache.felix.http.base.internal.handler.FilterHandler.doHandle(FilterHandler.java:108) at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:80) at org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFilterChain.java:46) at org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.java:31) at com.adobe.granite.license.impl.LicenseCheckFilter.doFilter(LicenseCheckFilter.java:308) at org.apache.felix.http.base.internal.handler.FilterHandler.doHandle(FilterHandler.java:108) at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:80) at org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFilterChain.java:46) at org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.java:31) at org.apache.sling.featureflags.impl.FeatureManager.doFilter(FeatureManager.java:115) at org.apache.felix.http.base.internal.handler.FilterHandler.doHandle(FilterHandler.java:108) at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:80) at org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFilterChain.java:46) at org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.java:31) at org.apache.sling.engine.impl.log.RequestLoggerFilter.doFilter(RequestLoggerFilter.java:75) at org.apache.felix.http.base.internal.handler.FilterHandler.doHandle(FilterHandler.java:108) at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:80) at org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFilterChain.java:46) at org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.java:31) at org.apache.felix.http.base.internal.dispatch.FilterPipeline.dispatch(FilterPipeline.java:76) at org.apache.felix.http.base.internal.dispatch.Dispatcher.dispatch(Dispatcher.java:49) at org.apache.felix.http.base.internal.DispatcherServlet.service(DispatcherServlet.java:67) at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:808) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:587) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:221) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:215) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97) at org.eclipse.jetty.server.Server.handle(Server.java:497) at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:310) at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257) at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635) at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555) at java.lang.Thread.run(Thread.java:745)
The only way we've been able to fix this is by manually deleting the .jar files from the "install" folders, then manually removing the bundle from the Felix console and finally re-installing the packages. This will fix it until the server is shut off again, and next start the bundles will go back to "Installed".
Does anybody have any clue what could be going on?
Solved! Go to Solution.
Views
Replies
Total Likes
Hi Lee,
I can't offer a solution, but I seem to recall having heard about this issue before. It would be best to raise a daycare ticket.
Regards,
Opkar
Views
Replies
Total Likes
One thing to do is ensure you have looked over the hotfixes available for 6.1 :
https://helpx.adobe.com/experience-manager/kb/aem61-available-hotfixes.html
It wouldn't hurt to try installing hotfixes 6640 and 6680.
- JK
Views
Replies
Total Likes
Hi Lee,
I can't offer a solution, but I seem to recall having heard about this issue before. It would be best to raise a daycare ticket.
Regards,
Opkar
Views
Replies
Total Likes
Is there any solution to these issues ? I'm seeing this osgi wiring errors for my custom bundle which depends on adobe's crypto bundle
Views
Replies
Total Likes
Hi,
can you check, that you have the bundle "com.adobe.granite.scribe" in active or resolved state?
kind regards,
Jörg
Views
Replies
Total Likes
Hi, did anybody find a solution to this issue?
We had this issue on one of our instances and we are also able to reproduce it with a fresh nosamplecontent instance and a geometrixx bundle:
This is the error in the log file:
Views
Replies
Total Likes
Can you check by stopping the org.eclipse.equinox.region bundle. This can also be upgraded with the latest version which will move this into Fragment state.
Views
Replies
Total Likes
May I know what is the solution for this? we are also facing similar issue and using AEM 6.1 Service pack 1 for our custom bundle.
Views
Replies
Total Likes
Please share error stack trace.
Views
Replies
Total Likes
Unable to resolve 446.0: missing requirement [446.0] osgi.wiring.package; (&(osgi.wiring.package=com.day.cq.commons.mail)(
org.osgi.framework.
] osgi.wiring.package; (&(osgi.wiring.package=com.
at org.apache.felix.framework.
at org.apache.felix.framework.
at org.apache.felix.framework.
at org.apache.felix.framework.
at java.lang.Thread.run(Thread.
Views
Replies
Total Likes
Adobe support team gave us an updated org.eclipse.equinox.region OSGI bundle. It looks like it solved the issue.
Alessandro
Views
Replies
Total Likes
Thanks for sharing.
Views
Replies
Total Likes
Views
Likes
Replies