설명서에 지정된 핫픽스와 서비스 팩을 사용하여 작성자와 게시자 모두에게 AEM 6.1 설치를 완료했습니다. 또한 내 프로젝트 번들을 작성자에게 배포했습니다. 그러나 게시자에게 동일한 프로젝트를 배포하는 동안이 오류가 발생합니다.AEM 6.1 게시자의 피어 간 연결 재설정
오류 : -
[ERROR] Failed to execute goal org.apache.sling:maven-sling-plugin:2.0.6:install (install-bundle) on project Myproject-services: Installation on http://localhost:5503/apps/myproject/install failed, cause: Connection reset by peer: socket write error -> [Help 1]
의 pom.xml : -
<profile>
<id>autoInstallBundlePublish</id>
<build>
<plugins>
<!-- Use the sling plugin to automatically deploy the bundle to the
JCR tree -->
<plugin>
<groupId>org.apache.sling</groupId>
<artifactId>maven-sling-plugin</artifactId>
<executions>
<execution>
<id>install-bundle</id>
<goals>
<goal>install</goal>
</goals>
<configuration>
<slingUrl>http://localhost:5503</slingUrl>
<slingUrlSuffix>/apps/myproject/install</slingUrlSuffix>
<user>admin</user>
<password>admin</password>
<!-- <usePut>true</usePut>
<failOnError>true</failOnError> -->
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
메이븐 명령 : - 기본적으로
mvn clean install -DskipTests=true -PautoInstallBundlePublish
아마도 바보 같은 질문 일지 모르지만 기본 사항을 다룰 수는 있습니다. 폴더/apps/myproject/install이 게시 인스턴스에 실제로 있습니까? OOTB 4503 대신에 5503으로 출판을한다고 가정 해 봅시다. – 3xil3