AMPS apply error

cancel
Showing results for 
Search instead for 
Did you mean: 
sanjaybandhniya
Intermediate

AMPS apply error

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'

2 Replies
cesarista
Customer

Re: AMPS apply error

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.

sanjaybandhniya
Intermediate

Re: AMPS apply error

The same amps is working fine with ubuntu/window machine.