Issue: How can I upgrade launchpad?

There are some fixes in the latest Apache Felix Framework, how can I update it in Adobe Experience Manager?

Solution

Follow these steps:

  1. Download the new base jar from the official Maven repository at http://search.maven.org/#search%7Cga%7C1%7Corg.apache.sling.launchpad.base. You can pick the version. When this article was written, 5.0.1-2.6.2 is recommended (it still uses javax.servlet.api 2.5). But, you can use 5.2.0-2.6.4 if you don't have dependencies on earlier version of servlet API.
  2. Shut down the instance.
  3. Replace the base jar in the installation (default in crx-quickstart/launchpad).
  4. Restart the instance with -Dorg.apache.sling.launchpad.startupmode=RESTART.

Validate it on your side if that help to resolve this issue, and note the general disclaimer for usage on production

DISCLAIMER: THE THIRD-PARTY LIBRARY IS PROVIDED “AS IS” AND WITHOUT WARRANTY OF ANY KIND, INCLUDING WARRANTIES OR CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, SATISFACTORY QUALITY, LACK OF VIRUSES, TITLE, NON-INFRINGEMENT, ACCURACY OR COMPLETENESS OF RESPONSES, RESULTS, LACK OF NEGLIGENCE AND/OR LACK OF WORKMANLIKE EFFORT. ADOBE DOES NOT WARRANT AGAINST ANY BUG, ERROR, OMISSION, DEFECT, DEFICIENCY, OR NONCONFORMITY IN THE 3RD PARTY LIBRARY. THIRD-PARTY LIBRARIES ARE NOT TESTED BY QA. USE AT YOUR OWN RISK. ADOBE RECOMMENDS THAT THIS THIRD-PARTY LIBRARY BE USED FOR DEVELOPMENT PURPOSES. IF YOU MUST APPLY THIS THIRD-PARTY LIBRARY TO A PRODUCTION SYSTEM, YOU SHOULD THOROUGHLY TEST YOUR APPLICATION. ADOBE CANNOT BE HELD RESPONSIBLE FOR ANY DAMAGE THAT COULD BE CAUSED BY THIS THIRD-PARTY LIBRARY.

Applies to: CQ 5.x / AEM 6.x any version that is using this launchpad base jar

About Servlet API dependencies: Servlet API is provided by the servlet engine CQSE, Felix / Jetty HTTP bunble or other (Websphere, Weblogic, Tomcat , JBoss, and so on). Check if it works with the launchpad base available in the Maven repository (you can check the pom.xml for information about the dependency on the servlet API).

Ez a munka a Creative Commons Nevezd meg!-Ne add el!-Így add tovább! 3.0 Unported licenc alatt lett közzétéve.  A Twitter™ és Facebook közzétételeket a Creative Commons jogi feltételei nem szabályozzák.

Jogi közlemények   |   Online adatvédelmi nyilatkozat