PackageDeploy Task is failing | Community
Skip to main content
mahabubali
March 29, 2023
Solved

PackageDeploy Task is failing

  • March 29, 2023
  • 1 reply
  • 601 views

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. 

 

 

 

 

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by lukasz-m

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:

1 reply

lukasz-m
Community Advisor
lukasz-mCommunity AdvisorAccepted solution
Community Advisor
April 10, 2023

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: