Hi All,
I am getting below error when trying to deploy.(mvn clean install -PautoInstallBundle)
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 17.688 s
[INFO] Finished at: 2019-07-06T11:03:18+05:30
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.sling:maven-sling-plugin:2.2.0:install (install-bundle) on project jacobdelafon.core: Installation on http://localhost:4502/system/console/apps/kohler/jacobdelafon/install/ failed, cause: Software caused connection abort: socket write error -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.sling:maven-sling-plugin:2.2.0:install (install-bundle) on project jacobdelafon.core: Installation on http://localhost:4502/system/console/apps/kohler/jacobdelafon/install/ failed, cause: Software caused connection abort: socket write error
Can Someone tell what could the issue be??
smacdonald2008Arun PatidarJoerg Hoh@
Solved! Go to Solution.
Ive got the soultion for this
in pom.xml i replaced below lines
<slingUrl>http://${aem.host}:${aem.port}/system/console</slingUrl>
<deploymentMethod>WebConsole</deploymentMethod>
with below
<slingUrl>http://${aem.host}:${aem.port}/crx/repository/crx.default</slingUrl>
<deploymentMethod>WebDAV</deploymentMethod>
Not sure how this worked. Let me know technical reason behind this
Views
Replies
Total Likes
Hi,
Can you check you have 'install' folder in /apps/kohler/jacobdelafon/ path. If not, please go to crxde and create one and try again.
The path you mentioned seems a wrong one too - It should be just http://localhost:4502/apps/kohler/jacobdelafon/install/
Did you create the project using maven archetype ?
The path is seems incorrect, you need check the pom.xml file for the server settings. you can find the details [1]
if you are trying to deploy directly provided .jar file , in system console. you need to treat it as simple package and put in maven project and follow standard installation approach.
Ive got the soultion for this
in pom.xml i replaced below lines
<slingUrl>http://${aem.host}:${aem.port}/system/console</slingUrl>
<deploymentMethod>WebConsole</deploymentMethod>
with below
<slingUrl>http://${aem.host}:${aem.port}/crx/repository/crx.default</slingUrl>
<deploymentMethod>WebDAV</deploymentMethod>
Not sure how this worked. Let me know technical reason behind this
Views
Replies
Total Likes
Have you tried it again? Have you re-started your AEM instance?
Views
Replies
Total Likes
Nope. I made above changes in pom and it worked.
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies