Expand my Community achievements bar.

Applications for the 2024-2025 Adobe Experience Manager Champion Program are open!
SOLVED

packages not getting uploaded in maven build

Avatar

Former Community Member

Hi ,

we are encountering an issue when we are building one project .The issue is when we run Maven Build through Jenkin it was expected to deploy to Author and publish environments.This is to build to multiple environments and we have 4 environments when we try to run the build it successfully uploaded the packages in 3 environments where as for one particular environment it throws error and package was not getting uploaded.If we restart Sling eventing bundle and re-run the build it gets loaded fine.But it is not a solution to restart sling eventing bundle every time.Below is the error snippet we got.

Any help would be highly appreciated.

[WARN] HttpMethodDirector - Preemptive authentication requested but no default proxy credentials available [ERROR] Missing response status information in response: <?xml version="1.0" encoding="UTF-8"?> <html> <head> <title>Content modified /crx/packmgr/service.jsp</title> </head> <body> <h1>Content modified /crx/packmgr/service.jsp</h1> <table> <tbody> <tr> <td>Status</td> <td> <div id="Status">200</div> </td> </tr> <tr> <td>Message</td> <td> <div id="Message">OK</div> </td> </tr> <tr> <td>Location</td> <td> <a id="Location" href="https://forums.adobe.com/crx/packmgr/service.jsp">/crx/packmgr/service.jsp</a> </td> </tr> <tr> <td>Parent Location</td> <td> <a id="ParentLocation" href="https://forums.adobe.com/crx/packmgr">/crx/packmgr</a> </td> </tr> <tr> <td>Path</td> <td> <div id="Path">/crx/packmgr/service.jsp</div> </td> </tr> <tr> <td>Referer</td> <td>about:blank</td> </tr> <tr> <td>ChangeLog</td> <td> <div id="ChangeLog">&lt;pre&gt;modified(&quot;/crx/packmgr/service.jsp/file/jcr:lastModified&quot;);&lt;br/&gt;modified(&quot;/crx/packmgr/service.jsp/file/jcr:mimeType&quot;);&lt;br/&gt;modified(&quot;/crx/packmgr/service.jsp/file/jcr:data&quot;);&lt;br/&gt;modified(&quot;/crx/packmgr/service.jsp/install&quot;);&lt;br/&gt;&lt;/pre&gt;</div> </td> </tr> </tbody> </table> <p>Go Back</p> <p> <a href="https://forums.adobe.com/crx/packmgr/service.jsp">Modified Resource</a> </p> <p> <a href="https://forums.adobe.com/crx/packmgr">Parent of Modified Resource</a> </p> </body> </html>
1 Accepted Solution

Avatar

Correct answer by
Level 3
HttpMethodDirector warning is just a warning, should not be cause of the failure.

are there any error messages in server logs?

try upload/install the same package manually through package manager.

View solution in original post

3 Replies

Avatar

Correct answer by
Level 3
HttpMethodDirector warning is just a warning, should not be cause of the failure.

are there any error messages in server logs?

try upload/install the same package manually through package manager.

Avatar

Level 3

Do you need to connect to your server through proxy from the Jenkins box? If not, try adding 

<useProxy>false</useProxy>

in the configuration

Avatar

Former Community Member

ashtrick wrote...

Do you need to connect to your server through proxy from the Jenkins box? If not, try adding 

<useProxy>false</useProxy>

in the configuration

 


We dont use proxy here.I am surprised that all 4 environments have same configurations and it is failing only for one environment.