After deploying bundle websites are not coming

Avatar

Avatar
Validate 10
Level 3
sunitac2231600
Level 3

Likes

4 likes

Total Posts

90 posts

Correct reply

0 solutions
Top badges earned
Validate 10
Validate 1
Ignite 5
Ignite 3
Ignite 10
View profile

Avatar
Validate 10
Level 3
sunitac2231600
Level 3

Likes

4 likes

Total Posts

90 posts

Correct reply

0 solutions
Top badges earned
Validate 10
Validate 1
Ignite 5
Ignite 3
Ignite 10
View profile
sunitac2231600
Level 3

12-04-2016

Dear Team,

After deploying my bundle in my development environment <dev:4502/system/console/bundles> , my no websites are coming fine.

NOTE: But after deploying same bundle in my local <localhost:4502/system/console/bundles>, its working fine.

I am getting below error.

Error during include of component '/apps/customapp/renderers/sectionHomeColumnRenderer'

Error Message:

org.apache.sling.api.scripting.ScriptEvaluationException: org.apache.sling.scripting.jsp.jasper.JasperException: Unable to compile class for JSP: 

An error occurred at line: 9 in the jsp file: /apps/customapp/renderers/abstractRenderer/abstractRenderer.jsp
The type com.abccompany.dfac.abccompanyfoundation.components.core.AbstractPagePresenter cannot be resolved. It is indirectly referenced from required .class files
6: %><%@page import="com.abccompany.dfac.customapp.components.configuration.eloquaConfiguration.EloquaConfigurationPresenter"
7: %><c:set var="disclaimerModal" value="<%= new EntranceDisclaimerConfigurationPresenter().getModelFromRequest(slingRequest) %>"/><%
8: %><c:set var="disclaimerEnabled" value="${not wcmMode.edit and not empty disclaimerModal}"/><%
9: %><c:set var="model" value="<%= new customappPagePropertiesPresenter().getModelFromRequest(slingRequest) %>"/><%
10: %><c:set var="locale" value="<%= currentPage.getLanguage(false) %>"/><%
11: %><c:set var="googleTagModel" value="<%=new GoogleTagManagerConfigurationPresenter().getModelFromRequest(slingRequest)%>" /><%
12: %><c:set var="eolquaModel" value="<%=new EloquaConfigurationPresenter().getModelFromRequest(slingRequest)%>" /><%


An error occurred at line: 9 in the jsp file: /apps/customapp/renderers/abstractRenderer/abstractRenderer.jsp
The method getModelFromRequest(SlingHttpServletRequest) is undefined for the type customappPagePropertiesPresenter
6: %><%@page import="com.abccompany.dfac.customapp.components.configuration.eloquaConfiguration.EloquaConfigurationPresenter"
7: %><c:set var="disclaimerModal" value="<%= new EntranceDisclaimerConfigurationPresenter().getModelFromRequest(slingRequest) %>"/><%
8: %><c:set var="disclaimerEnabled" value="${not wcmMode.edit and not empty disclaimerModal}"/><%
9: %><c:set var="model" value="<%= new customappPagePropertiesPresenter().getModelFromRequest(slingRequest) %>"/><%
10: %><c:set var="locale" value="<%= currentPage.getLanguage(false) %>"/><%
11: %><c:set var="googleTagModel" value="<%=new GoogleTagManagerConfigurationPresenter().getModelFromRequest(slingRequest)%>" /><%
12: %><c:set var="eolquaModel" value="<%=new EloquaConfigurationPresenter().getModelFromRequest(slingRequest)%>" /><%
Processing Info:

Page    =    /content/internet/product/customapp/de_DE/home    
Resource Path    =    /content/internet/product/customapp/de_DE/home/jcr:content    
Cell    =    sectionHomeColumnRenderer    
Cell Search Path    =    sectionHomeColumnRenderer|sectionHomeRenderer|contentRenderer|abstractRenderer|page    
Component Path    =    /apps/customapp/renderers/sectionHomeColumnRendere

Thanks & Regards

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Boost 5
Level 4
Yogesh_Upadhyay
Level 4

Likes

18 likes

Total Posts

121 posts

Correct reply

62 solutions
Top badges earned
Boost 5
Boost 3
Boost 10
Boost 1
Affirm 50
View profile

Avatar
Boost 5
Level 4
Yogesh_Upadhyay
Level 4

Likes

18 likes

Total Posts

121 posts

Correct reply

62 solutions
Top badges earned
Boost 5
Boost 3
Boost 10
Boost 1
Affirm 50
View profile
Yogesh_Upadhyay
Level 4

13-04-2016

Hello,

I have seen this issue in AEM6.1 with SP1 where bundle with SNAPSHOT version do not get updated after deploying code. This happens randomly. You might want to create DayCare ticket for this issue. As a workaround just restart "Jcr Installer" bundle or change your bundle version number and redeploy.

Yogesh

Answers (4)

Answers (4)

Avatar

Avatar
Validate 10
Level 3
sunitac2231600
Level 3

Likes

4 likes

Total Posts

90 posts

Correct reply

0 solutions
Top badges earned
Validate 10
Validate 1
Ignite 5
Ignite 3
Ignite 10
View profile

Avatar
Validate 10
Level 3
sunitac2231600
Level 3

Likes

4 likes

Total Posts

90 posts

Correct reply

0 solutions
Top badges earned
Validate 10
Validate 1
Ignite 5
Ignite 3
Ignite 10
View profile
sunitac2231600
Level 3

14-04-2016

Yogesh Upadhyay wrote...

Hello,

I have seen this issue in AEM6.1 with SP1 where bundle with SNAPSHOT version do not get updated after deploying code. This happens randomly. You might want to create DayCare ticket for this issue. As a workaround just restart "Jcr Installer" bundle or change your bundle version number and redeploy.

Yogesh

 

Thanks. I restarted Jcr Installer and it is working fine.

Avatar

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,410 likes

Total Posts

12,671 posts

Correct reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,410 likes

Total Posts

12,671 posts

Correct reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile
smacdonald2008
Level 10

13-04-2016

Looks like on your orher environment, you have a package conflict. Do you have a lot of classes in same package. Try a test. Rebuild your bundle with a simple package name and ensure  its a unique name. Let us know what happens.

Avatar

Avatar
Validate 10
Level 3
sunitac2231600
Level 3

Likes

4 likes

Total Posts

90 posts

Correct reply

0 solutions
Top badges earned
Validate 10
Validate 1
Ignite 5
Ignite 3
Ignite 10
View profile

Avatar
Validate 10
Level 3
sunitac2231600
Level 3

Likes

4 likes

Total Posts

90 posts

Correct reply

0 solutions
Top badges earned
Validate 10
Validate 1
Ignite 5
Ignite 3
Ignite 10
View profile
sunitac2231600
Level 3

12-04-2016

bsloki wrote...

Have you imported the class for customappPagePropertiesPresenter() ??

Check if the Name of the class is correct (Usually class name begins with caps)

 

NOTE: THIS Bundle is working fine in my Local Development Environment. But it is not working in my Project Development environment.

If the class is not imported, then it should not work in my local also.

Avatar

Avatar
Validate 25
MVP
bsloki
MVP

Likes

182 likes

Total Posts

1,859 posts

Correct reply

545 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Boost 50
Boost 5
View profile

Avatar
Validate 25
MVP
bsloki
MVP

Likes

182 likes

Total Posts

1,859 posts

Correct reply

545 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Boost 50
Boost 5
View profile
bsloki
MVP

12-04-2016

Have you imported the class for customappPagePropertiesPresenter() ??

Check if the Name of the class is correct (Usually class name begins with caps)