bundle active failure | Community
Skip to main content
Level 2
October 16, 2015
Solved

bundle active failure

  • October 16, 2015
  • 2 replies
  • 821 views

hi, i tried to create a bundle , and i installed in cq bundles, but when i click active it remains in installed state, 

so in that adobe document they have given alternative like 

 If the status is not Active, check the CQ error.log for exceptions. If you get “org.osgi.framework.BundleException: Unresolved constraint” errors, check the MANIFEST.MF for strict version requirements which might follow: javax.xml.namespace; version=”3.1.0”

But i am not clear about where we need to delete that version, if anyone knows pls help me to resolve this

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

2 replies

smacdonald2008
Level 10
October 16, 2015

An OSGi is just really a JAR file. OPen the JAR file in a tool like WInRAR. The MF file is located in the \META-INF directory - as shown in the following pic:

[img]WINRAR.png[/img]

Extract the MF file and open it. Remove the version information from the package and save the MF file. Put it back into the JAR file using the WinRAR tool. Now  when you deploy to AEM - it will resolve the package with the version available in AEM. 

MshajiCommunity AdvisorAccepted solution
Community Advisor
October 16, 2015