Hi everyone,
when I use the Maven profile autoInstallPackage, the AEM Connector that I developed works fine. But when I upload it via package manager the all.zip file, it doesn't work and the core module stills in a loop.
I attach two different error.log: autoInstallPackage and upload via package manager.
In the first case, the "all" module is installed last: the maven profile uploads every single zip file and when it uploads the "all.zip" (that contains already uploaded zip files) these files are skipped. In the second case, it's installed first.
Can anyone tell me where I'm going wrong? If necessary, I attach the various poms
Solved! Go to Solution.
Views
Replies
Total Likes
I solved it by fixing filter.xml, the test install of the package manager said that there was a faulty filter, even if it didn't give it to me during compilation
Hi @keviendamico
Are you installing only all packages manually or are you following the same order as install by AEM profile?
You can try with
$ mvn clean install -PautoInstallSinglePackage
Hi @arunpatidar
I'm installing manually the all.zip via upload on package manager. The autoInstallSinglePackage is not present in my pom, but needs to work via package manager for internal testing
I don't think so, here should be any difference if you install manually or via package manager. except the package uploaded manually are created inside /etc/package and the older packages stays in the /apps/your-package-location.
there could be a conflict due to same version but not sure
@arunpatidar same error. I've added autoInstallSinglePackage in the all-module's pom.xml and the core stuck in loop. Log is the same as the one generated by uploading from package manager
UPDATE: when I refresh the Package Manager page, the packages status switch to ok or to install at each refresh. This doesn't happen with autoInstallPackage because all packages are installed individually
Can you please share your AEM version if that helps in troubleshooting? Also, this project you generated recently from latest aem maven archetype or its being migrated from some previous version.
Thanks
Narendra
@keviendamico Did you find the suggestions from users helpful? Please let us know if more information is required. Otherwise, please mark the answer as correct for posterity. If you have found out solution yourself, please share it with the community.
Views
Replies
Total Likes
I solved it by fixing filter.xml, the test install of the package manager said that there was a faulty filter, even if it didn't give it to me during compilation
Views
Likes
Replies