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.
Solved! Go to Solution.
Views
Replies
Total Likes
Groovy console is not supported. Meaning that it might work, but it also might not work.
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.
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.
Views
Replies
Total Likes
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/
Groovy console is not supported. Meaning that it might work, but it also might not work.
Hi Jorg,
Is there a way we can install groovy console on AEM cloud post java21 upgrade?
Views
Replies
Total Likes
If you have a version of the groovy console which supports Java 21, it is likely to work.
Views
Replies
Total Likes
Thanks for response Jorg. As per Adobe doc we should be using latest Java packages org.apache.groovy or org.codehaus.groovy to version 4.0.22 or higher.
Which doesn't launch the groovy console somehow.
http://localhost:4502/groovyconsole
Not Found
Cannot serve request to /groovyconsole in org.apache.sling.servlets.get.DefaultGetServlet
Request Progress:
0 TIMER_START{Request Processing}
3 COMMENT timer_end format is {<elapsed microseconds>,<timer name>}
But there is another groovy plugin - https://lucanerlich.com/aem/groovy-console/
which works fine with java 21. But not sure if Adobe cloud would support the older versions of groovy or asm.
Views
Replies
Total Likes
Views
Likes
Replies