cancel
Showing results for 
Search instead for 
Did you mean: 

IO error when deploying AMP modules.

wajdi_ghribi
Champ in-the-making
Champ in-the-making
Hi,
I m getting an IO error while deploying AMP modules in windows server 2008, check the image for more details:
PS i m connecting to the server via Remote desktop as a domain adminstrator, the backup of alfresco.war and share.war were successfully created(so i have read/write permission on the webapps folder), i check that i hava the permission to read/write on the war files.any one help please!
5 REPLIES 5

douglascrp
World-Class Innovator
World-Class Innovator
I've faced the same problem and couldn't find a solution.
What I did to solve it was to install my amps using my laptop, and then transfering the final war to the server.

It does not seem to be a good practice, specially for an end user, can anybody try to reproduce the problem and propose a workaround please!

douglascrp
World-Class Innovator
World-Class Innovator
Definitively not a good practice, but I couldn't make it work on Windows

kaynezhang
World-Class Innovator
World-Class Innovator
You can try to install the amp using manual execution like following :

1.Start a new CMD shell using administrator account and Browse to the D:\Alfresco\bin directory:
2.Then run following command

install <AMPFileLocation> <WARFileLocation> [options]

valid options:

   -verbose   : enable verbose output
   -directory : indicates that the amp file location specified is a directory.
                All amp files found in the directory and its sub directories are installed.
   -force     : forces installation of AMP regardless of currently installed module version or file overrides
   -preview   : previews installation of AMP without modifying WAR file
   -nobackup  : indicates that no backup should be made of the WAR

for example

D:\alfresco\bin>java -jar alfresco-mmt.jar install D:\alfresco\amps\wcmqs.amp D:\alfresco\tomcat\webapps\alfresco.war -verbose

And see what is going on.

douglascrp
World-Class Innovator
World-Class Innovator
I tried that too instead of using the apply amps script, but got the same error.
The problem is not on the script for sure.