I have created amps of my customization and during applying amps to ubuntu it is giving error.
May 31, 2019 4:01:02 PM de.schlichtherle.truezip.fs.archive.zip.ZipDriver newInp utShop
WARNING: file:/opt/alfresco-community/amps/sdk-repo-1.0-SNAPSHOT.amp (detect ed 65,557 bytes of unrecoverable data in the postamble after the End Of Central Directory Record)
de.schlichtherle.truezip.fs.FsEntryNotFoundException: amp:file:/opt/alfresco-com munity/amps/sdk-repo-1.0-SNAPSHOT.amp!/module.properties (no such entry)
at de.schlichtherle.truezip.fs.FsBasicArchiveController$1Input.getLocalT arget(FsBasicArchiveController.java:187)
at de.schlichtherle.truezip.fs.FsBasicArchiveController$1Input.getDelega te(FsBasicArchiveController.java:200)
at de.schlichtherle.truezip.socket.DelegatingInputSocket.getBoundSocket( DelegatingInputSocket.java:43)
at de.schlichtherle.truezip.socket.DelegatingInputSocket.newInputStream( DelegatingInputSocket.java:63)
at de.schlichtherle.truezip.fs.FsContextController$Input.newInputStream( FsContextController.java:273)
at de.schlichtherle.truezip.fs.FsResourceController$Input.newInputStream (FsResourceController.java:252)
at de.schlichtherle.truezip.socket.DelegatingInputSocket.newInputStream( DelegatingInputSocket.java:63)
at de.schlichtherle.truezip.fs.FsSyncController$Input.newInputStream(FsS yncController.java:400)
at de.schlichtherle.truezip.fs.FsLockController$Input$1NewInputStream.ca ll(FsLockController.java:455)
at de.schlichtherle.truezip.fs.FsLockController$Input$1NewInputStream.ca ll(FsLockController.java:452)
at de.schlichtherle.truezip.fs.FsLockController.locked(FsLockController. java:328)
at de.schlichtherle.truezip.fs.FsLockController.writeLocked(FsLockContro ller.java:268)
at de.schlichtherle.truezip.fs.FsLockController$Input.newInputStream(FsL ockController.java:459)
at de.schlichtherle.truezip.fs.FsFinalizeController$Input.newInputStream (FsFinalizeController.java:177)
at de.schlichtherle.truezip.fs.FsFalsePositiveArchiveController$1Input$N ewInputStream.call(FsFalsePositiveArchiveController.java:333)
at de.schlichtherle.truezip.fs.FsFalsePositiveArchiveController$1Input$N ewInputStream.call(FsFalsePositiveArchiveController.java:326)
at de.schlichtherle.truezip.fs.FsFalsePositiveArchiveController$TryChild .call(FsFalsePositiveArchiveController.java:507)
at de.schlichtherle.truezip.fs.FsFalsePositiveArchiveController.call(FsF alsePositiveArchiveController.java:104)
at de.schlichtherle.truezip.fs.FsFalsePositiveArchiveController$1Input.n ewInputStream(FsFalsePositiveArchiveController.java:323)
at de.schlichtherle.truezip.file.TFileInputStream.newInputStream(TFileIn putStream.java:104)
at de.schlichtherle.truezip.file.TFileInputStream.<init>(TFileInputStrea m.java:81)
at org.alfresco.repo.module.tool.ModuleDetailsHelper.createModuleDetails FromPropertyLocation(ModuleDetailsHelper.java:105)
at org.alfresco.repo.module.tool.ModuleManagementTool.installModule(Modu leManagementTool.java:229)
at org.alfresco.repo.module.tool.ModuleManagementTool.installModules(Mod uleManagementTool.java:172)
at org.alfresco.repo.module.tool.ModuleManagementTool.installModules(Mod uleManagementTool.java:155)
at org.alfresco.repo.module.tool.ModuleManagementTool.main(ModuleManagem entTool.java:837)
04310001 An error was encountered during deployment of the AMP into the WAR: 043 10000 Unable to load module details from property file. File Not Found, amp:file :/opt/alfresco-community/amps/sdk-repo-1.0-SNAPSHOT.amp!/module.properties ( no such entry)
Module 'org.alfresco.integrations.google.docs' installed in '/opt/alfresco-commu nity/tomcat/webapps/alfresco.war'
Hi:
As seen in the log, it seems that the AMP is not well formed, it says it lacks of module.properties file.
https://docs.alfresco.com/6.1/concepts/dev-extensions-modules-amp-format.html
If you have it between your code, check the AMP package generation process.
Regards.
--C.
The same amps is working fine with ubuntu/window machine.
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.