Expand my Community achievements bar.

Manual Bundle deployment is not working

Avatar

Level 6

Hi,

 

We are facing some issue with manual bundle deployment.

 

Previously it was working well but we recently configured Jenkins job to build and deploy.

 

Jenkins deployment is working well but in case if we do manual deployment now, code is not reflecting even after re start.

 

Only Jenkins deployment is working now.

 

Any idea,

7 Replies

Avatar

Community Advisor

HI,

Can you check it is just a bundle or all the resources?

It could be possible that the version your are uploading is lower than what already installed.



Arun Patidar

Avatar

Level 6

We are not changing versions, but via Jenkins deployment only it is working.

And may be during manual deployment, it is not taking or overwriting existing code,

Our core bundle pom is given below.

<parent>
<groupId>com.xyz</groupId>
<artifactId>proj</artifactId>
<version>1.0</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>proj.core</artifactId>
<packaging>bundle</packaging>
<name>proj-Core</name>
<description>Core bundle for proj</description>

Avatar

Level 7

Under some mysterious circumstance a bundle will not be updated when a code package is imported via package manager. In this case you can call <address>/system/console/bundle and install the bundle manually.

Avatar

Level 6

Hi @Magicr ,

 

We are installing via system/console/bundle only manually.

Even restarting the instances post deployment. It will not work.

But via Jenkins it is working. clean install -Dmaven.test.skip=true 

 

Avatar

Community Advisor

can you check if the installation is pause for this bundle?

/system/sling/installer/jcr/pauseInstallation

 

And Also check the jar modified date in JCR?

 

 



Arun Patidar