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
BedrockMission!

Learn More

View all

Sign in to view all badges

Recompile JSPs not available in AEM 6.5

Avatar

Avatar
Affirm 3
Level 2
koenve
Level 2

Likes

13 likes

Total Posts

15 posts

Correct Reply

3 solutions
Top badges earned
Affirm 3
Establish
Validate 1
Give Back
Boost 5
View profile

Avatar
Affirm 3
Level 2
koenve
Level 2

Likes

13 likes

Total Posts

15 posts

Correct Reply

3 solutions
Top badges earned
Affirm 3
Establish
Validate 1
Give Back
Boost 5
View profile
koenve
Level 2

03-07-2019

Some UI issues need a recompilation of the JSPs in order to be resolved (/system/console/slingjsp). However, in AEM 6.5 (tested on an OOTB installation with no additional packages installed) the console with which this is usually done is no longer available. It is not present in the menu, nor is the URL accessible directly.

AEM 6.3:

1784121_pastedImage_0.png

AEM 6.5:

1784122_pastedImage_1.png

Messages Image(2907432591).png

Is there an other way to recompile the JSPs?

Thanks in advance for your feedback!

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Coach
Employee
jbrar
Employee

Likes

389 likes

Total Posts

869 posts

Correct Reply

283 solutions
Top badges earned
Coach
Establish
Give Back 50
Give Back 5
Give Back 3
View profile

Avatar
Coach
Employee
jbrar
Employee

Likes

389 likes

Total Posts

869 posts

Correct Reply

283 solutions
Top badges earned
Coach
Establish
Give Back 50
Give Back 5
Give Back 3
View profile
jbrar
Employee

03-07-2019

That option was removed in 6.5. Now, Classes and Slightly cache is stored in the Apache Sling Commons FileSystem ClassLoader. Check point 2 at [1] on how to clear classes and sightly cache

[1] How to force a recompilation of all Sling scripts jsps, java, and sightly in AEM 6.4

Answers (5)

Answers (5)

Avatar

Avatar
Validate 1
Level 3
Eric_Stricker
Level 3

Likes

12 likes

Total Posts

73 posts

Correct Reply

2 solutions
Top badges earned
Validate 1
Ignite 5
Ignite 3
Ignite 1
Give Back 5
View profile

Avatar
Validate 1
Level 3
Eric_Stricker
Level 3

Likes

12 likes

Total Posts

73 posts

Correct Reply

2 solutions
Top badges earned
Validate 1
Ignite 5
Ignite 3
Ignite 1
Give Back 5
View profile
Eric_Stricker
Level 3

14-01-2020

I found this issue with AEM 6.5.3.

 

Having a custom component under Apps. Change the widget.jsp and the change in the jsp is NOT captured in the refresh page when added a simple static div

<div>testing</div>

 

Edit the adaptive form and it is captured, but "localhost:4502/content/forms/.../.../...html?wcmmode=disabled" is not reflecting the change.

 

On author (Windows based instance)

1. /libs/granite/ui/content/dumplibs.rebuild.html ==> Not working (both options)

2. for file system, find bundle.../data/classes and delete "classes" folder ==> Not working

3. for file system, find bundle.../data/outputcache and delete "outputcache" folder ==> Not working

4. Clear browser cache ==> Not working

 

Any combination of the above ==> Not working

 

Only thing that made it work ==> Restart Author.

Avatar

Avatar
Give Back
Level 2
abhigyans406402
Level 2

Likes

7 likes

Total Posts

16 posts

Correct Reply

0 solutions
Top badges earned
Give Back
Ignite 1
Validate 1
Boost 5
Boost 3
View profile

Avatar
Give Back
Level 2
abhigyans406402
Level 2

Likes

7 likes

Total Posts

16 posts

Correct Reply

0 solutions
Top badges earned
Give Back
Ignite 1
Validate 1
Boost 5
Boost 3
View profile
abhigyans406402
Level 2

02-04-2021

You may also need to restart 
"org.apache.sling.commons.fsclassloader​" from felix bundle console.

Avatar

Avatar
Establish
Community Manager
kautuk_sahni
Community Manager

Likes

1,198 likes

Total Posts

6,369 posts

Correct Reply

1,147 solutions
Top badges earned
Establish
Coach
Originator
Contributor 2
Contributor
View profile

Avatar
Establish
Community Manager
kautuk_sahni
Community Manager

Likes

1,198 likes

Total Posts

6,369 posts

Correct Reply

1,147 solutions
Top badges earned
Establish
Coach
Originator
Contributor 2
Contributor
View profile
kautuk_sahni
Community Manager

09-08-2020

See: https://techrevel.blog/2020/05/06/how-to-recompile-jsp-in-aem/

Verified on AEM 6.5

  • Navigate to http://<host&gt;:<port>/system/console/fsclassloader
  • Click on “Clear Class Loader” button

Avatar

Avatar
Validate 1
Level 2
amanagarwal21
Level 2

Likes

12 likes

Total Posts

17 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Ignite 3
Ignite 1
Give Back 5
Give Back 3
View profile

Avatar
Validate 1
Level 2
amanagarwal21
Level 2

Likes

12 likes

Total Posts

17 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Ignite 3
Ignite 1
Give Back 5
Give Back 3
View profile
amanagarwal21
Level 2

30-01-2020

In AEM 6.5, we have to navigate to /system/console/fsclassloader and click on "Clear Class Loader" button.

Avatar

Avatar
Affirm 3
Level 2
koenve
Level 2

Likes

13 likes

Total Posts

15 posts

Correct Reply

3 solutions
Top badges earned
Affirm 3
Establish
Validate 1
Give Back
Boost 5
View profile

Avatar
Affirm 3
Level 2
koenve
Level 2

Likes

13 likes

Total Posts

15 posts

Correct Reply

3 solutions
Top badges earned
Affirm 3
Establish
Validate 1
Give Back
Boost 5
View profile
koenve
Level 2

03-07-2019

Thanks!