Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

PackageDeploy Task is failing

Avatar

Level 2

Dear community support members,

Hope you are doing well. 

I am having following Package Deployment error in AEM instance. 

We are using Gradle build tool. And during the build process the packageCompose task is successful, but packageDeploy into AEM instance is failing with following repeated console messges. 

-----------------------------------------------------------------------------------------------------------------------------

Checking OSGi bundles on Instance(name='azuredev-author', httpUrl='http://<ipaddress>:61006')
Checking OSGi events on Instance(name='azuredev-author', httpUrl='http://<ipaddress>:61006')
Events causing instability (1) detected on Instance(name='azuredev-author', httpUrl='http://<ipaddress>:61006'):
Event(details='org.osgi.service.component.runtime.ServiceComponentRuntime', received='<ipaddress>' id='249')

 ------------------------------------------------------------------------------------------------------------------------------

The packageDeploy task is failing after 30 mins timeout. Could you please let me know, how to solve the above issue?

I Thank you in advance. 

 

 

 

mahabubali_0-1680103529778.png

 

 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @ mahabubali,

Base on Gradle AEM Plugin documentation, by default as part of packageDeploy task instanceAwait is enable. It can be disabled using following parameter package.deploy.awaited=false, so the full command could look like this:

 

sh gradlew packageDeploy -Ppackage.deploy.awaited=false

 

 Please also have a look into Gradle AEM Plugin documentation for more details:

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

Hi @ mahabubali,

Base on Gradle AEM Plugin documentation, by default as part of packageDeploy task instanceAwait is enable. It can be disabled using following parameter package.deploy.awaited=false, so the full command could look like this:

 

sh gradlew packageDeploy -Ppackage.deploy.awaited=false

 

 Please also have a look into Gradle AEM Plugin documentation for more details: