Error Running App Imported on Publish Instance
Hi:
I'm running AEM 6.1 JEE version on jboss in Author mode and I have a site/application I am trying to get running on a Standalone Publish instance. I have not installed AEM 6.1 FP 1 yet
After publishing the site pages they were blank on Publish so I figured I might have to package up the application and export/import it using Package Manager.
I created a package consisting of the following nodes:
/apps/dgs
/etc/designs/dgs
/etc/blueprints/dgs
After importing this package on Publish I was able to get the html pages working but when I tried to open a page which has an Adaptive Forms Portal component sited on it I get the following error:
org.apache.sling.scripting.jsp.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: 36 in the generated java file Only a type can be imported. com.adobe.fd.fp.service.FPIntegrationService resolves to a package An error occurred at line: 115 in the jsp file: /libs/fd/fp/components/querybuilder/body.jsp FPIntegrationService cannot be resolved to a type 112: break; 113: } 114: } 115: FPIntegrationService fpIntegrationService = sling.getService(FPIntegrationService.class); 116: List <String> fpIntegrationServiceScriptPaths = fpIntegrationService.getScriptPaths(FormsPortalConstants.STR_ANALYTICS_INTEGRATION); 117: for (String integrationScript : fpIntegrationServiceScriptPaths) { 118: if (integrationScript.length() != 0) { An error occurred at line: 115 in the jsp file: /libs/fd/fp/components/querybuilder/body.jsp FPIntegrationService cannot be resolved to a type 112: break; 113: } 114: } 115: FPIntegrationService fpIntegrationService = sling.getService(FPIntegrationService.class); 116: List <String> fpIntegrationServiceScriptPaths = fpIntegrationService.getScriptPaths(FormsPortalConstants.STR_ANALYTICS_INTEGRATION); 117: for (String integrationScript : fpIntegrationServiceScriptPaths) { 118: if (integrationScript.length() != 0) { An error occurred at line: 116 in the jsp file: /libs/fd/fp/components/querybuilder/body.jsp FormsPortalConstants.STR_ANALYTICS_INTEGRATION cannot be resolved to a type 113: } 114: } 115: FPIntegrationService fpIntegrationService = sling.getService(FPIntegrationService.class); 116: List <String> fpIntegrationServiceScriptPaths = fpIntegrationService.getScriptPaths(FormsPortalConstants.STR_ANALYTICS_INTEGRATION); 117: for (String integrationScript : fpIntegrationServiceScriptPaths) { 118: if (integrationScript.length() != 0) { 119: %><cq:include script="<%= integrationScript%>"/><%
RequestURI=/lc/content/dgs/en/formsportal.html
Servlet= /libs/fd/fp/components/querybuilderClient/querybuilderClient.jsp
ApacheSling/2.4 (jetty/9.2.9.v20150224, Java HotSpot(TM) 64-Bit Server VM 1.7.0_45, Windows Server 2008 R2 6.1 amd64)
I've tried to make sure the Publish instance has all the same packages as the Author instance but maybe I've missed something. Can anybody shed some light on what/where to check to get this working?
Thanks
Dale