Groovy console Installation on AEM as a Cloud | Community
Skip to main content
rsl_lucky
Level 4
June 7, 2024
Solved

Groovy console Installation on AEM as a Cloud

  • June 7, 2024
  • 4 replies
  • 3167 views

Hi All,

Is groovy console installation could be proceeded on AEM as a Cloud. Observing few articles say that AEMaaCS is not compatible and it wont install properly the Groovy. Can you share your inputs & steps if any one of you have already made Groovy console available on AEMaaCS.

Best answer by joerghoh

Groovy console is not supported. Meaning that it might work, but it also might not work. 

4 replies

h_kataria
Community Advisor
Community Advisor
June 7, 2024

We did manage to install to install the Groovy console without any hiccups for some of our migration use cases. We embedded it as a vendor package using the filevault maven plugin which is generally part of your all/pom.xml 

<embedded> <groupId>org.cid15.aem.groovy.console</groupId> <artifactId>aem-groovy-console-all</artifactId> <type>zip</type> <target>/apps/myproject-vendor-packages/container/install</target> </embedded>

Make sure to add the respective dependency as well to the pom.

HrishikeshKagne
Community Advisor
Community Advisor
June 8, 2024

Hi @rsl_lucky ,

As per Adobe's documentation, Groovy Console is not supported on AEM as a Cloud Service. This is because AEM as a Cloud Service is a fully managed service and Adobe does not allow customers to install custom code or applications on the platform.

However, if you still want to use Groovy Console, you can install it on your local AEM instance and use it to develop and test your scripts. Once you have tested your scripts, you can then deploy them to AEM as a Cloud Service using the supported methods such as package deployment or content migration.

Here are the steps to install Groovy Console on your local AEM instance:

1. Download the Groovy Console package from the official website: http://www.groovyconsole.org/
2. Install the package on your local AEM instance by following the instructions provided in the package.
3. Once installed, you can access the Groovy Console by navigating to http://localhost:4502/groovyconsole in your web browser.
4. You can then develop and test your scripts using the Groovy Console.
5. Once you have tested your scripts, you can deploy them to AEM as a Cloud Service using the supported methods such as package deployment or content migration.

Note that Adobe recommends using the supported methods for deploying code and applications to AEM as a Cloud Service. Installing custom code or applications on the platform is not supported and may cause issues with the platform.

Hrishikesh Kagane
aanchal-sikka
Community Advisor
Community Advisor
June 8, 2024

@rsl_lucky 

 

The latest version 17.x is compatible with AEM CLoud. https://github.com/CID15/aem-groovy-console 

 

Details on how to set it up. https://lucanerlich.com/docs/aem/groovy-console/

Aanchal Sikka
joerghoh
Adobe Employee
joerghohAdobe EmployeeAccepted solution
Adobe Employee
June 9, 2024

Groovy console is not supported. Meaning that it might work, but it also might not work. 

New Member
February 12, 2025

Hi Jorg,

Is there a way we can install groovy console on AEM cloud post java21 upgrade?

joerghoh
Adobe Employee
Adobe Employee
February 13, 2025

If you have a version of the groovy console which supports Java 21, it is likely to work.