Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list
SOLVED

Bundle is in installed state

Avatar

Level 1

Hi Community Members,

We have upgraded to Service Pack 6.5.14 recently and found that bundle is not getting Active. below are few errors we are facing even after having jsoup dependency.

Screen Shot 2022-11-21 at 1.29.21 PM.png

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @jenn_faya ,

Even after you have included dependency - You have to add the jsoup jar manually to AEM as well. See the below or more details please check here: https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/jsoup-jar-does-not-install...

Hope that helps!
Regards,

Santosh

2 Replies

Avatar

Correct answer by
Community Advisor

Hi @jenn_faya ,

Even after you have included dependency - You have to add the jsoup jar manually to AEM as well. See the below or more details please check here: https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/jsoup-jar-does-not-install...

Hope that helps!
Regards,

Santosh

Avatar

Level 4

Hi @jenn_faya 

You can always install bundle manually but that's not a recommended way and also apache felix console is not accessible on AMS or AEM Cloud so manually installing a bundle is not an option going forward. So all external dependencies must be installed via code deployment.

To install the jsoup bundle via code deployment you need to do

1. add jsoup dependency in your parent pom.xml

<dependency>
    <groupId>org.jsoup</groupId>
    <artifactId>jsoup</artifactId>
    <version>1.8.2</version>
</dependency>

2. In your project.all module's pom.xml embed the jsoup dependency using filevault-package-maven-plugin

<embedded>
    <groupId>org.jsoup</groupId>
    <artifactId>jsoup</artifactId>
    <type>jar</type>
    <target>/apps/your_project/install</target>
</embedded>

3. In your project.all module's pom.xml add jsoup dependency same as added in parent pom.xml

<dependency>
     <groupId>org.jsoup</groupId>
    <artifactId>jsoup</artifactId>
</dependency>

4. update your all module's filter.xml with below filter entry

<filter root="/apps/your_project/install"/>